joyce8/EMBER2024-capa huggingface dataset:
Function at 0x532a68
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, eax
mov eax, pe_nt_image_headers32
call fcn.00402e00
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x532ac6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_GetUserNameA
test eax, eax
je 0x532aa9
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00405254
jmp 0x532ab0
mov eax, ebx
call fcn.0040505c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x532acd
mov eax, dword [ebp - 4]
call fcn.00402e30
ret

Function at 0x532b24
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0xc], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040550c
xor eax, eax
push ebp
push 0x532c50
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.004050b0
mov byte [ebp - 8], 0x43
mov byte [ebp - 7], 0x3a
mov byte [ebp - 6], 0
mov byte [ebp - 5], 0
lea eax, [ebp - 0x211]
push eax
push 0xff
call sub.kernel32.dll_GetLogicalDriveStringsA
mov esi, eax
dec esi
test esi, esi
jl 0x532c22
inc esi
lea ebx, [ebp - 0x211]
cmp byte [ebx], 0
jne 0x532c1a
mov al, byte [ebx - 3]
mov byte [ebp - 8], al
push pe_nt_image_headers32
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_QueryDosDeviceA
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x10c]
call fcn.0040dbf4
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.00405660
test eax, eax
jle 0x532c1a
mov al, byte [0x532c60]
push eax
lea eax, [ebp - 0x218]
push eax
lea edx, [ebp - 0x21c]
lea eax, [ebp - 8]
call fcn.0040dbf4
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00412870
mov edx, dword [ebp - 0x218]
lea eax, [ebp - 4]
call fcn.004050f4
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.004050b0
inc ebx
dec esi
jne 0x532b99
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x532c57
lea eax, [ebp - 0x21c]
mov edx, 2
call fcn.00405080
lea eax, [ebp - 0xc]
call fcn.0040505c
lea eax, [ebp - 4]
call fcn.0040505c
ret
Function at 0x532c64
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0x118], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x532d64
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
push 0
push 0x410
call sub.kernel32.dll_OpenProcess
mov ebx, eax
test ebx, ebx
jne 0x532ce8
mov eax, esi
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x118]
call fcn.0040d210
mov ecx, dword [ebp - 0x118]
lea eax, [ebp - 0x114]
mov edx, 0x532d7c
call fcn.00405368
mov edx, dword [ebp - 0x114]
mov ecx, 0x532d9c
mov eax, dword [0x54a800]
call fcn.005374b8
mov eax, edi
call fcn.0040505c
jmp 0x532d46
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 4]
mov ecx, 4
mov eax, ebx
call fcn.0049c244
push 0x104
lea ecx, [ebp - 0x10d]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0049c274
call sub.kernel32.dll_GetLastError_1
cmp eax, 0x12b
jne 0x532d2e
push 0x104
lea eax, [ebp - 0x10d]
push eax
push ebx
call sub.psapi.dll_GetProcessImageFileNameA
push ebx
call sub.kernel32.dll_CloseHandle_1
mov eax, edi
lea edx, [ebp - 0x10d]
mov ecx, 0x105
call fcn.004052cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x532d6b
lea eax, [ebp - 0x118]
mov edx, 2
call fcn.00405080
ret
Function at 0x536108
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov edi, dword [0x545058]
xor eax, eax
push ebp
push 0x536250
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5457e4]
cmp dword [eax], 0
je 0x53614a
mov eax, dword [0x5457e4]
mov eax, dword [eax]
cmp byte [eax + 0x57], 0
je 0x53614a
call esi
jmp 0x536235
mov eax, dword [0x54514c]
mov eax, dword [eax]
cmp dword [eax + 0x30], 0
je 0x53616d
mov eax, dword [0x54514c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
mov edx, 0x536268
call fcn.00405468
jne 0x536174
call esi
jmp 0x536235
mov eax, dword [edi]
add eax, 0x308
mov edx, 0x536294
call fcn.004050b0
mov eax, dword [edi]
add eax, 0x304
mov edx, dword [0x54514c]
mov edx, dword [edx]
mov edx, dword [edx + 0x30]
call fcn.004050b0
mov eax, dword [edi]
mov dword [eax + 0x300], esi
mov eax, dword [edi]
mov edx, dword [ebx + 0x68]
call fcn.0044c650
lea ecx, [ebp - 4]
mov edx, 0x5362a4
mov eax, dword [ebx + 0x398]
call fcn.004c5894
mov edx, dword [ebp - 4]
mov eax, dword [edi]
add eax, 0x310
call fcn.004050b0
lea ecx, [ebp - 8]
mov edx, 0x5362c0
mov eax, dword [ebx + 0x398]
call fcn.004c5894
mov edx, dword [ebp - 8]
mov eax, dword [edi]
call fcn.0044c58c
lea ecx, [ebp - 0xc]
mov edx, 0x5362d0
mov eax, dword [ebx + 0x398]
call fcn.004c5894
mov edx, dword [ebp - 0xc]
mov eax, dword [edi]
mov eax, dword [eax + 0x2fc]
call fcn.0044c58c
mov eax, dword [edi]
call fcn.004698a0
push 0
mov eax, dword [0x5453ac]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x5453ac]
mov eax, dword [eax]
call fcn.0046caa4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x536257
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405080
ret
Function at 0x539948
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ecx, edx
dec ecx
test ecx, ecx
jl 0x539960
inc ecx
xor edx, edx
mov bl, byte [eax + edx]
xor bl, 0xaa
mov byte [eax + edx], bl
inc edx
dec ecx
jne 0x539953
pop ebx
ret
Function at 0x53b250
Capabilities:
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa8
mov dword [esp + 4], edx
mov dword [esp], eax
lea edi, [esp + 0xc]
mov eax, dword [esp + 4]
xor edx, edx
mov dword [eax], edx
lea eax, [esp + 0x18]
push eax
call sub.kernel32.dll_GetSystemInfo
mov esi, dword [esp + 0x1c]
call sub.kernel32.dll_GetCurrentProcessId
mov ebp, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
xor ebx, ebx
mov eax, dword [esp + 0x14]
mov dword [edi], eax
mov eax, dword [edi]
shr eax, 0x10
shl eax, 0x10
mov dword [edi], eax
mov eax, ebx
shl eax, 0x10
sub dword [edi], eax
mov eax, dword [edi]
xor edx, edx
div esi
imul esi
mov dword [edi], eax
push 4
push 0x3000
push esi
mov eax, dword [edi]
push eax
call sub.kernel32.dll_VirtualAlloc_1
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
je 0x53b2e4
mov eax, dword [edi]
cmp eax, dword [esp + 0x10]
je 0x53b2e4
push 0x8000
push 0
mov eax, dword [esp + 0x18]
push eax
call sub.kernel32.dll_VirtualFree_1
inc ebx
jmp 0x53b380
cmp dword [esp + 0x10], 0
jne 0x53b389
push 0x1c
lea eax, [esp + 0x40]
push eax
mov eax, dword [edi]
push eax
call sub.kernel32.dll_VirtualQuery_1
cmp dword [esp + 0x48], 0x118
jb 0x53b37b
mov eax, dword [esp + 0x50]
and eax, 4
cmp eax, 4
jne 0x53b37b
mov eax, ebp
xor edx, edx
xor eax, 0x23456789
xor edx, 0xabcdef01
push edx
push eax
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov eax, dword [eax]
cmp edx, dword [esp + 4]
jne 0x53b336
cmp eax, dword [esp]
pop edx
pop eax
jne 0x53b37b
mov eax, ebp
xor edx, edx
xor eax, 0x10fedcba
xor edx, 0x98765432
push edx
push eax
mov eax, dword [edi]
mov edx, dword [eax + 0x114]
mov eax, dword [eax + 0x110]
cmp edx, dword [esp + 4]
jne 0x53b363
cmp eax, dword [esp]
pop edx
pop eax
jne 0x53b37b
mov eax, dword [edi]
add eax, 8
mov edx, dword [esp]
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00403858
je 0x53b389
inc ebx
xor eax, eax
mov dword [edi], eax
cmp ebx, 0x14
jle 0x53b289
xor eax, eax
mov dword [esp + 8], eax
cmp dword [esp + 0x10], 0
je 0x53b407
mov eax, dword [edi]
cmp eax, dword [esp + 0x10]
jne 0x53b42d
mov eax, ebp
xor edx, edx
xor eax, 0x23456789
xor edx, 0xabcdef01
mov ecx, dword [edi]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov eax, dword [edi]
add eax, 8
mov edx, dword [esp]
call fcn.004037ac
mov eax, ebp
xor edx, edx
xor eax, 0x10fedcba
xor edx, 0x98765432
mov ecx, dword [edi]
mov dword [ecx + 0x110], eax
mov dword [ecx + 0x114], edx
mov eax, dword [edi]
mov dword [eax + 0x108], 1
mov eax, dword [edi]
add eax, 0x118
mov dword [esp + 8], eax
mov eax, dword [esp + 4]
mov dword [eax], 1
jmp 0x53b42d
cmp dword [edi], 0
je 0x53b42d
mov eax, dword [edi]
inc dword [eax + 0x108]
mov eax, dword [edi]
add eax, 0x118
mov dword [esp + 8], eax
mov eax, dword [edi]
mov eax, dword [eax + 0x108]
mov edx, dword [esp + 4]
mov dword [edx], eax
mov eax, dword [esp + 8]
add esp, 0x58
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x53cb84
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x53cd44
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x24
call fcn.004038c8
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x14]
mov dword [0x54498c], eax
mov eax, dword [ebp - 0xc]
mov dword [0x544990], eax
mov eax, dword [ebp - 0x24]
mov dword [0x544994], eax
mov eax, dword [0x545804]
cmp dword [eax], 2
sete byte [0x544444]
push 0x53cd50
call sub.kernel32.dll_GetModuleHandleA_2
lea edx, [ebp - 4]
call fcn.0053d51c
cmp byte [0x544444], 0
jne 0x53cc10
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.0053d54c
test al, al
je 0x53cc10
mov eax, dword [ebp - 0x4c]
mov dword [0x54a9dc], eax
jmp 0x53cc17
xor eax, eax
mov dword [0x54a9dc], eax
call fcn.0053c8fc
and eax, 0x7f
cmp eax, 0x10
ja case.0x53cc28.0
jmp dword [eax*4 + 0x53cc2f]
mov byte [0x544430], 1
jmp case.0x53cc28.0
mov byte [0x544434], 1
jmp case.0x53cc28.0
mov byte [0x544438], 1
jmp case.0x53cc28.0
mov byte [0x54443c], 1
jmp case.0x53cc28.0
mov byte [0x544440], 1
jmp case.0x53cc28.0
mov byte [0x544448], 1
mov byte [0x54444c], 1
jmp case.0x53cc28.0
mov byte [0x544448], 1
mov byte [0x544450], 1
jmp case.0x53cc28.0
mov byte [0x544448], 1
mov byte [0x544450], 1
mov byte [0x544454], 1
jmp case.0x53cc28.0
mov byte [0x544458], 1
jmp case.0x53cc28.0
mov byte [0x54445c], 1
jmp case.0x53cc28.0
mov byte [0x544460], 1
jmp case.0x53cc28.0
mov byte [0x544464], 1
jmp case.0x53cc28.0
mov byte [0x544468], 1
jmp case.0x53cc28.0
mov byte [0x54446c], 1
jmp case.0x53cc28.0
mov byte [0x544470], 1
jmp case.0x53cc28.0
mov byte [0x544474], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53cd4b
lea eax, [ebp - 4]
call fcn.0040505c
ret

