joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42a4d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov dword [0x60444c], eax
mov eax, dword [ebp + 0x14]
push esi
mov dword [0x604448], eax
mov eax, dword [ebp + 0x10]
push 0
mov dword [0x604444], eax
call fcn.00429530
mov edx, eax
test edx, edx
jne 0x42a4fd
xor ecx, ecx
jmp 0x42a511
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42a502
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, 0x5ffc54
call fcn.00409f20
mov eax, dword [ebp + 8]
mov edx, 1
mov ecx, dword [0x5ffc34]
mov dword [0x5ffc28], eax
mov eax, dword [ebp + 0x18]
mov dword [0x5ffc30], 1
mov dword [0x5ffc2c], 0
mov eax, dword [eax]
cmp dword [eax + 0x20], 0
cmovne ecx, edx
mov dword [0x5ffc34], ecx
call fcn.00429c80
test al, al
je 0x42a648
cmp dword [0x5ffcec], 0
je 0x42a581
push ecx
mov ecx, esp
push 0x5a43c0
call fcn.00401f40
call fcn.00429ae0
add esp, 4
push 0
push 0
push 0x428f30
call fcn.00574c34
add esp, 0xc
mov esi, eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x5ffcec], 0
je 0x42a625
cmp dword [0x5ffc38], 0
je 0x42a62e
push 0x96
lea eax, [ebp + 0x14]
mov ecx, 0x5ffc50
push eax
call fcn.0040ff30
lea ecx, [ebp + 0xc]
push dword [eax]
call fcn.0040bc80
mov edx, dword [ebp + 0x14]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42a5f0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov eax, esp
lea ecx, [ebp + 0xc]
push ecx
push 0x5a43c4
push eax
call fcn.0040cf30
add esp, 0xc
call fcn.00417480
mov edx, dword [ebp + 0xc]
add esp, 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x42a625
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [0x5ffc38], 0
jne 0x42a641
cmp dword [0x5ffc3c], 0
jne 0x42a641
push 0
call fcn.00429560
pop esi
pop ebp
ret
push 0xffffffffffffffff
call fcn.00429560
pop esi
pop ebp
ret
Function at 0x42bdd1
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
lea eax, [ebp - 4]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x42bdfb
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x42be01
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
pop esi
leave
ret
lea ecx, [esi + 0xc]
call fcn.0040cf20
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
call fcn.004314e6
int3

Function at 0x42c15b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0
push esi
mov esi, ecx
jne 0x42c16c
xor eax, eax
jmp 0x42c188
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42c18d
mov eax, dword [ebp - 4]
pop esi
leave
ret 8
lea ecx, [esi + 0xc]
call fcn.0040cf20
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
call fcn.004314e6
int3

Function at 0x42c22b
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
push 0
push dword [ebp + 0xc]
mov eax, dword [edi]
push dword [ebp + 8]
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x5a0a48]
mov ecx, edi
call esi
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x42c25e
pop edi
pop esi
pop ebp
ret 8
lea ecx, [edi + 0xc]
call fcn.0040cf20
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
call fcn.004314e6
int3

