joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4868a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e08f8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x51093c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], ebx
mov esi, dword [eax]
mov dword [ebx + 4], esi
lea edi, [ebx + 8]
mov dword [ebp - 4], 1
push esi
mov ecx, edi
mov dword [ebx], vtable.google::protobuf::FieldOptions.0
mov dword [ebp - 0x10], edi
call fcn.00437280
mov dword [edi + 0xc], 0
mov eax, ebx
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], esi
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov byte [edi + 0x30], 0
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 0x488490
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e0c55
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x51093c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov ecx, dword [ebp + 8]
mov eax, ecx
or eax, 2
mov dword [ebp - 0x14], edi
cmp byte [ebp + 0xc], 0
cmove eax, ecx
mov dword [edi + 4], eax
lea esi, [edi + 8]
mov dword [edi], vtable.google::protobuf::DescriptorProto.0
mov dword [ebp - 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 4], 0
mov dword [ebp - 4], 1
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], ecx
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], ecx
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], ecx
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
push ecx
lea ecx, [esi + 0x78]
mov byte [ebp - 4], 8
call fcn.00414850
mov dword [esi + 0x88], 0
mov eax, edi
mov dword [esi + 0x8c], 0
mov dword [edi + 0x90], 0x514c08
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x488960
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e08f8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x51093c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov edi, dword [ebp + 8]
mov eax, edi
or eax, 2
mov dword [ebp - 0x14], ebx
cmp byte [ebp + 0xc], 0
cmove eax, edi
mov dword [ebx + 4], eax
lea esi, [ebx + 8]
mov dword [ebp - 4], 1
push edi
mov ecx, esi
mov dword [ebx], vtable.google::protobuf::FieldOptions.0
mov dword [ebp - 0x10], esi
call fcn.00437280
mov dword [esi + 0xc], 0
mov eax, ebx
mov dword [esi + 0x10], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [esi + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x488a20
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e0cfa
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x51093c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov edi, dword [ebp + 8]
mov eax, edi
or eax, 2
mov dword [ebp - 0x14], ebx
cmp byte [ebp + 0xc], 0
cmove eax, edi
mov dword [ebx + 4], eax
lea esi, [ebx + 8]
mov dword [ebx], vtable.google::protobuf::FileDescriptorProto.0
mov dword [ebp - 0x10], esi
lea ecx, [esi + 8]
mov dword [esi], 0
mov dword [esi + 4], 0
push edi
mov dword [ebp - 4], 1
mov dword [esi + 4], 0
call fcn.00414850
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
push edi
lea ecx, [esi + 0x58]
mov byte [ebp - 4], 6
call fcn.00414770
push edi
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 7
call fcn.00414770
xorps xmm0, xmm0
mov eax, ebx
movq qword [esi + 0x70], xmm0
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 0
mov dword [ebx + 0x78], 0x514c08
mov dword [ebx + 0x7c], 0x514c08
mov dword [ebx + 0x80], 0x514c08
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x488b60
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e0d28
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x51093c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov esi, dword [ebp + 8]
mov eax, esi
or eax, 2
mov dword [ebp - 0x18], ecx
cmp byte [ebp + 0xc], 0
cmove eax, esi
mov dword [ecx + 4], eax
lea edi, [ecx + 8]
mov dword [ecx], vtable.google::protobuf::FileOptions.0
push esi
mov ecx, edi
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], edi
call fcn.00437280
mov eax, dword [ebp - 0x14]
xorps xmm0, xmm0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], esi
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
movups xmmword [edi + 0x24], xmm0
movups xmmword [edi + 0x34], xmm0
movq qword [edi + 0x44], xmm0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 1
mov byte [edi + 0x58], 1
mov dword [eax + 0x2c], 0x514c08
mov dword [eax + 0x30], 0x514c08
mov dword [eax + 0x34], 0x514c08
mov dword [eax + 0x38], 0x514c08
mov dword [eax + 0x3c], 0x514c08
mov dword [eax + 0x40], 0x514c08
mov dword [eax + 0x44], 0x514c08
mov dword [eax + 0x48], 0x514c08
mov dword [eax + 0x4c], 0x514c08
mov dword [eax + 0x50], 0x514c08
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x489070
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d9c30
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x51093c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp + 8]
xorps xmm0, xmm0
mov eax, ecx
mov dword [ebp - 0x10], edx
or eax, 2
cmp byte [ebp + 0xc], 0
cmove eax, ecx
mov dword [edx + 4], eax
mov eax, edx
mov dword [edx], vtable.google::protobuf::UninterpretedOption.0
mov dword [edx + 8], 0
mov dword [edx + 0xc], 0
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
mov dword [edx + 0x1c], 0
mov dword [edx + 0x20], 0
mov dword [edx + 0x24], 0
mov dword [edx + 0x28], 0
mov dword [edx + 0x30], 0
mov dword [edx + 0x34], 0
mov dword [edx + 0x38], 0
mov dword [edx + 0x3c], 0
movsd qword [edx + 0x40], xmm0
mov dword [edx + 0x20], 0x514c08
mov dword [edx + 0x24], 0x514c08
mov dword [edx + 0x28], 0x514c08
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x49b060
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x58
mov eax, dword [0x51093c]
xor eax, esp
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x64]
mov eax, 0x92492493
push ebx
mov ebx, dword [esp + 0x64]
sub ecx, ebx
imul ecx
push ebp
add edx, ecx
mov dword [esp + 0xc], ebx
push esi
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
push edi
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x18], edi
test esi, esi
jle 0x49b1fe
mov edx, dword [esp + 0x78]
mov ebp, esi
sar ebp, 1
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
lea eax, [ebp*8]
sub eax, ebp
lea ecx, [ebx + eax*4]
mov eax, dword [edx]
mov ebx, dword [edx + 4]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x2c]
push ecx
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x80]
push eax
mov dword [esp + 0x28], ebx
call fcn.0049c7c0
mov edi, dword [esp + 0x30]
lea eax, [esp + 0x3c]
push ebx
push 0
push eax
lea ecx, [esp + 0x38]
call fcn.00478820
lea ecx, [esp + 0x1c]
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0x4c]
push edi
push 0
push eax
call fcn.00478820
mov ecx, eax
call fcn.0049cc40
test eax, eax
je 0x49b12c
mov edi, dword [esp + 0x10]
shr eax, 0x1f
jmp 0x49b1d8
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x30]
jne 0x49b157
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esp + 0x30]
push dword [esp + 0x30]
call fcn.0044a5e0
mov edi, dword [esp + 0x20]
add esp, 0x10
jmp 0x49b1d8
push dword [esp + 0x7c]
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x50]
push eax
mov ecx, edi
call fcn.0049bc80
sub esp, 8
lea eax, [esp + 0x54]
cmp dword [esp + 0x68], 0x10
mov ecx, esp
cmovae eax, dword [esp + 0x54]
mov dword [ecx], eax
mov dword [ecx + 4], 0
mov eax, dword [esp + 0x64]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x80]
push dword [eax + 4]
push dword [eax]
call fcn.0044a5e0
mov edx, dword [esp + 0x70]
add esp, 0x10
mov bl, al
cmp edx, 0x10
jb 0x49b1d6
mov ecx, dword [esp + 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x49b1cc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49b215
push edx
push ecx
call fcn.004a2127
add esp, 8
mov al, bl
test al, al
je 0x49b1e4
mov ebx, dword [esp + 0x14]
mov esi, ebp
jmp 0x49b1f2
or eax, 0xffffffff
lea ebx, [edi + 0x1c]
sub eax, ebp
mov dword [esp + 0x14], ebx
add esi, eax
test esi, esi
jg 0x49b0a3
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x64]
mov eax, edi
mov dword [edi], ebx
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004a2135
add esp, 0x58
ret
call fcn.004bd25c
int3
Function at 0x49cfd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e1648
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x51093c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0xc]
mov dword [ebp - 4], 0
mov dword [esi], vtable.google::protobuf::DynamicMessageFactory.0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
call fcn.0049cf30
push 0x30
lea eax, [esi + 0x30]
mov dword [esi + 0x2c], 0
push 0
push eax
call fcn.004b9fc0
add esp, 0xc
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4a52fb
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x4cea97
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004ce90d
Function at 0x401000
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x42fc20]
xor eax, ebp
mov dword [ebp - 4], eax
push dword [ebp + 8]
push 0x4287ac
call fcn.004042f0
pop ecx
pop ecx
mov dword [ebp - 0x418], eax
test eax, eax
jne 0x40111b
push ebx
push esi
push edi
mov esi, 0x206
push esi
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00411980
xor eax, eax
push esi
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.00411980
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, 0x433ca0
mov ebx, edi
cmp word [ebx], 0
je 0x4010ac
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.0040f90d
push ebx
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.0040f97c
add esp, 0x18
add ebx, 0x118
cmp ebx, 0x434218
jl 0x401081
cmp word [edi], 0
je 0x4010d3
push 1
push dword [ebp + 8]
push 0x4287ac
push edi
call fcn.00404f50
add esp, 0x10
add edi, 0x118
cmp edi, 0x434218
jl 0x4010ba
push 0x434a70
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0040f97c
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
pop edi
pop esi
pop ebx
cmp eax, 0xffffffff
jne 0x401115
mov dword [ebp - 0x418], 2
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040f8fe
leave
ret
Function at 0x40137c
Capabilities:
Check if file exists
Create process on windows
Get common file path
Get file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x214
mov eax, dword [0x42fc20]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.USER32.dll_LoadStringW]
push 0x64
push 0x433bd0
push 0x67
push esi
call edi
push 0x64
mov ebx, 0x433b08
push ebx
push 0x6d
push esi
call edi
mov eax, esi
call fcn.0040151e
xor edi, edi
push edi
push esi
push edi
push edi
push edi
mov eax, connect
push eax
push edi
push eax
push 0xcf0000
push 0x433bd0
push ebx
push edi
mov dword [0x433c98], esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
test eax, eax
jne 0x401406
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0040f8fe
mov esp, ebp
pop ebp
ret 0x10
push 0x6d
push esi
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
push 0x430f90
call fcn.004026b0
mov dword [esp], 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00401d53
test eax, eax
je 0x40143b
call fcn.004031c0
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.004018d0
test eax, eax
je 0x4013ed
test byte [0x43421c], 7
je 0x401452
call fcn.00401127
mov eax, dword [0x4344f8]
cmp eax, edi
jbe 0x40147d
cmp word [0x4344fc], di
jbe 0x40147d
push 0x430f9c
push eax
call fcn.00403f70
mov ax, word [0x4344fc]
pop ecx
pop ecx
mov word [0x430fac], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x3e8
xor edx, edx
mov esi, ecx
div esi
xor edx, edx
mov ebx, 0x434a70
div ecx
push edx
push 0x42885c
push ebx
call fcn.00401a5b
add esp, 0xc
call fcn.00404020
xor eax, eax
push 0x206
mov word [esp + 0x14], ax
lea eax, [esp + 0x16]
push edi
push eax
call fcn.00411980
add esp, 0xc
lea eax, [esp + 0x10]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push ebx
lea eax, [esp + 0x14]
push esi
push eax
call fcn.0040f97c
add esp, 0xc
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x401434
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
push edi
push 0x428858
lea eax, [esp + 0x1c]
push eax
push edi
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x401434
Function at 0x401600
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x398]
sub esp, 0x418
mov eax, dword [0x42fc20]
xor eax, ebp
mov dword [ebp + 0x394], eax
push ebx
push esi
push edi
xor eax, eax
mov esi, 0x206
xor edi, edi
push esi
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push edi
push eax
mov dword [ebp - 0x80], edi
call fcn.00411980
xor eax, eax
push esi
mov word [ebp + 0x18c], ax
lea eax, [ebp + 0x18e]
push edi
push eax
call fcn.00411980
add esp, 0x18
push 0x104
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
xor eax, eax
mov word [ebp - 0x78], ax
push 0x428878
lea eax, [ebp - 0x7c]
push eax
mov ebx, 0x4288bc
lea eax, [ebp + 0x18c]
push ebx
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
add esp, 0x10
lea eax, [ebp + 0x18c]
push eax
call edi
cmp eax, 0xffffffff
je 0x4016a4
mov dword [ebp - 0x80], 1
push 0x4288c8
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x18c]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp + 0x18c]
push eax
call edi
cmp eax, 0xffffffff
je 0x4016cc
or dword [ebp - 0x80], 2
push 0x428910
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x18c]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp + 0x18c]
push eax
call edi
cmp eax, 0xffffffff
je 0x4016f4
or dword [ebp - 0x80], 4
push 0x428960
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x18c]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp + 0x18c]
push eax
call edi
cmp eax, 0xffffffff
je 0x40171f
or dword [ebp - 0x80], 0x100
push 0x4289b8
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x18c]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp + 0x18c]
push eax
call edi
cmp eax, 0xffffffff
je 0x40174a
or dword [ebp - 0x80], 0x200
push 0x428a10
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x18c]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp + 0x18c]
push eax
call edi
pop edi
pop esi
pop ebx
cmp eax, 0xffffffff
je 0x401778
or dword [ebp - 0x80], 0x400
mov ecx, dword [ebp + 0x394]
mov eax, dword [ebp - 0x80]
xor ecx, ebp
or eax, 0x2000000
call fcn.0040f8fe
add ebp, 0x398
leave
ret
Function at 0x4018d0
Capabilities:
Create thread
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3a4
mov eax, dword [0x42fc20]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
mov word [ebp - 0x210], ax
xor ebx, ebx
lea eax, [ebp - 0x20e]
push ebx
push eax
call fcn.00411980
add esp, 0xc
lea eax, [ebp - 0x3a0]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0x434670
call fcn.00401a76
pop ecx
test eax, eax
jne 0x4019cb
movzx ecx, word [eax + 0x428a70]
mov word [eax + 0x434818], cx
inc eax
inc eax
cmp cx, bx
jne 0x40192b
push 0x428a7c
push 0x40
push 0x434674
call fcn.0040f90d
add esp, 0xc
push 0x428a98
push 0x10
push 0x4346f6
call fcn.0040f90d
add esp, 0xc
push 0x428aa4
push 0x40
push 0x434716
call fcn.0040f90d
add esp, 0xc
push 0x51
pop eax
mov word [0x4346f4], ax
mov eax, 0x2b70
mov word [0x434796], ax
xor eax, eax
movzx ecx, word [eax + 0x428ac0]
mov word [eax + 0x4347f8], cx
inc eax
inc eax
cmp cx, bx
jne 0x401992
mov edi, 0x4347f8
dec edi
dec edi
mov ax, word [edi + 2]
inc edi
inc edi
cmp ax, bx
jne 0x4019ae
mov esi, 0x428ad0
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [0x434838], 5
call fcn.00403780
lea eax, [ebp - 0x210]
push eax
call fcn.00403670
pop ecx
xor eax, eax
movzx ecx, word [ebp + eax - 0x210]
mov word [eax + 0x434630], cx
inc eax
inc eax
cmp cx, bx
jne 0x4019df
mov esi, 0x434630
push esi
push ebx
push 0x20000
call dword [sym.imp.KERNEL32.dll_OpenEventW]
cmp eax, ebx
je 0x401a16
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x401a4c
push esi
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
test eax, eax
je 0x401a12
push 0x428aa4
call fcn.004038a0
pop ecx
mov dword [0x4344f8], eax
call fcn.00401795
push ebx
push ebx
push ebx
push 0x403e20
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040f8fe
leave
ret
Function at 0x401b08
Capabilities:
Get common file path
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x42fc20]
xor eax, ebp
mov dword [ebp + 0x190], eax
push esi
xor esi, esi
mov dword [ebp - 0x80], esi
cmp ebx, esi
je 0x401bf9
cmp edi, esi
je 0x401bf9
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, si
jne 0x401b3e
sub eax, edx
sar eax, 1
je 0x401bf9
xor eax, eax
push 0x206
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x76]
push esi
push eax
call fcn.00411980
add esp, 0xc
cmp dword [ebp + 0x19c], esi
jne 0x401b9f
cmp dword [0x430f90], 3
jne 0x401b9f
mov esi, 0x104
push esi
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x428af4
lea eax, [ebp - 0x78]
push esi
push eax
call fcn.0040f97c
add esp, 0xc
jmp 0x401baf
lea eax, [ebp - 0x78]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push edi
lea eax, [ebp - 0x78]
push esi
push eax
call fcn.0040f97c
and dword [ebp - 0x7c], 0
push 0x428af8
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.0040fc5f
add esp, 0x18
cmp dword [ebp - 0x7c], 0
je 0x401bf9
push dword [ebp - 0x7c]
xor esi, esi
inc esi
push esi
push 0x200
push ebx
call fcn.0040ff52
push dword [ebp - 0x7c]
call fcn.0040ffe6
add esp, 0x14
mov dword [ebp - 0x80], esi
mov ecx, dword [ebp + 0x190]
mov eax, dword [ebp - 0x80]
xor ecx, ebp
pop esi
call fcn.0040f8fe
add ebp, 0x194
leave
ret

Function at 0x401ca4
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x42fc20]
xor eax, ebp
mov dword [ebp + 0x18c], eax
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
xor esi, esi
call fcn.00411980
and dword [ebp - 0x80], esi
add esp, 0xc
test edi, edi
je 0x401d38
lea eax, [ebp - 0x7c]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x428ad8
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.0040f97c
push 0x428b18
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.0040fc5f
xor esi, esi
add esp, 0x18
inc esi
cmp dword [ebp - 0x80], 0
je 0x401d38
push dword [ebp - 0x80]
push esi
push 0x200
push edi
call fcn.004101c4
push dword [ebp - 0x80]
call fcn.0040ffe6
add esp, 0x14
mov ecx, dword [ebp + 0x18c]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0040f8fe
add ebp, 0x190
leave
ret