Function at 0x53d54c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x53d5f3
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.0040551c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jbe 0x53d5dd
lea eax, [ebp - 0x10]
mov edx, edi
call fcn.004056a8
mov eax, dword [ebp - 0x10]
push eax
push edi
mov eax, dword [ebp - 0xc]
push eax
mov eax, esi
call fcn.0040551c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x53d5dd
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x53d604
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x53d5dd
cmp dword [ebp - 8], 0x34
jne 0x53d5dd
mov bl, 1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53d5fa
lea eax, [ebp - 0x10]
call fcn.0040505c
ret
Function at 0x40c89c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
mov esi, 0x4b1c4c
push 0xa
push 0x40c930
mov eax, dword [0x4b1c3c]
push eax
call sub.kernel32.dll_FindResourceW
mov ebx, eax
test ebx, ebx
jne 0x40c8c0
call fcn.00417404
push ebx
mov eax, dword [0x4b1c3c]
push eax
call sub.kernel32.dll_LoadResource
mov ebx, eax
test ebx, ebx
jne 0x40c8d7
call fcn.00417404
push ebx
call sub.kernel32.dll_LockResource
mov dword [esi], eax
cmp dword [esi], 0
jne 0x40c8e9
call fcn.00417404
mov eax, dword [esi]
mov edx, dword [esi]
mov ecx, edx
add ecx, dword [eax]
mov dword [0x4b1c50], ecx
mov ecx, edx
add ecx, dword [eax + 4]
mov dword [0x4b1c54], ecx
mov ecx, edx
add ecx, dword [eax + 8]
mov dword [0x4b1c58], ecx
mov ecx, edx
add ecx, dword [eax + 0xc]
mov dword [0x4b1c5c], ecx
mov ecx, edx
add ecx, dword [eax + 0x10]
mov dword [0x4b1c60], ecx
add edx, dword [eax + 0x14]
mov dword [0x4b1c64], edx
pop esi
pop ebx
ret

