joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f4c7
Capabilities:
Accept command line arguments
Create process on windows
Create process suspended

Disassembly:
push 0x12c
mov eax, 0x4525cb
call fcn.00414323
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xd1]
push 0
mov ebx, 0x453410
mov dword [ebp - 0x40], 0x453408
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x18], ebx
call fcn.00401519
and dword [ebp - 4], 0
lea eax, [ebp - 0xf4]
mov esi, 0x104
lea ecx, [ebp - 0x40]
push esi
push eax
call fcn.004046d2
mov ecx, dword [eax]
mov byte [ebp - 4], 1
mov byte [eax + 4], 1
call fcn.00404677
push esi
push dword [eax]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0
call fcn.00403999
mov dword [ebp - 0x48], ebx
lea eax, [ebp - 0xd1]
xor ebx, ebx
mov dword [ebp - 0x70], 0x453408
push ebx
push eax
push str.IsRegSpy64.exe
lea ecx, [ebp - 0x70]
call fcn.0040157a
push ebx
push ebx
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x40]
call fcn.00404816
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
push ecx
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.0040e2c8
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.00401abb
lea ecx, [ebp - 0xa0]
call fcn.00401a1b
lea ecx, [ebp - 0xd0]
call fcn.00401a1b
lea ecx, [ebp - 0x70]
call fcn.00401a1b
push 0x44
lea eax, [ebp - 0x138]
push ebx
push eax
call fcn.00416870
add esp, 0xc
lea esi, [ebp - 0x3c]
cmp dword [ebp - 0x28], 8
mov eax, 0x80004004
mov dword [ebp - 0xd8], eax
xorps xmm0, xmm0
cmovae esi, dword [ebp - 0x3c]
lea eax, [ebp - 0xe8]
push eax
movups xmmword [ebp - 0xe8], xmm0
lea eax, [ebp - 0x138]
push eax
push edi
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40f657
push 0xffffffffffffffff
push dword [ebp - 0xe8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0xd8]
push eax
push dword [ebp - 0xe8]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [ebp - 0xd8]
test eax, eax
push dword [ebp - 0xe8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x80004004
cmove ecx, eax
mov dword [ebp - 0xd8], ecx
call esi
push dword [ebp - 0xe4]
call esi
mov esi, dword [ebp - 0xd8]
lea ecx, [ebp - 0x40]
call fcn.00401a1b
mov eax, esi
call fcn.004142cd
ret 4
Function at 0x411c61
Capabilities:
Parse pe header

Disassembly:
push 0x2c
mov eax, 0x45299d
call fcn.0041435a
mov esi, dword [ebp + 8]
test esi, esi
je 0x411dc0
mov ebx, dword [ebp + 0x18]
lea eax, [ebp + 8]
push eax
mov ecx, ebx
call fcn.00411468
cmp eax, dword [ebx]
je 0x411c8f
cmp esi, dword [eax + 0x10]
jae 0x411c91
mov eax, dword [ebx]
cmp eax, dword [ebx]
jne 0x411dc0
push dword [ebp + 8]
lea eax, [ebp + 8]
mov ecx, ebx
push eax
push 0
lea eax, [ebp - 0x18]
push eax
call fcn.00411363
mov edi, dword [ebp + 8]
and dword [ebp - 4], 0
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 0x40
push edi
call ebx
test eax, eax
je 0x411ccd
mov eax, 0x8000ffff
jmp 0x411dc2
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x411cc3
mov esi, dword [edi + 0x3c]
push 0xf8
add esi, edi
push esi
call ebx
test eax, eax
jne 0x411cc3
cmp dword [esi], 0x4550
jne 0x411cc3
mov ebx, dword [esi + 0x80]
add ebx, edi
cmp ebx, esi
je 0x411cc3
xor ecx, ecx
inc ecx
mov dword [ebp + 8], ecx
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x411dc0
test ecx, ecx
je 0x411dc0
push dword [ebp + 0xc]
lea esi, [eax + edi]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x411d93
mov ecx, dword [ebp + 8]
cmp dword [ebx + 0xc], eax
je 0x411d02
mov esi, dword [ebx + 0x10]
add esi, edi
cmp dword [esi], eax
je 0x411d88
mov eax, dword [ebp + 0x14]
mov dword [ebp + 8], eax
push dword [ebp + 0x1c]
push dword [esi]
push dword [ebp + 0x10]
call fcn.00411ae6
add esp, 0xc
mov dword [ebp - 0x14], eax
test eax, eax
je 0x411d80
push 0x1c
lea eax, [ebp - 0x38]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x411d80
lea eax, [ebp - 0x1c]
push eax
push 4
push dword [ebp - 0x2c]
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x411d80
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
add esi, 4
cmp dword [esi], 0
jne 0x411d3d
mov ecx, dword [ebp + 8]
add ebx, 0x14
jmp 0x411d02
cmp dword [ebp + 0x14], 0
je 0x411d88
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call fcn.00411c61
add esp, 0x18
jmp 0x411d88
xor eax, eax
call fcn.004142b8
ret

Function at 0x43e5b4
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043dd8e

Function at 0x43e5bf
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043dfc9

Function at 0x43f1ec
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043ef73
Function at 0x403710
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4bb97b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4eaf00]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0049f829
push 4
mov dword [esp + 0x24], 0
call fcn.0045afb4
mov edi, eax
add esp, 4
test edi, edi
je 0x403794
call fcn.0049f63f
mov dword [edi], eax
call fcn.0049f473
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.0049f8c0
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x403789
add eax, 1
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.0049f8e1
jmp 0x403796
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x4072a0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4bbb48
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x4eaf00]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
xor edi, edi
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], edi
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], edi
mov word [esp + 0x1c], di
call fcn.00405820
mov eax, 0x4cddc8
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
jmp 0x407300
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x407300
sub eax, edx
sar eax, 1
push eax
push 0x4cddc8
lea ecx, [esp + 0x14]
call fcn.00407940
push 0xffffffffffffffff
push edi
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push eax
mov ecx, esi
mov word [esi + 4], di
call fcn.00405820
cmp dword [esp + 0x24], 8
jb 0x40734b
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0045afe4
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret
Function at 0x409ed0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4bee86
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x4eaf00]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov eax, dword [esi]
test eax, eax
je 0x409fa8
push 0
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push eax
mov dword [esi + 4], eax
lea eax, [esp + 0x20]
push eax
call fcn.00408bd0
push 1
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0xc0], 0
call fcn.00409910
mov dword [esp + 4], vtable.boost::archive::binary_oarchive.0
mov byte [esp + 0xb8], 1
call fcn.0040fe20
push eax
lea edx, [esi + 8]
push edx
lea ecx, [esp + 0xc]
call fcn.004a44b0
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea ecx, [esp + 4]
mov byte [esp + 0xb8], 0
call fcn.00408360
lea ecx, [esp + 0x74]
mov dword [esp + 0xb8], 0xffffffff
call fcn.00408cb0
lea ecx, [esp + 0x74]
push ecx
mov dword [esp + 0x78], vtable.std::ios_base.0
call fcn.0049f7e6
add esp, 4
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x40ba80
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4bedf6
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
push edi
mov eax, dword [0x4eaf00]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov eax, dword [esi]
test eax, eax
je 0x40bb62
push 0
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push eax
mov dword [esi + 4], eax
lea eax, [esp + 0x28]
push eax
call fcn.00408a20
push 1
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0xc8], 0
call fcn.004097c0
mov dword [esp + 0xc], vtable.boost::archive::binary_iarchive.0
mov byte [esp + 0xc0], 1
lea edi, [esi + 8]
call fcn.0040fec0
push eax
push edi
lea ecx, [esp + 0x14]
call fcn.004a3200
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea ecx, [esp + 0xc]
mov byte [esp + 0xc0], 0
call fcn.004082f0
lea ecx, [esp + 0x80]
mov dword [esp + 0xc0], 0xffffffff
call fcn.00408b00
lea eax, [esp + 0x80]
push eax
mov dword [esp + 0x84], vtable.std::ios_base.0
call fcn.0049f7e6
add esp, 4
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x410c40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x410c59
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x410c94
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x410c90
lea ebx, [ebx]
cmp esi, eax
jae 0x410c94
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x410c80
cmp esi, eax
jb 0x410c9a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x4122e0
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
xor ebx, ebx
push esi
mov esi, eax
mov dword [esi], vtable.tping.0
mov dword [esi + 4], 1
mov dword [esi + 0x18], 0xffffffff
mov byte [esi + 0x1c], bl
mov dword [esi + 0x24], 0x4d74
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
call fcn.004123d0
test al, al
je 0x412345
mov ecx, esi
call fcn.00412430
test al, al
je 0x412345
call fcn.004124d0
test al, al
je 0x412345
push esi
push ebx
push 0x412560
call fcn.0047c976
add esp, 0xc
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, esi
pop esi
pop ebx
pop ecx
ret

