joyce8/EMBER2024-capa huggingface dataset:
Function at 0x752c00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47f800
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
push edi
mov esi, ecx
call fcn.00750800
mov ebx, eax
test ebx, ebx
mov dword [esp + 0xc], ebx
jne 0x752c59
mov eax, dword [esp + 0x68]
xor ecx, ecx
mov ebx, eax
xor edx, edx
xor esi, esi
xor edi, edi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
push ebp
mov ecx, ebx
call fcn.0074dc70
mov ebp, dword [esp + 0x70]
mov edi, eax
add edi, ebp
mov ecx, ebx
mov dword [esp + 0x28], edi
call fcn.0074dc60
mov edx, dword [esp + 0x74]
mov ecx, esi
add eax, edx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
call fcn.007522b0
mov ebp, dword [eax]
lea edx, [esp + 0x38]
push edx
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x1c]
push eax
mov dword [esp + 0x24], ecx
call dword [fcn.00482600]
push 0
lea ecx, [esp + 0x4c]
call fcn.0079851f
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], 0
call fcn.00761b90
add esp, 0xc
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x18]
call fcn.00750260
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x38]
push 2
push edx
push eax
mov byte [esp + 0x70], 1
call dword [fcn.00482164]
mov ecx, ebx
call fcn.0074dbe0
mov ebx, eax
mov eax, edi
cmp eax, ebx
jge 0x752d24
push edi
mov ecx, esi
call fcn.00750370
push eax
push ebp
mov ecx, esi
call fcn.00750530
cmp eax, dword [esp + 0x40]
jg 0x752d20
inc edi
mov ebp, eax
cmp edi, ebx
jl 0x752cfe
mov eax, ebx
jmp 0x752d2a
cmp edi, ebx
jl 0x752d28
mov eax, ebx
jmp 0x752d2a
mov eax, edi
lea ecx, [eax - 1]
mov eax, dword [esp + 0x28]
cmp eax, ecx
jle 0x752d3b
mov dword [esp + 0x30], eax
jmp 0x752d46
cmp edi, ebx
jl 0x752d41
mov edi, ebx
dec edi
mov dword [esp + 0x30], edi
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
call fcn.0074dba0
mov ebp, eax
mov eax, dword [esp + 0x2c]
cmp eax, ebp
mov edi, eax
jge 0x752d8d
push edi
mov ecx, esi
call fcn.00750290
push eax
push ebx
mov ecx, esi
call fcn.00750660
cmp eax, dword [esp + 0x44]
jg 0x752d85
inc edi
mov ebx, eax
cmp edi, ebp
jl 0x752d5f
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x752d97
cmp edi, ebp
jl 0x752d91
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x752d97
mov eax, dword [esp + 0x2c]
mov ecx, edi
dec ecx
cmp eax, ecx
jle 0x752da0
mov ecx, eax
jmp 0x752da9
cmp edi, ebp
jl 0x752da6
mov edi, ebp
lea ecx, [edi - 1]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x28]
mov edx, esi
mov dword [edx], edi
mov dword [edx + 4], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x14]
call fcn.00750280
lea ecx, [esp + 0x48]
mov dword [esp + 0x64], 0xffffffff
call fcn.00798591
mov ecx, dword [esp + 0x5c]
pop ebp
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
Function at 0x7621f0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4802e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [fcn.00482600]
push 0
lea ecx, [esp + 0x20]
call fcn.0079851f
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00761b90
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0079844d
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00794c2e
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00794c2e
push 1
push 0
push 0
mov ecx, esi
call fcn.00794bd6
push 1
push 0
push 1
mov ecx, esi
call fcn.00794bd6
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00798591
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x762370
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x480308
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0079851f
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00761b90
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0079844d
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [fcn.00482600]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x762434
cmp dword [esp + 0x40], 1
jne 0x762432
cmp ecx, eax
jge 0x762434
mov eax, ecx
cmp eax, 0xc8
jge 0x762440
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.007621f0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [fcn.004825fc]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00798591
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x762bc0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x480373
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0079304e
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0x64ed80
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], 0x64cfb8
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [fcn.00482130]
push eax
mov ecx, edi
call fcn.007987c7
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00799d62
test eax, eax
je 0x762cdc
mov ecx, dword [esp + 0x3c]
call fcn.007987f4
mov ecx, dword [esi + 0x1c]
mov ebp, dword [fcn.00482620]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x762ca0
push edi
mov ecx, esi
call fcn.00795dad
mov ecx, esi
call fcn.00762e40
cmp dword [esp + 0x38], 1
jne 0x762cd5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00795f17
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28

