joyce8/EMBER2024-capa huggingface dataset:
Function at 0x452cf0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x452d07
add esp, 0xfffffff0
call fcn.004035dc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041b4b8
mov eax, dword [0x46c908]
cmp word [eax + 2], 0
jne 0x452d2f
mov eax, dword [0x46c908]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004542dc
mov eax, dword [0x46ca2c]
cmp word [eax + 2], 0
jne 0x452d49
mov eax, dword [0x46ca2c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004544d4
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x412340]
call fcn.00403288
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x412340]
call fcn.00403288
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41e0ec]
call fcn.00425464
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x452ed0
mov eax, dword [0x46c7b8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00425834
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x454a74
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x46c7b8]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040cc2c
test eax, eax
je 0x452e3e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408bb4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cc54
test eax, eax
je 0x452e52
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004042fc
mov eax, dword [0x46c5e0]
cmp byte [eax], 0
jne 0x452e86
mov eax, ebx
call fcn.00452ff8
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00454c50
mov eax, ebx
call fcn.00455614
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x452ec6
call fcn.00403634
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x453278
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x46dbe4]
cmp dword [eax + 0x30], 0
je 0x453322
cmp dword [ebx + 0x94], 0
jne 0x45331c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x453208
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45331c
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x4532e2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45331c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00414b58
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4532f1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x453e84
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x453eb9
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040417c
jmp 0x453ec6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004040e0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x454e2c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x454e6d
mov eax, esi
call fcn.0043b79c
test al, al
je 0x454e6d
mov eax, dword [ebx + 0x84]
call fcn.0043b4c4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x454e6d
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043b4c4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x456158
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0040453c
xor eax, eax
push ebp
push 0x4561d6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040454c
mov dword [ebp - 8], eax
cmp dword [ebx + 8], 0
jne 0x4561a1
mov eax, dword [ebx + 4]
call fcn.0040454c
push eax
push 0
call sub.advapi32.dll_RegisterEventSourceA
mov dword [ebx + 8], eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push 1
push 0
mov eax, dword [ebp + 8]
push eax
mov ax, word [ebp + 0xc]
push eax
push esi
mov eax, dword [ebx + 8]
push eax
call sub.advapi32.dll_ReportEventA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4561dd
lea eax, [ebp - 4]
call fcn.0040408c
ret
Function at 0x4571d8
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x457375
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.00402a54
cmp word [ebx + 0xa2], 0
je 0x457221
mov edx, ebx
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
mov eax, dword [ebx + 0x90]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x457235
lea esi, [ebp - 8]
jmp 0x457237
xor esi, esi
cmp dword [ebx + 0x80], 0
jne 0x457244
xor edi, edi
jmp 0x457251
mov eax, dword [ebx + 0x80]
call fcn.0040454c
mov edi, eax
mov eax, dword [ebx + 0x7c]
call fcn.0040454c
push eax
push edi
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.00456910
mov eax, dword [ebp - 0x14]
call fcn.0040454c
push eax
push esi
mov eax, dword [ebx + 0x74]
call fcn.0040454c
push eax
mov eax, dword [ebp - 0x10]
call fcn.0040454c
push eax
mov eax, ebx
call fcn.00456a44
push eax
mov eax, ebx
call fcn.00456a18
push eax
mov eax, ebx
call fcn.004569cc
push eax
push 0xf01ff
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.004567dc
mov eax, dword [ebp - 0x18]
call fcn.0040454c
push eax
mov eax, dword [ebx + 8]
call fcn.0040454c
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_CreateServiceA
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0x90], eax
cmp dword [ebp - 0xc], 0
jne 0x4572da
call fcn.0040d4b8
xor edx, edx
push ebp
push 0x457353
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x457318
push dword fs:[edx]
mov dword fs:[edx], esp
cmp word [ebx + 0xaa], 0
je 0x45730e
mov edx, ebx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45733c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45735a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret

Function at 0x457384
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp word [eax + 0xb2], 0
je 0x4573b0
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0xb4]
call dword [esi + 0xb0]
push 0xf01ff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.0040454c
push eax
push ebx
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4573d5
call fcn.0040d4b8
xor eax, eax
push ebp
push 0x45740c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_DeleteService
test eax, eax
jne 0x4573f5
call fcn.0040d4b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457413
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
Function at 0x4650c0
Capabilities:
Get file version info