Function at 0x4101e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x410289
test eax, edx
je 0x41028c
push 0
push 0
cmp word [eax - 0xa], 2
je 0x410209
push edx
mov edx, eax
mov eax, esp
call fcn.00406a08
pop edx
mov eax, dword [esp]
cmp word [edx - 0xa], 2
je 0x41021f
push eax
lea eax, [esp + 8]
call fcn.00406a08
pop eax
mov edx, dword [esp + 4]
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41022e
movzx eax, word [eax]
sub eax, ecx
jmp 0x410255
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x41026f
add ecx, 4
js 0x410246
pop eax
pop ebx
mov ecx, esp
mov edx, dword [ecx]
or edx, dword [ecx + 4]
je 0x41026c
push eax
mov eax, ecx
mov edx, 2
call fcn.00406054
pop eax
pop edx
pop edx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x410253
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x410255
xor eax, eax
ret
test eax, eax
je 0x41029c
test edx, edx
jne 0x4101f0
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x4147c4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x4147fd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00406940
jmp 0x414806
mov eax, ebx
mov edx, esi
call fcn.00406804
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x414810
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x414832
movzx eax, word [esp]
jmp 0x414834
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x414fc4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x4150e9
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00414dd4
mov esi, eax
mov eax, dword [0x4ae1dc]
cmp byte [eax], 0
je 0x415091
mov eax, dword [0x4adfa4]
call fcn.0040467c
call fcn.0040433c
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x414f9c]
call fcn.00407fc8
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x415104
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x4150cd
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4adf40]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4b1c3c]
call fcn.004080bc
push eax
call sub.user32.dll_LoadStringW_1
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4150f0
lea eax, [ebp - 4]
mov edx, dword [0x414f9c]
call fcn.00407fd4
ret

