joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004fa60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x2c
mov eax, dword [0x100c2d54]
xor eax, esp
mov dword [esp + 0x28], eax
mov ecx, dword [0x101dad10]
test ecx, ecx
push ebp
mov ebp, dword [esp + 0x48]
push esi
mov esi, dword [0x101dad14]
push edi
mov edi, dword [esp + 0x3c]
jne 0x1004fb31
test esi, esi
jne 0x1004fb31
mov al, 0x74
mov byte [esp + 0x1d], al
mov cl, 0x72
mov byte [esp + 0x21], al
mov byte [esp + 0x24], al
mov byte [esp + 0x28], al
mov dl, 0x65
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x20], 0x4e
mov byte [esp + 0x22], 0x50
mov byte [esp + 0x23], cl
mov byte [esp + 0x24], 0x6f
mov byte [esp + 0x26], dl
mov byte [esp + 0x27], 0x63
mov byte [esp + 0x29], 0x56
mov byte [esp + 0x2a], 0x69
mov byte [esp + 0x2b], cl
mov byte [esp + 0x2d], 0x75
mov byte [esp + 0x2e], 0x61
mov byte [esp + 0x2f], 0x6c
mov byte [esp + 0x30], 0x4d
mov byte [esp + 0x31], dl
mov byte [esp + 0x32], 0x6d
mov byte [esp + 0x33], 0x6f
mov byte [esp + 0x34], cl
mov byte [esp + 0x35], 0x79
mov byte [esp + 0x36], 0
call fcn.1004f2f0
push edx
push eax
call fcn.1004f820
mov ecx, eax
add esp, 0xc
test ecx, ecx
mov esi, edx
mov dword [0x101dad10], ecx
mov dword [0x101dad14], esi
jne 0x1004fb31
test esi, esi
je 0x1004fb8e
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x14], edx
mov eax, ebp
cdq
push edx
push eax
mov eax, dword [esp + 0x54]
push 0
push eax
lea eax, [esp + 0x24]
cdq
push edx
push eax
lea eax, [esp + 0x24]
cdq
push edx
push eax
mov eax, edi
cdq
push edx
push eax
push 5
push esi
push ecx
mov dword [esp + 0x4c], 0
call fcn.1004ed50
add esp, 0x34
test eax, eax
jne 0x1004fb84
test edx, edx
je 0x1004fba2
push edx
push eax
call fcn.1004f750
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.1005df84
add esp, 0x2c
ret
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
xor ecx, esp
mov eax, 1
call fcn.1005df84
add esp, 0x2c
ret
Function at 0x1004fbc0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x24
mov eax, dword [0x100c2d54]
xor eax, esp
mov dword [esp + 0x20], eax
mov ecx, dword [0x101dad18]
test ecx, ecx
push ebx
mov ebx, dword [esp + 0x40]
push ebp
mov ebp, dword [esp + 0x3c]
push esi
mov esi, dword [0x101dad1c]
push edi
mov edi, dword [esp + 0x38]
mov dword [esp + 0x18], ebx
jne 0x1004fc92
test esi, esi
jne 0x1004fc92
mov al, 0x72
mov byte [esp + 0x24], al
mov byte [esp + 0x2d], al
mov dl, 0x65
mov cl, 0x61
lea eax, [esp + 0x1c]
mov bl, 0x74
push eax
mov byte [esp + 0x20], 0x4e
mov byte [esp + 0x21], bl
mov byte [esp + 0x22], 0x52
mov byte [esp + 0x23], dl
mov byte [esp + 0x24], cl
mov byte [esp + 0x25], 0x64
mov byte [esp + 0x26], 0x56
mov byte [esp + 0x27], 0x69
mov byte [esp + 0x29], bl
mov byte [esp + 0x2a], 0x75
mov byte [esp + 0x2b], cl
mov byte [esp + 0x2c], 0x6c
mov byte [esp + 0x2d], 0x4d
mov byte [esp + 0x2e], dl
mov byte [esp + 0x2f], 0x6d
mov byte [esp + 0x30], 0x6f
mov byte [esp + 0x32], 0x79
mov byte [esp + 0x33], 0
call fcn.1004f2f0
push edx
push eax
call fcn.1004f820
mov ecx, eax
add esp, 0xc
test ecx, ecx
mov esi, edx
mov dword [0x101dad18], ecx
mov dword [0x101dad1c], esi
jne 0x1004fc8e
test esi, esi
je 0x1004fce8
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x1004fc9a
mov eax, dword [ebx]
jmp 0x1004fc9c
xor eax, eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
cdq
push edx
mov edx, dword [esp + 0x4c]
push eax
push 0
push edx
mov eax, ebp
cdq
push edx
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x58]
push eax
push edx
mov eax, edi
cdq
push edx
push eax
push 5
push esi
push ecx
mov dword [esp + 0x48], 0
call fcn.1004ed50
add esp, 0x34
test eax, eax
jne 0x1004fcde
test edx, edx
je 0x1004fcfd
push edx
push eax
call fcn.1004f750
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.1005df84
add esp, 0x24
ret
test ebx, ebx
je 0x1004fd07
mov eax, dword [esp + 0x10]
mov dword [ebx], eax
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.1005df84
add esp, 0x24
ret
Function at 0x1004fd20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x28
mov eax, dword [0x100c2d54]
xor eax, esp
mov dword [esp + 0x24], eax
mov ecx, dword [0x101dad20]
test ecx, ecx
push ebx
mov ebx, dword [esp + 0x44]
push ebp
mov ebp, dword [esp + 0x40]
push esi
mov esi, dword [0x101dad24]
push edi
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x18], ebx
jne 0x1004fdf5
test esi, esi
jne 0x1004fdf5
mov al, 0x72
mov cl, 0x74
mov byte [esp + 0x1f], al
mov byte [esp + 0x25], al
mov byte [esp + 0x2e], al
mov dl, 0x65
lea eax, [esp + 0x1c]
mov bl, 0x69
push eax
mov byte [esp + 0x20], 0x4e
mov byte [esp + 0x21], cl
mov byte [esp + 0x22], 0x57
mov byte [esp + 0x24], bl
mov byte [esp + 0x25], cl
mov byte [esp + 0x26], dl
mov byte [esp + 0x27], 0x56
mov byte [esp + 0x28], bl
mov byte [esp + 0x2a], cl
mov byte [esp + 0x2b], 0x75
mov byte [esp + 0x2c], 0x61
mov byte [esp + 0x2d], 0x6c
mov byte [esp + 0x2e], 0x4d
mov byte [esp + 0x2f], dl
mov byte [esp + 0x30], 0x6d
mov byte [esp + 0x31], 0x6f
mov byte [esp + 0x33], 0x79
mov byte [esp + 0x34], 0
call fcn.1004f2f0
push edx
push eax
call fcn.1004f820
mov ecx, eax
add esp, 0xc
test ecx, ecx
mov esi, edx
mov dword [0x101dad20], ecx
mov dword [0x101dad24], esi
jne 0x1004fdf1
test esi, esi
je 0x1004fe4b
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x1004fdfd
mov eax, dword [ebx]
jmp 0x1004fdff
xor eax, eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
cdq
push edx
mov edx, dword [esp + 0x50]
push eax
push 0
push edx
mov eax, ebp
cdq
push edx
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x5c]
push eax
push edx
mov eax, edi
cdq
push edx
push eax
push 5
push esi
push ecx
mov dword [esp + 0x48], 0
call fcn.1004ed50
add esp, 0x34
test eax, eax
jne 0x1004fe41
test edx, edx
je 0x1004fe60
push edx
push eax
call fcn.1004f750
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.1005df84
add esp, 0x28
ret
test ebx, ebx
je 0x1004fe6a
mov eax, dword [esp + 0x10]
mov dword [ebx], eax
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.1005df84
add esp, 0x28
ret
Function at 0x10050d08
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x100c2d54]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0x11c]
jne 0x10050d48
push 0x10095708
push 4
push eax
call fcn.1006202e
push eax
call fcn.10001000
add esp, 0x10
jmp 0x10050d5a
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x10050dc8
push edi
call fcn.10061c3f
mov edi, dword [eax]
call fcn.10061c3f
and dword [eax], 0
lea eax, [ebp - 0x11c]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.1005f19e
add esp, 0x18
mov ebx, eax
call fcn.10061c3f
cmp dword [eax], 0
je 0x10050da8
call fcn.10061c3f
push dword [eax]
call fcn.100507af
pop ecx
jmp 0x10050daf
call fcn.10061c3f
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x10050dc8
cmp ebx, esi
jae 0x10050dc8
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x10050dca
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1005df84
leave
ret
Function at 0x1005a7bb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x1005a7fe
call fcn.10053af3
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x1005a7fe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x1005a819
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.1005a372
test ebx, ebx
mov esi, eax
je 0x1005a817
test edi, edi
je 0x1005a817
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x1005df84
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100c2d54]
jne 0x1005df8e
repz ret
jmp fcn.1006798c
Function at 0x10066297
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x100c3058]
je 0x100662b2
inc edi
cmp edi, 0x17
jb 0x100662a3
cmp edi, 0x17
jae 0x10066432
push ebp
push 3
call fcn.10071574
cmp eax, 1
pop ecx
je 0x100663fe
push 3
call fcn.10071574
test eax, eax
pop ecx
jne 0x100662e6
cmp dword [0x101dccb4], 1
je 0x100663fe
cmp ebx, 0xfc
je 0x10066431
push 0x10097a28
mov ebx, 0x314
push ebx
mov ebp, 0x101dce60
push ebp
call fcn.1006202e
add esp, 0xc
test eax, eax
je 0x1006631c
push esi
push esi
push esi
push esi
push esi
call fcn.100664a6
add esp, 0x14
push 0x104
mov esi, 0x101dce79
push esi
push 0
mov byte [0x101dcf7d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x10066360
push 0x10097a10
push 0x2fb
push esi
call fcn.1006202e
add esp, 0xc
test eax, eax
je 0x10066360
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.100664a6
add esp, 0x14
push esi
call fcn.10062cb0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x100663a5
push esi
call fcn.10062cb0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x101dd174
push 0x10097a0c
sub ecx, eax
push ecx
push eax
call fcn.10062aff
add esp, 0x14
test eax, eax
je 0x100663a5
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.100664a6
add esp, 0x14
jmp 0x100663a7
xor esi, esi
push 0x10097a08
push ebx
push ebp
call fcn.1006308f
add esp, 0xc
test eax, eax
je 0x100663c7
push esi
push esi
push esi
push esi
push esi
call fcn.100664a6
add esp, 0x14
push dword [edi*8 + 0x100c305c]
push ebx
push ebp
call fcn.1006308f
add esp, 0xc
test eax, eax
je 0x100663e9
push esi
push esi
push esi
push esi
push esi
call fcn.100664a6
add esp, 0x14
push 0x12010
push 0x100979e0
push ebp
call fcn.100713b7
add esp, 0xc
jmp 0x10066431
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x10066431
cmp ebp, 0xffffffff
je 0x10066431
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x100c305c]
push dword [esi]
call fcn.10062cb0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x100713b7
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.1006732a
xor ebx, ebx
cmp dword [0x101dd74c], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x1007148d
push 0x10098d54
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x1007156d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10098d48
push edi
call esi
cmp eax, ebx
je 0x1007156d
push eax
call fcn.100672bc
mov dword [esp], 0x10098d38
push edi
mov dword [0x101dd74c], eax
call esi
push eax
call fcn.100672bc
mov dword [esp], 0x10098d24
push edi
mov dword [0x101dd750], eax
call esi
push eax
call fcn.100672bc
mov dword [0x101dd754], eax
lea eax, [ebp - 0xc]
push eax
call fcn.10062e3c
test eax, eax
pop ecx
pop ecx
je 0x1007145b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.100664a6
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x1007148d
push 0x10098d08
push edi
call esi
push eax
call fcn.100672bc
cmp eax, ebx
pop ecx
mov dword [0x101dd75c], eax
je 0x1007148d
push 0x10098cf0
push edi
call esi
push eax
call fcn.100672bc
pop ecx
mov dword [0x101dd758], eax
mov eax, dword [0x101dd758]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x10071512
cmp dword [0x101dd75c], ecx
je 0x10071512
push eax
call fcn.10067333
push dword [0x101dd75c]
mov esi, eax
call fcn.10067333
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x10071512
cmp edi, ebx
je 0x10071512
call esi
cmp eax, ebx
je 0x100714df
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x100714df
test byte [ebp - 0x18], 1
jne 0x10071512
lea eax, [ebp - 0x10]
push eax
call fcn.10062e73
test eax, eax
pop ecx
je 0x100714fa
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.100664a6
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x10071509
or dword [ebp + 0x10], 0x200000
jmp 0x1007154d
or dword [ebp + 0x10], 0x40000
jmp 0x1007154d
mov eax, dword [0x101dd750]
cmp eax, dword [ebp - 8]
je 0x1007154d
push eax
call fcn.10067333
cmp eax, ebx
pop ecx
je 0x1007154d
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x1007154d
mov eax, dword [0x101dd754]
cmp eax, dword [ebp - 8]
je 0x1007154d
push eax
call fcn.10067333
cmp eax, ebx
pop ecx
je 0x1007154d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x101dd74c]
call fcn.10067333
cmp eax, ebx
pop ecx
je 0x1007156d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1007156f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1007bc6a
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x100c2d54]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.1007bbff
mov eax, 0x10000000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.1005e5f0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x1007bcb9
cmp dword [ebp - 0x1c], 5
jb 0x1007bcd1
jmp 0x1007bccd
cmp dword [ebp - 0x10], 1
jne 0x1007bcd1
cmp dword [ebp - 0x1c], 4
ja 0x1007bccd
jne 0x1007bcd1
cmp dword [ebp - 0x18], 0
jbe 0x1007bcd1
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x1009e8a8
call fcn.1007bad3
test eax, eax
jge 0x1007bcf2
mov byte [0x100c45e0], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1005df84
add ebp, 0x78
leave
ret

