joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416b30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x416b49
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x416b84
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x416b80
lea ebx, [ebx]
cmp esi, eax
jae 0x416b84
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x416b70
cmp esi, eax
jb 0x416b8a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x41b180
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
mov eax, dword [ebp + 4]
push esi
push edi
xor edi, edi
cmp eax, edi
je 0x41b1b9
push eax
mov dword [ebp + 4], edi
mov dword [ebp + 8], edi
mov dword [ebp + 0xc], edi
mov dword [ebp + 0x10], edi
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x14], edi
mov dword [ebp + 0x20], 0xffffffff
mov byte [ebp + 0x1d], 0
mov byte [ebp + 0x1c], 0
call dword [sym.imp.GDI32.dll_DeleteObject]
call fcn.004f3785
mov eax, dword [eax + 0xc]
push str.RCPNG
push 0x88
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, edi
jne 0x41b1e1
xor al, al
pop edi
pop esi
pop ebp
pop ebx
ret 4
call fcn.004f3785
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
je 0x41b1d8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [esp + 0x14], edi
call fcn.004f3785
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push edi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
push ebx
push eax
call fcn.00516ca0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [esp + 0x14]
push eax
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x41b255
mov ecx, dword [esp + 0x14]
push ecx
push ebp
call fcn.00424450
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
ret 4
Function at 0x41c640
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x54b09b
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
push ebp
push esi
push edi
mov eax, dword [0x5b2920]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
mov eax, dword [esp + 0xac]
push eax
mov edx, str.configdictimg_
lea esi, [esp + 0x84]
call fcn.00423980
xor esi, esi
push eax
mov ecx, str..bmp
lea edi, [esp + 0x34]
mov dword [esp + 0xac], esi
call fcn.004027c0
add esp, 8
lea ecx, [esp + 0x64]
mov byte [esp + 0xa4], 1
call fcn.004037a0
push 0xffffffffffffffff
push esi
push eax
mov ecx, ebx
mov byte [esp + 0xb0], 2
call fcn.004025b0
mov edi, 8
cmp dword [esp + 0x7c], edi
jb 0x41c6dc
mov ecx, dword [esp + 0x68]
push ecx
call fcn.004e946d
add esp, 4
cmp dword [esp + 0x44], edi
mov ebp, 7
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x78], esi
mov word [esp + 0x68], si
jb 0x41c701
mov edx, dword [esp + 0x30]
push edx
call fcn.004e946d
add esp, 4
mov dword [esp + 0xa4], 0xffffffff
cmp dword [esp + 0x98], edi
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], esi
mov word [esp + 0x30], si
jb 0x41c732
mov eax, dword [esp + 0x84]
push eax
call fcn.004e946d
add esp, 4
cmp dword [ebx + 0x18], edi
jb 0x41c73c
mov eax, dword [ebx + 4]
jmp 0x41c73f
lea eax, [ebx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41c74f
test al, 0x10
je 0x41c7ca
push 0x1a
push str.configdictimgdefault.bmp
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], esi
mov word [esp + 0x1c], si
call fcn.004029f0
lea eax, [esp + 0x10]
lea ecx, [esp + 0x48]
mov dword [esp + 0xa4], 3
call fcn.004037a0
push 0xffffffffffffffff
push esi
push eax
mov ecx, ebx
mov byte [esp + 0xb0], 4
call fcn.004025b0
cmp dword [esp + 0x60], edi
jb 0x41c7aa
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.004e946d
add esp, 4
cmp dword [esp + 0x28], edi
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], esi
mov word [esp + 0x4c], si
jb 0x41c7ca
mov edx, dword [esp + 0x14]
push edx
call fcn.004e946d
add esp, 4
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x98
ret
Function at 0x41d1b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x54b049
mov eax, dword fs:[0]
push eax
sub esp, 0x74
push esi
push edi
mov eax, dword [0x5b2920]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
mov edx, 7
mov esi, 1
mov dword [esp + 0x88], esi
mov dword [ebx + 0x18], edx
mov dword [ebx + 0x14], eax
mov word [ebx + 4], ax
mov dword [ebx + 0x34], edx
mov dword [ebx + 0x30], eax
mov word [ebx + 0x20], ax
mov dword [ebx + 0x50], edx
mov dword [ebx + 0x4c], eax
mov word [ebx + 0x3c], ax
mov ecx, dword [ecx + 0xd3c]
cmp ecx, eax
mov dword [esp + 0xc], esi
je 0x41d24d
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
lea edx, [esp + 0x90]
push edx
lea edx, [esp + 0x18]
push edx
call eax
mov edi, eax
mov esi, ebx
mov byte [esp + 0x88], 2
call fcn.0041d150
lea esi, [esp + 0x14]
call fcn.004da120
cmp dword [esp + 0xa8], 8
jb 0x41d267
mov ecx, dword [esp + 0x94]
push ecx
call fcn.004e946d
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x80
ret 0x1c
Function at 0x425880
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x554b41
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b2920]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov edi, dword [esp + 0x44]
mov ecx, edi
call fcn.004ec6c4
xor ebp, ebp
mov dword [esp + 0x3c], ebp
mov dword [edi], vtable.CDMListCtrl.0
mov dword [edi + 0x58], ebp
mov dword [edi + 0x5c], ebp
mov dword [edi + 0x60], ebp
mov dword [edi + 0x6c], ebp
mov dword [edi + 0x70], ebp
mov dword [edi + 0x74], ebp
lea esi, [edi + 0x78]
mov dword [esi + 4], ebp
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebp
mov dword [edi + 0xac], ebp
mov dword [edi + 0xa8], vtable.CFont.0
lea eax, [edi + 0xb8]
push eax
mov byte [esp + 0x40], 4
call fcn.00424f20
lea ecx, [edi + 0x128]
mov byte [esp + 0x3c], 5
call fcn.004f7b35
lea ecx, [edi + 0x13c]
mov byte [esp + 0x3c], 6
call fcn.004f7b35
mov eax, 0xffffff
mov ebx, 7
mov byte [esp + 0x3c], bl
mov dword [edi + 0x88], ebp
mov dword [edi + 0x8c], 0xe4d9a5
mov dword [edi + 0x90], eax
mov dword [edi + 0x94], eax
mov dword [edi + 0x98], 0xfbf8f3
mov dword [edi + 0x9c], 0xf5e9d7
mov dword [edi + 0xa0], 0xa66415
mov dword [edi + 0xa4], eax
mov dword [edi + 0xb0], 0xcd
mov dword [edi + 0xb4], 0x9a9a9a
call fcn.00426520
push edi
call fcn.004265e0
push edi
call fcn.00426df0
push 4
push str._g0WxQ
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebp
mov word [esp + 0x24], bp
call fcn.004029f0
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x40], 8
call fcn.004064c0
mov byte [esp + 0x3c], bl
cmp dword [esp + 0x30], 8
jb 0x4259d4
mov edx, dword [esp + 0x1c]
push edx
call fcn.004e946d
add esp, 4
push 4
push 0x56a390
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebp
mov word [esp + 0x24], bp
call fcn.004029f0
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x40], 9
call fcn.004064c0
mov byte [esp + 0x3c], bl
cmp dword [esp + 0x30], 8
jb 0x425a18
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004e946d
add esp, 4
push 5
push 0x56a39c
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebp
mov word [esp + 0x24], bp
call fcn.004029f0
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x40], 0xa
call fcn.004064c0
mov byte [esp + 0x3c], bl
cmp dword [esp + 0x30], 8
jb 0x425a5c
mov eax, dword [esp + 0x1c]
push eax
call fcn.004e946d
add esp, 4
push 4
push 0x56a3a8
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebp
mov word [esp + 0x24], bp
call fcn.004029f0
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x40], 0xb
call fcn.004064c0
cmp dword [esp + 0x30], 8
jb 0x425a9c
mov edx, dword [esp + 0x1c]
push edx
call fcn.004e946d
add esp, 4
mov dword [edi + 0x64], ebp
mov dword [edi + 0x150], ebp
mov eax, edi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 4
Function at 0x428e80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x546f18
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebp
push esi
mov eax, dword [0x5b2920]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x30], 0
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x2c], 0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov esi, dword [esp + 0x34]
test esi, esi
je 0x428ed0
mov eax, dword [esi]
jmp 0x428ed2
xor eax, eax
mov ecx, dword [edi]
lea edx, [esp + 0xc]
push edx
push eax
mov eax, dword [ecx + 0xb0]
push edi
call eax
test eax, eax
jge 0x428ef3
push 0x56b434
push edi
push eax
call fcn.0052ffd0
push 0x10
lea ecx, [esp + 0x10]
push ecx
push 0x10
push ebp
call fcn.0050fbcd
add esp, 0x10
test esi, esi
mov word [esp + 0xc], 0
je 0x428f44
lea edx, [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x428f44
mov eax, dword [esi]
test eax, eax
je 0x428f2b
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x428f3b
push eax
call fcn.004e946d
add esp, 4
push esi
call fcn.004e946d
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0x20
ret 8

Function at 0x42a630
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x546ee8
mov eax, dword fs:[0]
push eax
push ecx
push ebp
push esi
push edi
mov eax, dword [0x5b2920]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x24]
xor esi, esi
cmp ebx, esi
je 0x42a694
cmp dword [ebp + 4], esi
jne 0x42a694
mov dword [esp + 0x24], esi
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], esi
call fcn.0042a1b0
mov edi, dword [esp + 0x24]
push esi
push esi
push esi
push edi
push str.OPEN
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x42a6ab
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret 4
push 0x1c
call fcn.004e943d
add esp, 4
cmp eax, esi
je 0x42a6d9
mov dword [eax], vtable.CCBThreadBase.0
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov dword [eax + 0x10], esi
mov dword [eax + 0xc], esi
mov dword [eax], vtable.CBGrabPipeReadClient.0
mov dword [eax + 0x14], esi
mov dword [eax + 0x18], esi
jmp 0x42a6db
xor eax, eax
mov dword [ebp + 4], eax
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x42a6fb
mov edx, dword [eax]
push esi
push esi
mov dword [eax + 0x18], ebx
mov ecx, eax
mov eax, dword [edx + 4]
push esi
call eax
neg eax
sbb eax, eax
inc eax
jne 0x42a71d
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret 4
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, 1
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret 4
Function at 0x42a750
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x5463b8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push edi
mov eax, dword [0x5b2920]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0xc], edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], edi
call fcn.0042a1b0
mov ebx, dword [esp + 0xc]
push edi
push edi
push str._exit
push ebx
push str.OPEN
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jbe 0x42a7ca
mov ecx, dword [esi + 8]
cmp ecx, edi
je 0x42a7b5
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 8], edi
mov ecx, dword [esi + 4]
cmp ecx, edi
je 0x42a7c7
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 4], edi
mov dword [esi + 0xc], edi
push ebx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x10
ret

Function at 0x42a900
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x42a913
mov eax, 1
pop esi
ret 0xc
mov eax, dword [esi + 0x10]
test eax, eax
je 0x42a928
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x10], 0
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
test eax, eax
mov dword [esi + 0x10], eax
jne 0x42a946
mov eax, 2
pop esi
ret 0xc
lea ecx, [esi + 8]
push ecx
push 0
push esi
push 0x42aa30
push 0
push 0
call fcn.00514183
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
add esp, 0x18
neg eax
sbb eax, eax
and eax, 0xfffffffe
add eax, 2
pop esi
ret 0xc

Function at 0x42a980
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
jne 0x42a992
mov eax, dword [esp + 8]
pop esi
ret 0xc
mov eax, dword [esi + 0x10]
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
jne 0x42a9cb
mov edi, dword [esp + 0x10]
mov ecx, dword [esi + 4]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [esi + 4]
test edx, edx
je 0x42a9c0
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], ebx
mov eax, edi
pop edi
mov dword [esi + 8], ebx
pop ebx
pop esi
ret 0xc
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 4]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
mov edi, dword [esp + 0x10]
je 0x42a9f4
mov eax, dword [esi + 4]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x42aa08
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], ebx
cmp dword [esp + 0x14], ebx
mov dword [esi + 8], ebx
je 0x42aa1b
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
mov eax, edi
pop edi
pop ebx
pop esi
ret 0xc
Function at 0x42aae0
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
mov edi, eax
lea esi, [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push 0
push eax
mov eax, dword [edi + 0x1c]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
ret 0xc
Function at 0x42b6a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
test esi, esi
je 0x42b919
lea eax, [esi + 4]
lea edx, [eax + 2]
jmp 0x42b6c0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42b6c0
push ebx
sub eax, edx
sar eax, 1
push edi
lea ecx, [ebp + 0x3c]
lea ebx, [esi + 4]
mov edi, eax
mov eax, dword [ecx + 0x14]
push ebx
call fcn.00405f30
test eax, eax
jne 0x42b71b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp + 0x58]
cmp eax, 0x3e8
jae 0x42b71b
mov eax, dword [ebp + 0x5c]
cmp eax, dword [esi + 0x650]
jne 0x42b70e
cmp dword [esi + 0x664], 2
je 0x42b917
cmp dword [esi + 0x664], 1
je 0x42b917
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp + 0x58]
cmp eax, 0x1f4
jb 0x42b917
cmp dword [esi + 0x664], 2
jne 0x42b882
mov eax, dword [ebp + 0x2c]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x42b750
call eax
test eax, eax
jne 0x42b917
cmp word [ebx], 0
je 0x42b917
mov eax, dword [esi + 0x650]
cmp eax, 0x320
jg 0x42b917
movzx eax, word [esi + eax*2 + 4]
cmp ax, 0x3000
je 0x42b917
cmp ax, 0x3002
je 0x42b917
cmp ax, 0xa0
je 0x42b917
cmp ax, 0x2d
je 0x42b917
lea ecx, [eax + 0xff]
cmp cx, 0x5d
ja 0x42b7ab
add eax, 0x120
jmp 0x42b7ae
movzx eax, ax
cmp ax, 0x7f
ja 0x42b872
cmp ax, 0x80
jae 0x42b7cb
movzx edx, ax
movzx ecx, word [edx*2 + 0x568180]
jmp 0x42b7ce
movzx ecx, ax
cmp cx, 0x20
je 0x42b917
cmp ax, 0x7f
ja 0x42b917
cmp ax, 0x80
movzx ecx, ax
jae 0x42b7f3
movzx ecx, word [ecx*2 + 0x568180]
cmp cx, 0x2e
je 0x42b917
cmp ax, 0x80
jae 0x42b810
movzx edx, ax
movzx ecx, word [edx*2 + 0x568180]
jmp 0x42b813
movzx ecx, ax
cmp cx, 0x22
je 0x42b917
cmp ax, 0x80
movzx ecx, ax
jae 0x42b82e
movzx ecx, word [ecx*2 + 0x568180]
cmp cx, 0x30
je 0x42b917
cmp ax, 0x80
jae 0x42b84b
movzx edx, ax
movzx ecx, word [edx*2 + 0x568180]
jmp 0x42b84e
movzx ecx, ax
cmp cx, 0x5f
je 0x42b917
cmp ax, 0x80
movzx ecx, ax
jae 0x42b869
movzx ecx, word [ecx*2 + 0x568180]
test cx, cx
je 0x42b917
cmp ax, 0x80
jbe 0x42b882
cmp dword [ebp + 0x78], 0
je 0x42b917
test byte [0x5c4070], 1
jne 0x42b89c
or dword [0x5c4070], 1
mov dword [0x5c3a08], 0
lea ebx, [ebp + 0x60]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x18]
mov ecx, 0x19a
mov edi, 0x5c3a08
add eax, 4
rep movsd dword es:[edi], dword [esi]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42b8c0
sub eax, edx
sar eax, 1
push eax
mov eax, dword [esp + 0x1c]
add eax, 4
push eax
lea ecx, [ebp + 0x3c]
call fcn.004029f0
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x650]
mov dword [ebp + 0x5c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebx
mov dword [ebp + 0x58], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp + 8]
test eax, eax
je 0x42b917
push 0
push 0x5c3a08
push 0x7e9
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop ebx
pop esi
pop ebp
ret 8
Function at 0x42d8e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
mov eax, dword [ebp + 0x64]
add ebp, 0x60
xor ebx, ebx
cmp eax, ebx
push esi
push edi
je 0x42d91b
push eax
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x20], 0xffffffff
mov byte [ebp + 0x1d], bl
mov byte [ebp + 0x1c], bl
call dword [sym.imp.GDI32.dll_DeleteObject]
call fcn.004f3785
movzx ecx, word [esp + 0x1c]
mov eax, dword [eax + 0xc]
push 0x56c890
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, ebx
jne 0x42d945
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
call fcn.004f3785
mov eax, dword [eax + 0xc]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
je 0x42d93b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov dword [esp + 0x10], ebx
call fcn.004f3785
mov eax, dword [eax + 0xc]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push ebx
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
push esi
push eax
call fcn.00516ca0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea edx, [esp + 0x10]
push edx
push 1
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x42d9b9
mov eax, dword [esp + 0x10]
push eax
push ebp
call fcn.00424450
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov esi, dword [esp + 0x18]
call fcn.0042dcc0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 8
Function at 0x43aee0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x547db8
mov eax, dword fs:[0]
push eax
push ecx
push edi
mov eax, dword [0x5b2920]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
xor eax, eax
mov dword [edi + 8], eax
mov dword [edi + 4], eax
mov dword [esp + 0x14], eax
mov dword [edi], vtable.FCObjImage.0
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], eax
mov dword [edi + 0x44], eax
mov dword [edi + 0x40], eax
mov dword [edi + 0x3c], eax
mov dword [edi + 0x34], eax
mov dword [edi + 0x38], eax
mov dword [edi + 0x48], eax
mov dword [edi + 0x4c], eax
call fcn.00437770
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x10
ret 4

Function at 0x43eb70
Capabilities:
Create thread
Resume thread

Disassembly:
sub esp, 8
cmp dword [esi + 0x8c], 0
je 0x43ebd9
cmp dword [esi + 0x80], 0
je 0x43ebdf
mov eax, dword [esi + 0xc4]
test eax, eax
je 0x43ebdf
mov ecx, dword [esi + 0xc8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x43ebdf
lea eax, [esp + 4]
push eax
push 4
push esi
push 0x43f150
push 0
push 0
call fcn.00514183
add esp, 0x18
test eax, eax
mov dword [esi + 0xa8], eax
je 0x43ebd9
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
add esp, 8
ret
mov eax, dword [esi + 0xb0]
test eax, eax
je 0x43ebd9
mov ecx, dword [eax]
push edi
lea edx, [esp + 8]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov eax, dword [esi + 0xb0]
mov ecx, dword [eax]
lea edx, [esp + 4]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov ecx, dword [esp + 4]
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
push 0
mov edx, dword [edx + 0x20]
mov edi, ecx
neg edi
push edi
mov edi, dword [esp + 0x10]
push edi
push ecx
mov ecx, dword [esi + 0x68]
push 0
push ecx
mov ecx, dword [esi + 0x64]
push ecx
mov ecx, dword [esi + 0x90]
push 0
push 0
push ecx
push eax
call edx
test eax, eax
pop edi
jne 0x43ebd9
push eax
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, 1
add esp, 8
ret