Function at 0x4162a0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x416376
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00406858
lea eax, [ebp - 4]
call fcn.004071f0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00406890
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x416360
mov eax, ebx
call fcn.004041d4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x416359
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00406890
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x416343
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x416388
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x416343
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x416360
mov eax, dword [ebp - 0x10]
call fcn.004041f0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41637d
lea eax, [ebp - 4]
call fcn.004067f4
ret
Function at 0x4172ac
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.00406364
mov ebp, eax
push 0
push 0
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
mov edi, eax
cmp edi, 0x104
jbe 0x417256
mov eax, edi
add eax, eax
call fcn.004041d4
mov esi, eax
jmp 0x417258
mov esi, esp
push edi
push esi
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
push edi
push esi
call sub.user32.dll_CharUpperBuffW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x417291
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x41727b
mov eax, esp
cmp esi, eax
je 0x41729e
mov eax, esi
call fcn.004041f0
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x4172d8
cmp bl, 0
je 0x4172d4
cmp bl, 0x41
jl 0x4172cf
cmp bl, 0x5a
jg 0x4172cf
or bl, 0x20
xor al, bl
inc esi
jmp 0x4172b3
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x417218

Function at 0x43a18c
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x43a22a
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x43a1ee
cmp byte [ebx + 0x10], 0
jne 0x43a1ee
cmp byte [ebx + 0x3c], 0
jne 0x43a1ee
mov byte [ebx + 0xe], 0
mov byte [ebx + 0xc], 0
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x43a20f
lea edx, [ebp - 4]
mov eax, dword [0x4ae18c]
call fcn.00409984
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x42aeb8]
call fcn.00415108
call fcn.00405868
jmp 0x43a20f
lea edx, [ebp - 8]
mov eax, dword [0x4ae18c]
call fcn.00409984
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x42aeb8]
call fcn.00415108
call fcn.00405868
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43a231
lea eax, [ebp - 8]
mov edx, 2
call fcn.004067fc
ret

Function at 0x43aaa8
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x43aaf6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.0043a110
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43ab0f
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x43ab18
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0043a110
dec esi
jne 0x43ab3a
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x43c354
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4b3f8c
cmp dword [edi], 0
jne 0x43c3d0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4b3f88]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4acfe4
mov ecx, 2
call fcn.0040438c
mov edx, 0x43c32c
lea eax, [esi + 5]
call fcn.0043c34c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0043c34c
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x43c3a5
mov dword [0x4b3f88], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8