Function at 0x4123d0
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x19c
mov eax, dword [0x4eaf00]
xor eax, esp
mov dword [esp + 0x194], eax
push 0x18e
lea eax, [esp + 6]
push 0
push eax
mov word [esp + 0xc], 0
call fcn.0047fa50
add esp, 0xc
lea ecx, [esp]
push ecx
push 0x102
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov ecx, dword [esp + 0x194]
test eax, eax
sete al
xor ecx, esp
call fcn.0047b434
add esp, 0x19c
ret

Function at 0x412430
Capabilities:
Get hostname
Resolve dns

Disassembly:
sub esp, 0x104
mov eax, dword [0x4eaf00]
xor eax, esp
mov dword [esp + 0x100], eax
xor eax, eax
push esi
mov esi, ecx
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
push 0x2a82
mov word [esi + 8], 2
call dword [sym.imp.WS2_32.dll_htons]
mov word [esi + 0xa], ax
push 0xff
lea eax, [esp + 8]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
je 0x412496
xor al, al
pop esi
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.0047b434
add esp, 0x104
ret
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
movsx edx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
push edx
push ecx
add esi, 0xc
push esi
call fcn.004808c0
mov ecx, dword [esp + 0x110]
add esp, 0xc
pop esi
xor ecx, esp
mov al, 1
call fcn.0047b434
add esp, 0x104
ret
Function at 0x412446
Capabilities:
Get hostname
Resolve dns

