joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405760
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x538350
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x58dc28]
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
lea eax, [ebp - 0x3c]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SOFTWARECanonOIPTonerStatus
mov edi, ecx
push SysReAllocStringLen
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], ebx
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4057c1
mov dword [edi], esi
mov dword [edi + 4], ebx
mov eax, edi
jmp 0x4058e6
call fcn.00411b55
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4057dd
push 0x80004005
call fcn.00401880
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x44], edi
mov dword [ebp - 4], ebx
xor eax, eax
lea edx, [ebp - 0x50]
push edx
mov dword [ebp - 0x36], eax
mov dword [ebp - 0x32], eax
mov dword [ebp - 0x2e], eax
mov dword [ebp - 0x2a], eax
mov dword [ebp - 0x26], eax
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x16], eax
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x38]
push eax
push ebx
xor ecx, ecx
push ebx
mov word [ebp - 0x38], cx
mov ecx, dword [ebp - 0x3c]
push str.LaunchDecisionTime
push ecx
mov dword [ebp - 0x50], 0x28
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x40589f
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebp - 0x48]
call fcn.004019c0
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.00403860
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405876
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x44]
push ecx
lea eax, [edi - 0x10]
mov dword [ebp - 0x48], esp
mov esi, esp
push eax
call fcn.00402310
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea esi, [ebp - 0x4c]
call fcn.00405af0
mov esi, dword [eax]
mov ebx, dword [eax + 4]
jmp 0x4058a1
xor esi, esi
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4058b6
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x3c], 0
mov ecx, dword [ebp - 0x40]
lea eax, [edi - 0x10]
mov dword [ecx], esi
mov dword [ecx + 4], ebx
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or esi, 0xffffffff
lock xadd dword [edx], esi
dec esi
test esi, esi
jg 0x4058e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x40]
mov eax, ecx
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.0050fafb
mov esp, ebp
pop ebp
ret
Function at 0x405910
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x538478
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x58dc28]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
push ecx
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 0x14], 0
call fcn.00405a30
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWARECanonOIPTonerStatus
push SysReAllocStringLen
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4059d4
mov eax, dword [ebp - 0x10]
cmp dword [eax - 4], 1
mov ecx, dword [eax - 0xc]
lea esi, [ecx + ecx]
jle 0x405997
push ecx
lea ecx, [ebp - 0x10]
call fcn.004016d0
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
push esi
push eax
push 1
push 0
push str.LaunchDecisionTime
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.005114f0
add esp, 8
test eax, eax
js 0x405a21
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx - 8]
jg 0x405a21
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x10]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4059e9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405a0f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
push 0x80070057
call fcn.00401880
int3
Function at 0x40a660
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5382c0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
mov eax, dword [0x58dc28]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebx, ebx
push esi
lea ecx, [esp + 0x1c]
mov dword [edi], ebx
mov dword [edi + 4], ebx
call fcn.00412cb7
push ebx
push ebx
mov dword [esp + 0x40], ebx
mov eax, dword [esi + 0x20]
push 0x31
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
call fcn.00412edd
push eax
lea ecx, [esp + 0x1c]
call fcn.00413004
push 0x569758
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.004019c0
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
mov byte [esp + 0x3c], 1
call fcn.00419fa2
mov eax, dword [esp + 0xc]
cmp dword [eax - 0xc], 0
je 0x40a718
mov ecx, dword [eax - 0xc]
lea edx, [esp + 0x10]
push edx
push ecx
push eax
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [edi], ecx
push ebx
lea ecx, [esp + 0x1c]
mov dword [edi + 4], edx
call fcn.00413004
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x38], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a739
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 0xffffffff
call fcn.00412d0b
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40b090
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [edi + 4], 0
jne 0x40b0dc
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
lea ecx, [ebp - 4]
push ecx
push 0
mov dword [edi + 8], eax
lea eax, [edi + 0x10]
push eax
push 0x40b2b0
push 0
push 0
mov dword [eax], edi
call fcn.00512063
add esp, 0x18
mov dword [edi + 4], eax
test eax, eax
je 0x40b0dc
push esi
mov esi, dword [edi]
test esi, esi
je 0x40b0db
call fcn.00409430
pop esi
mov edx, dword [edi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov esp, ebp
pop ebp
ret
Function at 0x40c190
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5381f6
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x58dc28]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
push esi
mov ecx, 0x596a50
mov dword [ebp - 0x10], 0x596a50
call fcn.0041ecf6
mov dword [ebp - 4], esi
push str.__OIP_TonerStatusAppMutex_OIP__
mov ecx, 0x596b08
mov dword [0x596a50], 0x56b064
call fcn.004019c0
mov eax, dword [0x596b08]
push eax
push esi
push esi
mov dword [0x596b0c], esi
mov dword [0x596b10], esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x596b0c], eax
cmp eax, esi
jne 0x40c213
mov dword [0x596b10], 2
jmp 0x40c22d
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0xb7
sete cl
lea ecx, [ecx + ecx + 1]
mov dword [0x596b10], ecx
mov ecx, 0x596b18
mov byte [ebp - 4], 1
call fcn.0041edf0
mov dword [0x596b18], 0x56b954
mov dword [0x596b44], esi
mov dword [0x596b4c], esi
mov dword [0x596afc], 1
mov dword [0x596b14], esi
mov dword [0x596b48], esi
mov eax, 0x596a50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40e140
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, eax
mov dword [ebp - 8], 0
call fcn.00420d8c
mov esi, dword [eax + 8]
test edi, edi
je 0x40e241
cmp dword [ebp + 8], 0
je 0x40e241
test esi, esi
je 0x40e241
movzx eax, di
push 0x56b574
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x40e241
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x40e241
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40e241
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x40e241
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x40e235
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x40e22e
push ebx
push edi
push eax
mov dword [ebp - 4], 0
call fcn.00516650
add esp, 0xc
lea ecx, [ebp - 4]
push ecx
push 0
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
js 0x40e227
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 8]
push edx
call fcn.0040fa70
test eax, eax
js 0x40e215
mov dword [ebp - 8], 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 4], 0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41527c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.00420d8c
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4152b5
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.00414eb9
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x415313
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x415337
cmp dword [edi + 0x74], 0
jne 0x415337
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.00420d8c
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.004152d4
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41be61
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x41bea8
call fcn.00420d8c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41bea8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x41bec4
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0041b961
mov esi, eax
test edi, edi
je 0x41bec2
test ebx, ebx
je 0x41bec2
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x41c69a
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x532cf6
call fcn.00512730
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x41c6bf
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x41c711
call fcn.00411b55
push eax
lea ecx, [ebp - 0x10]
call fcn.00401340
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00512935
push eax
call fcn.00401420
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401210
mov eax, esi
call fcn.00512808
ret 8
Function at 0x41e192
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0041de36
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x41e1dc
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00410b40
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00403660
jmp 0x41e1e7
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004261d4
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x41e1ed
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.0041bf6d
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x41e22a
call fcn.0041de36
mov dword [esi + 0xc], 1
jmp 0x41e22f
call fcn.0041de36
cmp dword [esi], 0
je 0x41e278
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x41e250
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00410b40
jmp 0x41e262
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.00401810
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00403660
jmp 0x41e29c
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x41e29c
push dword [esi]
push dword [ebp + 8]
call fcn.004261d4
pop esi
pop ebp
ret 0xc