Function at 0x42c337
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
test esi, esi
je 0x42c362
push 0
lea eax, [ebp - 4]
push eax
push esi
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x42c368
cmp dword [ebp - 4], esi
jne 0x42c37f
pop edi
pop esi
leave
ret 8
lea ecx, [edi + 0xc]
call fcn.0040cf20
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
call fcn.004314e6
lea ecx, [edi + 0xc]
call fcn.0040cf20
push eax
push 0xffffffffffffffff
push 0xd
call fcn.0043113c
int3
Function at 0x42fee4
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
xor eax, eax
mov dword [ebp - 8], ecx
inc eax
inc ebx
mov dword [ebp - 4], eax
cmp dword [edi + 8], ebx
jle 0x42ff5b
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x42ff21
mov eax, dword [ecx + 0x10]
cmp dword [eax + ebx*8 + 4], edx
je 0x42ff21
mov eax, dword [edi + 0xc]
cmp dword [eax + ebx*4], 0
je 0x42ff4e
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x42ff51
mov eax, dword [edi + 0xc]
mov eax, dword [eax + ebx*4]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x42ff47
mov eax, dword [eax]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x5a0a48]
mov ecx, dword [ebp - 0xc]
call esi
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [edi + 0xc]
and dword [eax + ebx*4], 0
mov eax, dword [ebp - 4]
inc ebx
cmp ebx, dword [edi + 8]
jl 0x42ff04
test eax, eax
je 0x42ffa2
lea esi, [ecx + 0x1c]
mov ebx, edi
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp - 8]
push edi
add ecx, 0x14
call fcn.004301b9
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [ebx + 0xc]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [edi]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x5a0a48]
mov ecx, edi
call esi
mov eax, dword [ebp - 8]
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x43020c
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0x10
mov eax, 0x591b03
call fcn.0055ec0d
mov ebx, ecx
mov dword [ebp - 0x18], ebx
lea eax, [ebx + 0x1c]
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [ebp + 8]
test edi, edi
jle 0x430303
cmp edi, dword [ebx + 0xc]
jge 0x430303
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x430263
cmp edi, dword [esi + 8]
jl 0x4302f1
cmp dword [ebp + 0xc], 0
je 0x4302f1
xor edi, edi
jmp 0x430295
xor edi, edi
push 0x10
mov dword [ebp - 4], edi
call fcn.0042fcdc
mov esi, eax
test esi, esi
je 0x43027d
mov dword [esi], vtable.CThreadData.0
jmp 0x43027f
mov esi, edi
or dword [ebp - 4], 0xffffffff
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x14]
mov dword [esi + eax], ecx
mov dword [ebx + 0x14], esi
push 4
push dword [ebx + 0xc]
call fcn.0042b5f4
cmp dword [esi + 0xc], 0
pop ecx
pop ecx
jne 0x4302b1
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x4302bd
push 2
push eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov edx, eax
test edx, edx
je 0x43032a
mov ecx, dword [esi + 8]
mov dword [esi + 0xc], edx
mov eax, dword [ebx + 0xc]
sub eax, ecx
shl eax, 2
push eax
lea eax, [edx + ecx*4]
push edi
push eax
call fcn.00563b50
mov eax, dword [ebx + 0xc]
add esp, 0xc
mov dword [esi + 8], eax
push esi
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov edi, dword [ebp + 8]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x430303
cmp edi, dword [esi + 8]
jge 0x430303
mov eax, dword [ebp + 0xc]
mov dword [ecx + edi*4], eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.0055eb72
ret 8
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.0042a6c5
int3
Function at 0x4318cc
Capabilities:
Get file attributes
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x5fb1a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push 0x230
xor edi, edi
push edi
push esi
call fcn.00563b50
push 0xffffffffffffffff
push dword [ebx + 0xc]
lea eax, [esi + 0x24]
push 0x104
push eax
call fcn.00574da6
push eax
call fcn.004038f0
mov eax, dword [ebx + 4]
add esp, 0x20
cmp eax, dword [0x5a45c4]
je 0x431a2a
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x38]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x431a3e
lea eax, [ebp - 0x30]
push eax
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x431a3e
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
mov eax, dword [ebx + 0xc]
cmp dword [eax - 0xc], edi
je 0x431988
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x43197c
lea edx, [ebp - 0x28]
push edx
push edi
push eax
call fcn.0043167d
neg eax
sbb eax, eax
and eax, dword [ebp - 0x28]
jmp 0x431983
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x43198a
mov eax, edi
mov ecx, esi
mov dword [ecx + 0x20], eax
lea eax, [ebp - 0x38]
push eax
call fcn.00431b7d
test eax, eax
je 0x4319b1
push 0xffffffffffffffff
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x50]
call fcn.00431504
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x4319b5
mov ecx, edi
mov eax, edi
mov dword [esi], ecx
mov dword [esi + 4], eax
lea eax, [ebp - 0x40]
push eax
call fcn.00431b7d
test eax, eax
je 0x4319dc
push 0xffffffffffffffff
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x50]
call fcn.00431504
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x4319e0
mov ecx, edi
mov eax, edi
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x48]
push eax
call fcn.00431b7d
test eax, eax
je 0x431a08
push 0xffffffffffffffff
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x50]
call fcn.00431504
mov edi, dword [eax]
mov ecx, dword [eax + 4]
jmp 0x431a0a
mov ecx, edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], ecx
mov eax, dword [esi]
or eax, dword [esi + 4]
jne 0x431a1c
mov dword [esi], edi
mov dword [esi + 4], ecx
mov eax, dword [esi + 0x10]
or eax, dword [esi + 0x14]
jne 0x431a2a
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], ecx
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0055e52e
leave
ret 4
xor eax, eax
jmp 0x431a2d
Function at 0x4334cf
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.004339bc
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x43350b
call fcn.004336ec
mov dword [esi + 0xc], 1
jmp 0x433510
call fcn.004336ec
cmp dword [esi], 0
je 0x43355b
push edi
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
mov edi, eax
mov ecx, esi
test edi, edi
jle 0x433536
push edi
call fcn.00405020
lea ecx, [edi + 1]
push ecx
jmp 0x433545
push 0xff
call fcn.0042ae37
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00408db0
pop edi
jmp 0x43357f
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x43357f
push dword [esi]
push dword [ebp - 4]
call fcn.00432e03
pop esi
leave
ret 0xc

Function at 0x433643
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.004336ec
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x43368b
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00405020
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00408db0
jmp 0x433696
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00432e03
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x433a76
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5919e9
call fcn.0055eba4
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x433a9c
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x433af6
lea ecx, [ebp - 0x10]
call fcn.00402280
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call dword [0x5a0a48]
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.00574da6
push eax
call fcn.004038f0
add esp, 0x14
test esi, esi
je 0x433ae9
push esi
call fcn.00567007
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0042aec1
mov eax, ebx
call fcn.0055eb72
ret 8
Function at 0x437e90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
mov ebx, ecx
push edi
cmp dword [ebp + 8], esi
je 0x437ecf
call fcn.004306f1
push 0xf0
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x437ecf
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x437ed7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push esi
mov ecx, ebx
call fcn.0043e401
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x4388dc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x438968
cmp dword [esi + 0x20], 0
je 0x438968
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x438968
cmp dword [ebp + 8], 0
je 0x438968
xor edi, edi
mov ebx, edi
call fcn.004306f1
push 0x5a7670
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
test eax, eax
je 0x43894c
mov ebx, dword [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 8]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x438968
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push edi
push ebx
push esi
call fcn.0043ef84
mov edi, eax
add esp, 0xc
test edi, edi
je 0x438964
mov ecx, esi
call fcn.0043867a
mov eax, edi
jmp 0x43896a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x43fb56
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x84], 0
mov esi, dword [ebx + 0x8c]
mov edi, dword [ebx + 0x88]
je 0x43fb9e
call fcn.004306f1
push 5
push dword [ebx + 0x84]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x43fb9e
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x43fbab
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
xor eax, eax
inc eax
test esi, esi
je 0x43fbe7
mov edx, 0xffff
lea ecx, [esi + 0xc]
cmp word [esi + 2], dx
jne 0x43fbca
movzx edi, word [esi + 0x12]
movzx edx, word [esi + 0x14]
jmp 0x43fbd3
movzx edx, word [ecx]
mov ecx, esi
movzx edi, word [esi + 0xa]
test dword [ecx], 0x1801
jne 0x43fbe5
test di, di
jne 0x43fbe5
test dx, dx
je 0x43fbe7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43fbec
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [esi + 0x84], edi
test edi, 0xffff0000
jne 0x43fc17
cmp dword [esi + 0x80], 0
jne 0x43fc17
movzx eax, di
mov dword [esi + 0x80], eax
call fcn.004306f1
push 5
push edi
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x43fc47
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x43fc47
push ebx
push dword [ebp + 0xc]
mov ecx, esi
push eax
call fcn.0043feb3
jmp 0x43fc49
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x43fc50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
call fcn.004306f1
push 5
push dword [ebp + 8]
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x43fc90
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x43fc90
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push dword [ebp + 0xc]
mov ecx, edi
push eax
call fcn.0043fc98
jmp 0x43fc92
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
Function at 0x43ff88
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x59229c
call fcn.0055ec0d
mov edi, ecx
mov dword [ebp - 0x24], edi
mov ebx, dword [edi + 0x8c]
mov esi, dword [edi + 0x88]
mov dword [ebp - 0x18], ebx
call fcn.004306f1
cmp dword [edi + 0x84], 0
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x20], eax
je 0x43ffe7
call fcn.004306f1
push 5
push dword [edi + 0x84]
mov ebx, dword [eax + 0xc]
push ebx
mov dword [ebp - 0x20], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x43fffb
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, dword [ebp - 0x18]
mov esi, eax
test esi, esi
je 0x43fff7
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 0x18], eax
test ebx, ebx
jne 0x440003
or eax, 0xffffffff
jmp 0x440155
mov ecx, edi
call fcn.00440593
mov ebx, eax
mov dword [ebp - 0x2c], ebx
call fcn.00436b84
xor esi, esi
and dword [ebp - 0x1c], esi
and dword [ebp - 0x28], esi
mov dword [ebp - 0x14], esi
test ebx, ebx
je 0x44008f
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp ebx, eax
je 0x44008f
push ebx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x44008f
push esi
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x14], 1
call fcn.0042f738
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x44008c
mov ecx, dword [esi]
mov esi, dword [ecx + 0x150]
mov ecx, esi
call dword [0x5a0a48]
mov ecx, dword [ebp - 0x1c]
call esi
test eax, eax
je 0x44008c
mov esi, dword [ebp - 0x1c]
mov ecx, esi
call fcn.00433b41
test eax, eax
je 0x44008c
push 0
mov ecx, esi
call fcn.00433914
mov dword [ebp - 0x28], 1
mov esi, dword [ebp - 0x14]
and dword [ebp - 4], 0
push edi
call fcn.00436823
push ebx
call fcn.00437efd
push dword [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x18]
call fcn.0043ff2b
test eax, eax
jne 0x4400d8
cmp dword [edi + 0x9c], eax
jne 0x4400d8
call fcn.004306f1
push ebx
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], eax
call fcn.00437efd
push dword [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x18]
call fcn.0043ff2b
and dword [edi + 0x9c], 0
jmp 0x440103
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x28], 0
je 0x440117
mov ecx, dword [ebp - 0x1c]
push 1
call fcn.00433914
test esi, esi
je 0x440124
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
test ebx, ebx
je 0x44013a
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [edi + 0x20]
jne 0x44013a
push ebx
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [edi]
mov esi, dword [eax + 0x60]
mov ecx, esi
call dword [0x5a0a48]
mov ecx, edi
call esi
mov ecx, edi
call fcn.0044054a
mov eax, dword [edi + 0x68]
call fcn.0055eb72
ret
Function at 0x441e20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 4], ebx
test byte [edi + 4], 1
mov esi, dword [edi + 0xc]
jne 0x441e76
push 5
push esi
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x441e4f
call fcn.004349f2
push esi
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x441e64
call fcn.004349f2
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x441e76
call fcn.004349f2
call fcn.004306f1
cmp dword [eax + 0x3c], 0
je 0x441e8b
push esi
mov ecx, ebx
call fcn.00441546
mov esi, eax
push dword [ebp + 0xc]
push esi
call fcn.00442071
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x441eb4
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x441ec0
mov esi, ebx
mov dword [eax + 0x88], ebx
or dword [edi + 4], 1
mov dword [edi + 0xc], esi
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x445a65
Capabilities:
Extract resource via kernel32 functions
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x445bab
mov ecx, 0x5fa6d8
call fcn.0043007e
mov esi, eax
test esi, esi
je 0x445ba0
xor eax, eax
cmp word [esi + 8], ax
jne 0x445b6a
push str.comctl32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
test ebx, ebx
je 0x445b26
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [ebp + 0x10]
mov ecx, 0x3ff
and ax, cx
cmp ax, 0x11
jne 0x445aec
push 0x5a8f00
call fcn.00445be9
pop ecx
test eax, eax
je 0x445aec
mov eax, edi
neg eax
push 0xfc11
sbb eax, eax
and eax, 0xe
add eax, 0x3ee
push eax
push 5
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
jne 0x445b07
neg edi
push 5
sbb edi, edi
and edi, 0xe
add edi, 0x3ee
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x445b26
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
test eax, eax
je 0x445b2c
push ebx
push edi
push eax
call fcn.0044560e
add esp, 0xc
jmp 0x445b2c
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov eax, dword [edi]
push 2
mov eax, dword [eax - 0xc]
inc eax
push eax
call fcn.0042b5f4
pop ecx
pop ecx
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, eax
mov dword [esi + 4], ecx
test ecx, ecx
je 0x445ba5
mov eax, dword [edi]
push eax
mov eax, dword [eax - 0xc]
inc eax
push eax
push ecx
call fcn.0042c59b
mov ax, word [ebx]
add esp, 0xc
mov word [esi + 8], ax
xor eax, eax
jmp 0x445b6d
mov ebx, dword [ebp + 0xc]
mov edi, dword [esi + 4]
test edi, edi
je 0x445b7b
push edi
call fcn.00567007
pop ecx
mov ecx, dword [ebp + 8]
push eax
push edi
call fcn.00409f20
movzx ecx, word [esi + 8]
mov edx, 0xffff
xor eax, eax
mov word [ebx], cx
pop edi
cmp cx, dx
pop esi
setne al
pop ebx
pop ebp
ret 0xc
call fcn.0042a6ab
call fcn.0042a6c5
int3