Disassembly:
push ebx
push esi
push ecx
mov ebx, eax
lea eax, [ebx + 4]
push eax
mov eax, dword [ebx + 0x1c]
call fcn.0040454c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov esi, eax
mov dword [ebx + 8], esi
test esi, esi
jg 0x4650f6
mov ecx, 0x46517c
mov dl, 1
mov eax, dword [0x464eb8]
call fcn.0040bd6c
call fcn.00403a44
lea eax, [ebx + 0xc]
mov edx, dword [ebx + 8]
call fcn.004046d8
mov eax, dword [ebx + 0xc]
call fcn.0040454c
push eax
mov eax, dword [ebx + 8]
push eax
mov eax, dword [ebx + 4]
push eax
mov eax, dword [ebx + 0x1c]
call fcn.0040454c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
jne 0x46513a
mov ecx, 0x4651a0
mov dl, 1
mov eax, dword [0x464e5c]
call fcn.0040bd6c
call fcn.00403a44
push esp
lea eax, [ebx + 0x10]
push eax
mov eax, dword [0x46c58c]
push eax
mov eax, dword [ebx + 0xc]
call fcn.0040454c
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
jne 0x46516d
mov ecx, 0x4651c4
mov dl, 1
mov eax, dword [0x464e5c]
call fcn.0040bd6c
call fcn.00403a44
pop edx
pop esi
pop ebx
ret