Function at 0x41e2a7
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x58dc28]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x41e2ec
push 0x541d38
push 4
push eax
call fcn.0050fb31
push eax
call fcn.00401420
add esp, 0x10
jmp 0x41e302
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x41e382
push edi
call fcn.00512a90
mov edi, dword [eax]
call fcn.00512a90
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.00511b7a
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.00512a90
cmp dword [eax], 0
je 0x41e356
call fcn.00512a90
push dword [eax]
call fcn.004112a6
pop ecx
jmp 0x41e35d
call fcn.00512a90
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
pop edi
je 0x41e382
cmp dword [ebp - 0x234], esi
jae 0x41e382
push 0
push 0
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x41e384
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0050fafb
leave
ret
Function at 0x41e8e9
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x58dc28]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 0xc]
push edi
push str.KERNEL32.DLL
mov dword [ebp - 0x13c], eax
xor esi, esi
call fcn.00413e85
pop ecx
cmp eax, esi
je 0x41e9d3
push str.GetThreadPreferredUILanguages
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, esi
je 0x41e9d3
xor eax, eax
push 0xc8
mov word [ebp - 0xd0], ax
lea eax, [ebp - 0xce]
push esi
push eax
mov dword [ebp - 0x140], esi
call fcn.00512c20
add esp, 0xc
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x140]
push eax
push 0x34
mov dword [ebp - 0x138], 0x65
call edi
test eax, eax
je 0x41e9d3
lea edi, [ebp - 0xd0]
cmp word [ebp - 0xd0], si
je 0x41e9d3
cmp esi, 0x14
jge 0x41e9d3
push 0x10
push 0
push edi
call fcn.0050fd70
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x41e9c2
call fcn.00512a90
cmp dword [eax], 0x22
je 0x41e9c2
mov dword [ebp + esi*4 - 0x134], ebx
inc esi
push edi
call fcn.00512331
lea edi, [edi + eax*2 + 2]
cmp word [edi], 0
pop ecx
jne 0x41e998
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
mov ebx, 0xfc00
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x134], eax
call edi
mov dword [ebp + esi*4 - 0x130], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x12c], eax
call edi
mov dword [ebp + esi*4 - 0x128], eax
add esi, 4
cmp dword [0x592084], 0
jne 0x41ea5e
mov dword [ebp + esi*4 - 0x134], 0x800
inc esi
xor edi, edi
test esi, esi
jle 0x41ea87
push dword [ebp + edi*4 - 0x134]
mov ecx, dword [ebp - 0x144]
push dword [ebp - 0x13c]
call fcn.0041e2a7
pop ecx
pop ecx
test eax, eax
jne 0x41ea89
inc edi
cmp edi, esi
jl 0x41ea64
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050fafb
leave
ret 8
Function at 0x41fc4a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x41fc92
call fcn.00420d8c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41fc92
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x41fcd5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x41fcbe
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x41fcbe
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x68], 0
je 0x41fcd2
mov ecx, dword [esi + 0x68]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x4228a3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.0041a34c
call fcn.00414a28
cmp eax, esi
pop esi
jne 0x4228bf
mov ecx, 0x592448
jmp fcn.0042a26f
ret