Function at 0x10206473
Capabilities:
Get number of processors

Disassembly:
jmp 0x101fa794
call fcn.101fa77f
salc
arpl word [ebp - 0x79], cx
loop 0x101fa78a
adc eax, 0x24748b56
add al, 0x8d
mov dh, 0xd4
adc byte [edx], al
add byte [ecx + 0x5e042474], cl
push edx
mov dword [esp], ebp
push esp
pop ebp
push ebp
mov ebp, esp
add ebp, 4
sub ebp, 0x80
xchg dword [esp], ebp
pop esp
sub esp, 4
mov dword [esp], ebx
push edi
mov dword [esp], esi
push 0x188b
mov dword [esp], edi
jmp 0x102203b3
push ebx
mov ebx, 8
add ebx, ebp
mov eax, dword [ebx]
pop ebx
sub esp, 4
mov dword [esp], eax
jmp 0x102191dd
jmp 0x10205476
push 0
push 0x41797261
push 0x7262694c
push 0x64616f4c
lea ecx, [ebp - 0x2c]
sub esp, 4
mov dword [esp], ecx
jmp 0x10214856
push ecx
mov ecx, dword [esp + 4]
lea ecx, [ecx + 0x1983f]
mov dword [esp + 4], ecx
pop ecx
jmp 0x1021ce32
jmp 0x1021486d
call fcn.10214858
adc byte [eax - 0x77], dl
loopne 0x1021487c
add al, 0
add byte [eax], al
add eax, 4
xchg dword [esp], eax
pop esp
rol byte [edi + eax*4], 4
and al, 0x5c
push eax
pop dword [ebp - 4]
push ecx
mov ecx, 0xc
add ecx, ebp
mov eax, dword [ecx]
pop ecx
push esi
mov dword [esp], eax
push dword [ebp - 4]
sub dword [esp], 0x3f8325ed
pop ecx
add ecx, 0x3f8325ed
push esi
mov dword [esp], ecx
push eax
mov eax, 8
add eax, ebp
mov edx, dword [eax]
pop eax
push eax
mov eax, 0x64
add edx, eax
pop eax
push ebx
mov dword [esp], edx
jmp 0x101fa77d
jmp 0x102191f4
call fcn.102191df
or eax, dword [ebp + 0x68]
mov byte [eax], 0
jmp 0x101fabce
push esi
mov esi, 0x6114390f
xor esi, 0x61143917
mov eax, esi
pop esi
mov eax, dword fs:[eax]
push eax
pop dword [ebp - 4]
push dword [ebp - 4]
pop eax
push dword [eax + 0x30]
sub dword [esp], 0x63f80c4b
pop ecx
add ecx, 0x63f80c4b
push eax
mov eax, 0xfffffff8
add eax, ebp
mov dword [eax], ecx
pop eax
push dword [ebp - 8]
pop edx
push ecx
mov ecx, 8
add ecx, edx
mov eax, dword [ecx]
pop ecx
push edx
mov edx, 0xffffffec
add edx, ebp
mov dword [edx], eax
pop edx
push ebx
mov ebx, 0
mov dword [ebp - 0x10], ebx
pop ebx
cmp dword [ebp - 0x10], 0
je 0x101fb698
jmp 0x101fc265
Function at 0x102256f2
Capabilities:
Access peb ldr_data