Function at 0x465608
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebp, ecx
mov esi, edx
mov dword [esp], eax
mov eax, dword [esp]
call fcn.0040434c
mov edx, eax
mov eax, ebp
call fcn.004046d8
mov eax, dword [esp]
call fcn.0040434c
mov edi, eax
test edi, edi
jle 0x46566c
mov ebx, 1
mov eax, ebp
call fcn.004045a4
mov edx, dword [esp]
mov dl, byte [edx + ebx - 1]
movzx ecx, si
shr ecx, 8
xor dl, cl
mov byte [eax + ebx - 1], dl
mov eax, dword [ebp]
movzx eax, byte [eax + ebx - 1]
add si, ax
imul ax, si, 0x19e8
add ax, 0xb8ff
mov esi, eax
inc ebx
dec edi
jne 0x465638
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x465674
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov dword [esp], ecx
mov esi, edx
mov edi, eax
mov eax, edi
call fcn.0040434c
mov edx, eax
mov eax, dword [esp]
call fcn.004046d8
mov eax, edi
call fcn.0040434c
mov ebp, eax
test ebp, ebp
jle 0x4656d3
mov ebx, 1
mov eax, dword [esp]
call fcn.004045a4
mov dl, byte [edi + ebx - 1]
movzx ecx, si
shr ecx, 8
xor dl, cl
mov byte [eax + ebx - 1], dl
xor eax, eax
mov al, byte [edi + ebx - 1]
add si, ax
imul ax, si, 0x19e8
add ax, 0xb8ff
mov esi, eax
inc ebx
dec ebp
jne 0x4656a3
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x465970
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.0040453c
mov eax, dword [ebp - 8]
call fcn.0040453c
xor eax, eax
push ebp
push 0x465a25
push dword fs:[eax]
mov dword fs:[eax], esp
lea edi, [ebp - 0x45]
mov dword [edi], 0x3c
mov dword [edi + 4], 0x40
xor eax, eax
mov dword [edi + 8], eax
xor eax, eax
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 4]
call fcn.0040454c
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 8]
call fcn.0040454c
mov dword [edi + 0x14], eax
xor eax, eax
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], 5
xor eax, eax
mov dword [edi + 0x20], eax
push edi
call sub.shell32.dll_ShellExecuteExA
test bl, bl
je 0x465a0a
test esi, esi
je 0x465a0a
mov eax, esi
call fcn.00450dd0
push 0xffffffffffffffff
mov eax, dword [edi + 0x38]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov eax, esi
call fcn.00450dd8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465a2c
lea eax, [ebp - 8]
mov edx, 2
call fcn.004040b0
ret
Function at 0x40c910
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x429fcc]
push ebx
and eax, 0xff
push esi
cmp eax, 0x13
push edi
ja case.0x40c926.15
jmp dword [eax*4 + 0x40cb0c]
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
push esi
lea eax, [edi + edi]
push eax
push ecx
call dword [0x42a780]
lea edx, [edi + edi]
add esp, 0xc
xor ecx, ecx
test edx, edx
jbe case.0x40c926.15
xor eax, eax
mov bl, byte [eax + esi]
xor bl, 0xb9
inc ecx
mov byte [eax + esi], bl
mov eax, ecx
and eax, 0xffff
cmp eax, edx
jb 0x40c957
pop edi
pop esi
pop ebx
ret
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
push esi
lea edx, [edi + edi*2]
push edx
push eax
call dword [0x42a780]
lea edx, [edi + edi*2]
add esp, 0xc
xor ecx, ecx
test edx, edx
jbe case.0x40c926.15
xor eax, eax
mov bl, byte [eax + esi]
xor bl, 0xb9
inc ecx
mov byte [eax + esi], bl
mov eax, ecx
and eax, 0xffff
cmp eax, edx
jb 0x40c99a
pop edi
pop esi
pop ebx
ret
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
push esi
lea ecx, [edi + edi*4]
push ecx
push edx
call dword [0x42a780]
lea edx, [edi + edi*4]
add esp, 0xc
xor ecx, ecx
test edx, edx
jbe case.0x40c926.15
xor eax, eax
mov bl, byte [eax + esi]
xor bl, 0xb9
inc ecx
mov byte [eax + esi], bl
mov eax, ecx
and eax, 0xffff
cmp eax, edx
jb 0x40c9dd
pop edi
pop esi
pop ebx
ret
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
push esi
lea eax, [edi*4]
push eax
push ecx
call dword [0x42a780]
lea edx, [edi*4]
add esp, 0xc
xor ecx, ecx
test edx, edx
jbe case.0x40c926.15
xor eax, eax
mov bl, byte [eax + esi]
xor bl, 0xb9
inc ecx
mov byte [eax + esi], bl
mov eax, ecx
and eax, 0xffff
cmp eax, edx
jb 0x40ca28
pop edi
pop esi
pop ebx
ret
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
push esi
lea edx, [edi + edi*2]
shl edx, 1
push edx
push eax
call dword [0x42a780]
lea edx, [edi + edi*2]
add esp, 0xc
xor ecx, ecx
shl edx, 1
je case.0x40c926.15
xor eax, eax
mov bl, byte [eax + esi]
xor bl, 0xb9
inc ecx
mov byte [eax + esi], bl
mov eax, ecx
and eax, 0xffff
cmp eax, edx
jb 0x40ca6d
pop edi
pop esi
pop ebx
ret
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
push esi
lea ecx, [edi + edi*2]
shl ecx, 1
push ecx
push edx
call dword [0x42a780]
lea edx, [edi + edi*2]
add esp, 0xc
xor ecx, ecx
shl edx, 1
je case.0x40c926.15
xor eax, eax
mov bl, byte [eax + esi]
xor bl, 0xb9
inc ecx
mov byte [eax + esi], bl
mov eax, ecx
and eax, 0xffff
cmp eax, edx
jb 0x40caae
pop edi
pop esi
pop ebx
ret
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
push esi
lea eax, [edi + edi*2]
shl eax, 2
push eax
push ecx
call dword [0x42a780]
lea edx, [edi + edi*2]
add esp, 0xc
xor ecx, ecx
shl edx, 2
je case.0x40c926.15
xor eax, eax
mov bl, byte [eax + esi]
xor bl, 0xb9
inc ecx
mov byte [eax + esi], bl
mov eax, ecx
and eax, 0xffff
cmp eax, edx
jb 0x40caf1
pop edi
pop esi
pop ebx
ret
Function at 0x40dab0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
push edi
mov dword [esi + 0xdc], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0xe0], ecx
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x44], eax
mov al, byte [esp + 0x24]
mov dword [esi + 0x48], ecx
xor cl, cl
test al, al
mov dword [esi + 0x40], edx
mov byte [esi + 0x4c], al
mov byte [esp + 0xc], cl
jbe 0x40db14
mov eax, dword [esp + 0xc]
and eax, 0xff
inc cl
mov byte [esp + 0xc], cl
mov edx, dword [esp + eax*8 + 0x28]
mov dword [esi + eax*8 + 0x50], edx
mov edx, dword [esp + eax*8 + 0x2c]
mov dword [esi + eax*8 + 0x54], edx
mov al, byte [esi + 0x4c]
cmp cl, al
jb 0x40daee
mov eax, dword [esi + 0x48]
mov ecx, dword [esp + 0x14]
inc eax
cmp ecx, eax
jae 0x40db28
mov dword [esi + 0x104], ecx
jmp 0x40db2e
mov dword [esi + 0x104], eax
mov edi, dword [esi + 0x104]
mov ecx, dword [esi + 0x11c]
mov eax, edi
xor edx, edx
div ecx
mov dword [esi + 0x108], edi
test edx, edx
je 0x40db5a
mov eax, edi
xor edx, edx
div ecx
inc eax
imul eax, ecx
mov dword [esi + 0x104], eax
mov eax, dword [esi + 0x44]
xor edx, edx
div ecx
imul eax, ecx
cmp dword [esi + 0xd4], eax
jae 0x40db72
mov dword [esi + 0xd4], eax
mov eax, dword [esi + 0x104]
mov edi, 1
cmp eax, 0x100000
mov dword [esi + 0x10c], edi
ja 0x40db92
mov dword [esi + 0xd8], edi
jmp 0x40dbfb
cmp eax, 0x200000
ja 0x40dba5
mov dword [esi + 0xd8], 2
jmp 0x40dbfb
cmp eax, 0x400000
ja 0x40dbb8
mov dword [esi + 0xd8], 4
jmp 0x40dbfb
cmp eax, 0x800000
ja 0x40dbcb
mov dword [esi + 0xd8], 8
jmp 0x40dbfb
cmp eax, 0x1000000
ja 0x40dbde
mov dword [esi + 0xd8], 0x10
jmp 0x40dbfb
cmp eax, 0x2000000
ja 0x40dbf1
mov dword [esi + 0xd8], 0x20
jmp 0x40dbfb
mov dword [esi + 0xd8], 0x40
mov eax, dword [esi + 0x124]
test eax, eax
jne 0x40dc1b
mov ecx, esi
call fcn.0040e9f0
mov eax, dword [esi + 0x20]
push edi
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_RedrawWindow]
pop edi
pop esi
ret 0x9c