Function at 0x429625
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x58dc28]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x42965a
xor eax, eax
jmp 0x4296ad
lea eax, [ebp - 0x210]
push eax
call fcn.00512331
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x42968b
push 0x5425bc
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.00515af7
add esp, 0xc
test eax, eax
jne 0x429656
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.00515af7
add esp, 0xc
test eax, eax
jne 0x429656
lea eax, [ebp - 0x210]
push eax
call fcn.00413e85
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0050fafb
leave
ret

Function at 0x47bd43
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x47bd5d
call fcn.00420d8c
mov esi, dword [eax + 0xc]
push dword [0x593ef0]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x47bd7b
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x47bd73
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x47bda8
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x47bd75
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.0047bc71
mov esi, eax
jmp 0x47bd9a
Function at 0x4d74d5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and eax, 0x458d2520
call 0x5135d267
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.004d7181
push eax
push esi
push dword [ebp + 8]
call fcn.004d7136
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
sub dh, al
inc ebp
lcall 0xc635, 0x9b45c633
inc ebp
pushfd
xor al, 0xc6
inc ebp
popfd
and dh, al
inc ebp
sahf
sub eax, 0x119f45c6

Function at 0x4d7543
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub dh, al
inc ebp
lcall 0xc635, 0x9b45c633
inc ebp
pushfd
xor al, 0xc6
inc ebp
popfd
and dh, al
inc ebp
sahf
sub eax, 0x119f45c6
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.004d7181
push eax
push esi
push dword [ebp + 8]
call fcn.004d7136
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.004d7181
push eax
push esi
push dword [ebp + 8]
call fcn.004d7136
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.004d7171
loop 0x4d75e8
invalid
sub dword [ecx - 0x836278], 0x9d88ffff
jge 0x4d75fc
invalid
invalid

Function at 0x4d7624
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.004d7171
xor bl, ch
mov esi, 0x7c858da6
invalid