joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f978
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x40f966
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x40f984
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
add byte [eax], al
add byte [eax], al
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x40f9e2
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x40f9c9
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x40f9d2
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x40f9dc
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x40f9be
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
invalid
jmp dword [esi - 0x75]
dec ebp
or al, 0x66
cmp ecx, dword [eax + 6]
jbe 0x40f948
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x40fa2f
dec eax
je 0x40fa26
sub eax, 3
je 0x40fa1d
mov dword [ebp - 4], 0x40
jmp 0x40fa4c
mov dword [ebp - 4], 4
jmp 0x40fa32
mov dword [ebp - 4], 0x20
jmp 0x40fa32
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x40fa7e
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x40f9fe
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0040f28f
dec ecx
add bh, byte [0x1475ff56]
push 1
push esi
call edi
mov eax, esi
jmp 0x40fa8a
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40fb5f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
cmp al, 0xfc
invalid
inc dword [eax]
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
or al, dh
test dword [eax - 4], ecx
invalid
inc dword [ebx]
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
inc dword [ebx]
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.0040f29f
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
adc al, 0xe8
sbb dh, dh
invalid
inc dword [ebx - 0x7a76f33c]
enter 0xfffffffffffffffa, 0xffffffffffffffff
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
cld
invalid
dec dword [edx - 0x3e17a3a]
invalid
call [ebx - 0x3e07a3a]
invalid
inc dword [edx - 0x3df7a3a]
invalid
dec dword [ebx - 0x3de7a3a]
invalid
jmp dword [esi - 0x3dd7a3a]
invalid
dec dword [edi - 0x3dc7a3a]
invalid
inc dword [eax - 0x3db7a3a]
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
dec dword [ebx - 0x3d87a3a]
invalid
jmp [edi - 0x3d77a3a]
invalid
invalid
out dx, al
lea eax, [ebp - 0x3ec]
push eax
call fcn.0040f29f
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040f254
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.0040f28f
cli
cwde
retf 0x8049
Function at 0x411282
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0
push 2
push 0
push 2
push 0x40000000
push dword [ebp - 0x3a0]
call dword [ebp - 0x3c8]
mov dword [ebp - 0x380], eax
cmp dword [ebp - 0x380], 0xffffffff
je 0x4112d9
push 0
lea eax, [ebp - 0x6c4]
push eax
push dword [ebp - 0x38c]
push dword [ebp - 0x748]
push dword [ebp - 0x380]
call dword [ebp - 0x730]
push dword [ebp - 0x380]
call dword [ebp - 0x680]
jmp 0x4112de
jmp 0x410c31
and dword [ebp - 0x37c], 0
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x411325
lea eax, [ebp - 0x714]
push eax
call fcn.0040f29f
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.0040f254
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
je 0x411330
jmp 0x411335
jmp 0x410c31
cmp dword [ebp - 0x37c], 0
jne 0x4113df
mov eax, dword [ebp - 0x748]
mov dword [ebp - 0x7ec], eax
mov eax, dword [ebp - 0x38c]
mov dword [ebp - 0x7e8], eax
and dword [ebp - 0x7e0], 0
push 0x1000
push 8
push dword [ebp - 0x674]
call dword [ebp - 0x67c]
mov dword [ebp - 0x7e4], eax
push dword [ebp - 0x7e4]
lea eax, [ebp - 0x7ec]
push eax
push dword [ebp - 0x748]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040f46b
add esp, 0x14
mov dword [ebp - 0x7e0], eax
cmp dword [ebp - 0x7e0], 0
je 0x4113cb

