joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44dbcd
Capabilities:
Create process on windows

Disassembly:
push 0xc
mov eax, 0x489862
call fcn.0045cbb7
mov eax, dword [0x4afd74]
xor ebx, ebx
mov ecx, 0x4afd74
mov byte [ebp - 0xd], bl
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
push str.SOFTWAREwinmaster_ascommon
push reloc.WS2_32.dll_bind
lea esi, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00401011
test eax, eax
je 0x44dc62
lea eax, [ebp - 0x18]
push eax
push str.installpath
mov ebx, esi
call fcn.004010bf
test eax, eax
je 0x44dc62
push str.wmadgui.exe
lea ecx, [ebp - 0x18]
call fcn.00425985
push dword [ebp - 0x18]
call fcn.00441cbf
test eax, eax
pop ecx
pop ecx
je 0x44dc62
push 1
push 0
push str._from:autorun__product:13__updateversion__runexe:wmadgui.exe__install__autoscan__func_showmainwin:1
push dword [ebp - 0x18]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jl 0x44dc62
mov byte [ebp - 0xd], 1
cmp dword [ebp - 0x14], 0
je 0x44dc71
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x18]
and dword [ebp - 0x14], 0
add eax, 0xfffffff0
call fcn.0040154a
mov al, byte [ebp - 0xd]
call fcn.0045cc8f
ret

Function at 0x44e403
Capabilities:
Hide graphical window

Disassembly:
push edi
mov dword [esi + 0x524], 1
call fcn.00440b99
push 0
mov edi, eax
call fcn.0045448a
pop ecx
push edx
push eax
push str.poptime_center_rcmd
add edi, 0xc
push edi
call fcn.004437f4
mov edi, dword [esi + 0x524]
call fcn.00440b99
push edi
push 3
push 0
push dword [eax + 8]
push 0
push 1
push dword [esi + 0x52c]
call fcn.004406f0
add esp, 0x1c
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop edi
ret

Function at 0x44e461
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
xor edi, edi
mov esi, eax
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x18
mov ebx, 0x44e4b3
call fcn.00457c4a
cmp eax, edi
pop ecx
jne 0x44e487
xor eax, eax
jmp 0x44e4a4
push edi
push edi
push eax
push 0x44ebaf
push edi
push edi
mov dword [eax], esi
mov dword [eax + 0x10], edi
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edi
call fcn.00457aba
add esp, 0x18
mov dword [esi + 0xac0], eax
call fcn.0044dccb
pop edi
pop esi
pop ebx
ret
Function at 0x44e5bc
Capabilities:
Create process on windows

Disassembly:
push 0xc
mov eax, 0x489836
call fcn.0045cbb7
mov eax, dword [0x4afd74]
xor ebx, ebx
mov ecx, 0x4afd74
mov byte [ebp - 0xd], bl
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
push str.SOFTWAREwinmaster_ascommon
push reloc.WS2_32.dll_bind
lea esi, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00401011
test eax, eax
je 0x44e651
lea eax, [ebp - 0x18]
push eax
push str.installpath
mov ebx, esi
call fcn.004010bf
test eax, eax
je 0x44e651
push str.wmadgui.exe
lea ecx, [ebp - 0x18]
call fcn.00425985
push dword [ebp - 0x18]
call fcn.00441cbf
test eax, eax
pop ecx
pop ecx
je 0x44e651
push 1
push 0
push str._from:autorun__product:4__updateversion__runexe:wmadgui.exe__install__autoscan__func_showmainwin:1
push dword [ebp - 0x18]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jl 0x44e651
mov byte [ebp - 0xd], 1
cmp dword [ebp - 0x14], 0
je 0x44e660
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x18]
and dword [ebp - 0x14], 0
add eax, 0xfffffff0
call fcn.0040154a
mov al, byte [ebp - 0xd]
call fcn.0045cc8f
ret

Function at 0x44e948
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
xor edi, edi
mov esi, eax
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x18
mov ebx, 0x44e99a
call fcn.00457c4a
cmp eax, edi
pop ecx
jne 0x44e96e
xor eax, eax
jmp 0x44e98b
push edi
push edi
push eax
push 0x44ebaf
push edi
push edi
mov dword [eax], esi
mov dword [eax + 0x10], edi
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edi
call fcn.00457aba
add esp, 0x18
mov dword [esi + 0xabc], eax
call fcn.0044dccb
pop edi
pop esi
pop ebx
ret

Function at 0x44e9aa
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push 0x38
lea eax, [ebp - 0x38]
push 0
push eax
call fcn.00455160
mov eax, dword [ebp + 8]
and dword [ebp - 0x34], 0
and dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x540
mov dword [ebp - 0x20], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x44ea35
mov esi, dword [ebp - 4]
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x44ea2a
and dword [ebp + 8], eax
push ebx
lea eax, [ebp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test esi, esi
mov ebx, dword [ebp + 8]
je 0x44ea25
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop ebx
jmp 0x44ea3b
test esi, esi
je 0x44ea35
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
leave
ret 8
Function at 0x44eda3
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, eax
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.0044efe5
test eax, eax
je 0x44edc1
call fcn.0044f16e
jmp 0x44edd9
xor ecx, ecx
push ecx
mov eax, 0x44ede0
push eax
push esi
call fcn.0044f469
add esp, 0xc
mov dword [esi + 0xabc], eax
call fcn.0044dccb
pop esi
ret

Function at 0x44f16e
Capabilities:
Create process on windows

Disassembly:
push 8
mov eax, 0x4897d7
call fcn.0045cbb7
xor edi, edi
mov dword [ebp - 0x10], edi
push str.SOFTWAREwinmaster_ascommon
push reloc.WS2_32.dll_bind
lea esi, [ebp - 0x10]
mov dword [ebp - 4], edi
call fcn.00401011
test eax, eax
je 0x44f1f9
mov eax, dword [0x4afd74]
mov ecx, 0x4afd74
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push str.installpath
mov ebx, esi
mov byte [ebp - 4], 1
call fcn.004010bf
test eax, eax
jne 0x44f1cb
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
jmp 0x44f1f4
push str.wmsoftmgr.exe
lea ecx, [ebp - 0x14]
call fcn.00425985
mov esi, dword [ebp - 0x14]
pop ecx
push 1
push edi
push str._autoscan__samesoft:1
push esi
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [esi - 0x10]
call fcn.0040154a
cmp dword [ebp - 0x10], edi
je 0x44f207
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.0045cc8f
ret

Function at 0x44f469
Capabilities:
Create thread

Disassembly:
push 0x18
call fcn.00457c4a
pop ecx
xor ecx, ecx
cmp eax, ecx
jne 0x44f47a
xor eax, eax
ret
mov edx, dword [esp + 4]
push ecx
push ecx
push eax
mov dword [eax], edx
mov edx, dword [esp + 0x14]
push 0x44ebaf
mov dword [eax + 8], edx
mov edx, dword [esp + 0x1c]
push ecx
push ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], edx
call fcn.00457aba
add esp, 0x18
ret

Function at 0x44f758
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
xor edi, edi
mov esi, eax
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x18
mov ebx, 0x44f7aa
call fcn.00457c4a
cmp eax, edi
pop ecx
jne 0x44f77e
xor eax, eax
jmp 0x44f79b
push edi
push edi
push eax
push 0x44ebaf
push edi
push edi
mov dword [eax], esi
mov dword [eax + 0x10], edi
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edi
call fcn.00457aba
add esp, 0x18
mov dword [esi + 0xabc], eax
call fcn.0044dccb
pop edi
pop esi
pop ebx
ret

Function at 0x44fc6c
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
xor edi, edi
mov esi, eax
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x18
mov ebx, 0x44fcc0
call fcn.00457c4a
cmp eax, edi
pop ecx
jne 0x44fc92
xor eax, eax
jmp 0x44fcaf
push edi
push edi
push eax
push 0x44ebaf
push edi
push edi
mov dword [eax], esi
mov dword [eax + 0x10], edi
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edi
call fcn.00457aba
add esp, 0x18
push 1
mov dword [esi + 0xaf0], eax
call fcn.004507c6
pop edi
pop esi
pop ebx
ret
Function at 0x44fe09
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48b838
mov eax, dword fs:[0]
push eax
sub esp, 0xac
push esi
push edi
mov eax, dword [0x4ab1a4]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
push dword [ebx + 0x538]
xor edi, edi
mov dword [ebx + 0x560], edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x44fe61
mov dword [ebx + 0x560], 1
jmp 0x44ffc3
push dword [ebx + 0x538]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x44fe7b
mov dword [ebx + 0x560], 2
push dword [ebx + 0x538]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x44fe95
mov dword [ebx + 0x560], 3
lea esi, [ebx + 0x5b0]
mov eax, dword [esi]
cmp dword [eax - 0xc], edi
je 0x44fef6
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44fef6
push dword [esi]
lea esi, [esp + 0x34]
call fcn.00441fc3
mov dword [esp + 0xc0], edi
mov eax, dword [eax]
push eax
push str.filepath
lea esi, [ebx + 0x24]
mov edi, 0x12d
push edi
mov ecx, esi
call fcn.00450b28
or dword [esp + 0xc0], 0xffffffff
lea eax, [esp + 0x34]
cmp dword [esp + 0x30], eax
je 0x44fef3
push dword [esp + 0x30]
call fcn.004551da
pop ecx
push edi
jmp 0x44fefe
lea esi, [ebx + 0x24]
push 0x12e
mov eax, esi
call fcn.00450bf6
push 2
pop edi
push dword [ebx + 0x528]
mov eax, esi
push 0x12f
mov dword [ebx + 0x554], edi
call fcn.00450ae3
lea eax, [esp + 0x10]
push eax
push dword [ebx + 0x538]
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp dword [ebx + 0xad8], 0
je 0x44ff8c
mov eax, dword [ebx + 0x560]
cmp eax, 3
je 0x44ff5f
cmp eax, edi
je 0x44ff5f
lea eax, [esp + 0x10]
push eax
lea eax, [ebx + 0x5a0]
push eax
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x44ff9a
cmp dword [ebx + 0x544], 0
lea edi, [ebx + 0x590]
lea esi, [esp + 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x44ff9a
lea eax, [esp + 0x20]
push eax
mov edi, ebx
call fcn.0045092a
test eax, eax
je 0x44ff9a
lea esi, [esp + 0x20]
jmp 0x44ff90
lea esi, [esp + 0x10]
lea edi, [ebx + 0x590]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x590]
lea edi, [ebx + 0x5a0]
lea esi, [esp + 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebx + 0x54c], eax
mov eax, dword [ebx + 0x594]
movsd dword es:[edi], dword [esi]
mov dword [ebx + 0x550], eax
xor eax, eax
movsd dword es:[edi], dword [esi]
inc eax
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x45072c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, eax
mov ebx, esi
call fcn.0044fe09
test eax, eax
push 2
jne 0x45074a
call fcn.004507c6
jmp 0x4507c2
mov eax, dword [esi + 0x560]
pop ecx
cmp eax, ecx
je 0x45078d
cmp eax, 3
je 0x45078d
lea eax, [esi + 0xaec]
cmp dword [eax], 0
je 0x45076e
and dword [eax], 0
mov dword [esi + 0x564], ecx
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0x101e8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4507c2
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x18]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [ebp - 4]
lea eax, [ebp - 0x18]
push dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x4507c2
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebx
leave
ret

Function at 0x4518fb
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
xor edi, edi
mov esi, eax
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x18
mov ebx, 0x452b94
call fcn.00457c4a
cmp eax, edi
pop ecx
jne 0x451921
xor eax, eax
jmp 0x45193e
push edi
push edi
push eax
push 0x44ebaf
push edi
push edi
mov dword [eax], esi
mov dword [eax + 0x10], edi
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edi
call fcn.00457aba
add esp, 0x18
push 1
mov dword [esi + 0xb3c], eax
call fcn.004522d6
pop edi
pop esi
pop ebx
ret

Function at 0x45223c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, eax
mov ebx, esi
call fcn.004519e7
test eax, eax
push 2
jne 0x45225a
call fcn.004522d6
jmp 0x4522d2
mov eax, dword [esi + 0x560]
pop ecx
cmp eax, ecx
je 0x45229d
cmp eax, 3
je 0x45229d
lea eax, [esi + 0xb2c]
cmp dword [eax], 0
je 0x45227e
and dword [eax], 0
mov dword [esi + 0x564], ecx
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0x101e8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4522d2
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x18]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [ebp - 4]
lea eax, [ebp - 0x18]
push dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x4522d2
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebx
leave
ret
Function at 0x45313d
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4ab1a4]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0045307c
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00455160
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x45318c
cmp dword [ebp - 0x1c], 5
jb 0x4531a4
jmp 0x4531a0
cmp dword [ebp - 0x10], 1
jne 0x4531a4
cmp dword [ebp - 0x1c], 4
ja 0x4531a0
jne 0x4531a4
cmp dword [ebp - 0x18], 0
jbe 0x4531a4
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x48e80c
call fcn.004303cd
test eax, eax
jge 0x4531c5
mov byte [0x4b0e38], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0045447b
add ebp, 0x78
leave
ret

Function at 0x453562
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4afd90], 0
push esi
jne 0x4534d5
call fcn.00453400
test eax, eax
je 0x453518
mov eax, dword [0x4afd90]
cmp eax, 1
jne 0x4534f6
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x453518
pop esi
ret
push eax
call dword [0x4afd98]
test eax, eax
jne 0x453560
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x45351c
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4afd90]
call dword [0x4afd98]
mov edi, eax
test edi, edi
je 0x453543
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x45355f
lea edi, [esi + 0xff0]
push esi
push dword [0x4afd90]
call dword [0x4afd94]
add esi, 0x10
cmp esi, edi
jb 0x453549
mov eax, esi
pop edi
pop esi
ret
jmp 0x4534c2

Function at 0x45447b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4ab1a4]
jne 0x454485
repz ret
jmp fcn.0045f4f6

Function at 0x455b8a
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x455bb7
call fcn.0045dc52
mov dword [eax], esi
call fcn.0045dc3f
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.00454447
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x455b93
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x455be6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0045dc65
pop ecx
call fcn.0045dc3f
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x455c0d
test al, 1
je 0x455c0d
test byte [esp + 0xc], 2
je 0x455c0d
call fcn.0045dc52
mov dword [eax], 5
call fcn.0045dc3f
mov dword [eax], 0xd
jmp 0x455bdd
xor eax, eax
pop esi
ret
Function at 0x45b49d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x45b4da
cmp dword [ebp + 0x14], edi
je 0x45b4da
cmp ecx, edi
jne 0x45b4e1
call fcn.0045dc3f
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.00454447
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x45b4f5
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x45b516
cmp ebx, 0xffffffff
je 0x45b505
push ebx
push edi
push ecx
call fcn.00455160
add esp, 0xc
cmp esi, edi
je 0x45b4c2
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x45b4c2
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x45b532
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x45b539
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x45b62a
test word [esi + 0xc], 0x10c
je 0x45b58d
mov eax, dword [esi + 4]
test eax, eax
je 0x45b58d
jl 0x45b68b
cmp ebx, eax
mov edi, ebx
jb 0x45b55e
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x45b632
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0045426b
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x45b622
cmp ebx, dword [ebp - 0xc]
jb 0x45b5fa
cmp dword [ebp - 0xc], 0
je 0x45b5b7
mov ecx, closesocket
xor edx, edx
cmp ebx, ecx
jbe 0x45b5ac
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x45b5b3
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x45b5c2
mov eax, closesocket
cmp ebx, eax
ja 0x45b5c2
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x45b65e
push eax
push dword [ebp - 8]
push esi
call fcn.004688be
pop ecx
push eax
call fcn.0046ba48
add esp, 0xc
test eax, eax
je 0x45b69d
cmp eax, 0xffffffff
je 0x45b68b
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x45b622
push esi
call fcn.0046908d
cmp eax, 0xffffffff
pop ecx
je 0x45b68f
cmp dword [ebp - 4], 0
je 0x45b65e
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x45b541
mov eax, dword [ebp + 0x14]
jmp 0x45b4dc
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x45b649
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.00455160
add esp, 0xc
call fcn.0045dc3f
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x45b4d2
cmp dword [ebp + 0xc], 0xffffffff
je 0x45b674
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.00455160
add esp, 0xc
call fcn.0045dc3f
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x45b4d2
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x45b4dc
or dword [esi + 0xc], 0x10
jmp 0x45b68f
Function at 0x462e7a
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x4abab0]
je 0x462e95
inc edi
cmp edi, 0x17
jb 0x462e86
cmp edi, 0x17
jae 0x463015
push ebp
push 3
call fcn.0046f5b4
cmp eax, 1
pop ecx
je 0x462fe1
push 3
call fcn.0046f5b4
test eax, eax
pop ecx
jne 0x462ec9
cmp dword [0x4ab1a0], 1
je 0x462fe1
cmp ebx, 0xfc
je 0x463014
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x4b0540
push ebp
call fcn.004600ff
add esp, 0xc
test eax, eax
je 0x462eff
push esi
push esi
push esi
push esi
push esi
call fcn.0045434b
add esp, 0x14
push 0x104
mov esi, 0x4b0559
push esi
push 0
mov byte [0x4b065d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x462f43
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.004600ff
add esp, 0xc
test eax, eax
je 0x462f43
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0045434b
add esp, 0x14
push esi
call fcn.00454db0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x462f88
push esi
call fcn.00454db0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x4b0854
push 0x48fa24
sub ecx, eax
push ecx
push eax
call fcn.00465893
add esp, 0x14
test eax, eax
je 0x462f88
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0045434b
add esp, 0x14
jmp 0x462f8a
xor esi, esi
push 0x48fa20
push ebx
push ebp
call fcn.00465822
add esp, 0xc
test eax, eax
je 0x462faa
push esi
push esi
push esi
push esi
push esi
call fcn.0045434b
add esp, 0x14
push dword [edi*8 + 0x4abab4]
push ebx
push ebp
call fcn.00465822
add esp, 0xc
test eax, eax
je 0x462fcc
push esi
push esi
push esi
push esi
push esi
call fcn.0045434b
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0046f3f7
add esp, 0xc
jmp 0x463014
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x463014
cmp ebp, 0xffffffff
je 0x463014
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x4abab4]
push dword [esi]
call fcn.00454db0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x46f3f7
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0045ef77
xor ebx, ebx
cmp dword [0x4b0ba4], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x46f4cd
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x46f5ad
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x46f5ad
push eax
call fcn.0045ef09
mov dword [esp], 0x490d78
push edi
mov dword [0x4b0ba4], eax
call esi
push eax
call fcn.0045ef09
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4b0ba8], eax
call esi
push eax
call fcn.0045ef09
mov dword [0x4b0bac], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0045d991
test eax, eax
pop ecx
pop ecx
je 0x46f49b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0045434b
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x46f4cd
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0045ef09
cmp eax, ebx
pop ecx
mov dword [0x4b0bb4], eax
je 0x46f4cd
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0045ef09
pop ecx
mov dword [0x4b0bb0], eax
mov eax, dword [0x4b0bb0]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x46f552
cmp dword [0x4b0bb4], ecx
je 0x46f552
push eax
call fcn.0045ef80
push dword [0x4b0bb4]
mov esi, eax
call fcn.0045ef80
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x46f552
cmp edi, ebx
je 0x46f552
call esi
cmp eax, ebx
je 0x46f51f
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x46f51f
test byte [ebp - 0x18], 1
jne 0x46f552
lea eax, [ebp - 0x10]
push eax
call fcn.0045d9c8
test eax, eax
pop ecx
je 0x46f53a
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0045434b
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x46f549
or dword [ebp + 0x10], 0x200000
jmp 0x46f58d
or dword [ebp + 0x10], 0x40000
jmp 0x46f58d
mov eax, dword [0x4b0ba8]
cmp eax, dword [ebp - 8]
je 0x46f58d
push eax
call fcn.0045ef80
cmp eax, ebx
pop ecx
je 0x46f58d
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x46f58d
mov eax, dword [0x4b0bac]
cmp eax, dword [ebp - 8]
je 0x46f58d
push eax
call fcn.0045ef80
cmp eax, ebx
pop ecx
je 0x46f58d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4b0ba4]
call fcn.0045ef80
cmp eax, ebx
pop ecx
je 0x46f5ad
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x46f5af
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret