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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49c5cd
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4da064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocString
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp - 0x18], 0x4b9bec
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0
cmp ebx, 0xffffffff
jne 0x42b61a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x42b78c
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x42b637
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x42b78c
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 1
lea eax, [edi + 1]
push eax
lea ecx, [ebp - 0x10]
call fcn.00407de0
mov esi, dword [ebp - 0x10]
test al, al
jne 0x42b65f
mov edi, 8
jmp 0x42b778
push 0
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x42b686
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x42b778
mov edi, dword [ebp + 0x10]
mov ecx, edi
call fcn.00406fe0
mov eax, dword [ebp + 8]
test eax, eax
je 0x42b776
mov byte [eax + esi], 0
mov eax, dword [ebp + 0xc]
push str.utf_8
push dword [eax]
call fcn.0047e2a0
add esp, 8
test eax, eax
jne 0x42b6bf
push 0xfde9
jmp 0x42b76a
mov eax, dword [ebp + 0xc]
push str.utf_16
push dword [eax]
call fcn.0047e2a0
add esp, 8
test eax, eax
jne 0x42b6fc
mov edi, dword [ebp + 8]
shr edi, 1
call fcn.004039e0
push eax
push edi
push esi
lea ecx, [ebp + 0xc]
call fcn.00407300
mov byte [ebp - 4], 3
lea eax, [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00407fe0
jmp 0x42b747
mov eax, dword [ebp + 0xc]
push str.ISO_8859_1
push dword [eax]
call fcn.0047e2a0
add esp, 8
test eax, eax
jne 0x42b719
push 0x6faf
jmp 0x42b76a
mov eax, dword [ebp + 0xc]
push str.US_ASCII
push dword [eax]
call fcn.0047e2a0
add esp, 8
test eax, eax
jne 0x42b768
push dword [ebp + 8]
lea ecx, [ebp + 0xc]
push esi
call fcn.0042e200
mov byte [ebp - 4], 5
mov ecx, edi
push eax
call fcn.00407fe0
mov byte [ebp - 4], 1
or eax, 0xffffffff
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42b776
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x42b776
push 0
mov edx, edi
mov ecx, esi
call fcn.0040bef0
add esp, 4
xor edi, edi
mov byte [ebp - 4], 0
push esi
call fcn.0047662a
add esp, 4
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x18], 0x4b9bec
test ebx, ebx
je 0x42b7ac
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x14], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42bec0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49c77d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4da064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 0x10]
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 4]
mov esi, dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push 0
push esi
mov dword [ebp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp + 0x10]
cmp byte [ebx + 0x40], 0
mov dword [ebp + 0xc], eax
cmovne ecx, eax
mov byte [ebx + 0x10], 1
lea eax, [ebp - 0x14]
mov dword [ebp + 0x10], ecx
mov dword [ebp - 0x10], eax
call fcn.004039e0
mov ecx, eax
test ecx, ecx
je 0x42bfd4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 2
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0x14]
lea eax, [ebp + 0x10]
mov ecx, ebx
push eax
push dword [ebp + 8]
call fcn.0042bcb0
mov esi, eax
mov byte [ebx + 0x10], 0
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x42bf77
cmp dword [ebp + 0x10], eax
je 0x42bf77
mov esi, 0x2ee2
jmp 0x42bf8f
test esi, esi
jne 0x42bf8f
mov esi, dword [ebx + 4]
cmp esi, dword [edi + 4]
je 0x42bf8d
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov dword [edi + 4], esi
xor esi, esi
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x14]
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edi, dword [ebp - 0x14]
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x42bfbe
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.00402150
int3
Function at 0x42d5b0
Capabilities:
Connect to http server

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
push dword [esi + 0x68]
mov dword [esi + 0x34], 0
mov byte [esi + 0x38], 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push esi
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call dword [sym.imp.WININET.dll_InternetConnectW]
test eax, eax
jne 0x42d640
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x42d636
cmp byte [esi + 0x38], 0
jne 0x42d64c
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop dword [eax]
lea ecx, [esi + 0xc]
call fcn.0042e630
test al, al
jne 0x42d62b
push 0xa
push dword [esi + 0x68]
call edi
cmp byte [esi + 0x38], 0
je 0x42d610
jmp 0x42d64c
pop edi
pop esi
mov eax, 0xe0000008
pop ebx
ret 0x1c
test eax, eax
je 0x42d64c
pop edi
pop esi
pop ebx
ret 0x1c
push dword [esi + 0x68]
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [esi + 4], 0
jne 0x42d65b
mov eax, dword [esi + 0x2c]
pop edi
pop esi
pop ebx
ret 0x1c
pop edi
pop esi
xor eax, eax
pop ebx
ret 0x1c
Function at 0x42e7b0
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esp + 0x18], 0
push ebx
mov ebx, dword [esp + 0x18]
push ebp
push esi
push edi
mov edi, ecx
jne 0x42e8db
mov ebp, dword [esp + 0x18]
mov ecx, 1
mov esi, dword [esp + 0x1c]
cmp ebp, 0x110
jne 0x42e7ff
sub esp, 8
mov dword [edi + 0x40], ecx
mov ecx, edi
call fcn.0042ecd0
mov dword [ebx], eax
cmp dword [edi + 0x40], 0
je 0x42e8e4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp ebp, 0x111
jne 0x42e8e4
movzx eax, si
cmp cx, ax
jne 0x42e86f
lea eax, [edi + 0x44]
push eax
lea ecx, [edi + 0x5c]
call fcn.0041c2e0
lea eax, [edi + 0x48]
push eax
lea ecx, [edi + 0x60]
call fcn.0041c2e0
push 0x428
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
push 0xf0
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 1
push 1
push dword [edi + 4]
sete cl
mov byte [edi + 0x4c], cl
call dword [sym.imp.USER32.dll_EndDialog]
pop edi
pop esi
pop ebp
mov dword [ebx], 0
mov eax, 1
pop ebx
ret 0x18
mov ecx, 2
cmp cx, ax
jne 0x42e895
push ecx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
pop edi
pop esi
pop ebp
mov dword [ebx], 0
mov eax, 1
pop ebx
ret 0x18
mov eax, esi
mov ecx, 0x300
shr eax, 0x10
cmp cx, ax
jne 0x42e8e4
mov eax, dword [esp + 0x20]
lea ecx, [edi + 0x5c]
cmp eax, dword [ecx]
jne 0x42e8d5
lea esi, [edi + 0x44]
push esi
call fcn.0041c2e0
push 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [esi]
xor edx, edx
cmp dword [ecx - 0xc], edx
setne dl
push edx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebx], 0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x18
lea edx, [edi + 0x20]
cmp ebp, 5
jne 0x42e953
xor eax, eax
test edx, edx
cmove edi, eax
cmp byte [edx + 0x1c], al
je 0x42e925
push 0xe801
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp esi, 2
jne 0x42e916
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x42e92a
test esi, esi
jne 0x42e925
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x42e92a
cmp esi, 1
je 0x42e974
mov ecx, dword [esp + 0x20]
mov eax, ecx
shr eax, 0x10
cwde
push eax
movsx eax, cx
lea ecx, [edi + 0x20]
push eax
call fcn.0042f4b0
pop edi
pop esi
pop ebp
mov dword [ebx], 0
mov eax, 1
pop ebx
ret 0x18
cmp ebp, 0x24
jne 0x42e8db
cmp dword [edx + 0x14], 0xffffffff
je 0x42e974
cmp dword [edx + 0x18], 0xffffffff
je 0x42e974
mov eax, dword [esp + 0x20]
mov ecx, dword [edx + 0x14]
mov edx, dword [edx + 0x18]
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], edx
pop edi
pop esi
pop ebp
mov dword [ebx], 0
mov eax, 1
pop ebx
ret 0x18
Function at 0x43c960
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49fcbe
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4da064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea eax, [esi + 8]
mov dword [esi + 4], 0
mov dword [ebp - 0x14], eax
mov dword [eax + 0xc], 0
mov dword [ebp - 4], 1
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [ebp - 4], 4
lea ecx, [esi + 0x30]
push dword [ebp + 0xc]
mov dword [esi + 0x20], 0x4bb880
mov dword [esi + 0x24], 0x4beb0c
mov dword [esi], 0x4bf338
mov dword [esi + 0x20], 0x4bf30c
mov dword [esi + 0x24], 0x4bf308
mov dword [esi + 0x2c], 0
call fcn.00402250
mov byte [ebp - 4], 5
mov eax, dword [ebp + 8]
mov dword [esi + 0x34], eax
mov eax, dword [ebp + 0x10]
mov byte [esi + 0x38], 0
mov dword [esi + 0x40], eax
mov al, byte [ebp + 0x14]
mov dword [esi + 0x44], 2
mov byte [esi + 0x48], al
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x444cf0
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esp + 0x18], 0
push ebx
push ebp
push esi
push edi
mov esi, ecx
jne 0x444e99
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
cmp ebx, 0x110
jne 0x444d76
cmp byte [esi + 0x75], 0
mov dword [esi + 0x70], 1
je 0x444d32
push 1
push str.IsExterior
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetPropW]
cmp byte [esi + 0x74], 0
je 0x444d54
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x2000000
push eax
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
sub esp, 0xc
lea ecx, [esi + 0x50]
call fcn.00445af0
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x70], 0
mov dword [ecx], 0
cmp dword [esi + 0x70], 0
jmp 0x444df1
cmp ebx, 2
jne 0x444da7
push str.IsExterior
push dword [esi + 4]
mov dword [esi + 0x70], 1
call dword [sym.imp.USER32.dll_RemovePropW]
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x70], 0
mov dword [ecx], 0
cmp dword [esi + 0x70], 0
jmp 0x444df1
cmp ebx, 0x4e
jne 0x444df7
cmp dword [edi + 8], 0xffffff38
jne 0x444dce
mov eax, dword [esi + 4]
mov dword [edi + 0xc], eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push edi
push ebp
push ebx
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 1
push eax
push edi
sub esp, 8
mov ecx, esi
call fcn.00444eb0
mov ecx, dword [esp + 0x24]
cmp dword [esp + 0x28], 0
mov dword [ecx], eax
jne 0x444e8d
lea ecx, [esi + 0x50]
cmp ebx, 5
jne 0x444e66
xor eax, eax
test ecx, ecx
cmove esi, eax
cmp byte [ecx + 0x1c], al
je 0x444e38
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp ebp, 2
jne 0x444e29
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x444e3d
test ebp, ebp
jne 0x444e38
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x444e3d
cmp ebp, 1
je 0x444e83
mov eax, edi
lea ecx, [esi + 0x50]
shr eax, 0x10
cwde
push eax
movsx eax, di
push eax
call fcn.00445e60
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword [eax], 0
mov eax, 1
pop ebx
ret 0x18
cmp ebx, 0x24
jne 0x444e99
cmp dword [ecx + 0x14], 0xffffffff
je 0x444e83
cmp dword [ecx + 0x18], 0xffffffff
je 0x444e83
mov eax, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], ecx
mov eax, dword [esp + 0x24]
mov dword [eax], 0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x18
Function at 0x447590
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1b95
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4da064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
movzx eax, word [ebp + 0xc]
mov esi, dword [0x4db390]
push 0xa
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x44771d
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x44771d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x44771d
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, dword [sym.imp.USER32.dll_GetDC]
push 0
mov dword [ebp + 0xc], eax
call esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov edi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x5a
push eax
call edi
mov dword [ebp - 4], 0xffffffff
test eax, eax
jle 0x44768c
imul eax, eax, 0x64
cmp eax, 0x25e0
jl 0x44768c
cmp eax, 0x38a0
jge 0x447647
mov esi, 0x20
jmp 0x447691
push 0
call esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
push 0x5a
push eax
call edi
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x60
je 0x44768c
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x4c2020]
divsd xmm0, qword [0x4c2028]
addsd xmm0, qword [0x4c2008]
cvttsd2si esi, xmm0
jmp 0x447691
mov esi, 0x18
push 0
push esi
push esi
push 1
push ebx
call dword [sym.imp.USER32.dll_LookupIconIdFromDirectoryEx]
test eax, eax
je 0x44771d
push 0
push esi
push esi
push 0x30000
push 1
push dword [ebp + 0xc]
add eax, ebx
push eax
call dword [sym.imp.USER32.dll_CreateIconFromResourceEx]
mov edi, eax
test edi, edi
je 0x44771d
mov eax, dword [ebp - 0x10]
push dword [ebp + 8]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push 1
mov esi, eax
push 0xf7
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp + 0x10]
lea ecx, [ebp + 0xc]
call fcn.00408ad0
mov dword [ebp - 4], 2
push dword [ebp + 0xc]
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44771d
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
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x447740
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esp + 0x18], 0
push ebx
push ebp
push esi
push edi
mov esi, ecx
jne 0x4478e9
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
cmp ebx, 0x110
jne 0x4477c6
cmp byte [esi + 0x75], 0
mov dword [esi + 0x70], 1
je 0x447782
push 1
push str.IsExterior
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetPropW]
cmp byte [esi + 0x74], 0
je 0x4477a4
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x2000000
push eax
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
sub esp, 0xc
lea ecx, [esi + 0x50]
call fcn.00447ab0
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x70], 0
mov dword [ecx], 0
cmp dword [esi + 0x70], 0
jmp 0x447841
cmp ebx, 2
jne 0x4477f7
push str.IsExterior
push dword [esi + 4]
mov dword [esi + 0x70], 1
call dword [sym.imp.USER32.dll_RemovePropW]
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x70], 0
mov dword [ecx], 0
cmp dword [esi + 0x70], 0
jmp 0x447841
cmp ebx, 0x4e
jne 0x447847
cmp dword [edi + 8], 0xffffff38
jne 0x44781e
mov eax, dword [esi + 4]
mov dword [edi + 0xc], eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push edi
push ebp
push ebx
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 1
push eax
push edi
sub esp, 8
mov ecx, esi
call fcn.00447900
mov ecx, dword [esp + 0x24]
cmp dword [esp + 0x28], 0
mov dword [ecx], eax
jne 0x4478dd
lea ecx, [esi + 0x50]
cmp ebx, 5
jne 0x4478b6
xor eax, eax
test ecx, ecx
cmove esi, eax
cmp byte [ecx + 0x1c], al
je 0x447888
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp ebp, 2
jne 0x447879
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x44788d
test ebp, ebp
jne 0x447888
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x44788d
cmp ebp, 1
je 0x4478d3
mov eax, edi
lea ecx, [esi + 0x50]
shr eax, 0x10
cwde
push eax
movsx eax, di
push eax
call fcn.00445e60
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword [eax], 0
mov eax, 1
pop ebx
ret 0x18
cmp ebx, 0x24
jne 0x4478e9
cmp dword [ecx + 0x14], 0xffffffff
je 0x4478d3
cmp dword [ecx + 0x18], 0xffffffff
je 0x4478d3
mov eax, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], ecx
mov eax, dword [esp + 0x24]
mov dword [eax], 0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x18
Function at 0x449530
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esp + 0x18], 0
push ebx
push ebp
push esi
push edi
mov esi, ecx
jne 0x4496d9
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
cmp ebx, 0x110
jne 0x4495b6
cmp byte [esi + 0x75], 0
mov dword [esi + 0x70], 1
je 0x449572
push 1
push str.IsExterior
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetPropW]
cmp byte [esi + 0x74], 0
je 0x449594
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x2000000
push eax
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
sub esp, 0xc
lea ecx, [esi + 0x50]
call fcn.00449880
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x70], 0
mov dword [ecx], 0
cmp dword [esi + 0x70], 0
jmp 0x449631
cmp ebx, 2
jne 0x4495e7
push str.IsExterior
push dword [esi + 4]
mov dword [esi + 0x70], 1
call dword [sym.imp.USER32.dll_RemovePropW]
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x70], 0
mov dword [ecx], 0
cmp dword [esi + 0x70], 0
jmp 0x449631
cmp ebx, 0x4e
jne 0x449637
cmp dword [edi + 8], 0xffffff38
jne 0x44960e
mov eax, dword [esi + 4]
mov dword [edi + 0xc], eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push edi
push ebp
push ebx
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 1
push eax
push edi
sub esp, 8
mov ecx, esi
call fcn.004496f0
mov ecx, dword [esp + 0x24]
cmp dword [esp + 0x28], 0
mov dword [ecx], eax
jne 0x4496cd
lea ecx, [esi + 0x50]
cmp ebx, 5
jne 0x4496a6
xor eax, eax
test ecx, ecx
cmove esi, eax
cmp byte [ecx + 0x1c], al
je 0x449678
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp ebp, 2
jne 0x449669
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x44967d
test ebp, ebp
jne 0x449678
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x44967d
cmp ebp, 1
je 0x4496c3
mov eax, edi
lea ecx, [esi + 0x50]
shr eax, 0x10
cwde
push eax
movsx eax, di
push eax
call fcn.00445e60
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword [eax], 0
mov eax, 1
pop ebx
ret 0x18
cmp ebx, 0x24
jne 0x4496d9
cmp dword [ecx + 0x14], 0xffffffff
je 0x4496c3
cmp dword [ecx + 0x18], 0xffffffff
je 0x4496c3
mov eax, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], ecx
mov eax, dword [esp + 0x24]
mov dword [eax], 0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x18
Function at 0x44d960
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, dword [esi + 0x14]
add eax, 4
push eax
push 0
push esi
push 0x44df30
push 0
push 0
call edi
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x20], eax
mov ecx, dword [ecx + 4]
mov dword [esi + 0x24], ecx
test eax, eax
je 0x44d9be
nop
mov esi, dword [esi + 4]
test esi, esi
je 0x44d9c6
mov eax, dword [esi + 0x14]
add eax, 4
push eax
push 0
push esi
push 0x44df30
push 0
push 0
call edi
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 4]
mov dword [esi + 0x24], eax
cmp dword [esi + 0x20], 0
jne 0x44d990
pop edi
pop esi
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
xor eax, eax
pop esi
ret
Function at 0x450640
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a395d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4da064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp - 0x10]
xor bl, bl
push eax
call fcn.00451000
mov dword [ebp - 4], 0
push dword [ebp - 0x10]
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [esi + 0x1c], eax
test eax, eax
jne 0x45069b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
jmp 0x4506ba
push 0
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0x20], eax
test eax, eax
jne 0x4506e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
or edi, 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4506de
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x14], 0
jne 0x450747
jmp 0x45070a
mov dword [ebp - 4], 0xffffffff
or edi, 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45070a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi + 0x20]
push ecx
add eax, 4
push eax
lea eax, [esi + 8]
push eax
call fcn.00451320
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x450730
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x1c], 0
mov eax, dword [esi + 0x20]
test eax, eax
je 0x450745
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [esi + 0x20], 0
mov bl, 1
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.004510a0
mov dword [ebp - 4], 4
push dword [ebp - 0x1c]
push 0
push 2
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov esi, eax
mov dword [ebp - 0x18], 0x4b9bec
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 5
test esi, esi
je 0x450781
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov byte [ebp - 4], 4
mov dword [ebp - 0x18], 0x4b9bec
test esi, esi
je 0x45079e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x4507bd
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret