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

Disassembly:
push 0xffffffffffffffff
push 0x466338
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x6c]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x74]
push edi
push eax
mov eax, dword [esp + 0x74]
push ecx
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, esi
call fcn.00427680
lea edx, [esp + 0x18]
push eax
push edx
call dword [0x46847c]
mov eax, dword [esp + 0x18]
xor edi, edi
xor ecx, ecx
cmp eax, edi
setl cl
dec ecx
xor edx, edx
and ecx, eax
mov eax, dword [esp + 0x1c]
cmp eax, edi
mov dword [esp + 0x18], ecx
setl dl
dec edx
and edx, eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x20], edx
call dword [0x468408]
test eax, eax
je 0x426ba9
mov eax, dword [esp + 0x6c]
push ebx
mov ebx, eax
xor ecx, ecx
xor edx, edx
xor esi, esi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.00426790
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
push ecx
push eax
lea eax, [esp + 0x20]
push eax
call dword [0x46843c]
push edi
lea ecx, [esp + 0x4c]
call fcn.0045fcef
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], edi
call fcn.00435f90
mov edx, dword [esp + 0x5c]
add esp, 0xc
lea ecx, [esp + 0x18]
push 2
push ecx
push edx
call dword [0x468144]
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x38]
push eax
push ecx
call dword [0x4683d8]
lea edx, [esp + 0x38]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
call dword [0x468448]
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, esi
mov dword [esp + 0x64], 0xffffffff
mov dword [edx], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x48]
call fcn.0045fd61
mov ecx, dword [esp + 0x5c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14
Function at 0x4270e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x466360
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.00424ce0
mov ebx, eax
test ebx, ebx
mov dword [esp + 0xc], ebx
jne 0x427139
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.00422150
mov ebp, dword [esp + 0x70]
mov edi, eax
add edi, ebp
mov ecx, ebx
mov dword [esp + 0x28], edi
call fcn.00422140
mov edx, dword [esp + 0x74]
mov ecx, esi
add eax, edx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
call fcn.00426790
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 [0x4683d8]
push 0
lea ecx, [esp + 0x4c]
call fcn.0045fcef
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.00435f90
add esp, 0xc
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x18]
call fcn.00424740
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x38]
push 2
push edx
push eax
mov byte [esp + 0x70], 1
call dword [0x4680c4]
mov ecx, ebx
call fcn.004220c0
mov ebx, eax
mov eax, edi
cmp eax, ebx
jge 0x427204
push edi
mov ecx, esi
call fcn.00424850
push eax
push ebp
mov ecx, esi
call fcn.00424a10
cmp eax, dword [esp + 0x40]
jg 0x427200
inc edi
mov ebp, eax
cmp edi, ebx
jl 0x4271de
mov eax, ebx
jmp 0x42720a
cmp edi, ebx
jl 0x427208
mov eax, ebx
jmp 0x42720a
mov eax, edi
lea ecx, [eax - 1]
mov eax, dword [esp + 0x28]
cmp eax, ecx
jle 0x42721b
mov dword [esp + 0x30], eax
jmp 0x427226
cmp edi, ebx
jl 0x427221
mov edi, ebx
dec edi
mov dword [esp + 0x30], edi
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
call fcn.00422080
mov ebp, eax
mov eax, dword [esp + 0x2c]
cmp eax, ebp
mov edi, eax
jge 0x42726d
push edi
mov ecx, esi
call fcn.00424770
push eax
push ebx
mov ecx, esi
call fcn.00424b40
cmp eax, dword [esp + 0x44]
jg 0x427265
inc edi
mov ebx, eax
cmp edi, ebp
jl 0x42723f
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x427277
cmp edi, ebp
jl 0x427271
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x427277
mov eax, dword [esp + 0x2c]
mov ecx, edi
dec ecx
cmp eax, ecx
jle 0x427280
mov ecx, eax
jmp 0x427289
cmp edi, ebp
jl 0x427286
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.00424760
lea ecx, [esp + 0x48]
mov dword [esp + 0x64], 0xffffffff
call fcn.0045fd61
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 0x4365f0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x466e48
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 [0x4683d8]
push 0
lea ecx, [esp + 0x20]
call fcn.0045fcef
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00435f90
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.0045fc1d
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.0045c4db
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.0045c4db
push 1
push 0
push 0
mov ecx, esi
call fcn.0045c483
push 1
push 0
push 1
mov ecx, esi
call fcn.0045c483
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0045fd61
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x436770
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x466e68
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.0045fcef
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00435f90
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.0045fc1d
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [0x4683d8]
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 0x436834
cmp dword [esp + 0x40], 1
jne 0x436832
cmp ecx, eax
jge 0x436834
mov eax, ecx
cmp eax, 0xc8
jge 0x436840
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.004365f0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [0x4683dc]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0045fd61
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x436fc0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x466ed3
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.0045a8fc
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0x46d7e0
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], 0x46c880
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 [0x468090]
push eax
mov ecx, edi
call fcn.0045ff97
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004614b3
test eax, eax
je 0x4370dc
mov ecx, dword [esp + 0x3c]
call fcn.0045ffc4
mov ecx, dword [esi + 0x1c]
mov ebp, dword [0x4683b8]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x4370a0
push edi
mov ecx, esi
call fcn.0045d622
mov ecx, esi
call fcn.00437240
cmp dword [esp + 0x38], 1
jne 0x4370d5
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.0045d75d
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 0x439b00
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x439b33
push esi
call fcn.0043cc00
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x439b2c
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 0x439bb9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x439ba2
mov eax, dword [esi + 8]
test eax, eax
je 0x439b57
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 0x439b9e
cmp eax, 2
je 0x439ba2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x439b4a
cmp eax, 3
je 0x439b7d
cmp eax, 1
jne 0x439b4a
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 0x439b4a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x439b4a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00439be0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x439bc8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00439be0
add esp, 4
pop esi
ret
Function at 0x446420
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4673d0
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.00445fd0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00446050
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00446050
lea ecx, [esi + 0xc]
call fcn.004592d5
lea ecx, [esi + 0x10]
call fcn.004592d5
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004475f0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004475f0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004475f0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0045934a
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0045934a
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x43b648
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0x43b3c1
pop esi
or ebx, ecx
call fcn.0043b68c
add ebx, ecx
sub ebx, 0x860e297a
xor dword [edx], esi
sub ecx, 0xb79f4ba1
add ecx, ecx
inc edx
sub esp, 4
mov dword [esp], 0xd3828eb9
pop ecx
cmp edx, edi
jne fcn.0043b648
or ebx, ecx
dec ecx
add ecx, 0x93bbe73b
ret
Function at 0x5690b0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
jmp 0x569ba0
push ebp
mov ebp, dword [esp + 0x10]
push ebp
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.00569da0
add esp, 0xc
test eax, eax
js 0x569d90
push ebx
push esi
push edi
mov edi, dword [ebp + 0xf0]
xor ebx, ebx
shl edi, 2
test edi, edi
jle 0x569c20
lea esi, [ebp + 8]
lea esi, [esi + edi*4]
lea eax, [ebp + 8]
nop dword [eax]
mov edx, dword [eax - 8]
lea eax, [eax + 0x10]
mov ecx, dword [esi - 8]
lea esi, [esi - 0x10]
mov dword [eax - 0x18], ecx
add ebx, 4
mov ecx, dword [esi + 0xc]
sub edi, 4
mov dword [esi + 8], edx
mov edx, dword [eax - 0x14]
mov dword [eax - 0x14], ecx
mov ecx, dword [esi + 0x10]
mov dword [esi + 0xc], edx
mov edx, dword [eax - 0x10]
mov dword [eax - 0x10], ecx
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x10], edx
mov edx, dword [eax - 0xc]
mov dword [eax - 0xc], ecx
mov dword [esi + 0x14], edx
cmp ebx, edi
jl 0x569be0
mov edi, 1
cmp dword [ebp + 0xf0], edi
jle 0x569d8b
lea esi, [ebp + 2]
mov edx, dword [esi + 0xe]
lea esi, [esi + 0x10]
mov eax, edx
inc edi
shr eax, 0x18
movzx ecx, byte [eax*4 + 0x608b30]
movzx eax, byte [esi - 1]
mov ecx, dword [ecx*4 + 0x609730]
movzx eax, byte [eax*4 + 0x608b30]
xor ecx, dword [eax*4 + 0x609f30]
movzx eax, dl
mov edx, dword [esi + 2]
movzx eax, byte [eax*4 + 0x608b30]
xor ecx, dword [eax*4 + 0x60a330]
movzx eax, byte [esi]
movzx eax, byte [eax*4 + 0x608b30]
xor ecx, dword [eax*4 + 0x609b30]
mov eax, edx
shr eax, 0x18
mov dword [esi - 2], ecx
movzx ecx, byte [eax*4 + 0x608b30]
movzx eax, byte [esi + 3]
mov ecx, dword [ecx*4 + 0x609730]
movzx eax, byte [eax*4 + 0x608b30]
xor ecx, dword [eax*4 + 0x609f30]
movzx eax, byte [esi + 4]
movzx eax, byte [eax*4 + 0x608b30]
xor ecx, dword [eax*4 + 0x609b30]
movzx eax, dl
mov edx, dword [esi + 6]
movzx eax, byte [eax*4 + 0x608b30]
xor ecx, dword [eax*4 + 0x60a330]
mov eax, edx
shr eax, 0x18
mov dword [esi + 2], ecx
movzx ecx, byte [eax*4 + 0x608b30]
movzx eax, byte [esi + 7]
mov ecx, dword [ecx*4 + 0x609730]
movzx eax, byte [eax*4 + 0x608b30]
xor ecx, dword [eax*4 + 0x609f30]
movzx eax, byte [esi + 8]
movzx eax, byte [eax*4 + 0x608b30]
xor ecx, dword [eax*4 + 0x609b30]
movzx eax, dl
mov edx, dword [esi + 0xa]
movzx eax, byte [eax*4 + 0x608b30]
xor ecx, dword [eax*4 + 0x60a330]
mov eax, edx
shr eax, 0x18
mov dword [esi + 6], ecx
movzx ecx, byte [eax*4 + 0x608b30]
movzx eax, byte [esi + 0xb]
mov ecx, dword [ecx*4 + 0x609730]
movzx eax, byte [eax*4 + 0x608b30]
xor ecx, dword [eax*4 + 0x609f30]
movzx eax, byte [esi + 0xc]
movzx eax, byte [eax*4 + 0x608b30]
xor ecx, dword [eax*4 + 0x609b30]
movzx eax, dl
movzx eax, byte [eax*4 + 0x608b30]
xor ecx, dword [eax*4 + 0x60a330]
mov dword [esi + 0xa], ecx
cmp edi, dword [ebp + 0xf0]
jl 0x569c34
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x10003011
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
mov eax, 0x100322b1
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.10002438
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10003042
push ebx
call fcn.100175ec
add esp, 4
cmp dword [ebp + 8], 0
je 0x1000305f
push 1
lea eax, [ebp - 4]
push eax
call fcn.1000316f
jmp 0x100030a9
mov dword [ebp - 8], esp
push 1
push 0
push 0
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x100030a6
push 0x86
push 0x4023d15
push 6
call fcn.100175fe
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10003140
xor ecx, ecx
inc ecx
push ecx
cmp ecx, 0xa
jg 0x1000313d
push 0x80000301
push 0
push 0x32
push 1
mov ebx, 0x67c
call fcn.100182d0
add esp, 0x10
mov dword [ebp - 8], esp
push 1
push 0
push 0
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x10003125
push 0x16d
push 0x4023d15
push 6
call fcn.100175fe
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jle 0x10003137
jmp 0x1000313d
pop ecx
jmp 0x100030b5
add esp, 4
mov eax, 0x1003242d
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.100033f9
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10003161
push ebx
call fcn.100175ec
add esp, 4
mov eax, dword [ebp - 4]
jmp 0x10003169
mov esp, ebp
pop ebp
ret 4
Function at 0x10004ba6
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, 0x100322b1
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.10002438
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10004bd0
push ebx
call fcn.100175ec
add esp, 4
mov dword [ebp - 4], esp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x10004bf9
push 0x4d
push 0x4023d0a
push 6
call fcn.100175fe
add esp, 0xc
push eax
push 0x2c
push dword [ebp + 8]
call fcn.10003f87
push 0x20
push dword [ebp + 8]
call fcn.10003922
mov dword [ebp - 4], eax
fild dword [ebp + 8]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fadd qword [0x10032477]
fstp qword [ebp - 0x14]
mov dword [ebp - 0x18], esp
push 0
push dword [ebp + 8]
mov eax, 0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov eax, 0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push 1
fld qword [ebp - 0x14]
call fcn.100014f8
push eax
push dword [ebp - 4]
call dword [sym.imp.WS2_32.dll_WSARecv]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x10004c83
push 0xb6
push 0x4023d0a
push 6
call fcn.100175fe
add esp, 0xc
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x10004cd1
mov dword [ebp - 4], esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x10004cb9
push 0x130
push 0x4023d0a
push 6
call fcn.100175fe
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x3e5
je 0x10004cd1
push dword [ebp + 8]
call fcn.10003969
mov eax, 0
jmp 0x10004cdb
mov esp, ebp
pop ebp
ret 4
Function at 0x10006947
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov eax, str.IOCP_
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.10002438
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10006986
push ebx
call fcn.100175ec
add esp, 4
push htons
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x1000699b
mov eax, 0x1003232e
push eax
push 1
mov ebx, 0x194
call fcn.100185a0
add esp, 0x10
mov dword [ebp - 4], eax
push 1
lea eax, [ebp - 8]
push eax
call fcn.100042d2
fild dword [ebp - 4]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fadd qword [0x10032555]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
call fcn.100014f8
push eax
call fcn.10003ed5
mov dword [ebp - 0xc], eax
push dword [ebp + 8]
push 0x20
push dword [ebp - 8]
call fcn.10003f87
fild dword [ebp - 4]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fadd qword [0x10032555]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
call fcn.100014f8
push eax
push 0x44
push dword [ebp - 8]
call fcn.10003f87
push dword [ebp - 0xc]
push 0x48
push dword [ebp - 8]
call fcn.10003f87
push 0x3ea
push 0x18
push dword [ebp - 8]
call fcn.10003f87
push 0xfa1
push 0x54
push dword [ebp - 8]
call fcn.10003f87
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x198
call fcn.100181d0
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push 0x1003255d
push dword [ebp - 0x10]
push 0x10032571
mov ecx, 4
call fcn.100017e1
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10006a9f
push ebx
call fcn.100175ec
add esp, 4
fild dword [ebp - 4]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fadd qword [0x10032555]
fstp qword [ebp - 0x24]
mov dword [ebp - 0x28], esp
fld qword [ebp - 0x24]
call fcn.100014f8
push eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10006ac7
add eax, 8
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x28], esp
je 0x10006af1
push 0x2d4
push 0x4023d0f
push 6
call fcn.100175fe
add esp, 0xc
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10006b01
push ebx
call fcn.100175ec
add esp, 4
fild dword [ebp - 8]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fadd qword [0x10032477]
fstp qword [ebp - 0x1c]
mov dword [ebp - 0x20], esp
push 0
push dword [ebp - 8]
push 0
mov eax, 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push 1
fld qword [ebp - 0x1c]
call fcn.100014f8
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_WSASend]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x10006b66
push 0x357
push 0x4023d0f
push 6
call fcn.100175fe
add esp, 0xc
jmp 0x10006b6b
mov esp, ebp
pop ebp
ret 8
Function at 0x10007294
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], esp
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x100072cb
push 0x12
push 0x402409b
push 6
call fcn.100175fe
add esp, 0xc
jmp 0x100072d0
mov esp, ebp
pop ebp
ret 4

Function at 0x10007360
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
push dword [ebp + 8]
push 1
push 0x1f0fff
call fcn.100073c1
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x100073b6
push 0x52
push 0x40216ef
push 6
call fcn.100175fe
add esp, 0xc
jmp 0x100073bb
mov esp, ebp
pop ebp
ret 4

Function at 0x100087e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x10008893
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
wait
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]

Function at 0x100088cc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x100
push 1
mov ebx, 0x184
call fcn.10018db0
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10008911
push ebx
call fcn.100175ec
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push dword [ebp - 4]
push 0xff
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x10008946
push 0x36
push 0x4024384
push 6
call fcn.100175fe
add esp, 0xc
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x10008959
mov eax, 0x100322b1
push eax
push 1
mov ebx, 0x170
call fcn.10018df0
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x10008977
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10008988
push ebx
call fcn.100175ec
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret