joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42ffb5
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x90]
sub esp, 0x110
mov eax, dword [0x489e20]
mov ecx, dword [ebp + 0x98]
push ebx
xor eax, ebp
push esi
mov dword [ebp + 0x8c], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x48a830]
je 0x42ffec
inc eax
cmp eax, 0x13
jb 0x42ffdd
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x48a830]
jne 0x43010f
mov eax, dword [0x48d678]
cmp eax, 1
je 0x4300ea
cmp eax, edx
jne 0x43001c
cmp dword [0x489ec4], 1
je 0x4300ea
cmp ecx, 0xfc
je 0x43010f
push 0x104
lea eax, [ebp - 0x7c]
push eax
push edx
mov byte [ebp + 0x88], dl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x430052
lea eax, [ebp - 0x7c]
push str._program_name_unknown_
push eax
call fcn.004243e0
pop ecx
pop ecx
lea edi, [ebp - 0x7c]
mov eax, edi
push eax
call fcn.00423e60
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x430086
mov eax, edi
push eax
call fcn.00423e60
mov edi, eax
lea eax, [ebp - 0x7c]
sub eax, 0x3b
push 3
add edi, eax
push 0x475b0c
push edi
call fcn.004268b0
add esp, 0x10
push edi
call fcn.00423e60
push dword [esi + 0x48a834]
mov ebx, eax
call fcn.00423e60
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.004239f0
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.004243e0
push edi
push ebx
call fcn.004243f0
push 0x475b08
push ebx
call fcn.004243f0
push dword [esi + 0x48a834]
push ebx
call fcn.004243f0
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.0043133d
add esp, 0x2c
jmp 0x43010f
push edx
lea eax, [ebp - 0x80]
push eax
lea esi, [esi + 0x48a834]
push dword [esi]
call fcn.00423e60
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x8c]
xor ecx, ebp
call fcn.004239e1
add ebp, 0x90
leave
ret
Function at 0x43133d
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x48da78], ebx
push esi
push edi
jne 0x4313bd
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4313f8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4769c4
push edi
call esi
test eax, eax
mov dword [0x48da78], eax
je 0x4313f8
push 0x4769b4
push edi
call esi
push 0x4769a0
push edi
mov dword [0x48da7c], eax
call esi
cmp dword [0x48d62c], 2
mov dword [0x48da80], eax
jne 0x4313bd
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x48da88], eax
je 0x4313bd
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x48da84], eax
mov eax, dword [0x48da84]
test eax, eax
je 0x431402
call eax
test eax, eax
je 0x4313e9
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x48da88]
test eax, eax
je 0x4313e9
test byte [ebp - 8], 1
jne 0x431402
cmp dword [0x48d638], 4
jb 0x4313fc
or byte [ebp + 0x12], 0x20
jmp 0x431421
xor eax, eax
jmp 0x431431
or byte [ebp + 0x12], 4
jmp 0x431421
mov eax, dword [0x48da7c]
test eax, eax
je 0x431421
call eax
mov ebx, eax
test ebx, ebx
je 0x431421
mov eax, dword [0x48da80]
test eax, eax
je 0x431421
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x48da78]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4357a5
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.004239f0
mov eax, dword [0x489e20]
push ebx
push esi
push 1
xor esi, esi
push esi
push dword [ebp + 8]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.0042bd8b
or ebx, 0xffffffff
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0x1008], eax
je 0x4358da
push 2
push esi
push dword [ebp + 8]
call fcn.0042bd8b
add esp, 0xc
cmp eax, ebx
je 0x4358da
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x43587a
mov ebx, 0x1000
push ebx
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.00423950
push 0x8000
push dword [ebp + 8]
call fcn.004360c0
add esp, 0x14
mov dword [ebp - 0x100c], eax
cmp edi, ebx
mov eax, ebx
jge 0x435830
mov eax, edi
push eax
lea eax, [ebp - 0x1004]
push eax
push dword [ebp + 8]
call fcn.0042bfb8
add esp, 0xc
cmp eax, 0xffffffff
je 0x435850
sub edi, eax
test edi, edi
jg 0x435828
jmp 0x435868
call fcn.00426ee3
cmp dword [eax], 5
jne 0x435865
call fcn.00426eda
mov dword [eax], 0xd
or esi, 0xffffffff
push dword [ebp - 0x100c]
push dword [ebp + 8]
call fcn.004360c0
pop ecx
pop ecx
jmp 0x4358c2
jge 0x4358c2
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0042bd8b
push dword [ebp + 8]
call fcn.0042e7da
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 0x4358c2
call fcn.00426eda
mov dword [eax], 0xd
call fcn.00426ee3
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.0042bd8b
add esp, 0xc
mov eax, esi
pop edi
jmp 0x4358dc
mov eax, ebx
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004239e1
leave
ret
Function at 0x4361c3
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x477a48
call fcn.0042665c
xor edi, edi
xor ebx, ebx
inc ebx
cmp dword [0x48db04], edi
jne 0x436207
push edi
push edi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4361f2
mov dword [0x48db04], ebx
jmp 0x436207
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x436207
mov dword [0x48db04], 2
mov eax, dword [0x48db04]
cmp eax, ebx
jne 0x436227
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x4362ea
cmp eax, 2
je 0x436230
cmp eax, edi
jne 0x436258
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x24], edi
cmp dword [ebp + 0x18], edi
jne 0x436243
mov eax, dword [0x48da70]
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 0x43625f
xor eax, eax
jmp 0x4362ea
mov dword [ebp - 4], edi
add eax, 3
and eax, 0xfffffffc
call fcn.004239f0
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [ebp - 0x28], esi
or dword [ebp - 4], 0xffffffff
jmp 0x436292
cmp esi, edi
jne 0x4362a8
push dword [ebp - 0x20]
call fcn.004264f6
pop ecx
mov esi, eax
cmp esi, edi
je 0x436258
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 0x4362db
cmp dword [ebp + 0x14], edi
jne 0x4362c5
push edi
push edi
jmp 0x4362cb
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 0x4362e7
push esi
call fcn.00426508
pop ecx
mov eax, dword [ebp - 0x1c]
lea esp, [ebp - 0x34]
call fcn.00426697
ret
Function at 0x4362f3
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x477a58
call fcn.0042665c
xor esi, esi
cmp dword [0x48db08], esi
jne 0x436337
push esi
push esi
xor edi, edi
inc edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x436322
mov dword [0x48db08], edi
jmp 0x436337
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x436337
mov dword [0x48db08], 2
mov eax, dword [0x48db08]
cmp eax, 2
je 0x436418
cmp eax, esi
je 0x436418
cmp eax, 1
jne 0x43637c
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
cmp dword [ebp + 0x18], esi
jne 0x436365
mov eax, dword [0x48da70]
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 0x436383
xor eax, eax
jmp 0x43642a
mov dword [ebp - 4], esi
lea eax, [ebx + ebx]
add eax, 3
and eax, 0xfffffffc
call fcn.004239f0
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0x28], edi
or dword [ebp - 4], 0xffffffff
jmp 0x4363b9
cmp edi, esi
jne 0x4363d4
lea eax, [ebx + ebx]
push eax
call fcn.004264f6
pop ecx
mov edi, eax
cmp edi, esi
je 0x43637c
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 0x436407
push esi
push esi
cmp dword [ebp + 0x14], esi
jne 0x4363f1
push esi
push esi
jmp 0x4363f7
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 0x436413
push edi
call fcn.00426508
pop ecx
mov eax, dword [ebp - 0x1c]
jmp 0x43642a
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.00426697
ret
Function at 0x4368f5
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 0x43690e
or eax, 0xffffffff
jmp 0x43696f
push esi
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 8], esi
je 0x43696b
push 0x3d
push esi
call fcn.004273aa
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x43696b
cmp esi, eax
je 0x43696b
xor ecx, ecx
cmp byte [eax + 1], cl
mov eax, dword [0x48d64c]
sete cl
cmp eax, dword [0x48d650]
mov dword [ebp - 4], ecx
jne 0x436951
mov edi, eax
call fcn.00436894
mov dword [0x48d64c], eax
cmp eax, ebx
jne 0x4369aa
cmp dword [ebp + 0xc], ebx
je 0x436973
cmp dword [0x48d654], ebx
je 0x436973
call fcn.00435f08
test eax, eax
je 0x4369aa
or eax, 0xffffffff
pop esi
pop edi
pop ebx
leave
ret
cmp dword [ebp - 4], ebx
je 0x43697c
xor eax, eax
jmp 0x43696e
push 4
call fcn.004264f6
cmp eax, ebx
pop ecx
mov dword [0x48d64c], eax
je 0x43696b
mov dword [eax], ebx
cmp dword [0x48d654], ebx
jne 0x4369aa
push 4
call fcn.004264f6
cmp eax, ebx
pop ecx
mov dword [0x48d654], eax
je 0x43696b
mov dword [eax], ebx
mov edi, dword [ebp - 0xc]
mov ebx, dword [0x48d64c]
sub edi, esi
push esi
call fcn.00436847
mov edi, eax
test edi, edi
pop ecx
jl 0x436a11
cmp dword [ebx], 0
je 0x436a11
lea esi, [ebx + edi*4]
push dword [esi]
call fcn.00426508
xor eax, eax
cmp dword [ebp - 4], eax
pop ecx
jne 0x4369f1
mov ecx, dword [ebp - 8]
mov dword [esi], ecx
mov ecx, dword [ebp + 8]
mov esi, dword [ebp - 8]
mov dword [ecx], eax
jmp 0x436a52
mov ecx, dword [esi + 4]
inc edi
mov dword [esi], ecx
lea esi, [ebx + edi*4]
cmp dword [esi], eax
jne 0x4369e8
mov eax, edi
shl eax, 2
push eax
push dword [0x48d64c]
call fcn.00427425
test eax, eax
mov esi, dword [ebp - 8]
pop ecx
pop ecx
je 0x436a52
jmp 0x436a4d
cmp dword [ebp - 4], 0
jne 0x436ab9
test edi, edi
jge 0x436a21
neg edi
lea eax, [edi*4 + 8]
push eax
push dword [0x48d64c]
call fcn.00427425
test eax, eax
pop ecx
pop ecx
je 0x43696b
lea ecx, [eax + edi*4]
and dword [ecx + 4], 0
mov dword [ecx], esi
mov ecx, dword [ebp + 8]
and dword [ecx], 0
mov dword [0x48d64c], eax
cmp dword [ebp + 0xc], 0
je 0x436aa4
push esi
call fcn.00423e60
inc eax
inc eax
push eax
call fcn.004264f6
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x436aa4
push esi
push edi
call fcn.004243e0
mov eax, edi
sub eax, esi
add eax, dword [ebp - 0xc]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov byte [eax], 0
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x436a9d
or dword [ebp - 0x10], 0xffffffff
push edi
call fcn.00426508
pop ecx
cmp dword [ebp - 4], 0
je 0x436ab1
push esi
call fcn.00426508
pop ecx
mov eax, dword [ebp - 0x10]
jmp 0x43696e
push esi
call fcn.00426508
mov eax, dword [ebp + 8]
and dword [eax], 0
pop ecx
jmp 0x436978
Function at 0x43868f
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x4673ff
call fcn.004238cc
sub esp, 0xa4
mov eax, dword [0x489e20]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x18]
push edi
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0x1c]
push eax
mov esi, ecx
xor ebx, ebx
push ebx
mov dword [ebp - 0xb0], esi
call fcn.0043eb5e
lea ecx, [esi + 0x78]
mov dword [ebp - 4], ebx
mov dword [esi], vtable.CFileDialog.0
call fcn.004033aa
cmp dword [ebp + 0x20], ebx
mov byte [ebp - 4], 1
jne 0x438735
mov edi, 0x94
push edi
lea eax, [ebp - 0xa4]
push ebx
push eax
call fcn.00423950
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 0x43872e
cmp dword [ebp - 0xa0], 5
mov dword [ebp + 0x20], 0x58
jae 0x438735
mov dword [ebp + 0x20], 0x4c
push dword [ebp + 0x20]
call fcn.004264f6
cmp eax, ebx
pop ecx
mov dword [esi + 0x70], eax
jne 0x43874a
call fcn.004382de
push dword [ebp + 0x20]
push ebx
push eax
call fcn.00423950
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 0x4387c7
mov eax, dword [esi + 0x70]
and byte [eax + 0x36], 0x7f
call fcn.0045bc81
cmp dword [ebp - 0xac], 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], 0x438dc2
je 0x4387f9
push 0x104
push dword [ebp - 0xac]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
cmp dword [ebp - 0xa8], ebx
je 0x438835
push dword [ebp - 0xa8]
lea edi, [esi + 0x78]
mov ecx, edi
call fcn.00402252
push ebx
mov ecx, edi
call fcn.00402123
jmp 0x43881e
mov byte [eax], bl
inc eax
push 0x7c
push eax
call fcn.004273aa
cmp eax, ebx
pop ecx
pop ecx
jne 0x43881b
mov eax, dword [esi + 0x70]
mov ecx, dword [esi + 0x78]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004239e1
leave
ret 0x1c
Function at 0x43e325
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.00423950
add esp, 0xc
call fcn.0045bc56
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 0x43e3f5
cmp dword [ebp - 8], ebx
je 0x43e3f0
lea ecx, [esi + 0x2c]
push ecx
or eax, 4
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x43e1f7
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call fcn.00427165
add esp, 0x18
cmp eax, ebx
mov dword [esi + 0x28], eax
je 0x43e3ff
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 0x43e3c8
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp dword [ebp - 4], ebx
je 0x43e3e2
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 0x43e3fa
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
xor eax, eax
inc eax
jmp 0x43e401
push dword [ebp - 0xc]
call edi
cmp dword [ebp - 8], ebx
je 0x43e3ff
push dword [ebp - 8]
call edi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x43e408
Capabilities:
Resume thread

Disassembly:
mov eax, 0x466175
call fcn.004238cc
push ecx
push esi
push 0x40
call fcn.004437b5
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
xor esi, esi
cmp ecx, esi
mov dword [ebp - 4], esi
je 0x43e437
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0045ae59
mov esi, eax
push dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
push dword [ebp + 0x14]
or dword [ebp - 4], 0xffffffff
or eax, 4
push eax
mov ecx, esi
call fcn.0043e325
test eax, eax
jne 0x43e45e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x78]
xor eax, eax
jmp 0x43e47b
push dword [ebp + 0x10]
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
test byte [ebp + 0x18], 4
jne 0x43e479
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 0x18
Function at 0x43ef45
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 0x43ef7c
call fcn.0045bc81
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 0x43ef8d
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
xor ebx, ebx
inc ebx
test esi, esi
je 0x43efc6
cmp word [esi + 2], 0xffff
mov ecx, dword [esi]
jne 0x43efab
mov ecx, dword [esi + 0xc]
mov ax, word [esi + 0x12]
mov si, word [esi + 0x14]
jmp 0x43efb3
mov ax, word [esi + 0xa]
mov si, word [esi + 0xc]
test cx, 0x1801
jne 0x43efc4
test ax, ax
jne 0x43efc4
test si, si
je 0x43efc6
xor ebx, ebx
cmp dword [edi + 0x54], 0
je 0x43efd5
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x43f235
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x4661bd
call fcn.004238cc
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.0045bc81
cmp dword [esi + 0x54], 0
mov edi, dword [eax + 0xc]
je 0x43f275
call fcn.0045bc81
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 0x43f286
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x43f292
or eax, 0xffffffff
jmp 0x43f395
mov ecx, esi
call fcn.0043ed69
mov dword [ebp - 0x14], eax
call fcn.00441134
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x14], 0
je 0x43f2d5
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x43f2d5
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x43f2d5
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.00442b63
push dword [ebp - 0x14]
call fcn.0044108c
push edi
push eax
push ebx
mov ecx, esi
call fcn.0043f01a
xor ebx, ebx
cmp eax, ebx
je 0x43f349
test byte [esi + 0x38], 0x10
je 0x43f317
push 4
pop edi
mov ecx, esi
call fcn.00443b03
test ah, 1
je 0x43f30f
push 5
pop edi
push edi
mov ecx, esi
call fcn.00440b30
cmp dword [esi + 0x1c], ebx
je 0x43f349
push 0x97
push ebx
push ebx
push ebx
push ebx
push ebx
mov ecx, esi
call fcn.00443efd
jmp 0x43f349
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], ebx
je 0x43f35d
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], ebx
je 0x43f376
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x43f376
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.0043eda3
cmp dword [esi + 0x54], ebx
je 0x43f392
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 0x43f45e
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 0x43f47e
cmp dword [edi + 0x50], 0
jne 0x43f47e
movzx eax, bx
mov dword [edi + 0x50], eax
call fcn.0045bc81
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.0043f425
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 0x442071
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x4c], 0
jne 0x4420aa
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.004151e8
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0040bf49
pop esi
ret 4
mov ecx, dword [esi + 0x4c]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x4434d0
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 0x443513
call fcn.0045bc81
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x443513
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x44352e
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0044262b
test ebx, ebx
mov esi, eax
je 0x44352c
test edi, edi
je 0x44352c
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x44446b
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x46680d
call fcn.004238cc
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x4c], 0
jne 0x444490
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x4444dc
call fcn.00444831
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.004016dc
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 8