Disassembly:
push eax
mov eax, dword [esp + 4]
lea eax, [eax - 0x4e23]
mov dword [esp + 4], eax
pop eax
jmp 0x10214a70

Function at 0x1040fd5d
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], ecx
cmp eax, 0x1000
lea ecx, [esp + 8]
jb 0x1040fdbb
jmp 0x1040fd7a
push ebx
mov ebx, 0x1000
sub ecx, ebx
pop ebx
push esi
mov esi, 0x42603735
add esi, 0x62b848ad
not esi
xor esi, 0xa3b2af6
xor esi, 0x5731f4a
shr esi, 4
xor esi, 0x55aeb5a
sub eax, esi
pop esi
test dword [ecx], eax
cmp eax, 0x1000
jae 0x1040fd7a
jmp 0x1040fdbb
sub ecx, 0x42861a21
sub ecx, eax
add ecx, 0x42861a21
push esp
pop eax
test dword [ecx], eax
mov esp, ecx
push dword [eax]
pop ecx
push dword [eax + 4]
xor dword [esp], 0x1d9f7243
pop eax
xor eax, 0x1d9f7243
push ecx
mov dword [esp], eax
ret
Function at 0x4011c0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [0x43dba0], 0x24e1
mov eax, dword [0x43dba0]
sub eax, 0x24e1
mov dword [0x43dba0], eax
mov ecx, 1
test ecx, ecx
je 0x40126b
mov edx, dword [0x43dba0]
cmp edx, dword [ebp + 0xc]
jb 0x4011f7
jmp 0x40126b
cmp dword [0x43dba0], 0
jne 0x401215
push 0x263
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je 0x401215
xor eax, eax
jmp 0x40126b
mov eax, dword [ebp + 8]
add eax, dword [0x43dba0]
mov ecx, dword [eax]
add ecx, dword [0x43dba0]
mov edx, dword [ebp + 8]
add edx, dword [0x43dba0]
mov dword [edx], ecx
mov dword [ebp - 4], 0x7d06f
mov eax, dword [0x43dba0]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax + 2]
push edx
mov eax, dword [ebp + 8]
add eax, dword [0x43dba0]
push eax
call fcn.00401270
add esp, 8
mov ecx, dword [0x43dba0]
add ecx, 4
mov dword [0x43dba0], ecx
jmp 0x4011dd
mov esp, ebp
pop ebp
ret