Function at 0x4118c8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.00416227
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4118ff
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.00411920
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x414334
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x548f35
mov eax, dword fs:[0]
push eax
mov eax, 0x101c
call fcn.0052ebe0
mov eax, dword [0x5a7ee8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 0x10]
xor ebx, ebx
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x101c], edx
mov dword [ebp - 0x1028], ebx
cmp dword [ecx + 0x58], ebx
je 0x414468
push ebx
push eax
call fcn.004144b7
mov ebx, eax
test ebx, ebx
jne 0x41439c
push esi
jmp 0x414490
call fcn.0040964e
push eax
lea ecx, [ebp - 0x1014]
call fcn.00401b00
xor ecx, ecx
lea eax, [ebp - 0x1018]
push eax
push ecx
lea eax, [ebp - 0x1020]
mov dword [ebp - 4], ecx
push eax
push ecx
push dword [ebp - 0x101c]
mov dword [ebp - 0x1020], ecx
push ebx
mov dword [ebp - 0x1018], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x1024], eax
test eax, eax
jne 0x414427
push dword [ebp - 0x1018]
lea ecx, [ebp - 0x1014]
call fcn.00402240
lea ecx, [ebp - 0x1018]
push ecx
push eax
lea eax, [ebp - 0x1020]
push eax
push 0
push dword [ebp - 0x101c]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x1014]
mov dword [ebp - 0x1024], eax
call fcn.00409b2d
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x1024], 0
jne 0x414455
mov esi, dword [ebp - 0x1014]
add esi, 0xfffffff0
push esi
call fcn.00401e30
pop ecx
add eax, 0x10
mov ecx, esi
mov dword [edi], eax
call fcn.004022c0
jmp 0x414497
push esi
mov ecx, edi
call fcn.00402500
mov ecx, dword [ebp - 0x1014]
lea ecx, [ecx - 0x10]
jmp 0x41444e
test esi, esi
jne 0x414471
mov esi, 0x558cb0
push dword [ecx + 0x6c]
lea ecx, [ebp - 0x1010]
push 0x1000
push ecx
push esi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x1010]
push eax
mov ecx, edi
call fcn.00402500
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052d1cc
mov esp, ebp
pop ebp
ret 0x10

Function at 0x41c0c6
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x5a7ee8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x41c158
test esi, esi
je 0x41c158
push esi
call fcn.0052f620
push 0xff
mov ebx, eax
mov byte [ebp - 0x104], 0
lea eax, [ebp - 0x103]
push 0
push eax
call fcn.0052f260
mov eax, 0x100
add esp, 0x10
cmp ebx, eax
ja 0x41c13d
push eax
lea eax, [ebp - 0x104]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp eax, ebx
jne 0x41c13d
push esi
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x41c145
push esi
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0052d1cc
mov esp, ebp
pop ebp
ret 8
call fcn.004084d4
int3
Function at 0x42172b
Capabilities:
Get disk information

Disassembly:
push 0x158
mov eax, 0x549c5f
call fcn.0052f576
mov esi, dword [ebp + 8]
xor eax, eax
mov ebx, dword [ebp + 0xc]
test esi, esi
mov edi, dword [ebp + 0x10]
setne al
mov dword [ebp - 0x158], esi
test eax, eax
jne 0x421759
call fcn.004084d4
xor eax, eax
test ebx, ebx
setne al
test eax, eax
je 0x421754
lea eax, [ebp - 0x154]
push eax
push esi
push 0x104
push ebx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
jne 0x4217a1
push 0xffffffffffffffff
push ebx
push 0x104
push esi
call fcn.0052f493
push eax
call fcn.004041d0
add esp, 0x14
push ebx
push edi
call fcn.004216fe
xor eax, eax
jmp 0x4218c2
cmp eax, 0x104
jb 0x4217be
test edi, edi
je 0x42179a
push ebx
lea ecx, [edi + 0x10]
mov dword [edi + 8], 3
call fcn.004023a0
jmp 0x42179a
call fcn.0040964e
push eax
lea ecx, [ebp - 0x15c]
call fcn.00401b00
and dword [ebp - 4], 0
lea eax, [ebp - 0x15c]
push eax
push esi
call fcn.004210c1
mov esi, dword [ebp - 0x15c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsUNCA]
test eax, eax
jne 0x4218b7
xor ecx, ecx
lea eax, [ebp - 0x160]
push ecx
push ecx
push eax
lea eax, [ebp - 0x164]
push eax
push ecx
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x421829
push ebx
push edi
call fcn.004216fe
lea ecx, [esi - 0x10]
call fcn.004022c0
jmp 0x42179a
mov eax, dword [ebp - 0x160]
test al, 2
jne 0x421845
push dword [ebp - 0x158]
call dword [sym.imp.USER32.dll_CharUpperA]
mov eax, dword [ebp - 0x160]
test al, 4
jne 0x4218b7
lea eax, [ebp - 0x150]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x4218b7
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x154]
test eax, eax
je 0x421815
cmp eax, dword [ebp - 0x158]
jbe 0x421815
lea eax, [ebp - 0x124]
push eax
call fcn.0052f620
mov edx, dword [ebp - 0x154]
sub edx, dword [ebp - 0x158]
pop ecx
add eax, edx
mov ecx, 0x104
cmp eax, ecx
jge 0x4218ca
lea eax, [ebp - 0x124]
sub ecx, edx
push eax
push ecx
push dword [ebp - 0x154]
call fcn.00531f21
push eax
call fcn.004041d0
add esp, 0x10
lea ecx, [esi - 0x10]
call fcn.004022c0
xor eax, eax
inc eax
call fcn.0052f525
ret 0xc
test edi, edi
je 0x42181c
push ebx
lea ecx, [edi + 0x10]
mov dword [edi + 8], 3
call fcn.004023a0
jmp 0x42181c

Function at 0x42bfa0
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x5a7ee8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x42bff5
xor eax, eax
test esi, esi
sete al
or eax, 0x4000
push eax
push 0x160
lea eax, [ebp - 0x26c]
push eax
push 0
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0052d1cc
mov esp, ebp
pop ebp
ret 4
Function at 0x42c131
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x71c
mov eax, dword [0x5a7ee8]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
test edx, edx
je 0x42c350
test esi, esi
je 0x42c350
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x45c], ebx
mov dword [ebp - 0x458], ebx
mov dword [ebp - 0x454], ebx
mov dword [ebp - 0x450], ebx
mov dword [ebp - 0x44c], ebx
mov dword [ebp - 0x448], ebx
mov dword [ebp - 0x334], ebx
mov dword [ebp - 0x330], ebx
mov dword [ebp - 0x32c], ebx
mov dword [ebp - 0x328], ebx
mov dword [ebp - 0x324], ebx
mov dword [ebp - 0x320], ebx
sub eax, ebx
je 0x42c321
dec eax
je 0x42c1c3
dec eax
je 0x42c289
dec eax
jne 0x42c33b
mov edi, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
lea eax, [ebp - 0x108]
push eax
push dword [edx + 4]
call edi
test eax, eax
je 0x42c31c
push ebx
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.0043cf4a
test eax, eax
je 0x42c31c
lea eax, [ebp - 0x20c]
push eax
push dword [esi + 4]
call edi
test eax, eax
je 0x42c281
push ebx
lea eax, [ebp - 0x334]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0043cf4a
test eax, eax
je 0x42c281
cmp dword [ebp + 0x10], 1
jne 0x42c2e1
test byte [ebp - 0x43c], 0x10
jne 0x42c31c
test byte [ebp - 0x314], 0x10
jne 0x42c281
mov ecx, dword [ebp - 0x318]
mov eax, dword [ebp - 0x31c]
cmp dword [ebp - 0x440], ecx
ja 0x42c281
jb 0x42c31c
cmp dword [ebp - 0x444], eax
jb 0x42c31c
cmp dword [ebp - 0x440], ecx
jb 0x42c33b
ja 0x42c281
cmp dword [ebp - 0x444], eax
jbe 0x42c33b
xor ebx, ebx
inc ebx
jmp 0x42c33b
mov edi, dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
lea eax, [ebp - 0x71c]
push 0x408
push 0x160
push eax
push ebx
push dword [edx + 4]
call edi
test eax, eax
je 0x42c33b
push 0x408
push 0x160
lea eax, [ebp - 0x5bc]
push eax
push ebx
push dword [esi + 4]
call edi
test eax, eax
je 0x42c33b
lea eax, [ebp - 0x4ac]
push eax
lea eax, [ebp - 0x60c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov ebx, eax
jmp 0x42c33b
push dword [ebp - 0x328]
lea ecx, [ebp - 0x454]
push dword [ebp - 0x32c]
call fcn.0042b828
test al, al
jne 0x42c31c
push dword [ebp - 0x328]
lea ecx, [ebp - 0x454]
push dword [ebp - 0x32c]
call fcn.0042b847
xor ebx, ebx
test al, al
setne bl
jmp 0x42c33b
or ebx, 0xffffffff
jmp 0x42c33b
push dword [esi + 8]
mov eax, dword [edx]
push dword [edx + 8]
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
test eax, eax
jns 0x42c338
xor eax, eax
jmp 0x42c33d
movsx ebx, ax
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0052d1cc
mov esp, ebp
pop ebp
ret 0xc
call fcn.004084d4
int3
Function at 0x4770ab
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x4770f9
push esi
mov ebx, 0x811c9dc5
xor edi, edi
call fcn.0052f620
xor edx, edx
mov dword [ebp + 8], 0xa
pop ecx
mov ecx, eax
div dword [ebp + 8]
inc eax
test ecx, ecx
je 0x4770ee
mov edx, ecx
movsx ecx, byte [edi + esi]
add edi, eax
imul ebx, ebx, 0x1000193
xor ebx, ecx
cmp edi, edx
jb 0x4770dc
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.004084d4
int3

Function at 0x4d0b79
Capabilities:
Get file system object information

Disassembly:
push 0x270
mov eax, 0x552d23
call fcn.0052f576
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00401e30
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x278], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x278]
push 0
push 0x559700
call fcn.00402870
cmp eax, 0xffffffff
jne 0x4d0c2d
push 0
push 0x562434
lea ecx, [ebp - 0x278]
call fcn.00402870
cmp eax, 0xffffffff
jne 0x4d0c2d
push 0
push 0x55bf60
lea ecx, [ebp - 0x278]
call fcn.00402870
cmp eax, 0xffffffff
jne 0x4d0c2d
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00401e30
pop ecx
lea edi, [eax + 0x10]
mov dword [ebp - 0x27c], edi
xor ecx, ecx
mov byte [ebp - 4], 1
push ecx
lea eax, [ebp - 0x114]
push eax
push 0x104
push ecx
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_SearchPathA]
test eax, eax
jne 0x4d0c09
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
lea ecx, [edi - 0x10]
mov ebx, eax
call fcn.004022c0
jmp 0x4d0c5c
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x278]
call fcn.004023a0
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 0
call fcn.004022c0
mov esi, dword [ebp - 0x278]
push 0x105
push 0x160
lea eax, [ebp - 0x274]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x4d0c53
mov ebx, dword [ebp - 0x274]
jmp 0x4d0c5c
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
mov ebx, eax
lea ecx, [esi - 0x10]
call fcn.004022c0
mov eax, ebx
call fcn.0052f525
ret
Function at 0x4f63c1
Capabilities:
Get common file path

Disassembly:
push pe_nt_image_headers32
mov eax, 0x5549ac
call fcn.0052f576
mov ebx, ecx
mov dword [ebp - 0x12c], ebx
call fcn.00513a97
push 0x1c4
call fcn.00408454
pop ecx
mov dword [ebp - 0x128], eax
and dword [ebp - 4], 0
test eax, eax
je 0x4f6404
push 0
push dword [ebx + 0x60]
mov ecx, eax
call fcn.005140ca
jmp 0x4f6406
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov ecx, ebx
push eax
call fcn.00512f12
call fcn.00416227
mov esi, 0x104
mov eax, dword [eax + 4]
mov ebx, dword [eax + 0x8c]
lea eax, [ebp - 0x114]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x114]
push eax
call fcn.0052f620
mov edi, eax
pop ecx
mov byte [ebp + edi - 0x114], 0x5c
inc edi
cmp edi, esi
jae 0x4f6623
xor eax, eax
mov byte [ebp + edi - 0x114], 0
mov dword [ebp - 0x128], eax
test ebx, ebx
je 0x4f661d
xor esi, esi
mov dword [ebp - 0x120], esi
cmp dword [ebx + 4], eax
jle 0x4f661d
call fcn.0040964e
push eax
lea ecx, [ebp - 0x118]
call fcn.00401b00
mov eax, dword [ebx]
xor ecx, ecx
inc ecx
push ecx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x114]
push edi
push ecx
push esi
lea ecx, [ebp - 0x118]
push ecx
mov ecx, ebx
call dword [eax + 0xc]
test eax, eax
je 0x4f65fb
push 0x56a924
mov esi, 0x56a928
lea ecx, [ebp - 0x118]
push esi
call fcn.00407db0
push esi
push 0x562468
lea ecx, [ebp - 0x118]
call fcn.00407db0
push esi
push 0x56a924
lea ecx, [ebp - 0x118]
call fcn.00407db0
call fcn.0040964e
push eax
lea ecx, [ebp - 0x124]
call fcn.00401b00
mov eax, dword [ebp - 0x128]
mov byte [ebp - 4], 2
cmp eax, 9
jne 0x4f6527
push dword [ebp - 0x118]
lea eax, [ebp - 0x124]
push str.10__s
push eax
call fcn.0040c117
add esp, 0xc
jmp 0x4f6559
jge 0x4f6547
push dword [ebp - 0x118]
inc eax
push eax
lea eax, [ebp - 0x124]
push str._d__s
push eax
call fcn.0040c117
add esp, 0x10
jmp 0x4f6559
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x124]
call fcn.00401d20
push 0x1c4
call fcn.00408454
pop ecx
mov dword [ebp - 0x11c], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x4f6583
mov ecx, eax
call fcn.0049f194
mov ecx, eax
mov dword [ebp - 0x11c], eax
jmp 0x4f658b
xor ecx, ecx
mov dword [ebp - 0x11c], ecx
mov eax, dword [ecx]
mov esi, dword [ebp - 0x124]
push esi
mov byte [ebp - 4], 2
call dword [eax + 0xb4]
mov ecx, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x120]
add eax, 0xe110
push eax
mov edx, dword [ecx]
call dword [edx + 0xb0]
push dword [ebp - 0x120]
mov ecx, ebx
call fcn.00414cab
mov ecx, dword [ebp - 0x11c]
push dword [eax]
mov edx, dword [ecx]
call dword [edx + 0xc8]
mov ecx, dword [ebp - 0x11c]
push ecx
mov ecx, dword [ebp - 0x12c]
call fcn.00512f12
inc dword [ebp - 0x128]
lea ecx, [esi - 0x10]
call fcn.004022c0
mov esi, dword [ebp - 0x120]
mov ecx, dword [ebp - 0x118]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.004022c0
inc esi
mov dword [ebp - 0x120], esi
cmp esi, dword [ebx + 4]
jl 0x4f647c
call fcn.0052f525
ret
call fcn.0052dad3
int3
Function at 0x5425eb
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5a7ee8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00537757
mov dword [ebp - 0x14], eax
cmp dword [0x5b3920], esi
jne 0x5426de
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x54266b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x5427be
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x5427be
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x5427be
push eax
call ebx
push 0x585504
push edi
mov dword [0x5b3920], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x585514
push edi
mov dword [0x5b3924], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x5b3928], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5b3930], eax
test eax, eax
je 0x5426db
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5b392c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x542703
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x5426f6
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x542718
push 4
pop eax
jmp 0x5427c0
cmp dword [ebp - 0x14], esi
je 0x542718
push dword [0x5b3920]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x5426fd
mov eax, dword [0x5b392c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x542776
cmp dword [0x5b3930], edi
je 0x542776
push eax
call ebx
push dword [0x5b3930]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x542776
test eax, eax
je 0x542776
call ecx
test eax, eax
je 0x54276b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x54276b
test byte [ebp - 8], 1
jne 0x542776
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x5427a6
mov eax, dword [0x5b3924]
cmp eax, edi
je 0x5427a3
push eax
call ebx
test eax, eax
je 0x5427a3
call eax
mov esi, eax
test esi, esi
je 0x5427a3
mov eax, dword [0x5b3928]
cmp eax, edi
je 0x5427a3
push eax
call ebx
test eax, eax
je 0x5427a3
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x5b3920]
call ebx
test eax, eax
je 0x5427be
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x5427c0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0052d1cc
mov esp, ebp
pop ebp
ret
Function at 0x433000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x75875fb1
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x143b341f
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
popal
nop
nop
nop
nop
jmp 0x431219