Function at 0x765700
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x765733
push esi
call fcn.00768810
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x76572c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x7657b9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x7657a2
mov eax, dword [esi + 8]
test eax, eax
je 0x765757
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x76579e
cmp eax, 2
je 0x7657a2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x76574a
cmp eax, 3
je 0x76577d
cmp eax, 1
jne 0x76574a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x76574a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x76574a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.007657e0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x7657c8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.007657e0
add esp, 4
pop esi
ret
Function at 0x776b00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x480d30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.007766b0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00776730
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00776730
lea ecx, [esi + 0xc]
call fcn.007919df
lea ecx, [esi + 0x10]
call fcn.007919df
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00777cc0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00777cc0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00777cc0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00791a54
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00791a54
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x401408
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push 0
call sub.kernel32.dll_GetModuleHandleA
mov dword [section..data], eax
push 0x30
lea eax, [ebp - 0x30]
push eax
call sub.kernel32.dll_RtlZeroMemory
push 0x1000
push dword [section..data]
call sub.user32.dll_LoadIconA
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], eax
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
mov dword [ebp - 0x14], eax
push dword [section..data]
pop dword [ebp - 0x1c]
mov dword [ebp - 0x30], 0x30
mov dword [ebp - 0x2c], 3
mov dword [ebp - 0x28], 0x40100f
mov dword [ebp - 0x10], 6
mov dword [ebp - 8], str.Clock
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_RegisterClassExA
push 0
push dword [section..data]
push 0
push 0
push 0x172
push 0xfa
push 0x64
push 0x64
push 0xcf0000
push str.Clock
push str.Clock
push 0x200
call sub.user32.dll_CreateWindowExA
mov dword [0x404004], eax
push 1
push dword [0x404004]
call sub.user32.dll_ShowWindow
push dword [0x404004]
call sub.user32.dll_UpdateWindow
push 0
push 0
push 0
lea eax, [ebp - 0x4c]
push eax
call sub.user32.dll_GetMessageA
or eax, eax
je 0x4014f6
lea eax, [ebp - 0x4c]
push eax
call sub.user32.dll_TranslateMessage
lea eax, [ebp - 0x4c]
push eax
call sub.user32.dll_DispatchMessageA
jmp 0x4014cf
leave
ret
Function at 0x401016
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x4010a6
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x4010a3
push 0x5c
push esi
call dword [sym.imp.MSVCR80.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x4010a3
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40107c
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x401075
test ebp, ebp
je 0x401075
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x40107c
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x40109d
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x40109d
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x40102e
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x401bc8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x401bd7
pop dword [ebp - 0x30]
mov eax, 0x6bfd2ce9
add eax, 0x9442eeee
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0x89d39663
add dword [ebp - 0x40], 0xc47eaee8
mov dword [ebp - 0x3c], 0x8f0ffd39
add dword [ebp - 0x3c], 0xa3234f0c
mov dword [ebp - 0x38], 0x72c46149
add dword [ebp - 0x38], 0xd987e2e5
mov dword [ebp - 0x34], 0x45157368
sub dword [ebp - 0x34], 0x45157368
lea eax, [ebp - 0x40]
push eax
mov eax, 0x8f127f3e
sub eax, 0x8ed20ede
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0x525fc30b
sub dword [ebp - 0x40], 0xdded59b5
mov dword [ebp - 0x3c], 0x5be49000
add dword [ebp - 0x3c], 0xe587d175
mov dword [ebp - 0x38], 0x32fd91ce
sub dword [ebp - 0x38], 0xcf8e2562
mov dword [ebp - 0x34], 0x9c807f9
sub dword [ebp - 0x34], 0x9c807f9
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, 0x2140ffb4
sub eax, 0x21008eb4
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x35ea3
push 0
call eax
mov ecx, 0x455c
xor esi, esi
add esi, eax
mov edi, 0x410000
add edi, dword [ebp - 0x30]
mov ebx, 0xfaf0b772
sub ebx, 0xdb30c99
mov dword [ebp - 0x20], 0xbe226cfe
mov edx, dword [edi]
sub dword [ebp - 0x18], 0x9be345d7
xor edx, ebx
add dword [ebp - 0x10], edx
mov dword [esi], edx
sub dword [ebp - 0xc], 0xa4bb95c
add esi, 0x5f1066fd
add esi, 0xa0ef9907
add edi, 0xa3647127
sub edi, 0xa3647123
loop 0x401cef
add eax, 0x9e5e3d4a
add eax, 0x61a2caf9
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xd4c18a25
sub ecx, 0xd4818a25
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x40d7d2
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x42ab70
call fcn.0040e658
mov edi, 0x94
mov eax, edi
call fcn.0040d730
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [0x4272a8]
mov ecx, dword [esi + 0x10]
mov dword [0x4360ac], ecx
mov eax, dword [esi + 4]
mov dword [0x4360b8], eax
mov edx, dword [esi + 8]
mov dword [0x4360bc], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x4360b0], esi
cmp ecx, 2
je 0x40d832
or esi, 0x8000
mov dword [0x4360b0], esi
shl eax, 8
add eax, edx
mov dword [0x4360b4], eax
xor esi, esi
push esi
mov edi, dword [0x427248]
call edi
cmp word [eax], 0x5a4d
jne 0x40d86d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40d86d
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x40d885
cmp eax, 0x20b
je 0x40d872
mov dword [ebp - 0x1c], esi
jmp 0x40d899
cmp dword [ecx + 0x84], 0xe
jbe 0x40d86d
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x40d893
cmp dword [ecx + 0x74], 0xe
jbe 0x40d86d
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.0041107c
pop ecx
test eax, eax
jne 0x40d8ad
push 0x1c
call fcn.0040d7ae
pop ecx
call fcn.0040ffad
test eax, eax
jne 0x40d8be
push 0x10
call fcn.0040d7ae
pop ecx
call fcn.0041279a
mov dword [ebp - 4], esi
call fcn.0041259c
test eax, eax
jge 0x40d8d7
push 0x1b
call fcn.0040d789
pop ecx
call dword [0x4270e0]
mov dword [0x437970], eax
call fcn.0041247a
mov dword [0x436098], eax
call fcn.004123d8
test eax, eax
jge 0x40d8fd
push 8
call fcn.0040d789
pop ecx
call fcn.004121a5
test eax, eax
jge 0x40d90e
push 9
call fcn.0040d789
pop ecx
push 1
call fcn.0040e0cd
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x40d924
push eax
call fcn.0040d789
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [0x4270dc]
call fcn.00412148
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x40d945
movzx eax, word [ebp - 0x40]
jmp 0x40d948
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.00418860
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x40d966
push edi
call fcn.0040e1fa
call fcn.0040e21c
jmp 0x40d998
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.0040e693
ret
Function at 0x411c0b
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x411c39
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x411c40
cmp ebx, dword [eax + 4]
jae 0x411c40
xor eax, eax
jmp 0x411e30
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x411c51
xor eax, eax
inc eax
jmp 0x411e2f
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x411c67
cmp ecx, edx
jae 0x411dac
cmp dword [eax + 4], 0
je 0x411c70
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x411c58
cmp dword [ebp + 8], 0
je 0x411c92
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x411dac
cmp eax, esi
jae 0x411dac
mov eax, dword [0x436278]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x411cb7
cmp dword [esi*4 + 0x436280], edi
je 0x411db0
inc esi
cmp esi, eax
jl 0x411ca5
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [0x4270d8]
test eax, eax
je 0x411e2c
cmp dword [ebp - 8], 0x1000000
jne 0x411e2c
test byte [ebp - 0xc], 0xcc
je 0x411d35
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x411e2c
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x411e2c
cmp word [eax + 0x18], 0x10b
jne 0x411e2c
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x411e2c
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x411d35
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x411d35
test byte [ecx + 0x27], 0x80
jne 0x411dac
push 1
push 0x4362c0
call dword [0x4272b8]
test eax, eax
jne 0x411c49
mov ecx, dword [0x436278]
test ecx, ecx
mov edx, ecx
jle 0x411d69
lea eax, [ecx*4 + 0x43627c]
cmp dword [eax], edi
je 0x411d69
dec edx
sub eax, 4
test edx, edx
jg 0x411d5d
test edx, edx
jne 0x411d9a
push 0xf
pop ebx
cmp ecx, ebx
jg 0x411d76
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x411d8e
lea eax, [edx*4 + 0x436280]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x411d7c
cmp ecx, 0x10
jge 0x411d9a
inc ecx
mov dword [0x436278], ecx
push 0
push 0x4362c0
call dword [0x4272b8]
jmp 0x411c49
xor eax, eax
jmp 0x411e2f
test esi, esi
jle 0x411c49
mov ebx, dword [0x4272b8]
push 1
push 0x4362c0
call ebx
test eax, eax
jne 0x411c49
cmp dword [esi*4 + 0x436280], edi
je 0x411e06
mov eax, dword [0x436278]
lea esi, [eax - 1]
test esi, esi
jl 0x411df4
cmp dword [esi*4 + 0x436280], edi
je 0x411df0
dec esi
jns 0x411de4
test esi, esi
jge 0x411e04
cmp eax, 0x10
jge 0x411dff
inc eax
mov dword [0x436278], eax
lea esi, [eax - 1]
jmp 0x411e06
je 0x411e1e
xor ecx, ecx
test esi, esi
jl 0x411e1e
lea eax, [ecx*4 + 0x436280]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x411e0c
push 0
push 0x4362c0
call ebx
jmp 0x411c49
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4068b5
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42c56c], 0
push esi
jne 0x4068ec
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4068c6
mov dword [ecx*4 + 0x42c568], eax
inc ecx
cmp ecx, 0x100
jl 0x4068c1
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40691d
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42c568]
xor eax, esi
inc ecx
dec edx
jne 0x4068ff
pop edi
not eax
pop esi
ret 0xc

Function at 0x5d48c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
cmp byte [ecx], bl
push edi
mov dword [ebp - 4], ebx
mov edx, ecx
je 0x5d48da
inc edx
cmp byte [edx], bl
jne 0x5d48d5
mov esi, dword [ebp + 0x10]
dec edx
mov edi, esi
cmp edx, ecx
jb 0x5d48ec
mov al, byte [edx]
dec edx
mov byte [edi], al
inc edi
jmp 0x5d48e0
mov byte [edi], bl
cmp byte [esi], bl
mov edx, esi
je 0x5d48f9
inc edx
cmp byte [edx], bl
jne 0x5d48f4
dec edx
cmp byte [ecx], bl
mov dword [ebp + 8], edx
mov edi, ecx
je 0x5d4908
inc edi
cmp byte [edi], bl
jne 0x5d4903
dec edi
cmp ecx, edi
jae 0x5d4927
mov edx, esi
sub edx, ecx
mov al, byte [ecx]
xor byte [ecx + edx], al
movsx eax, byte [ecx + edx]
add dword [ebp - 4], eax
inc ecx
cmp ecx, edi
jb 0x5d4911
mov edx, dword [ebp + 8]
xor ebx, ebx
cmp esi, edx
mov ecx, esi
jae 0x5d4933
inc ecx
dec edx
cmp ecx, edx
jb 0x5d492d
mov eax, dword [ebp - 4]
push 0xa
lea edi, [ecx - 1]
xor edx, edx
pop ecx
div ecx
mov eax, dword [ebp + 0xc]
add dl, 0x61
cmp esi, edi
ja 0x5d4961
mov cl, byte [esi]
and cl, 0xf
add cl, dl
mov byte [eax], cl
mov cl, byte [esi]
sar cl, 4
inc eax
add cl, dl
mov byte [eax], cl
inc eax
inc esi
jmp 0x5d4946
pop edi
mov byte [eax], bl
pop esi
pop ebx
leave
ret
Function at 0x16be610
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x16c44cc]
cmp dword [eax + 0x28], 0
jne 0x16be628
xor eax, eax
jmp 0x16be757
mov ecx, dword [0x16c443c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
add edx, 0xe
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov dword [0x16c4430], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
mov dword [0x16c442c], eax
push 0
call dword [0x16c2138]
mov dword [ebp - 0x10], eax
push 1
call dword [0x16c2138]
mov dword [ebp - 0x18], eax
mov ecx, dword [0x16c4430]
mov dword [ebp - 0x40], ecx
mov edx, dword [0x16c442c]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x40]
shr eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 8]
shr ecx, 1
mov dword [ebp - 0x1c], ecx
push 0
mov edx, dword [0x16c44b8]
push edx
push 0
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 0x80000000
push 0x16c2680
push 0x16c26d0
push 0x88
call dword [0x16c2134]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [0x16c4428], ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [0x16c210c]
push eax
call fcn.016be550
push 5
mov eax, dword [ebp - 0xc]
push eax
call dword [0x16c2148]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [0x16c212c]
push 0x16be5e0
mov edx, dword [0x16c44cc]
mov eax, dword [edx + 0x34]
imul eax, eax, 0x3e8
push eax
push 0
push 0
call dword [0x16c213c]
mov dword [0x16c4434], eax
push 1
push 0
push 0
push 0
lea ecx, [ebp - 0x3c]
push ecx
call dword [0x16c2130]
test eax, eax
je 0x16be757
cmp dword [ebp - 0x38], 0x12
jne 0x16be74b
mov dword [0x16c4444], 0
call fcn.016be760
xor eax, eax
jmp 0x16be757
lea edx, [ebp - 0x3c]
push edx
call dword [0x16c2140]
jmp 0x16be71c
mov esp, ebp
pop ebp
ret 4

Function at 0x16bfb30
Capabilities:
Read .ini file
Read and send data from client to server
Send data
Send data on socket
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebp
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
pop ebp
mov eax, dword [ebp + 8]
push eax
call dword [fcn.016c20dc]
call dword [fcn.016c2124]
call dword [fcn.016c2128]
call dword [fcn.016c2094]
call dword [fcn.016c20fc]
call dword [fcn.016c20f4]
call dword [fcn.016c2150]
call dword [fcn.016c200c]
call dword [fcn.016c2000]
call dword [fcn.016c2160]
call fcn.016c1674
mov eax, 1
pop ebp
ret 4