Function at 0x4014d0
Capabilities:
Get common file path
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa00
push ebx
push esi
push edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x79c], 4
mov dword [ebp - 0x784], 0x80000000
mov dword [ebp - 0x798], 0x20019
mov eax, dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x72c], eax
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x1c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
cmp dword [ebp - 0x1c], 0
jne 0x40152c
xor eax, eax
jmp 0x401908
pushal
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x790], 0x64
mov dword [ebp - 0x28], 0x1f
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x790], 0x64
mov dword [ebp - 0x28], 0x1f
mov dword [ebp - 0x7ec], str.SOFTWAREmmasses
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x790], 0x64
mov dword [ebp - 0x28], 0x1f
call fcn.004014a0
mov edx, 0x43
mov eax, dword [ebp - 0x7ec]
mov word [eax + 0x12], dx
mov ecx, 0x6c
mov edx, dword [ebp - 0x7ec]
mov word [edx + 0x14], cx
lea eax, [ebp - 0x34]
push eax
push 1
push 0
mov ecx, dword [ebp - 0x7ec]
push ecx
push 0x80000002
call dword [0x43dba8]
test eax, eax
je 0x4015f1
xor eax, eax
jmp 0x401908
lea edx, [ebp - 0x34]
push edx
push 1
push 0
push str.clsid083863f1_70de_11d0_bd40_00a0c911ce86instance129d7e40_c10d_11d0_afb9_00aa00b67a42
push 0x80000000
call dword [0x43dba8]
test eax, eax
je 0x401614
xor eax, eax
jmp 0x401908
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
jne 0x40162c
xor eax, eax
jmp 0x401908
push 1
mov eax, dword [0x43dba4]
push eax
call fcn.00401ae0
add esp, 8
mov dword [0x43dbb4], eax
mov ecx, dword [0x43dbb4]
push ecx
jmp 0x45be18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x404da8
Capabilities:
Set file attributes

