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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58a4d0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5f31c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
push edi
mov dword [ebp - 4], 0
call fcn.0042b318
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x10], esi
test esi, esi
je 0x4277bd
mov eax, edi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
je 0x4277bd
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4277bd
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4277bd
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x427746
nop
cmp esi, ecx
jae 0x4277bd
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x427730
cmp esi, ecx
jae 0x4277bd
cmp word [esi], 0
je 0x4277bd
mov eax, dword [ebx]
mov ecx, 1
movzx edi, word [esi]
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edi
or ecx, eax
jge 0x42776e
push edi
mov ecx, ebx
call fcn.00408b40
movzx ecx, word [esi]
lea eax, [esi + 2]
push ecx
push eax
push edi
push dword [ebx]
call fcn.00570154
add esp, 0x10
cmp eax, 0x50
ja case.0x42778d.1
movzx eax, byte [eax + 0x4277f8]
jmp dword [eax*4 + 0x4277e8]
mov eax, dword [ebx]
cmp edi, dword [eax - 8]
jg 0x4277d8
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [ebx]
mov word [eax + edi*2], cx
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.0042a45c
push 0x80070057
call fcn.00403c70
call fcn.0042a442
nop
xchg esp, eax
ja 4356141
add bl, dl
ja 0x427831
add dl, ah
ja 0x427835
add dl, ah
ja 0x427839
add byte [eax], al
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ecx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [eax]
int3
Function at 0x429be0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58ccad
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x5f31c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
mov dword [ebp - 4], 0
call fcn.00429540
mov edx, eax
test edx, edx
jne 0x429c1f
xor ecx, ecx
jmp 0x429c33
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x429c24
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, 0x5f7bb4
call fcn.00409f30
lea eax, [ebp + 8]
mov dword [0x5f7b90], 1
push 0x59f2d4
push eax
mov dword [0x5f7b8c], 0
call fcn.00411810
add esp, 8
test al, al
je 0x429c72
mov dword [0x5f7b94], 1
call fcn.00429f40
or edi, 0xffffffff
test al, al
je 0x429d68
cmp dword [0x5f7c20], 0
je 0x429ca0
push ecx
mov ecx, esp
push 0x59f378
call fcn.00401f10
call fcn.00429da0
add esp, 4
push 0
push 0
push 0x428e50
call fcn.00572b41
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 [0x5f7c20], 0
je 0x429d4b
cmp dword [0x5f7b98], 0
je 0x429d54
push 0x96
lea eax, [ebp - 0x14]
mov ecx, 0x5f7bb0
push eax
call fcn.0040ff80
push dword [eax]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0040bc90
mov edx, dword [ebp - 0x14]
mov eax, edi
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x429d14
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov eax, esp
lea ecx, [ebp - 0x10]
push ecx
push 0x59f37c
push eax
call fcn.0040cf50
add esp, 0xc
call fcn.004175c0
mov edx, dword [ebp - 0x10]
add esp, 4
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x429d4b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [0x5f7b98], 0
jne 0x429d61
cmp dword [0x5f7b9c], 0
jne 0x429d61
push 0
jmp 0x429d63
push 0xffffffffffffffff
call fcn.00429570
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x429d80
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42bb68
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 0x42bb92
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x42bb98
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
pop esi
leave
ret
lea ecx, [esi + 0xc]
call fcn.0040cf40
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
call fcn.004312af
int3

Function at 0x42bef2
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0
push esi
mov esi, ecx
jne 0x42bf03
xor eax, eax
jmp 0x42bf1f
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 0x42bf24
mov eax, dword [ebp - 4]
pop esi
leave
ret 8
lea ecx, [esi + 0xc]
call fcn.0040cf40
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
call fcn.004312af
int3

Function at 0x42bfc2
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 [0x59ba48]
mov ecx, edi
call esi
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x42bff5
pop edi
pop esi
pop ebp
ret 8
lea ecx, [edi + 0xc]
call fcn.0040cf40
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
call fcn.004312af
int3

Function at 0x42c0ce
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 0x42c0f9
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 0x42c0ff
cmp dword [ebp - 4], esi
jne 0x42c116
pop edi
pop esi
leave
ret 8
lea ecx, [edi + 0xc]
call fcn.0040cf40
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
call fcn.004312af
lea ecx, [edi + 0xc]
call fcn.0040cf40
push eax
push 0xffffffffffffffff
push 0xd
call fcn.00430f05
int3
Function at 0x42fca9
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov edx, ecx
xor eax, eax
mov ecx, dword [ebp + 8]
inc eax
push edi
xor edi, edi
mov dword [ebp - 8], edx
inc edi
mov dword [ebp - 4], eax
lea ebx, [ecx + 0xc]
cmp dword [ecx + 8], edi
jle 0x42fd25
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x42fcea
mov eax, dword [edx + 0x10]
cmp dword [eax + edi*8 + 4], esi
je 0x42fcea
mov eax, dword [ebx]
cmp dword [eax + edi*4], 0
je 0x42fd18
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x42fd1b
mov eax, dword [ebx]
mov eax, dword [eax + edi*4]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x42fd12
mov eax, dword [eax]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x59ba48]
mov ecx, dword [ebp - 0xc]
call esi
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebx]
and dword [eax + edi*4], 0
mov eax, dword [ebp - 4]
inc edi
cmp edi, dword [ecx + 8]
jl 0x42fcce
test eax, eax
je 0x42fd6c
lea esi, [edx + 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp - 8]
mov edi, dword [ebp + 8]
add ecx, 0x14
push edi
call fcn.0042ff83
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [edi]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x59ba48]
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 0x42ffd5
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0x10
mov eax, 0x58d1d3
call fcn.0055e6e8
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 0x4300cc
cmp edi, dword [ebx + 0xc]
jge 0x4300cc
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x43002c
cmp edi, dword [esi + 8]
jl 0x4300ba
cmp dword [ebp + 0xc], 0
je 0x4300ba
xor edi, edi
jmp 0x43005e
xor edi, edi
push 0x10
mov dword [ebp - 4], edi
call fcn.0042fa8d
mov esi, eax
test esi, esi
je 0x430046
mov dword [esi], vtable.CThreadData.0
jmp 0x430048
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.0042b38b
cmp dword [esi + 0xc], 0
pop ecx
pop ecx
jne 0x43007a
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x430086
push 2
push eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov edx, eax
test edx, edx
je 0x4300f3
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.00563630
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 0x4300cc
cmp edi, dword [esi + 8]
jge 0x4300cc
mov eax, dword [ebp + 0xc]
mov dword [ecx + edi*4], eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.0055e64d
ret 8
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.0042a45c
int3
Function at 0x431695
Capabilities:
Get file attributes
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x5f31c0]
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.00563630
push 0xffffffffffffffff
push dword [ebx + 0xc]
lea eax, [esi + 0x24]
push 0x104
push eax
call fcn.00572cb0
push eax
call fcn.004038a0
mov eax, dword [ebx + 4]
add esp, 0x20
cmp eax, dword [0x59f5b8]
je 0x4317f3
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 0x431807
lea eax, [ebp - 0x30]
push eax
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x431807
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 0x431751
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x431745
lea edx, [ebp - 0x28]
push edx
push edi
push eax
call fcn.00431446
neg eax
sbb eax, eax
and eax, dword [ebp - 0x28]
jmp 0x43174c
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x431753
mov eax, edi
mov ecx, esi
mov dword [ecx + 0x20], eax
lea eax, [ebp - 0x38]
push eax
call fcn.00431946
test eax, eax
je 0x43177a
push 0xffffffffffffffff
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x50]
call fcn.004312cd
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x43177e
mov ecx, edi
mov eax, edi
mov dword [esi], ecx
mov dword [esi + 4], eax
lea eax, [ebp - 0x40]
push eax
call fcn.00431946
test eax, eax
je 0x4317a5
push 0xffffffffffffffff
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x50]
call fcn.004312cd
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x4317a9
mov ecx, edi
mov eax, edi
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x48]
push eax
call fcn.00431946
test eax, eax
je 0x4317d1
push 0xffffffffffffffff
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x50]
call fcn.004312cd
mov edi, dword [eax]
mov ecx, dword [eax + 4]
jmp 0x4317d3
mov ecx, edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], ecx
mov eax, dword [esi]
or eax, dword [esi + 4]
jne 0x4317e5
mov dword [esi], edi
mov dword [esi + 4], ecx
mov eax, dword [esi + 0x10]
or eax, dword [esi + 0x14]
jne 0x4317f3
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.0055e0c1
leave
ret 4
xor eax, eax
jmp 0x4317f6
Function at 0x4332e2
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.004337cf
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 0x43331e
call fcn.004334ff
mov dword [esi + 0xc], 1
jmp 0x433323
call fcn.004334ff
cmp dword [esi], 0
je 0x43336e
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 0x433349
push edi
call fcn.00405010
lea ecx, [edi + 1]
push ecx
jmp 0x433358
push 0xff
call fcn.0042abce
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00408da0
pop edi
jmp 0x433392
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 0x433392
push dword [esi]
push dword [ebp - 4]
call fcn.00432bec
pop esi
leave
ret 0xc

Function at 0x433456
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.004334ff
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x43349e
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00405010
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00408da0
jmp 0x4334a9
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00432bec
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x433889
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x58d0b9
call fcn.0055e67f
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x4338af
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x433909
lea ecx, [ebp - 0x10]
call fcn.00402250
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 [0x59ba48]
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.00572cb0
push eax
call fcn.004038a0
add esp, 0x14
test esi, esi
je 0x4338fc
push esi
call fcn.00566ae0
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0042ac58
mov eax, ebx
call fcn.0055e64d
ret 8
Function at 0x437d0e
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 0x437d4d
call fcn.004304ba
push 0xf0
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x437d4d
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x437d55
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push esi
mov ecx, ebx
call fcn.0043e284
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x43875a
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 0x4387e6
cmp dword [esi + 0x20], 0
je 0x4387e6
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4387e6
cmp dword [ebp + 8], 0
je 0x4387e6
xor edi, edi
mov ebx, edi
call fcn.004304ba
push 0x5a2660
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 0x4387ca
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 0x4387e6
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push edi
push ebx
push esi
call fcn.0043ee05
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4387e2
mov ecx, esi
call fcn.004384f8
mov eax, edi
jmp 0x4387e8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x43f9d1
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 0x43fa19
call fcn.004304ba
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 0x43fa19
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x43fa26
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
xor eax, eax
inc eax
test esi, esi
je 0x43fa62
mov edx, 0xffff
lea ecx, [esi + 0xc]
cmp word [esi + 2], dx
jne 0x43fa45
movzx edi, word [esi + 0x12]
movzx edx, word [esi + 0x14]
jmp 0x43fa4e
movzx edx, word [ecx]
mov ecx, esi
movzx edi, word [esi + 0xa]
test dword [ecx], 0x1801
jne 0x43fa60
test di, di
jne 0x43fa60
test dx, dx
je 0x43fa62
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43fa67
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 0x43fa92
cmp dword [esi + 0x80], 0
jne 0x43fa92
movzx eax, di
mov dword [esi + 0x80], eax
call fcn.004304ba
push 5
push edi
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x43fac2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x43fac2
push ebx
push dword [ebp + 0xc]
mov ecx, esi
push eax
call fcn.0043fd2e
jmp 0x43fac4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x43facb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
call fcn.004304ba
push 5
push dword [ebp + 8]
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x43fb0b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x43fb0b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push dword [ebp + 0xc]
mov ecx, edi
push eax
call fcn.0043fb13
jmp 0x43fb0d
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
Function at 0x43fe03
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x58d96c
call fcn.0055e6e8
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.004304ba
cmp dword [edi + 0x84], 0
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x20], eax
je 0x43fe62
call fcn.004304ba
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 0x43fe76
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, dword [ebp - 0x18]
mov esi, eax
test esi, esi
je 0x43fe72
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 0x18], eax
test ebx, ebx
jne 0x43fe7e
or eax, 0xffffffff
jmp 0x43ffd0
mov ecx, edi
call fcn.0044040d
mov ebx, eax
mov dword [ebp - 0x2c], ebx
call fcn.004369f8
xor esi, esi
and dword [ebp - 0x1c], esi
and dword [ebp - 0x28], esi
mov dword [ebp - 0x14], esi
test ebx, ebx
je 0x43ff0a
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp ebx, eax
je 0x43ff0a
push ebx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x43ff0a
push esi
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x14], 1
call fcn.0042f4e9
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x43ff07
mov ecx, dword [esi]
mov esi, dword [ecx + 0x150]
mov ecx, esi
call dword [0x59ba48]
mov ecx, dword [ebp - 0x1c]
call esi
test eax, eax
je 0x43ff07
mov esi, dword [ebp - 0x1c]
mov ecx, esi
call fcn.00433954
test eax, eax
je 0x43ff07
push 0
mov ecx, esi
call fcn.00433727
mov dword [ebp - 0x28], 1
mov esi, dword [ebp - 0x14]
and dword [ebp - 4], 0
push edi
call fcn.00436697
push ebx
call fcn.00437d7b
push dword [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x18]
call fcn.0043fda6
test eax, eax
jne 0x43ff53
cmp dword [edi + 0x9c], eax
jne 0x43ff53
call fcn.004304ba
push ebx
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], eax
call fcn.00437d7b
push dword [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x18]
call fcn.0043fda6
and dword [edi + 0x9c], 0
jmp 0x43ff7e
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x28], 0
je 0x43ff92
mov ecx, dword [ebp - 0x1c]
push 1
call fcn.00433727
test esi, esi
je 0x43ff9f
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
test ebx, ebx
je 0x43ffb5
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [edi + 0x20]
jne 0x43ffb5
push ebx
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [edi]
mov esi, dword [eax + 0x60]
mov ecx, esi
call dword [0x59ba48]
mov ecx, edi
call esi
mov ecx, edi
call fcn.004403c4
mov eax, dword [edi + 0x68]
call fcn.0055e64d
ret