Function at 0x4108f0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x41cd90
Capabilities:
Read file via mapping

Disassembly:
mov eax, dword [0x42a848]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
jne 0x41cde3
push str.PRf48PInfFile
push 0x838
push 0
push 4
push 0
push 0xffffffffffffffff
call esi
test eax, eax
mov dword [0x42a848], eax
jne 0x41cdd0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
ret
push 0x838
push 0
push 0
push 6
push eax
call edi
mov dword [0x42a754], eax
mov eax, dword [0x42a844]
test eax, eax
jne 0x41ce2d
push str.PRf48PBufFile
push 0x1000000
push 0
push 4
push 0
push 0xffffffffffffffff
call esi
test eax, eax
mov dword [0x42a844], eax
jne 0x41ce15
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
ret
push 0x1000000
push 0
push 0
push 6
push eax
call edi
mov dword [0x42a75c], eax
mov dword [0x42a758], eax
pop edi
mov eax, 1
pop esi
ret
Function at 0x4059d4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405a3a
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.004040bc
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402b38
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405a24
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405a41
lea eax, [ebp - 0x10]
call fcn.00403e4c
ret

Function at 0x40acf0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40ad29
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403f3c
jmp 0x40ad32
mov eax, ebx
mov edx, esi
call fcn.00403ea0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40ad3c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40ad5d
mov al, byte [esp]
jmp 0x40ad5f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40b3e4
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b25c
mov eax, dword [0x472e68]
cmp byte [eax], 0
je 0x40b460
mov eax, dword [0x472c74]
call fcn.004029a4
call fcn.00402824
lea eax, [esp + 0x44]
inc esp
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x472c1c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x473664]
call fcn.00404ee8
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
Function at 0x40bcfc
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40bdd2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403ee4
lea eax, [ebp - 8]
call fcn.0040435c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040430c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40bdbc
mov eax, ebx
call fcn.004026bc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40bdb5
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 - 8]
call fcn.0040430c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40bd9f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40bde4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40bd9f
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bdbc
mov eax, dword [ebp - 0x10]
call fcn.004026dc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bdd9
lea eax, [ebp - 8]
call fcn.00403e4c
ret

Function at 0x40c2dc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40c340
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004040bc
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004080ac
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c347
lea eax, [ebp - 0xc]
call fcn.00403e4c
ret

Function at 0x41aa14
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x473884
cmp dword [edi], 0
jne 0x41aa90
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x473880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4713ec
mov ecx, 2
call fcn.004028b8
mov edx, 0x41a9ec
lea eax, [esi + 5]
call fcn.0041aa0c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041aa0c
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 0x41aa65
mov dword [0x473880], 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

Function at 0x41c054
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41c05a
ret
Function at 0x41e530
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x41e581
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41e568
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41e558
jmp 0x41e581
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x41e569
pop ebx
mov esp, ebp
pop ebp
ret