Disassembly:
test edx, 0xf0000000
je 0x404db6
and edx, 0x3fff
jmp fcn.00404d1a

Function at 0x404dbb
Capabilities:
Delete directory

Disassembly:
mov eax, 0x434464
call fcn.004339e0
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
call fcn.00407553
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebx, eax
cmp ebx, 1
je 0x404dea
push edi
call esi
test eax, eax
je 0x404dea
mov al, 1
jmp 0x404e2e
test ebx, ebx
je 0x404e2c
lea ecx, [ebp - 0x18]
call fcn.004028e9
and dword [ebp - 4], 0
cmp ebx, 1
setne al
push eax
lea edx, [ebp - 0x18]
mov ecx, edi
call fcn.0040765c
test al, al
push dword [ebp - 0x18]
je 0x404e26
call esi
mov esi, eax
push dword [ebp - 0x18]
call fcn.00401abd
test esi, esi
pop ecx
setne al
jmp 0x404e2e
call fcn.00401abd
pop ecx
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x404e3d
Capabilities:
Move file

Disassembly:
mov eax, 0x434480
call fcn.004339e0
sub esp, 0x24
push ebx
push esi
push edi
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], ecx
call fcn.00407553
mov ecx, dword [ebp - 0x10]
mov esi, eax
call fcn.00407553
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileW]
mov dword [ebp - 0x14], eax
push 1
pop ebx
cmp esi, ebx
je 0x404e86
cmp eax, ebx
je 0x404e86
push dword [ebp - 0x10]
push dword [ebp - 0x18]
call edi
test eax, eax
je 0x404e86
mov al, bl
jmp 0x404efd
test esi, esi
jne 0x404e8f
cmp dword [ebp - 0x14], esi
je 0x404efb
lea ecx, [ebp - 0x30]
call fcn.004028e9
and dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.004028e9
cmp esi, ebx
mov byte [ebp - 4], bl
je 0x404eaf
cmp dword [ebp - 0x14], ebx
jne 0x404eb1
xor ebx, ebx
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x24]
push ebx
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00407bc8
test al, al
push dword [ebp - 0x24]
je 0x404eec
push dword [ebp - 0x30]
call edi
mov esi, eax
push dword [ebp - 0x24]
call fcn.00401abd
push dword [ebp - 0x30]
call fcn.00401abd
pop ecx
test esi, esi
pop ecx
setne al
jmp 0x404efd
call fcn.00401abd
push dword [ebp - 0x30]
call fcn.00401abd
pop ecx
pop ecx
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x405008
Capabilities:
Create directory

Disassembly:
mov eax, 0x4344b0
call fcn.004339e0
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
call fcn.00407553
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebx, eax
cmp ebx, 1
je 0x405046
push 0
push edi
call esi
test eax, eax
je 0x405039
mov al, 1
jmp 0x40508f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40508d
test ebx, ebx
je 0x40508d
lea ecx, [ebp - 0x18]
call fcn.004028e9
and dword [ebp - 4], 0
cmp ebx, 1
setne al
push eax
lea edx, [ebp - 0x18]
mov ecx, edi
call fcn.0040765c
test al, al
je 0x405084
push 0
push dword [ebp - 0x18]
call esi
mov esi, eax
push dword [ebp - 0x18]
call fcn.00401abd
test esi, esi
pop ecx
setne al
jmp 0x40508f
push dword [ebp - 0x18]
call fcn.00401abd
pop ecx
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret