joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44c600
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
jne 0x44c615
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 8]
push ecx
push 1
push 1
push edi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.dbghelp.dll_ImageDirectoryEntryToDataEx]
mov esi, eax
cmp esi, ebx
je 0x44c6cc
mov eax, dword [esi + 0xc]
cmp eax, ebx
mov ebx, dword [ebp + 0xc]
je 0x44c661
add eax, edi
push ebx
push eax
call fcn.0047adf4
add esp, 8
test eax, eax
je 0x44c661
mov eax, dword [esi + 0x20]
add esi, 0x14
test eax, eax
jne 0x44c647
cmp dword [esi + 0xc], 0
jne 0x44c680
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push edx
push eax
push ebx
push edi
call fcn.0044c280
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [esi + 0x10]
mov eax, dword [esi + edi]
add esi, edi
test eax, eax
je 0x44c6cc
mov edi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp eax, dword [ebp + 0x10]
jne 0x44c6c2
lea ecx, [ebp - 0xc]
push ecx
push 0x40
push 4
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x44c6c2
push 0
push 4
lea edx, [ebp + 0x14]
push edx
push esi
call ebx
push eax
call edi
test eax, eax
jne 0x44c6d5
mov eax, dword [esi + 4]
add esi, 4
test eax, eax
jne 0x44c698
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44c760
Capabilities:
Allocate or change rwx memory
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1018
call fcn.0046e870
push ebx
xor ebx, ebx
push 0xffc
lea eax, [ebp - 0x1014]
push ebx
push eax
mov dword [ebp - 0x1018], ebx
call fcn.0046e590
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0xc]
push ecx
push 0x1000
lea edx, [ebp - 0x1018]
push edx
push eax
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x44c89a
xor eax, eax
test dword [ebp - 0xc], 0xfffffffc
mov dword [ebp - 4], eax
jbe 0x44c89a
push esi
push edi
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebp + eax*4 - 0x1018]
mov dword [ebp - 8], ecx
cmp dword [ebp + 0xc], ebx
je 0x44c883
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x14]
push eax
push 1
push 1
push edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call dword [sym.imp.dbghelp.dll_ImageDirectoryEntryToDataEx]
mov esi, eax
cmp esi, ebx
je 0x44c883
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x44c820
mov ecx, dword [ebp + 8]
push ecx
add eax, edi
push eax
call fcn.0047adf4
add esp, 8
test eax, eax
je 0x44c820
mov eax, dword [esi + 0x20]
add esi, 0x14
cmp eax, ebx
jne 0x44c803
cmp dword [esi + 0xc], ebx
jne 0x44c83c
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
push edi
call fcn.0044c280
add esp, 0x10
jmp 0x44c883
mov esi, dword [esi + 0x10]
mov eax, dword [esi + edi]
add esi, edi
cmp eax, ebx
je 0x44c883
cmp eax, dword [ebp + 0xc]
jne 0x44c879
lea edx, [ebp - 0x18]
push edx
push 0x40
push 4
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x44c879
push ebx
push 4
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x44c883
mov eax, dword [esi + 4]
add esi, 4
cmp eax, ebx
jne 0x44c848
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
inc eax
shr ecx, 2
mov dword [ebp - 4], eax
cmp eax, ecx
jb 0x44c7c3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44ca70
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4af459
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4e0240]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebp - 0x14], edi
mov eax, dword [0x4e0004]
mov edx, dword [eax + 0xc]
mov ecx, 0x4e0004
mov dword [ebp - 4], edi
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [0x4e0004]
mov edx, dword [eax + 0xc]
mov ebx, 1
mov ecx, 0x4e0004
mov dword [ebp - 4], ebx
call edx
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x14], ebx
call fcn.00459fe0
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax]
push ecx
push edx
lea eax, [ebp - 0x10]
push 0x4b6a0c
push eax
mov byte [ebp - 4], 2
call fcn.00401a85
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
add esp, 0x14
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44cb1e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x10]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push ebx
call edi
mov eax, dword [0x4df4a4]
cmp eax, 0xffffffff
je 0x44cb4e
push eax
push ebx
push str._s_ld
push esi
call fcn.00401a85
mov eax, dword [esi]
add esp, 0x10
push 0
push eax
call edi
jmp 0x44cb59
lea ecx, [ebp - 0x10]
push ecx
mov ecx, esi
call fcn.0040195e
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44cb79
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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
Function at 0x450800
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [eax + 8], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 0xc], ecx
push edx
mov ecx, edi
call fcn.0044b900
test eax, eax
jne 0x45083c
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
cmp dword [0x4e1ff0], 0
jne 0x450868
mov eax, dword [edi + 0x2c]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 0x2c]
push 0
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
mov ecx, edi
call fcn.0044a740
jmp 0x450874
mov edx, dword [edi + 0x2c]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x4b6ad0
lea ecx, [edi + 0x54]
call fcn.00403233
mov eax, dword [edi + 0x64]
mov ecx, dword [edi + 0x60]
cmp ecx, eax
je 0x4508ac
mov edx, dword [ebp + 8]
push edx
push ecx
push eax
push eax
call fcn.0040eac0
mov ebx, eax
mov eax, dword [edi + 0x64]
add esp, 0x10
push eax
push ebx
lea ecx, [edi + 0x60]
call fcn.0040d8a0
mov dword [edi + 0x64], ebx
cmp dword [ebp + 0x10], 0
je 0x4508be
push str.about:blank_first
mov ecx, edi
call fcn.0044b060
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 0xc
Function at 0x452fd0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4afb80
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4e0240]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x30], ebx
push 0x17
push ebx
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
mov dword [ebp - 0x24], 0x6d78734d
mov dword [ebp - 0x20], 0x582e326c
mov dword [ebp - 0x1c], 0x54484c4d
mov word [ebp - 0x18], 0x5054
mov byte [ebp - 0x16], bl
call fcn.00452ce0
mov eax, dword [esi]
cmp dword [eax - 0xc], ebx
jne 0x453073
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x453053
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0046e452
mov esp, ebp
pop ebp
ret 4
push eax
lea ecx, [ebp - 0x34]
call fcn.00452870
push 0x4e1518
push 0x4e1518
mov ecx, 0x45
push 0x4e1518
push ecx
mov ecx, dword [ebp - 0x34]
mov eax, esp
mov dword [ebp - 0x2c], 0x450047
mov dword [ebp - 0x28], 0x54
mov dword [eax], ecx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], esp
cmp eax, ebx
je 0x4530ba
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push ecx
lea edx, [ebp - 0x2c]
mov ecx, esp
mov dword [ebp - 0x3c], esp
push edx
mov byte [ebp - 4], 3
call fcn.00452870
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 4], 4
cmp ecx, ebx
jne 0x4530e2
push 0x80004003
call fcn.00488460
mov byte [ebp - 4], 2
call fcn.00452e40
mov ecx, dword [ebp - 0x30]
cmp ecx, ebx
jne 0x4530fc
push 0x80004003
call fcn.00488460
mov edi, dword [0x4e1518]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [0x4e151c]
mov dword [eax + 4], edi
mov edi, dword [0x4e1520]
mov dword [eax + 8], edi
mov edi, dword [0x4e1524]
mov dword [eax + 0xc], edi
mov eax, dword [edx + 0x2c]
push ecx
mov esi, ecx
call eax
cmp eax, ebx
jge 0x45313e
push 0x4bb67c
push esi
push eax
call fcn.00488480
mov esi, dword [ebp - 0x34]
cmp esi, ebx
je 0x453180
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebx
jne 0x45317d
cmp esi, ebx
je 0x45317d
mov eax, dword [esi]
cmp eax, ebx
je 0x453164
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x453174
push eax
call fcn.0046ec56
add esp, 4
push esi
call fcn.0046d5e2
add esp, 4
mov dword [ebp - 0x34], ebx
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x453192
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, 1
jmp 0x453055
Function at 0x453650
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4afc40
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x4e0240]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ecx, ecx
mov word [ebp - 0x20], cx
mov word [ebp - 0x38], cx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x34], 0x61002e
mov dword [ebp - 0x30], 0x65006c
mov dword [ebp - 0x2c], 0x610078
mov dword [ebp - 0x28], 0x63002e
mov dword [ebp - 0x24], 0x6d006f
mov dword [ebp - 0x54], 0x61002e
mov dword [ebp - 0x50], 0x61006d
mov dword [ebp - 0x4c], 0x6f007a
mov dword [ebp - 0x48], 0x61006e
mov dword [ebp - 0x44], 0x730077
mov dword [ebp - 0x40], 0x63002e
mov dword [ebp - 0x3c], 0x6d006f
mov eax, dword [ecx - 0xc]
or esi, 0xffffffff
mov dword [ebp - 4], 1
test eax, eax
js 0x45370b
lea edx, [ebp - 0x34]
push edx
push ecx
call fcn.0046f2f4
mov ecx, dword [ebp + 0xc]
add esp, 8
test eax, eax
je 0x45370b
sub eax, ecx
sar eax, 1
cmp eax, esi
jne 0x4537bf
cmp dword [ecx - 0xc], 0
jl 0x45372f
lea eax, [ebp - 0x54]
push eax
push ecx
call fcn.0046f2f4
add esp, 8
test eax, eax
je 0x45372f
sub eax, dword [ebp + 0xc]
sar eax, 1
cmp eax, esi
jne 0x4537bf
lea ecx, [ebp + 8]
call fcn.00434f00
push eax
lea ecx, [ebp + 8]
call fcn.0040195e
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 0x1c], 0x650074
mov dword [ebp - 0x18], 0x740078
mov word [ebp - 0x14], dx
cmp dword [ecx - 0xc], edx
jl 0x45377d
lea eax, [ebp - 0x1c]
push eax
push ecx
call fcn.0046f2f4
mov ecx, dword [ebp + 8]
add esp, 8
test eax, eax
je 0x45377d
sub eax, ecx
sar eax, 1
cmp eax, esi
je 0x45377d
lea eax, [ecx - 0x10]
jmp 0x4537c5
lea eax, [ecx - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45379c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov dword [ebp - 4], esi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x4537bb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x453805
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov edx, esi
lea ecx, [eax + 0xc]
mov byte [ebp - 4], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4537e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov dword [ebp - 4], esi
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x453800
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046e452
mov esp, ebp
pop ebp
ret 8
Function at 0x454290
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x4e0240]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x30], 0x740068
mov dword [ebp - 0x2c], 0x700074
mov dword [ebp - 0x28], 0x2f003a
mov dword [ebp - 0x24], 0x77002f
mov dword [ebp - 0x20], 0x770077
mov dword [ebp - 0x1c], 0x62002e
mov dword [ebp - 0x18], 0x690061
mov dword [ebp - 0x14], 0x750064
mov dword [ebp - 0x10], 0x63002e
mov dword [ebp - 0xc], 0x6d006f
mov dword [ebp - 8], 0x2f
mov dword [ebp - 0x64], 0x740068
mov dword [ebp - 0x60], 0x700074
mov dword [ebp - 0x5c], 0x2f003a
mov dword [ebp - 0x58], 0x77002f
mov dword [ebp - 0x54], 0x770077
mov dword [ebp - 0x50], 0x67002e
mov dword [ebp - 0x4c], 0x6f006f
mov dword [ebp - 0x48], 0x6c0067
mov dword [ebp - 0x44], 0x2e0065
mov dword [ebp - 0x40], 0x6f0063
mov dword [ebp - 0x3c], 0x2e006d
mov dword [ebp - 0x38], 0x6b0068
mov dword [ebp - 0x34], 0x2f
call fcn.00471767
cdq
mov ecx, 0x64
idiv ecx
cmp edx, 0x3c
jae 0x45436b
lea edx, [ebp - 0x30]
push edx
jmp 0x454387
cmp edx, 0x55
jae 0x454376
lea eax, [ebp - 0x64]
push eax
jmp 0x454387
cmp edx, 0x5a
jae 0x454382
push str.about:blank
jmp 0x454387
push 0x4b67c8
mov ecx, esi
call fcn.00402008
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0046e452
mov esp, ebp
pop ebp
ret 4
Function at 0x458840
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x4e0240]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
lea ecx, [ebx + 0x124]
call fcn.0043eaa0
mov ecx, edi
mov esi, eax
call fcn.0043eaa0
cmp eax, esi
jne 0x458999
mov ecx, edi
call fcn.0048b030
mov esi, dword [ebx - 0x20]
xor eax, eax
lea ecx, [ebp - 0x38]
push eax
mov edx, ecx
push edx
push eax
push esi
mov dword [ebp - 0x38], 0x6e0049
mov dword [ebp - 0x34], 0x650074
mov dword [ebp - 0x30], 0x6e0072
mov dword [ebp - 0x2c], 0x740065
mov dword [ebp - 0x28], 0x450020
mov dword [ebp - 0x24], 0x700078
mov dword [ebp - 0x20], 0x6f006c
mov dword [ebp - 0x1c], 0x650072
mov dword [ebp - 0x18], 0x5f0072
mov dword [ebp - 0x14], 0x650053
mov dword [ebp - 0x10], 0x760072
mov dword [ebp - 0xc], 0x720065
mov word [ebp - 8], ax
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], eax
call dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
je 0x4588f6
mov dword [ebp - 0x4c], eax
jmp 0x458909
lea eax, [ebp - 0x50]
push eax
push 0x44e5c0
push esi
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x48]
push ecx
push eax
mov dword [ebp - 0x54], eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [ebp - 0x40]
sub edx, dword [ebp - 0x48]
cmp edx, 0xa
jle 0x458968
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x44]
cmp eax, 0xa
jle 0x458968
call fcn.00471767
mov ecx, dword [ebp - 0x40]
sub ecx, dword [ebp - 0x48]
cdq
idiv ecx
mov esi, edx
call fcn.00471767
mov ecx, dword [ebp - 0x3c]
sub ecx, dword [ebp - 0x44]
cdq
idiv ecx
mov ecx, dword [ebp - 0x54]
movzx eax, si
movzx edx, dx
shl edx, 0x10
or edx, eax
push edx
push 0
push 0x200
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
call fcn.00471767
mov esi, eax
and esi, reloc.DSOUND.dll_DirectSoundCreate
jns 0x45897c
dec esi
or esi, 0xfffffffe
inc esi
imul esi, esi, 0x3e8
call fcn.00471767
cdq
mov ecx, 0x3e8
idiv ecx
mov ecx, edi
add edx, esi
push edx
call fcn.0048b0f0
push edi
mov ecx, ebx
call fcn.00451c60
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046e452
mov esp, ebp
pop ebp
ret 4
Function at 0x4597d0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0a5f
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4e0240]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
xor ebx, ebx
mov dword [esi], vtable.MyServerList.0
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
push 0x18
mov dword [ebp - 4], ebx
mov dword [esi + 0x1c], ebx
call fcn.0046dfee
add esp, 4
cmp eax, ebx
je 0x4598cb
mov dword [esi + 0x18], eax
mov dword [eax], eax
mov eax, dword [esi + 0x18]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x18]
mov dword [eax + 8], eax
mov eax, dword [esi + 0x18]
mov byte [eax + 0x14], 1
mov ecx, dword [esi + 0x18]
mov byte [ecx + 0x15], 1
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov edx, dword [ebp + 8]
lea edi, [esi + 0x34]
push edx
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.00402008
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 3
call fcn.0040e6d0
mov eax, dword [edi]
mov byte [ebp - 4], 4
cmp dword [eax - 0xc], ebx
jne 0x4598a5
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x24]
call fcn.0040fa60
push ebx
push edi
push 0x4b9834
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.0040ed70
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.0040f8b0
mov ecx, esi
call fcn.004596d0
push 1
mov ecx, esi
call fcn.00459100
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 4
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x10], ebx
call fcn.0046de16
push 0x4cc34c
lea edx, [ebp - 0x20]
push edx
mov dword [ebp - 0x20], vtable.std::bad_alloc.0
call fcn.0046d951
int3
Function at 0x459e40
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ecx]
test edx, edx
je 0x459e81
push esi
mov esi, dword [ebp + 0xc]
mov eax, esi
push edi
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x459e53
mov ecx, dword [ebp + 8]
sub eax, edi
sar eax, 1
add eax, eax
push eax
push esi
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
test eax, eax
je 0x459e81
xor eax, eax
pop ebp
ret 8
mov eax, 1
pop ebp
ret 8

Function at 0x459ed0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0b2a
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x4e0240]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], 0
push 0x4b7c70
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 1
call fcn.004019fa
push 0x4b7c70
lea ecx, [ebp + 0xc]
call fcn.00401811
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x216]
push ecx
mov word [ebp - 0x218], ax
call fcn.0046e590
add esp, 0xc
push 1
push 0x1a
lea edx, [ebp - 0x218]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov eax, dword [0x4e0004]
mov edx, dword [eax + 0xc]
mov ecx, 0x4e0004
call edx
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x218]
push ecx
push str._s_s_
push esi
mov dword [ebp - 0x21c], 1
call fcn.00401a85
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
add esp, 0x10
mov byte [ebp - 4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x459fbb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046e452
mov esp, ebp
pop ebp
ret
Function at 0x45a370
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0c10
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x4e0240]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x4e2130
lea ecx, [ebp - 0x18]
call fcn.0040e700
mov esi, dword [ebp + 0x18]
mov dword [ebp - 4], 0
test esi, esi
jne 0x45a3b6
mov esi, str.cfg.ini
lea eax, [ebp + 0x18]
push eax
call fcn.0045a080
push esi
push eax
lea ecx, [ebp - 0x10]
push ecx
mov byte [ebp - 4], 1
call fcn.0040336c
mov eax, dword [ebp + 0x18]
add eax, 0xfffffff0
add esp, 0x10
mov byte [ebp - 4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45a3f4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a42e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.0040e730
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x45a450
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0c5c
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x4e0240]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0x228], ecx
push 0x4e2130
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x220], eax
call fcn.0040e700
mov dword [ebp - 4], 0
test esi, esi
jne 0x45a4b9
mov esi, str.cfg.ini
lea edx, [ebp - 0x22c]
push edx
call fcn.0045a080
push esi
push eax
lea eax, [ebp - 0x21c]
push eax
mov byte [ebp - 4], 1
call fcn.0040336c
add esp, 0x10
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a500
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x21c]
mov eax, dword [ebp - 0x228]
push ecx
push 0x104
lea edx, [ebp - 0x218]
push edx
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x224]
call fcn.00402008
mov ecx, dword [ebp - 0x220]
push eax
mov byte [ebp - 4], 4
call fcn.0040195e
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45a56a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a590
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], 0xffffffff
call fcn.0040e730
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046e452
mov esp, ebp
pop ebp
ret