Disassembly:
sub esp, 0x104
mov eax, dword [0x4eaf00]
xor eax, esp
mov dword [esp + 0x100], eax
xor eax, eax
push esi
mov esi, ecx
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
push 0x2a82
mov word [esi + 8], 2
call dword [sym.imp.WS2_32.dll_htons]
mov word [esi + 0xa], ax
push 0xff
lea eax, [esp + 8]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
je 0x412496
xor al, al
pop esi
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.0047b434
add esp, 0x104
ret
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
movsx edx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
push edx
push ecx
add esi, 0xc
push esi
call fcn.004808c0
mov ecx, dword [esp + 0x110]
add esp, 0xc
pop esi
xor ecx, esp
mov al, 1
call fcn.0047b434
add esp, 0x104
ret

Function at 0x4124d0
Capabilities:
Create raw socket
Create udp socket

Disassembly:
sub esp, 0x30
push 0
push 3
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [esi + 0x18], eax
jne 0x4124ed
xor al, al
add esp, 0x30
ret
push 0x10
lea ecx, [esi + 8]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
jne 0x4124e7
push eax
push eax
lea edx, [esp + 8]
push edx
mov edx, dword [esi + 0x18]
push 0x28
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0x18]
push eax
push 4
lea ecx, [esp + 0x1c]
push ecx
push 0x98000001
push edx
mov dword [esp + 0x28], 1
call dword [sym.imp.WS2_32.dll_WSAIoctl]
mov al, 1
add esp, 0x30
ret
Function at 0x412570
Capabilities:
Act as tcp client
Check for time delay via gettickcount
Connect socket
Connect tcp socket
Create tcp socket
Set socket configuration

Disassembly:
sub esp, 0x1c
mov eax, dword [0x4eaf00]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push ebp
mov ebp, dword [esp + 0x28]
push edi
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
push 4
mov edi, eax
lea eax, [esp + 0x14]
push eax
push 0xffffff7f
push 0xffff
xor ebx, ebx
push edi
mov dword [esp + 0x24], ebx
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp edi, 0xffffffff
jne 0x4125cc
xor al, al
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0047b434
add esp, 0x1c
ret 4
push ebp
mov byte [esi + 0x1c], 1
call dword [sym.imp.WS2_32.dll_inet_addr]
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x20], eax
call ebp
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x28], eax
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
push 0x4d2
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov word [esp + 0x18], 2
mov dword [esp + 0x1c], ecx
call dword [sym.imp.WS2_32.dll_htons]
push 0x10
lea edx, [esp + 0x18]
push edx
push edi
mov word [esp + 0x22], ax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x41263b
call ebp
sub eax, dword [esi + 0x28]
cmp byte [esi + 0x1c], bl
mov dword [esi + 0x2c], eax
je 0x412638
mov dword [esi + 0x30], ebx
mov byte [esi + 0x1c], bl
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
cmp byte [esi + 0x1c], bl
je 0x412663
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [esi + 0x1c], bl
je 0x412663
or eax, 0xffffffff
mov byte [esi + 0x1c], bl
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov ecx, dword [esp + 0x24]
pop edi
pop ebp
pop ebx
xor ecx, esp
mov al, 1
call fcn.0047b434
add esp, 0x1c
ret 4
Function at 0x4136d0
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x4c00af
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4eaf00]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
mov dword [esi], vtable.CWebLauncherDlg.0
mov dword [esi + 0x74], vtable.CWebLauncherDlg.1.0
mov dword [esp + 0x1c], 4
mov eax, dword [esi + 0x1c0]
xor ebx, ebx
cmp eax, ebx
je 0x413721
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, dword [esi + 0x190]
cmp edi, ebx
je 0x413749
mov ebp, dword [edi]
cmp ebp, ebx
je 0x413740
push ebp
call fcn.00423f10
push ebp
call fcn.0045afe4
add esp, 4
push edi
call fcn.0045afe4
add esp, 4
xor ecx, ecx
push ecx
mov ecx, dword [0x4f3b20]
mov eax, method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_52
push eax
push esi
call fcn.0041b670
xor ecx, ecx
push ecx
mov ecx, dword [0x4f3b20]
mov eax, 0x415940
push eax
push esi
call fcn.0041b700
xor ecx, ecx
push ecx
mov ecx, dword [0x4f3b20]
mov eax, fcn.00414230
push eax
push esi
call fcn.0041b790
xor ecx, ecx
push ecx
mov ecx, dword [0x4f3b20]
mov eax, 0x4140b0
push eax
push esi
call fcn.0041b820
xor ecx, ecx
push ecx
mov ecx, dword [0x4f3b20]
mov eax, 0x413b50
push eax
push esi
call fcn.0041b8b0
lea edi, [esi + 0x1cc]
push edi
call fcn.0041b200
mov eax, dword [edi + 4]
push eax
call fcn.0045afe4
add esp, 4
lea eax, [esi + 0x1b4]
mov dword [edi + 4], ebx
mov byte [esp + 0x1c], 2
call fcn.0040ba00
mov edi, 0x10
cmp dword [esi + 0x1ac], edi
jb 0x4137f9
mov eax, dword [esi + 0x198]
push eax
call fcn.0045afe4
add esp, 4
mov ebp, 0xf
mov dword [esi + 0x1ac], ebp
mov dword [esi + 0x1a8], ebx
mov byte [esi + 0x198], bl
mov eax, dword [esi + 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi + 0x188], edi
jb 0x413834
mov eax, dword [esi + 0x174]
push eax
call fcn.0045afe4
add esp, 4
mov dword [esi + 0x188], ebp
mov dword [esi + 0x184], ebx
mov byte [esi + 0x174], bl
cmp dword [esi + 0x16c], edi
jb 0x41385d
mov eax, dword [esi + 0x158]
push eax
call fcn.0045afe4
add esp, 4
mov dword [esi + 0x16c], ebp
mov dword [esi + 0x168], ebx
mov ecx, esi
mov byte [esi + 0x158], bl
mov dword [esp + 0x1c], 0xffffffff
call fcn.00420760
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
Function at 0x4138a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c05b0
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x4eaf00]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
mov eax, dword [0x4eaf00]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov edi, ecx
call fcn.004209d0
call fcn.00408f50
lea eax, [esp + 0x50]
push eax
call fcn.00441c40
add esp, 4
push eax
lea ecx, [esp + 0x38]
push str.file:___
xor ebx, ebx
push ecx
mov dword [esp + 0xa4], ebx
call fcn.0040d910
add esp, 0xc
push str...cfgwebluncher_loading.html
push eax
lea edx, [esp + 0x74]
push edx
mov byte [esp + 0xa4], 1
call fcn.0040d7a0
add esp, 0xc
mov esi, 0x10
cmp dword [esp + 0x4c], esi
jb 0x413945
mov eax, dword [esp + 0x38]
push eax
call fcn.0045afe4
add esp, 4
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
mov byte [esp + 0x98], 4
cmp dword [esp + 0x68], esi
jb 0x413970
mov ecx, dword [esp + 0x54]
push ecx
call fcn.0045afe4
add esp, 4
push 0x148
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
call fcn.0045afb4
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x98], 5
je 0x4139b7
cmp dword [esp + 0x84], esi
mov ecx, dword [esp + 0x70]
jae 0x4139ae
lea ecx, [esp + 0x70]
push ecx
push eax
call fcn.004204b0
jmp 0x4139b9
xor eax, eax
mov byte [esp + 0x98], 4
push 0x15
mov dword [edi + 0x1d8], eax
push str.rider:__command.exit_
lea ecx, [esp + 0x20]
mov dword [eax + 0x114], 0xc8
mov dword [eax + 0x118], 0x32
mov esi, 0x41ab50
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.00404400
mov byte [esp + 0x98], 6
sub esp, 0xc
mov ecx, esi
mov esi, esp
mov dword [esp + 0x1c], esp
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov ecx, edi
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [eax + 0xc], ecx
call fcn.0041d560
mov eax, dword [edi + 0x1d8]
lea edx, [esp + 0x24]
push edx
push eax
call fcn.00420800
mov esi, 0x10
mov byte [esp + 0x98], 4
cmp dword [esp + 0x30], esi
jb 0x413a69
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0045afe4
add esp, 4
mov ecx, dword [edi + 0x1d8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x134]
push edi
push 0x82
call eax
mov ecx, dword [edi + 0x1d8]
push 5
call fcn.00462e9f
push edi
push ebx
push 0x415010
call fcn.0047c976
add esp, 0xc
cmp dword [esp + 0x84], esi
jb 0x413ab1
mov ecx, dword [esp + 0x70]
push ecx
call fcn.0045afe4
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0047b434
mov esp, ebp
pop ebp
ret
Function at 0x422350
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4bcf25
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x4eaf00]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
push 0x4cdcd7
mov ecx, esi
call fcn.00410a00
xor ebx, ebx
push 0x4cdcd7
lea ecx, [esi + 4]
mov dword [esp + 0x18], ebx
call fcn.00410a00
push 0x4cdcd7
lea ecx, [esi + 8]
mov byte [esp + 0x18], 1
call fcn.00410a00
push 0x4cdcd7
lea ecx, [esi + 0xc]
mov byte [esp + 0x18], 2
call fcn.00410a00
push 0x4cdcd7
lea ecx, [esi + 0x10]
mov byte [esp + 0x18], 3
call fcn.00410a00
push 0x4cdcd7
lea ecx, [esi + 0x14]
mov byte [esp + 0x18], 4
call fcn.00410a00
push 0x4cdcd7
lea ecx, [esi + 0x18]
mov byte [esp + 0x18], 5
call fcn.00410a00
mov byte [esp + 0x14], 6
push 0x4cdcd7
lea ecx, [esi + 0x24]
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
call fcn.00410a00
mov byte [esp + 0x14], 7
lea ecx, [esi + 0x30]
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push 0x4cdcd7
mov byte [ecx + 4], bl
call fcn.00404400
mov dword [esi + 0x64], 0xf
mov dword [esi + 0x60], ebx
mov byte [esi + 0x50], bl
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4

Function at 0x422d90
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4bd9cb
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4eaf00]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov eax, dword [edi]
mov dword [esi], eax
mov ecx, dword [edi + 4]
mov dword [esi + 4], ecx
push 0xffffffffffffffff
lea ecx, [esi + 8]
lea eax, [edi + 8]
push 0
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
push eax
mov byte [ecx + 4], 0
call fcn.00404320
mov dword [esp + 0x14], 0
mov edx, dword [edi + 0x24]
mov dword [esi + 0x24], edx
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x2c]
mov dword [esi + 0x2c], ecx
mov edx, dword [edi + 0x30]
mov dword [esi + 0x30], edx
mov eax, dword [edi + 0x34]
lea edx, [esi + 0x38]
lea ecx, [edi + 0x38]
push edx
mov dword [esi + 0x34], eax
call fcn.00412020
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4