joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001130
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push esi
push edi
push dword [esp + 0x14]
call fcn.1000e3e0
mov esi, eax
add esp, 4
test esi, esi
jns 0x10001161
push 0x44d
push str.hprof_check.c
push str.fd_0
push 0
push 1
call fcn.10005090
add esp, 0x14
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
call fcn.1000e430
mov ebx, eax
add esp, 0xc
mov ecx, ebx
and ecx, edx
cmp ecx, 0xffffffff
jne 0x10001194
push 0x44f
push str.hprof_check.c
push str.Cannot_md_seek___to_end_of_file
push 0
push 1
call fcn.10005090
add esp, 0x14
cmp ebx, 0x200
jg 0x100011b7
push 0x451
push str.hprof_check.c
push str.__jint_nbytes__512
push 0
push 1
call fcn.10005090
add esp, 0x14
push 0
push 0
push esi
call fcn.1000e430
add esp, 0xc
or eax, edx
je 0x100011e3
push 0x453
push str.hprof_check.c
push str.Cannot_md_seek___to_start_of_file
push 0
push 1
call fcn.10005090
add esp, 0x14
lea eax, [ebx + 1]
push eax
call fcn.10016960
mov edi, eax
add esp, 4
test edi, edi
jne 0x1000120f
push 0x456
push str.hprof_check.c
push str.image_NULL
push eax
push 1
call fcn.10005090
add esp, 0x14
push ebp
push ebx
push edi
push esi
call sub.api_ms_win_crt_stdio_l1_1_0.dll__read
mov ebp, eax
add esp, 0xc
test ebp, ebp
jg 0x1000123c
push 0x45b
push str.hprof_check.c
push str.System_read_failed.
push 0
push 1
call fcn.10005090
add esp, 0x14
cmp ebx, ebp
pop ebp
je 0x1000125c
push 0x45d
push str.hprof_check.c
push str.__jint_nbytes_nread
push 0
push 1
call fcn.10005090
add esp, 0x14
push esi
call fcn.1000e010
add esp, 4
test edi, edi
jne 0x10001280
mov eax, dword [esp + 0x14]
push eax
push str.No_file_image:__s_n
call fcn.10002c50
add esp, 8
pop edi
pop esi
pop ebx
pop ecx
ret
mov eax, dword [0x1001f83c]
mov ecx, dword [eax + 0x10]
mov eax, edi
nop word [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100012b0
test dl, dl
je 0x100012ac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100012b0
add eax, 2
add ecx, 2
test dl, dl
jne 0x10001290
xor eax, eax
jmp 0x100012b5
sbb eax, eax
or eax, 1
test eax, eax
je 0x100012d4
push 0x474
push str.hprof_check.c
push str.strcmp__char_p__gdata__header_0
push 0
push 1
call fcn.10005090
add esp, 0x14
mov eax, dword [esp + 0x14]
push edi
push ebx
push eax
push str.Filename_s__nbytes_d__header__s__n
call fcn.10002c50
mov ecx, edi
add esp, 0x10
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100012f0
sub ecx, edx
lea esi, [ecx + edi]
lea eax, [esi + 1]
sub eax, ecx
sub eax, edi
lea ecx, [esp + eax + 0xb]
mov eax, dword [esi + 1]
mov dword [ecx], eax
push dword [esp + 0xc]
call fcn.1000e2a0
add esp, 4
cmp eax, 4
je 0x10001338
push 0x479
push str.hprof_check.c
push str.idsizesizeof_HprofId_
push 0
push 1
call fcn.10005090
add esp, 0x14
mov eax, dword [esi + 5]
push eax
call fcn.1000e2a0
mov eax, dword [esi + 9]
add esi, 0xd
push eax
call fcn.1000e2a0
mov eax, edi
sub eax, esi
add eax, ebx
push eax
push esi
call fcn.1000e9b0
push ebx
push eax
push str._d_total_records_found_in__d_bytes_n
call fcn.10002c50
push edi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 0x20
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x1000e9b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x1000e9bf
pop dword [ebp - 0x14]
mov eax, 0xfae3114a
sub eax, 0xeae2278b
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0xd73d10d0
sub dword [ebp - 0x24], 0x88eacb85
mov dword [ebp - 0x20], 0x597f9891
sub dword [ebp - 0x20], 0x274c4c4c
mov dword [ebp - 0x1c], 0x69e35463
sub dword [ebp - 0x1c], 0x1d971035
mov dword [ebp - 0x18], 0xd5f1ae74
sub dword [ebp - 0x18], 0xd5f1ae74
lea eax, [ebp - 0x24]
push eax
mov eax, 0x4a7010ba
add eax, 0xc5917f82
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0xb7ff46c6
add dword [ebp - 0x24], 0xbc732290
mov dword [ebp - 0x20], 0xe5293147
add dword [ebp - 0x20], 0x5c43302e
mov dword [ebp - 0x1c], 0x7c3a80e1
add dword [ebp - 0x1c], 0xe734eb8b
mov dword [ebp - 0x18], 0xdd842119
sub dword [ebp - 0x18], 0xdd842119
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0xc8990d47
add eax, 0x476882f1
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x39ded
push 0
call eax
mov ecx, 0x553e
mov edi, eax
mov edx, 0x10022800
add edx, dword [ebp - 0x14]
mov esi, 0x82c84063
add dword [ebp - 8], 0xab2a4560
mov ebx, dword [edx]
sub ebx, esi
xor dword [ebp - 8], esi
mov dword [edi], ebx
xor dword [ebp - 0xc], 0x31e3e622
add edi, 4
add edx, 4
loop 0x1000eacf
add eax, 0xa5e4f84f
add eax, 0x5a1c4f7c
mov ebx, eax
add eax, 0x54c59843
sub eax, 0x54c5983e
mov ecx, 0x10000000
add ecx, dword [ebp - 0x14]
call ebx
leave
ret

Function at 0x10014d90
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x1001f83c]
push dword [esp + 4]
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x234]
call eax
test eax, eax
je 0x10014dd2
push 0x51b
push str.hprof_util.c
push str.Unable_to_get_necessary_JVMTI_capabilities.
push 0
push 0
call fcn.10005090
add esp, 0x14
mov dword [esp + 4], 1
jmp fcn.10005080
ret

Function at 0x10016400
Capabilities:
Terminate process

Disassembly:
mov edx, dword [esp + 4]
xorps xmm0, xmm0
push edx
movups xmmword [edx], xmm0
mov eax, dword [0x1001f83c]
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x22c]
call eax
test eax, eax
je 0x10016449
push 0x50e
push str.hprof_util.c
push str.Unable_to_get_potential_JVMTI_capabilities.
push 0
push 0
call fcn.10005090
add esp, 0x14
mov dword [esp + 4], 1
jmp fcn.10005080
ret
Function at 0x401650
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5730e6
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5cc128]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.CXElement.0
call fcn.00407e20
mov ecx, eax
test ecx, ecx
jne 0x401697
push 0x80004005
call fcn.004079f0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 4], eax
mov dword [ebp - 4], 0
call fcn.00407e20
mov ecx, eax
test ecx, ecx
jne 0x4016be
push 0x80004005
call fcn.004079f0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0xc], eax
lea esi, [edi + 0x10]
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00404110
mov dword [esi], eax
xorps xmm0, xmm0
mov eax, dword fs:[0x2c]
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov ecx, dword [eax]
movq qword [edi + 0x28], xmm0
mov dword [edi + 0x28], edi
mov dword [edi + 0x24], vtable.TGeneralObserverObj_class_CXElement_.0
mov eax, dword [0x5d3bfc]
cmp eax, dword [ecx + 4]
jle 0x401761
push 0x5d3bfc
call fcn.004f87b9
add esp, 4
cmp dword [0x5d3bfc], 0xffffffff
jne 0x401761
push 0x586ae0
mov dword [0x5ccde0], 0x64
mov byte [0x5ccde4], 0
call fcn.004f860e
push 0x5d3bfc
call fcn.004f877a
add esp, 8
mov dword [edi + 0x30], 0x5ccde0
mov eax, edi
mov dword [edi + 8], 0
mov dword [edi + 0x2c], 0x401de0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x406fb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x406fc5
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x407006
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x407002
nop word [eax + eax]
cmp esi, edx
jae 0x407006
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x406ff0
cmp esi, edx
jb 0x40700b
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret
Function at 0x414440
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
mov esi, ecx
mov dword [esp + 0x18], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [esp + 0x10]
mov ecx, esi
push eax
mov eax, dword [esi]
call dword [eax + 0xc8]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x14]
sub eax, dword [esi + 0x5c]
mov ebx, dword [esp + 0x10]
sub ebx, dword [esi + 0x58]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0
mov dword [eax], 0
mov eax, 0x2e8ba2e9
mov ecx, dword [esi + 0x130]
sub ecx, dword [esi + 0x12c]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x414556
xor edi, edi
nop dword [eax + eax]
mov eax, dword [esi + 0x12c]
push dword [esp + 0x14]
add eax, 8
push ebx
add eax, edi
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x41451b
mov eax, dword [esi + 0x12c]
cmp dword [eax + edi + 0x20], 0
je 0x41451b
mov eax, dword [ebp + 0x14]
push 1
push 0
push 0
mov dword [eax], 1
mov eax, dword [esi + 0x12c]
push dword [eax + edi + 0x24]
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esi + 0x130]
mov eax, 0x2e8ba2e9
sub ecx, dword [esi + 0x12c]
add edi, 0x2c
mov ebx, dword [esp + 0xc]
imul ecx
inc ebx
sar edx, 3
mov eax, edx
mov dword [esp + 0xc], ebx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jae 0x41454e
mov ebx, dword [esp + 0x10]
jmp 0x4144d0
mov eax, dword [ebp + 0x14]
cmp dword [eax], 0
jne 0x414563
mov eax, dword [esi]
mov ecx, esi
push esi
push 0x384
call dword [eax + 0x28]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4229c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
mov ebx, ecx
push esi
push edi
cmp byte [ebx + 0xb4], 0
je 0x422b3b
mov eax, dword [ebx + 0xbc]
test eax, eax
je 0x422a38
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x38], 0
push ecx
push 0x18
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
push eax
movups xmmword [ebp - 0x34], xmm0
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x34]
je 0x422b1c
mov eax, dword [ebp + 0x14]
sub eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0x30]
je 0x422b1c
push dword [ebx + 0xbc]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebx + 0xbc], 0
push dword [ebx + 0xb8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x422b3b
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
push dword [ebx + 0xb8]
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromFile]
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 8]
push ecx
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.gdiplus.dll_GdipGetImagePixelFormat]
mov ecx, dword [ebp + 0x14]
lea edx, [ebp - 4]
sub ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 8]
push edx
push 0
push dword [ebp - 8]
mov dword [ebp - 0x20], vtable.Gdiplus::Bitmap.0
push 0
push ecx
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromScan0]
mov edi, dword [ebp + 0x10]
lea ecx, [ebp - 4]
mov esi, dword [ebp + 0x14]
sub edi, dword [ebp + 8]
sub esi, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
push ecx
push eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
call dword [sym.imp.gdiplus.dll_GdipGetImageGraphicsContext]
mov eax, dword [ebp - 4]
push 7
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.gdiplus.dll_GdipSetInterpolationMode]
push esi
mov esi, dword [ebp - 8]
push edi
mov edi, dword [ebp - 0x10]
push 0
push 0
push edi
push esi
call dword [sym.imp.gdiplus.dll_GdipDrawImageRectI]
push ecx
mov edx, 1
lea ecx, [ebp - 0x20]
call fcn.0041e680
add esp, 4
mov dword [ebx + 0xbc], eax
push esi
test eax, eax
je 0x422b27
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.gdiplus.dll_GdipDisposeImage]
call esi
push edi
call esi
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.gdiplus.dll_GdipDisposeImage]
call esi
push edi
call esi
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x429640
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov ecx, dword [esi + 0x58]
test ecx, ecx
je 0x429658
mov eax, dword [ecx]
push dword [ebp + 0xc]
call dword [eax + 0xfc]
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
cmp dword [esi + 0xe4], 0
je 0x4296ca
mov eax, dword [esi + 0xe0]
test eax, eax
je 0x4296ca
cmp dword [ebp + 0xc], 0
je 0x42968c
push 5
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 0x10
push 0
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi + 0xe4], 0
je 0x4296af
mov eax, dword [esi + 0xe0]
test eax, eax
je 0x4296af
push dword [eax + 0x38]
jmp 0x4296b2
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x4296ca
mov ecx, esi
call fcn.00429c40
push eax
call dword [sym.imp.USER32.dll_SetFocus]
xor eax, eax
pop esi
pop ebp
ret 0x10
Function at 0x4296e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x5cc128]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0x58]
test ecx, ecx
je 0x429704
mov eax, dword [ecx]
call dword [eax + 0x24]
cmp dword [esi + 0xe4], 0
je 0x429838
cmp dword [esi + 0xe0], 0
je 0x429838
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x429827
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x429827
mov eax, dword [esi + 0xe0]
push 5
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push dword [esi + 0x38]
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 0x30]
mov edi, dword [sym.imp.KERNEL32.dll_MulDiv]
cmp byte [eax + 4], 0
je 0x429784
mov eax, dword [eax]
cmp eax, 0x64
je 0x429784
push 0x64
push eax
push 5
call edi
jmp 0x429789
mov eax, 5
sub dword [ebp - 0x14], eax
mov eax, dword [esi + 0x30]
cmp byte [eax + 4], 0
je 0x4297a5
mov eax, dword [eax]
cmp eax, 0x64
je 0x4297a5
push 0x64
push eax
push 3
call edi
jmp 0x4297aa
mov eax, 3
mov ecx, dword [ebp - 0x10]
sub ecx, eax
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x10], ecx
cmp byte [eax + 4], 0
je 0x4297ce
mov eax, dword [eax]
cmp eax, 0x64
je 0x4297ce
push 0x64
push eax
push 5
call edi
mov ecx, dword [ebp - 0x10]
jmp 0x4297d3
mov eax, 5
mov edx, dword [ebp - 0xc]
add edx, eax
mov eax, dword [esi + 0x30]
mov dword [ebp - 0xc], edx
cmp byte [eax + 4], 0
je 0x4297fc
mov eax, dword [eax]
cmp eax, 0x64
je 0x4297fc
push 0x64
push eax
push 7
call edi
mov edx, dword [ebp - 0xc]
mov edi, eax
mov ecx, dword [ebp - 0x10]
jmp 0x429801
mov edi, 7
mov eax, dword [ebp - 8]
add eax, edi
mov dword [ebp - 8], eax
sub eax, ecx
push 1
push eax
mov eax, dword [ebp - 0x14]
sub edx, eax
push edx
push ecx
push eax
mov eax, dword [esi + 0xe0]
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_MoveWindow]
jmp 0x429838
mov eax, dword [esi + 0xe0]
push 0
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x50]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
mov dword [ebx], 0
xor ecx, ebp
pop ebx
call fcn.004f88bd
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42f8a0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5cc128]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0x14]
mov ecx, dword [esi + 0x184]
test ecx, ecx
je 0x42f8c9
mov eax, dword [ecx]
call dword [eax + 4]
push 0x104
lea eax, [ebp - 0x20c]
mov dword [esi + 0x150], 1
push eax
push dword [esi + 0x130]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esi + 0x15c]
lea ecx, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42f91d
test dx, dx
je 0x42f919
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42f91d
add eax, 4
add ecx, 4
test dx, dx
jne 0x42f8f7
xor eax, eax
jmp 0x42f922
sbb eax, eax
or eax, 1
test eax, eax
jne 0x42f93d
push 0x59e818
push dword [esi + 0x130]
mov dword [esi + 0x158], eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [ebp - 4]
xor eax, eax
mov dword [edi], eax
xor ecx, ebp
pop edi
pop esi
call fcn.004f88bd
mov esp, ebp
pop ebp
ret 0x10

Function at 0x431300
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
push edi
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
test edi, edi
js 0x43137c
mov esi, dword [ebp + 8]
mov ecx, 1
mov eax, dword [esi]
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edi
or ecx, eax
jge 0x431335
push edi
mov ecx, esi
call fcn.00407460
push edi
push dword [esi]
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edi, eax
mov ecx, edi
cmp edi, 0xffffffff
jne 0x43135d
mov ecx, dword [esi]
test ecx, ecx
je 0x431361
push dword [ecx - 8]
push ecx
call fcn.0053a24e
add esp, 8
mov ecx, eax
test ecx, ecx
js 0x43137c
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x43137c
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi]
mov word [eax + ecx*2], dx
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 4
push 0x80070057
call fcn.004079f0
int3
Function at 0x432ad0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x575698
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
push edi
mov eax, dword [0x5cc128]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x5d2aa8]
test eax, eax
je 0x432b21
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x432b21
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.0054aa43
add esp, 4
call fcn.0054aa22
mov esi, eax
call fcn.00407e20
mov ecx, eax
test ecx, ecx
jne 0x432b4c
push 0x80004005
call fcn.004079f0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push esi
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push str.x_GeneralNotify_lu
push eax
call fcn.00423d10
mov esi, dword [ebp - 0x10]
mov ecx, 0x5d2ab0
mov edi, esi
add esp, 0xc
mov edx, 0x104
sub edi, ecx
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x432b9f
movzx eax, word [edi + ecx]
test ax, ax
je 0x432b9f
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x432b81
lea eax, [ecx - 2]
mov dword [ebp - 0x40], 0x30
test edx, edx
push 0x2c
cmovne eax, ecx
xor ecx, ecx
push ecx
mov word [eax], cx
lea eax, [ebp - 0x3c]
push eax
call fcn.0051d210
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], 0x5d2ab0
mov dword [ebp - 0x38], 0x432ab0
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push dword [ebp - 0x2c]
push 0
push 0xfffffffffffffffd
push 0x64
push 0x64
push 0
push 0
push 0
push str.CGeneralObserverMgrWnd
push dword [ebp - 0x18]
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push eax
mov dword [0x5d2aa8], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x432c40
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43e690
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
mov esi, ecx
call fcn.00409420
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd0]
test eax, eax
mov ecx, esi
mov eax, dword [esi]
je 0x43e6c6
push 5
call dword [eax + 0x130]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 4
push 0
call dword [eax + 0x130]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 4

Function at 0x43e6e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
mov esi, ecx
call fcn.004094e0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd0]
test eax, eax
mov ecx, esi
mov eax, dword [esi]
je 0x43e716
push 5
call dword [eax + 0x130]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 4
push 0
call dword [eax + 0x130]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 4
Function at 0x445610
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x5cc128]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov eax, dword [edi + 4]
cmp dword [eax + 0x10], 0
je 0x445638
call fcn.00445760
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x445657
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f88bd
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [edi + 4]
push esi
call fcn.00445f30
test eax, eax
je 0x445643
push esi
lea eax, [ebp - 0x20c]
push 0x5a25c4
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
test esi, esi
je 0x4456bc
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4456bc
lea eax, [ebp - 0x224]
push eax
push 0
lea eax, [ebp - 0x214]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x445735
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x20c]
call fcn.00445d40
test eax, eax
je 0x445735
mov eax, dword [ebp - 0x210]
cmp eax, dword [ebp - 0x218]
jne 0x445735
mov eax, dword [ebp - 0x214]
cmp eax, dword [ebp - 0x21c]
jne 0x445735
mov eax, dword [ebp - 0x220]
cmp eax, dword [ebp - 0x228]
jne 0x445735
mov eax, dword [ebp - 0x224]
cmp eax, dword [ebp - 0x22c]
jne 0x445735
mov ecx, dword [edi + 8]
lea eax, [ebp - 0x20c]
push eax
call fcn.00446670
test al, al
jne 0x445745
mov eax, dword [edi + 4]
mov ecx, edi
push dword [eax + 0xc]
push dword [eax + 0x10]
call fcn.00445950
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004f88bd
mov esp, ebp
pop ebp
ret 8

Function at 0x445800
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, edx
test esi, esi
jne 0x445811
mov dword [edi], ecx
pop edi
xor eax, eax
pop esi
ret
push 2
push 0
push esi
call fcn.00549f58
push esi
call fcn.0054a58e
push 0
push 0
push esi
mov dword [edi], eax
call fcn.00549f58
mov eax, dword [edi]
add esp, 0x1c
test eax, eax
jle 0x44580c
push ebx
push eax
call fcn.0053a405
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x44585e
push esi
push 1
push dword [edi]
push ebx
call fcn.0054a7a9
push 0
push 0
push esi
call fcn.00549f58
add esp, 0x1c
mov eax, ebx
pop ebx
pop edi
pop esi
ret