joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44fd29
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.0043e250
mov eax, dword [0x4ba8fc]
push ebx
push esi
push 1
xor esi, esi
push esi
push dword [ebp + 8]
mov dword [ebp - 4], eax
call fcn.0044aa72
or ebx, 0xffffffff
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0x1008], eax
je 0x44fe5c
push 2
push esi
push dword [ebp + 8]
call fcn.0044aa72
add esp, 0xc
cmp eax, ebx
je 0x44fe5c
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x44fdfc
mov ebx, 0x1000
push ebx
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.00440580
push 0x8000
push dword [ebp + 8]
call fcn.004508bc
add esp, 0x14
mov dword [ebp - 0x100c], eax
cmp edi, ebx
mov eax, ebx
jge 0x44fdb2
mov eax, edi
push eax
lea eax, [ebp - 0x1004]
push eax
push dword [ebp + 8]
call fcn.0044a747
add esp, 0xc
cmp eax, 0xffffffff
je 0x44fdd2
sub edi, eax
test edi, edi
jg 0x44fdaa
jmp 0x44fdea
call fcn.0044112f
cmp dword [eax], 5
jne 0x44fde7
call fcn.00441126
mov dword [eax], 0xd
or esi, 0xffffffff
push dword [ebp - 0x100c]
push dword [ebp + 8]
call fcn.004508bc
pop ecx
pop ecx
jmp 0x44fe44
jge 0x44fe44
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0044aa72
push dword [ebp + 8]
call fcn.00440de0
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, ebx
jne 0x44fe44
call fcn.00441126
mov dword [eax], 0xd
call fcn.0044112f
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
push 0
push dword [ebp - 0x1008]
push dword [ebp + 8]
call fcn.0044aa72
add esp, 0xc
mov eax, esi
pop edi
jmp 0x44fe5e
mov eax, ebx
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.0043d1f7
leave
ret
Function at 0x450029
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x4a4990
call fcn.00442080
xor edi, edi
xor ebx, ebx
inc ebx
cmp dword [0x4bead4], edi
jne 0x45006d
push edi
push edi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x450058
mov dword [0x4bead4], ebx
jmp 0x45006d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x45006d
mov dword [0x4bead4], 2
mov eax, dword [0x4bead4]
cmp eax, ebx
jne 0x45008d
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x450150
cmp eax, 2
je 0x450096
cmp eax, edi
jne 0x4500be
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x24], edi
cmp dword [ebp + 0x18], edi
jne 0x4500a9
mov eax, dword [0x4bea44]
mov dword [ebp + 0x18], eax
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov dword [ebp - 0x20], eax
cmp eax, edi
jne 0x4500c5
xor eax, eax
jmp 0x450150
mov dword [ebp - 4], edi
add eax, 3
and eax, 0xfffffffc
call fcn.0043e250
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [ebp - 0x28], esi
or dword [ebp - 4], 0xffffffff
jmp 0x4500f8
cmp esi, edi
jne 0x45010e
push dword [ebp - 0x20]
call fcn.0043e896
pop ecx
mov esi, eax
cmp esi, edi
je 0x4500be
mov dword [ebp - 0x24], ebx
push dword [ebp - 0x20]
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x450141
cmp dword [ebp + 0x14], edi
jne 0x45012b
push edi
push edi
jmp 0x450131
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push esi
push ebx
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x24], edi
je 0x45014d
push esi
call fcn.0043e77e
pop ecx
mov eax, dword [ebp - 0x1c]
lea esp, [ebp - 0x34]
call fcn.004420bb
ret
Function at 0x450159
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x4a49a0
call fcn.00442080
xor esi, esi
cmp dword [0x4bead8], esi
jne 0x45019d
push esi
push esi
xor edi, edi
inc edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x450188
mov dword [0x4bead8], edi
jmp 0x45019d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x45019d
mov dword [0x4bead8], 2
mov eax, dword [0x4bead8]
cmp eax, 2
je 0x45027e
cmp eax, esi
je 0x45027e
cmp eax, 1
jne 0x4501e2
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
cmp dword [ebp + 0x18], esi
jne 0x4501cb
mov eax, dword [0x4bea44]
mov dword [ebp + 0x18], eax
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ebx, eax
mov dword [ebp - 0x24], ebx
cmp ebx, esi
jne 0x4501e9
xor eax, eax
jmp 0x450290
mov dword [ebp - 4], esi
lea eax, [ebx + ebx]
add eax, 3
and eax, 0xfffffffc
call fcn.0043e250
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0x28], edi
or dword [ebp - 4], 0xffffffff
jmp 0x45021f
cmp edi, esi
jne 0x45023a
lea eax, [ebx + ebx]
push eax
call fcn.0043e896
pop ecx
mov edi, eax
cmp edi, esi
je 0x4501e2
mov dword [ebp - 0x20], 1
push ebx
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x45026d
push esi
push esi
cmp dword [ebp + 0x14], esi
jne 0x450257
push esi
push esi
jmp 0x45025d
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push edi
push esi
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], esi
je 0x450279
push edi
call fcn.0043e77e
pop ecx
mov eax, dword [ebp - 0x1c]
jmp 0x450290
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea esp, [ebp - 0x34]
call fcn.004420bb
ret
Function at 0x4506e7
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [ebp - 0x10], ebx
jne 0x450700
or eax, 0xffffffff
jmp 0x450761
push esi
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 4], esi
je 0x45075d
push 0x3d
push esi
call fcn.0043d7d2
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x45075d
cmp esi, eax
je 0x45075d
xor ecx, ecx
cmp byte [eax + 1], bl
mov eax, dword [0x4be628]
sete cl
cmp eax, dword [0x4be62c]
mov dword [ebp - 8], ecx
jne 0x450743
mov edi, eax
call fcn.00450686
mov dword [0x4be628], eax
cmp eax, ebx
jne 0x45079c
cmp dword [ebp + 0xc], ebx
je 0x450765
cmp dword [0x4be630], ebx
je 0x450765
call fcn.0044fc99
test eax, eax
je 0x45079c
or eax, 0xffffffff
pop esi
pop edi
pop ebx
leave
ret
cmp dword [ebp - 8], ebx
je 0x45076e
xor eax, eax
jmp 0x450760
push 4
call fcn.0043e896
cmp eax, ebx
pop ecx
mov dword [0x4be628], eax
je 0x45075d
mov dword [eax], ebx
cmp dword [0x4be630], ebx
jne 0x45079c
push 4
call fcn.0043e896
cmp eax, ebx
pop ecx
mov dword [0x4be630], eax
je 0x45075d
mov dword [eax], ebx
mov edi, dword [ebp - 0xc]
sub edi, dword [ebp - 4]
push dword [ebp - 4]
mov esi, dword [0x4be628]
call fcn.00450639
mov edi, eax
cmp edi, ebx
pop ecx
jl 0x4507fd
cmp dword [esi], ebx
je 0x4507fd
lea esi, [esi + edi*4]
push dword [esi]
call fcn.0043e77e
cmp dword [ebp - 8], ebx
pop ecx
jne 0x4507e0
mov eax, dword [ebp - 4]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
jmp 0x45083e
mov eax, dword [esi + 4]
mov dword [esi], eax
inc edi
add esi, 4
cmp dword [esi], ebx
jne 0x4507d7
mov eax, edi
shl eax, 2
push eax
push dword [0x4be628]
call fcn.00440b38
cmp eax, ebx
pop ecx
pop ecx
je 0x45083e
jmp 0x450839
cmp dword [ebp - 8], ebx
jne 0x4508a9
cmp edi, ebx
jge 0x45080c
neg edi
lea eax, [edi*4 + 8]
push eax
push dword [0x4be628]
call fcn.00440b38
cmp eax, ebx
pop ecx
pop ecx
je 0x45075d
mov edx, dword [ebp - 4]
lea ecx, [eax + edi*4]
mov dword [ecx], edx
mov dword [ecx + 4], ebx
mov ecx, dword [ebp + 8]
mov dword [ecx], ebx
mov dword [0x4be628], eax
cmp dword [ebp + 0xc], ebx
je 0x450893
push dword [ebp - 4]
call fcn.00440920
inc eax
inc eax
push eax
call fcn.0043e896
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x450893
push dword [ebp - 4]
push esi
call fcn.00444d40
mov eax, esi
sub eax, dword [ebp - 4]
pop ecx
add eax, dword [ebp - 0xc]
pop ecx
mov ecx, dword [ebp - 8]
mov byte [eax], bl
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x45088c
or dword [ebp - 0x10], 0xffffffff
push esi
call fcn.0043e77e
pop ecx
cmp dword [ebp - 8], ebx
je 0x4508a1
push dword [ebp - 4]
call fcn.0043e77e
pop ecx
mov eax, dword [ebp - 0x10]
jmp 0x450760
push dword [ebp - 4]
call fcn.0043e77e
mov eax, dword [ebp + 8]
pop ecx
mov dword [eax], ebx
jmp 0x45076a
Function at 0x451ea7
Capabilities:
Get common file path

Disassembly:
push 0x120
push 0x4a8780
call fcn.00442080
mov eax, dword [0x4ba8fc]
mov dword [ebp - 0x1c], eax
lea edi, [ebp - 0x124]
and dword [ebp - 0x128], 0
mov eax, edi
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov esi, eax
mov dword [ebp - 0x12c], esi
cmp esi, 0x104
jle 0x451f4b
and dword [ebp - 4], 0
lea eax, [esi + 1]
add eax, 3
and eax, 0xfffffffc
call fcn.0043e250
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0x130], edi
jmp 0x451f38
or dword [ebp - 4], 0xffffffff
test esi, esi
je 0x451f4b
push edi
inc esi
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov esi, eax
xor ebx, ebx
test esi, esi
je 0x451f66
cmp byte [edi + 1], 0x3a
jne 0x451f66
movzx eax, byte [edi]
push eax
call fcn.00452170
pop ecx
mov ebx, eax
sub ebx, 0x40
cmp dword [ebp - 0x128], 0
je 0x451f76
push edi
call fcn.0043e77e
pop ecx
mov eax, ebx
lea esp, [ebp - 0x13c]
mov ecx, dword [ebp - 0x1c]
call fcn.0043d1f7
call fcn.004420bb
ret
Function at 0x4525ba
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x488305
call fcn.00440554
sub esp, 0x9c
mov eax, dword [0x4ba8fc]
push ebx
push esi
push edi
push dword [ebp + 0x1c]
mov esi, ecx
xor ebx, ebx
push ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xa8], esi
call fcn.0045ed5a
lea ecx, [esi + 0x78]
mov dword [ebp - 4], ebx
mov dword [esi], vtable.CFileDialog.0
call fcn.004046c0
cmp dword [ebp + 0x20], ebx
mov byte [ebp - 4], 1
jne 0x45264b
mov edi, 0x94
push edi
lea eax, [ebp - 0xa4]
push ebx
push eax
call fcn.00440580
add esp, 0xc
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 0xa4], edi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x94], 2
jne 0x452644
cmp dword [ebp - 0xa0], 5
mov dword [ebp + 0x20], 0x58
jae 0x45264b
mov dword [ebp + 0x20], 0x4c
push dword [ebp + 0x20]
call fcn.0043e896
cmp eax, ebx
pop ecx
mov dword [esi + 0x70], eax
jne 0x452660
call fcn.0045220b
push dword [ebp + 0x20]
push ebx
push eax
call fcn.00440580
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x20]
mov dword [esi + 0x74], eax
add esp, 0xc
neg eax
sbb eax, eax
add eax, 0x7005
mov dword [esi + 0x50], eax
mov eax, dword [esi + 0x70]
mov dword [esi + 0x1c0], ebx
lea ecx, [esi + 0x7c]
mov byte [ecx], bl
lea edi, [esi + 0xbc]
mov byte [edi], bl
mov dword [eax], edx
mov eax, dword [esi + 0x70]
mov edx, dword [ebp + 0xc]
mov dword [eax + 0x1c], edi
mov eax, dword [esi + 0x70]
mov dword [eax + 0x20], 0x104
mov eax, dword [esi + 0x70]
mov dword [eax + 0x3c], edx
mov eax, dword [esi + 0x70]
mov edx, dword [ebp + 0x14]
mov dword [eax + 0x24], ecx
mov eax, dword [esi + 0x70]
push 0x40
pop ecx
mov dword [eax + 0x28], ecx
mov eax, dword [esi + 0x70]
or edx, 0x80020
or dword [eax + 0x34], edx
test byte [ebp + 0x14], cl
je 0x4526dd
mov eax, dword [esi + 0x70]
and byte [eax + 0x36], 0x7f
call fcn.0047916a
cmp dword [ebp + 0x10], ebx
mov eax, dword [eax + 0xc]
mov ecx, dword [esi + 0x70]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x70]
mov dword [eax + 0x44], 0x452e12
je 0x452709
push 0x104
push dword [ebp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
cmp dword [ebp + 0x18], ebx
je 0x45273f
push dword [ebp + 0x18]
lea edi, [esi + 0x78]
mov ecx, edi
call fcn.004070e0
push ebx
mov ecx, edi
call fcn.00404700
jmp 0x452728
mov byte [eax], bl
inc eax
push 0x7c
push eax
call fcn.0043d7d2
cmp eax, ebx
pop ecx
pop ecx
jne 0x452725
mov eax, dword [esi + 0x70]
mov ecx, dword [esi + 0x78]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0043d1f7
leave
ret 0x1c

Function at 0x45a875
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x4c], 0
jne 0x45a8ae
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0040a9a0
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00404010
pop esi
ret 4
mov ecx, dword [esi + 0x4c]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]
Function at 0x45bcc2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x45bd05
call fcn.0047916a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x45bd05
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x45bd20
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0045ae27
test ebx, ebx
mov esi, eax
je 0x45bd1e
test edi, edi
je 0x45bd1e
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x45be6b
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x492e6c
mov ecx, edi
call fcn.004070e0
cmp dword [esi + 0x48], 0
push dword [esp + 0xc]
jne 0x45bebe
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x45bed1
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.0040a9a0
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, edi
call fcn.00404010
jmp 0x45bed1
mov ecx, esi
call fcn.0045c130
test eax, eax
je 0x45bed1
push edi
mov ecx, eax
call fcn.0045a875
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
pop edi
pop esi
ret 8

Function at 0x45ca19
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x48636b
call fcn.00440554
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x4c], 0
jne 0x45ca3e
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x45ca8a
call fcn.0045d1dd
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov ecx, dword [esi + 0x4c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push dword [ebp + 0xc]
push dword [ebp - 0x10]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401830
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 8
Function at 0x45e564
Capabilities:
Get disk information

Disassembly:
mov eax, 0x48674f
call fcn.00440554
sub esp, 0x150
mov eax, dword [0x4ba8fc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x154]
push eax
push edi
mov esi, 0x104
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
xor ebx, ebx
cmp eax, ebx
jne 0x45e5ac
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
jmp 0x45e5b0
cmp eax, esi
jb 0x45e5b7
xor eax, eax
jmp 0x45e68c
call fcn.0045d1dd
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push edi
mov dword [ebp - 4], ebx
call fcn.0045e522
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathIsUNCA]
test eax, eax
jne 0x45e67c
push ebx
push ebx
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x15c]
push eax
push ebx
push ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x45e60b
xor esi, esi
jmp 0x45e67f
test byte [ebp - 0x158], 2
jne 0x45e61b
push edi
call dword [sym.imp.USER32.dll_CharUpperA]
test byte [ebp - 0x158], 4
jne 0x45e67c
lea eax, [ebp - 0x150]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x45e67c
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x154], ebx
je 0x45e607
cmp dword [ebp - 0x154], edi
jbe 0x45e607
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
sub eax, edi
add eax, dword [ebp - 0x154]
cmp eax, esi
jge 0x45e607
lea eax, [ebp - 0x124]
push eax
push dword [ebp - 0x154]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
xor esi, esi
inc esi
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401830
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0043d1f7
leave
ret 8

Function at 0x45f143
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x54], 0
mov eax, dword [edi + 0x58]
mov esi, dword [edi + 0x5c]
mov dword [ebp - 4], eax
je 0x45f17a
call fcn.0047916a
mov ebx, dword [eax + 0xc]
push 5
push dword [edi + 0x54]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x45f18b
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
xor ebx, ebx
inc ebx
test esi, esi
je 0x45f1c4
cmp word [esi + 2], 0xffff
mov ecx, dword [esi]
jne 0x45f1a9
mov ecx, dword [esi + 0xc]
mov ax, word [esi + 0x12]
mov si, word [esi + 0x14]
jmp 0x45f1b1
mov ax, word [esi + 0xa]
mov si, word [esi + 0xc]
test cx, 0x1801
jne 0x45f1c2
test ax, ax
jne 0x45f1c2
test si, si
je 0x45f1c4
xor ebx, ebx
cmp dword [edi + 0x54], 0
je 0x45f1d3
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x45f425
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x48698e
call fcn.00440554
sub esp, 0x18
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x58]
mov ebx, dword [esi + 0x5c]
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], eax
call fcn.0047916a
cmp dword [esi + 0x54], 0
mov edi, dword [eax + 0xc]
je 0x45f473
call fcn.0047916a
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x54]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x45f484
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x45f490
or eax, 0xffffffff
jmp 0x45f593
mov ecx, esi
call fcn.0045ef65
mov dword [ebp - 0x14], eax
call fcn.0045993c
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x14], 0
je 0x45f4d3
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x45f4d3
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x45f4d3
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
and dword [ebp - 4], 0
push esi
call fcn.0045b356
push dword [ebp - 0x14]
call fcn.00459894
push edi
push eax
push ebx
mov ecx, esi
call fcn.0045f218
xor ebx, ebx
cmp eax, ebx
je 0x45f547
test byte [esi + 0x38], 0x10
je 0x45f515
push 4
pop edi
mov ecx, esi
call fcn.0045c29a
test ah, 1
je 0x45f50d
push 5
pop edi
push edi
mov ecx, esi
call fcn.00459338
cmp dword [esi + 0x1c], ebx
je 0x45f547
push 0x97
push ebx
push ebx
push ebx
push ebx
push ebx
mov ecx, esi
call fcn.0045c5b8
jmp 0x45f547
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], ebx
je 0x45f55b
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], ebx
je 0x45f574
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x45f574
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.0045ef9f
cmp dword [esi + 0x54], ebx
je 0x45f590
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x40]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x45f5cd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0047916a
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x45f604
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.0045f218
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 0x45f65c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, 0xffff0000
push esi
push edi
mov edi, ecx
mov dword [edi + 0x54], ebx
jne 0x45f67c
cmp dword [edi + 0x50], 0
jne 0x45f67c
movzx eax, bx
mov dword [edi + 0x50], eax
call fcn.0047916a
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [esp + 0x18]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0045f623
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8

Function at 0x45ff20
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push 0x1c
xor ebx, ebx
lea eax, [ebp - 0x1c]
push ebx
push eax
mov esi, ecx
call fcn.00440580
add esp, 0xc
call fcn.00479134
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push ebx
push ebx
push 1
push ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], esi
call edi
push ebx
push ebx
push 1
push ebx
mov dword [ebp - 0xc], eax
call edi
cmp dword [ebp - 0xc], ebx
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
je 0x45fff0
cmp dword [ebp - 8], ebx
je 0x45ffeb
lea ecx, [esi + 0x2c]
push ecx
or eax, 4
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x45fdf2
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call fcn.00441f04
add esp, 0x18
cmp eax, ebx
mov dword [esi + 0x28], eax
je 0x45fffa
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0xffffffffffffffff
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0xc]
call edi
test byte [ebp + 8], 4
je 0x45ffc3
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp dword [ebp - 4], ebx
je 0x45ffdd
push 0xffffffffffffffff
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0x28]
call edi
mov dword [esi + 0x28], ebx
jmp 0x45fff5
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
xor eax, eax
inc eax
jmp 0x45fffc
push dword [ebp - 0xc]
call edi
cmp dword [ebp - 8], ebx
je 0x45fffa
push dword [ebp - 8]
call edi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc