joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4012b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.wpcap.dll_pcap_findalldevs]
mov esi, dword [ebp - 0x10c]
add esp, 8
mov dword [ebp - 0x108], esi
test esi, esi
jne 0x401304
call fcn.00403ba0
mov esi, dword [ebp - 0x10c]
mov dword [ebp - 0x108], esi
test esi, esi
je 0x4013e4
push ebx
push edi
mov eax, dword [0x417db4]
mov ebx, dword [eax + 0x18]
test ebx, ebx
je 0x4013cc
cmp dword [ebx + 0x14], 0
jne 0x401361
mov ecx, dword [ebx + 4]
mov esi, dword [esi + 4]
mov edi, ecx
mov dword [ebp - 0x110], ecx
lea edx, [edi + 1]
lea ecx, [ecx]
mov al, byte [edi]
inc edi
test al, al
jne 0x401330
sub edi, edx
je 0x40135b
cmp byte [esi], al
je 0x40135b
nop
push edi
push ecx
push esi
call fcn.004046ee
add esp, 0xc
test eax, eax
je 0x40136a
mov ecx, dword [ebp - 0x110]
inc esi
cmp byte [esi], 0
jne 0x401340
mov esi, dword [ebp - 0x108]
mov ebx, dword [ebx + 0x18]
test ebx, ebx
jne 0x401316
jmp 0x4013cc
mov esi, dword [ebp - 0x108]
mov dword [ebx + 0x14], 1
mov eax, dword [esi + 4]
test eax, eax
je 0x40138c
push 0xffff
push eax
call fcn.00404b63
add esp, 8
lea edi, [eax + 4]
mov eax, dword [ebx + 4]
test eax, eax
je 0x4013a6
push eax
call fcn.00404888
add esp, 4
mov dword [ebx + 4], 0
push 1
push edi
call fcn.004048c0
add esp, 8
mov dword [ebx + 4], eax
test eax, eax
je 0x4013fd
push dword [esi + 4]
push edi
push eax
call fcn.00404b7e
add esp, 0xc
mov ecx, ebx
call fcn.00401050
mov esi, dword [esi]
mov dword [ebp - 0x108], esi
test esi, esi
jne 0x401306
mov esi, dword [ebp - 0x10c]
pop edi
pop ebx
push esi
call dword [sym.imp.wpcap.dll_pcap_freealldevs]
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop esi
call fcn.00404657
mov esp, ebp
pop ebp
ret
push 0
call fcn.00404fe0
int3

Function at 0x401410
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, dword [0x417db4]
test esi, esi
jne 0x401438
push 0x1c
push 1
call fcn.004048c0
mov esi, eax
add esp, 8
mov dword [0x417db4], esi
test esi, esi
jne 0x40149a
jmp 0x4014e7
cmp dword [esi + 0x18], 0
je 0x40149a
push edi
nop
mov eax, dword [esi + 0x18]
mov edi, dword [eax + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x40145e
push eax
call fcn.00404888
mov eax, dword [esi + 0x18]
add esp, 4
mov dword [eax], 0
mov eax, dword [esi + 0x18]
mov eax, dword [eax + 4]
test eax, eax
je 0x40147b
push eax
call fcn.00404888
mov eax, dword [esi + 0x18]
add esp, 4
mov dword [eax + 4], 0
mov eax, dword [esi + 0x18]
test eax, eax
je 0x401492
push eax
call fcn.00404888
add esp, 4
mov dword [esi + 0x18], 0
mov dword [esi + 0x18], edi
test edi, edi
jne 0x401440
pop edi
mov dword [0x417db0], 0
mov dword [0x417dac], 0
call fcn.00401130
call fcn.004012b0
add esi, 0x18
cmp dword [esi], 0
je 0x4014e5
mov eax, dword [esi]
cmp dword [eax + 0x14], 0
jne 0x4014db
test eax, eax
je 0x4014db
push eax
call fcn.00404888
add esp, 4
mov dword [esi], 0
mov esi, dword [esi]
add esi, 0x18
cmp dword [esi], 0
jne 0x4014c0
pop esi
ret
push 0
call fcn.00404fe0
int3
Function at 0x401540
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x417db4]
push esi
mov esi, dword [eax + 0x18]
push edi
xor edi, edi
mov dword [0x417da8], ecx
mov dword [0x417db8], edx
test esi, esi
je 0x401573
nop
cmp ecx, dword [esi + 0x10]
jg 0x40156c
mov eax, edi
inc edi
cmp eax, edx
je 0x401579
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x401560
pop edi
xor eax, eax
pop esi
pop ebp
ret
push 1
push 6
call fcn.004048c0
mov edx, eax
mov eax, dword [ebp + 8]
add esp, 8
mov dword [eax], edx
test edx, edx
je 0x4015a4
mov ecx, dword [esi + 8]
mov dword [edx], ecx
mov cx, word [esi + 0xc]
mov word [edx + 4], cx
mov eax, dword [esi + 4]
pop edi
pop esi
pop ebp
ret
push 0
call fcn.00404fe0
int3

Function at 0x4015b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x417db4]
push ebx
push esi
mov esi, dword [eax + 0x18]
mov ebx, ecx
xor edx, edx
push edi
mov dword [ebp - 8], ebx
test esi, esi
je 0x4015eb
mov edi, dword [0x417da8]
mov ecx, dword [0x417db8]
cmp edi, dword [esi + 0x10]
jg 0x4015e4
mov eax, edx
inc edx
cmp eax, ecx
je 0x4015f4
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x4015d8
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
xor edi, edi
push edi
push edi
push edi
push edi
push 0xffffffffffffffff
push ebx
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 4], eax
test eax, eax
jle 0x4015eb
inc eax
push 1
push eax
call fcn.004048c0
add esp, 8
mov ebx, eax
push edi
test ebx, ebx
je 0x401681
push edi
push dword [ebp - 4]
push ebx
push 0xffffffffffffffff
push dword [ebp - 8]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0x413eb0
push dword [esi + 4]
call fcn.00404900
push 0x413eb0
push ebx
mov esi, eax
call fcn.00404900
add esp, 0x10
test esi, esi
je 0x40166f
test eax, eax
je 0x40166f
push 0x100
push eax
push esi
call fcn.00404810
add esp, 0xc
mov ecx, 1
test eax, eax
cmove edi, ecx
push ebx
call fcn.00404888
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00404fe0
int3
Function at 0x401690
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movq xmm0, qword [str.HuaWei3COM1X]
push ebx
push esi
mov esi, ecx
push edi
movq qword [esi], xmm0
mov eax, dword [0x413f70]
mov dword [esi + 8], eax
mov al, byte [0x413f74]
mov ebx, 1
mov edi, 2
sub edi, esi
sub ebx, esi
mov ecx, 3
mov byte [esi + 0xc], al
xor edx, edx
sub ecx, esi
mov dword [ebp - 0x10], esi
mov eax, esi
mov dword [ebp - 0x14], edi
mov dword [ebp - 8], ecx
mov esi, ecx
jmp 0x4016e0
mov ecx, edx
and ecx, 7
add edx, 4
movzx ecx, byte [ecx + str.00000000]
xor byte [eax], cl
lea ecx, [ebx + eax]
and ecx, 7
movzx ecx, byte [ecx + str.00000000]
xor byte [eax + 1], cl
lea ecx, [edi + eax]
and ecx, 7
movzx ecx, byte [ecx + str.00000000]
xor byte [eax + 2], cl
lea ecx, [esi + eax]
and ecx, 7
lea eax, [eax + 4]
movzx ecx, byte [ecx + str.00000000]
xor byte [eax - 1], cl
cmp edx, 0x10
jb 0x4016e0
mov esi, dword [ebp - 0x10]
mov edx, 2
lea ecx, [esi + 0xe]
lea edi, [edx + 2]
lea eax, [edx - 2]
and eax, 7
lea ecx, [ecx - 4]
movzx eax, byte [eax + str.00000000]
xor byte [ecx + 5], al
lea eax, [edx - 1]
and eax, 7
movzx eax, byte [eax + str.00000000]
xor byte [ecx + 4], al
mov eax, edx
and eax, 7
movzx eax, byte [eax + str.00000000]
xor byte [ecx + 3], al
lea eax, [edx + 1]
and eax, 7
add edx, 4
movzx eax, byte [eax + str.00000000]
xor byte [ecx + 2], al
dec edi
jne 0x401737
xor edx, edx
mov eax, 4
sub eax, esi
mov dword [esi + 0x10], edi
mov edi, dword [ebp - 0x14]
mov ecx, esi
mov esi, dword [ebp - 8]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0xc
mov eax, edx
xor edx, edx
div dword [ebp - 4]
movzx eax, byte [edx + str.HuaWei3COM1X]
xor byte [ecx], al
xor edx, edx
lea eax, [ecx + ebx]
div dword [ebp - 4]
movzx eax, byte [edx + str.HuaWei3COM1X]
xor byte [ecx + 1], al
xor edx, edx
lea eax, [ecx + edi]
div dword [ebp - 4]
movzx eax, byte [edx + str.HuaWei3COM1X]
xor byte [ecx + 2], al
xor edx, edx
lea eax, [ecx + esi]
div dword [ebp - 4]
movzx eax, byte [edx + str.HuaWei3COM1X]
xor byte [ecx + 3], al
mov eax, dword [ebp - 0x18]
add eax, ecx
xor edx, edx
div dword [ebp - 4]
add ecx, 5
movzx eax, byte [edx + str.HuaWei3COM1X]
mov edx, dword [ebp - 0xc]
xor byte [ecx - 1], al
add edx, 5
mov dword [ebp - 0xc], edx
cmp edx, 0x14
jb 0x4017a0
mov esi, dword [ebp - 0x10]
mov ecx, 2
add esi, 0x12
mov ebx, 0xc
jmp 0x401820
xor edx, edx
lea eax, [ecx - 2]
div ebx
lea esi, [esi - 5]
movzx eax, byte [edx + str.HuaWei3COM1X]
xor byte [esi + 6], al
xor edx, edx
lea eax, [ecx - 1]
div ebx
movzx eax, byte [edx + str.HuaWei3COM1X]
xor byte [esi + 5], al
xor edx, edx
mov eax, ecx
div ebx
movzx eax, byte [edx + str.HuaWei3COM1X]
xor byte [esi + 4], al
xor edx, edx
lea eax, [ecx + 1]
div ebx
movzx eax, byte [edx + str.HuaWei3COM1X]
xor byte [esi + 3], al
lea eax, [ecx + 2]
xor edx, edx
div ebx
add ecx, 5
movzx eax, byte [edx + str.HuaWei3COM1X]
xor byte [esi + 2], al
lea eax, [ecx - 2]
cmp eax, 0x14
jb 0x401820
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401890
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
xorps xmm0, xmm0
movq qword [ecx], xmm0
movq qword [ecx + 8], xmm0
mov dword [ecx + 0x10], 0
movq xmm0, qword [str.r70393861]
movq qword [ecx], xmm0
movq xmm0, qword [0x413ec8]
movq qword [ecx + 8], xmm0
mov eax, dword [str._ether_proto_0x888e__and__ether_dst_host__02x:_02x:_02x:_02x:_02x:_02x_]
mov dword [ecx + 0x10], eax
push ebx
push esi
mov eax, 3
sub eax, ecx
push edi
mov dword [ebp - 0xc], eax
mov edi, 1
mov ebx, 2
xor edx, edx
sub edi, ecx
sub ebx, ecx
mov eax, 4
sub eax, ecx
mov dword [ebp - 0x14], ecx
mov esi, ecx
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xc
mov eax, edx
xor edx, edx
div dword [ebp - 4]
movzx eax, byte [edx + str.HuaWei3COM1X]
xor byte [esi], al
xor edx, edx
lea eax, [edi + esi]
div dword [ebp - 4]
movzx eax, byte [edx + str.HuaWei3COM1X]
xor byte [esi + 1], al
xor edx, edx
lea eax, [ebx + esi]
div dword [ebp - 4]
movzx eax, byte [edx + str.HuaWei3COM1X]
xor byte [esi + 2], al
xor edx, edx
lea eax, [ecx + esi]
div dword [ebp - 4]
movzx eax, byte [edx + str.HuaWei3COM1X]
xor byte [esi + 3], al
mov eax, dword [ebp - 0x10]
add eax, esi
xor edx, edx
div dword [ebp - 4]
add esi, 5
movzx eax, byte [edx + str.HuaWei3COM1X]
mov edx, dword [ebp - 8]
xor byte [esi - 1], al
add edx, 5
mov dword [ebp - 8], edx
cmp edx, 0x14
jb 0x401903
mov ecx, dword [ebp - 0x14]
mov esi, 2
add ecx, 0x12
mov ebx, 0xc
mov edi, edi
xor edx, edx
lea eax, [esi - 2]
div ebx
lea ecx, [ecx - 5]
movzx eax, byte [edx + str.HuaWei3COM1X]
xor byte [ecx + 6], al
xor edx, edx
lea eax, [esi - 1]
div ebx
movzx eax, byte [edx + str.HuaWei3COM1X]
xor byte [ecx + 5], al
xor edx, edx
mov eax, esi
div ebx
movzx eax, byte [edx + str.HuaWei3COM1X]
xor byte [ecx + 4], al
xor edx, edx
lea eax, [esi + 1]
div ebx
movzx eax, byte [edx + str.HuaWei3COM1X]
xor byte [ecx + 3], al
lea eax, [esi + 2]
xor edx, edx
div ebx
add esi, 5
movzx eax, byte [edx + str.HuaWei3COM1X]
xor byte [ecx + 2], al
lea eax, [esi - 2]
cmp eax, 0x14
jb 0x401980
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4019f0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov dword [ebp - 0x1c], ecx
push edi
lea ecx, [ebp - 0x18]
xor edi, edi
xor esi, esi
call fcn.00401690
mov al, byte [ebp + edi - 0x18]
mov cl, byte [ebp + edi - 0x17]
mov bl, byte [ebp + edi - 0x16]
movzx edx, al
add edi, 3
mov eax, edx
shr eax, 2
mov dword [ebp - 0x20], edi
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov edi, dword [ebp - 0x1c]
and edx, 3
mov byte [edi + esi], al
movzx edi, cl
mov eax, edi
shr eax, 4
shl edx, 4
or eax, edx
mov edx, dword [ebp - 0x1c]
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx + esi + 1], al
movzx ecx, bl
and edi, 0xf
mov eax, ecx
shr eax, 6
shl edi, 2
or eax, edi
mov edi, dword [ebp - 0x20]
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
and ecx, 0x3f
mov byte [edx + esi + 2], al
movzx eax, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx + esi + 3], al
add esi, 4
cmp esi, 0x18
jb 0x401a12
mov ebx, dword [ebp - 0x1c]
mov ecx, edi
pop edi
mov al, byte [ebp + ecx - 0x18]
mov cl, byte [ebp + ecx - 0x17]
movzx edx, al
mov eax, edx
shr eax, 2
movzx ecx, cl
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebx + 0x18], al
mov eax, ecx
shr eax, 4
and edx, 3
shl edx, 4
or eax, edx
and ecx, 0xf
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebx + 0x19], al
movzx eax, byte [ecx*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov ecx, dword [ebp - 4]
pop esi
mov byte [ebx + 0x1a], al
mov byte [ebx + 0x1b], 0x3d
xor ecx, ebp
pop ebx
call fcn.00404657
mov esp, ebp
pop ebp
ret

Function at 0x401af0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf4
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, edi
mov ebx, ecx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x401b10
sub esi, ecx
push esi
lea eax, [ebp - 0x97]
push edi
push eax
mov byte [ebp - 0x98], dl
call fcn.00406ea0
mov eax, dword [ebp + 0xc]
add esp, 0xc
movq xmm0, qword [eax]
movq qword [ebp + esi - 0x97], xmm0
movq xmm0, qword [eax + 8]
movq qword [ebp + esi - 0x8f], xmm0
add esi, 0x11
push esi
lea edx, [ebp - 0x98]
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe8], 0x67452301
mov dword [ebp - 0xe4], 0xefcdab89
mov dword [ebp - 0xe0], 0x98badcfe
mov dword [ebp - 0xdc], 0x10325476
call fcn.00403cc0
add esp, 4
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0xf0]
call fcn.00403d80
movq xmm0, qword [ebp - 0x14]
mov ecx, dword [ebp - 4]
movq qword [ebx], xmm0
movq xmm0, qword [ebp - 0xc]
pop edi
pop esi
movq qword [ebx + 8], xmm0
xor ecx, ebp
pop ebx
call fcn.00404657
mov esp, ebp
pop ebp
ret
Function at 0x4029c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetInterfaceInfo]
lea eax, [ebp - 4]
push eax
push 0
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
call esi
cmp eax, 0x7a
je 0x4029eb
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push edi
push 1
push dword [ebp - 4]
call fcn.004048c0
mov edi, eax
add esp, 8
test edi, edi
je 0x402a75
push ebx
lea eax, [ebp - 4]
push eax
push edi
call esi
test eax, eax
jne 0x402a2a
xor esi, esi
cmp dword [edi], esi
jle 0x402a2a
lea ebx, [edi + 8]
mov ecx, ebx
call fcn.004015b0
test eax, eax
jne 0x402a3c
inc esi
add ebx, 0x104
cmp esi, dword [edi]
jl 0x402a14
push edi
call fcn.00404888
add esp, 4
xor eax, eax
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
imul esi, esi, 0x104
lea eax, [edi + 4]
add eax, esi
cmp dword [ebp - 8], 0
push eax
je 0x402a56
call dword [sym.imp.IPHLPAPI.DLL_IpRenewAddress]
jmp 0x402a5c
call dword [sym.imp.IPHLPAPI.DLL_IpReleaseAddress]
push edi
mov esi, eax
call fcn.00404888
add esp, 4
xor eax, eax
pop ebx
test esi, esi
pop edi
sete al
pop esi
mov esp, ebp
pop ebp
ret
push 0
call fcn.00404fe0
int3

Function at 0x402a80
Capabilities:
Terminate thread

Disassembly:
push 0
push dword [0x417dbc]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
cmp dword [0x417dc8], 1
jne 0x402a9b
push 0xffffffffffffffff
jmp 0x402aa0
push 0x7d0
push dword [0x417dbc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [0x417dbc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x417dc8], 0
je 0x402ad1
call fcn.00402430
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call fcn.004029c0
mov dword [0x417dc8], 0
ret

Function at 0x402af0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x4024e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x417dbc], eax
ret

Function at 0x402c80
Capabilities:
Create thread

Disassembly:
cmp ecx, 4
je 0x402caa
cmp ecx, 0x12
jne 0x402cc1
call fcn.00402a80
push 0
push 0
push 0
push 0x4024e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x417dbc], eax
ret
cmp dword [0x417dc8], 0
mov dword [0x417dc4], 1
jne fcn.00402a80
ret
Function at 0x402cd0
Capabilities:
Read file on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x4142a4
lea eax, [ebp - 0x1c]
push str.client.dat
push eax
xor esi, esi
call fcn.00405299
add esp, 0xc
test eax, eax
je 0x402d0e
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404657
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
push 1
push 0x14
push eax
call fcn.004054a1
add esp, 0x10
test eax, eax
je 0x402e26
cmp dword [ebp - 0x18], 0xab89ff00
jne 0x402e26
mov eax, dword [ebp - 0xc]
mov esi, 1
mov dword [0x417dd4], eax
mov eax, dword [ebp - 8]
push esi
push 6
mov dword [0x417ddc], eax
call fcn.004048c0
mov ecx, eax
add esp, 8
mov dword [0x417dcc], ecx
test ecx, ecx
je 0x402e42
mov eax, dword [ebp - 0x12]
mov dword [ecx], eax
mov ax, word [ebp - 0xe]
mov word [ecx + 4], ax
mov al, byte [ebp - 0x14]
push edi
test al, al
je 0x402dcd
cmp al, 0x40
jae 0x402dcd
movzx edi, al
push esi
lea eax, [edi + 2]
push eax
call fcn.004048c0
add esp, 8
mov dword [0x417dd0], eax
test eax, eax
je 0x402e49
push dword [ebp - 0x1c]
push edi
push esi
push eax
call fcn.004054a1
movzx ecx, byte [ebp - 0x14]
add esp, 0x10
cmp eax, ecx
je 0x402dcd
mov eax, dword [0x417dd0]
test eax, eax
je 0x402e25
push eax
call fcn.00404888
mov dword [0x417dd0], 0
jmp 0x402e22
mov al, byte [ebp - 0x13]
test al, al
je 0x402e25
cmp al, 0x40
jae 0x402e25
movzx edi, al
push 1
lea eax, [edi + 2]
push eax
call fcn.004048c0
add esp, 8
mov dword [0x417dd8], eax
test eax, eax
je 0x402e50
push dword [ebp - 0x1c]
push edi
push 1
push eax
call fcn.004054a1
movzx ecx, byte [ebp - 0x13]
add esp, 0x10
cmp eax, ecx
je 0x402e25
mov eax, dword [0x417dd8]
test eax, eax
je 0x402e25
push eax
call fcn.00404888
mov dword [0x417dd8], 0
add esp, 4
pop edi
push dword [ebp - 0x1c]
call fcn.004057d7
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00404657
mov esp, ebp
pop ebp
ret
push 0
call fcn.00404fe0
push 0
call fcn.00404fe0
push 0
call fcn.00404fe0
int3
Function at 0x402e60
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x417dd4]
xorps xmm0, xmm0
movdqa xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x24], eax
mov eax, dword [0x417ddc]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x20], eax
mov eax, dword [0x417dcc]
mov dword [ebp - 0x30], 0xab89ff00
test eax, eax
je 0x402ec5
push 6
push eax
lea eax, [ebp - 0x2a]
push 6
push eax
call fcn.00404bd3
add esp, 0x10
jmp 0x402ece
xor eax, eax
mov dword [ebp - 0x2a], eax
mov word [ebp - 0x26], ax
mov eax, dword [0x417dd0]
test eax, eax
je 0x402ee8
push 0xff
push eax
call fcn.00404b63
add esp, 8
mov byte [ebp - 0x2c], al
mov eax, dword [0x417dd8]
test eax, eax
je 0x402f02
push 0xff
push eax
call fcn.00404b63
add esp, 8
mov byte [ebp - 0x2b], al
push 0x4142b4
lea eax, [ebp - 0x34]
push str.client.dat
push eax
call fcn.00405299
add esp, 0xc
test eax, eax
jne 0x402f76
push dword [ebp - 0x34]
lea eax, [ebp - 0x30]
push 1
push 0x14
push eax
call fcn.004056a4
mov al, byte [ebp - 0x2c]
add esp, 0x10
test al, al
je 0x402f4d
push dword [ebp - 0x34]
movzx eax, al
push eax
push 1
push dword [0x417dd0]
call fcn.004056a4
add esp, 0x10
mov al, byte [ebp - 0x2b]
test al, al
je 0x402f6b
push dword [ebp - 0x34]
movzx eax, al
push eax
push 1
push dword [0x417dd8]
call fcn.004056a4
add esp, 0x10
push dword [ebp - 0x34]
call fcn.004057d7
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404657
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret

Function at 0x4032c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 0
push 0
push pe_nt_image_headers32
push dword [0x419290]
mov dword [ebp - 0xc], ecx
call esi
push 0
push 0
neg eax
sbb ebx, ebx
push 0x14b
push dword [0x41928c]
neg ebx
mov dword [ebp - 4], ebx
call esi
push 0
push 0
push 0x14e
push dword [0x41928c]
call esi
mov edi, dword [0x417db0]
mov esi, dword [0x417db4]
test ebx, ebx
cmovne edi, dword [0x417dac]
mov esi, dword [esi + 0x18]
push 4
push edi
call fcn.004048c0
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x4033b3
mov ebx, ecx
test esi, esi
je 0x403353
mov edx, dword [ebp - 4]
cmp edx, dword [esi + 0x10]
jg 0x40334c
mov eax, dword [esi]
mov dword [ecx], eax
add ecx, 4
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x403340
test edi, edi
je 0x4033ac
cmp dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
je 0x403379
mov edx, dword [0x417dcc]
test edx, edx
je 0x403379
mov ecx, dword [ebp - 4]
call fcn.004014f0
mov dword [ebp - 8], eax
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
nop
push dword [ebx]
push 0
push 0x143
push dword [0x41928c]
call esi
lea ebx, [ebx + 4]
dec edi
jne 0x403380
push edi
push dword [ebp - 8]
push 0x14e
push dword [0x41928c]
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
call fcn.00404fe0
int3
Function at 0x4033c0
Capabilities:
Create thread

Disassembly:
push esi
call fcn.00402cd0
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 1
push 0xf1
test eax, eax
je 0x403451
push dword [0x41927c]
call esi
mov eax, dword [0x417dd0]
test eax, eax
je 0x4033f7
push eax
push dword [0x419288]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [0x417dd8]
test eax, eax
je 0x40340d
push eax
push dword [0x419284]
call dword [sym.imp.USER32.dll_SetWindowTextA]
cmp dword [0x417dd4], 0
je 0x403427
push 0
push 1
push 0xf1
push dword [0x419290]
call esi
cmp dword [0x417ddc], 0
je 0x403459
push 0
push 1
push 0xf1
push dword [0x419278]
call esi
push 0
push dword [0x41927c]
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x403459
push dword [0x419290]
call esi
mov ecx, 1
call fcn.004032c0
push 0
push 0
push pe_nt_image_headers32
push dword [0x419278]
call esi
pop esi
test eax, eax
je 0x403493
push 0
push 0
push 0
push 0x4024e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x417dbc], eax
ret
Function at 0x403730
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x68
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x64], eax
push esi
push edi
push str.TaskbarCreated
mov esi, ecx
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov dword [0x417de8], eax
lea eax, [esp + 8]
push eax
mov dword [esp + 0xc], 8
mov dword [esp + 0x10], 0x4000
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
xorps xmm0, xmm0
push 0x65
movdqa xmmword [esp + 0x14], xmm0
movdqa xmmword [esp + 0x24], xmm0
movq qword [esp + 0x34], xmm0
push esi
mov dword [esp + 0x18], 3
mov dword [esp + 0x28], esi
mov dword [esp + 0x3c], str.MF_CLIENT_CLASS
mov dword [esp + 0x1c], 0x4034a0
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x7f00
push 0
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x30], 0x10
call dword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
je 0x4038d3
mov eax, dword [esp + 0x68]
push 0
push esi
push 0
add eax, 0xfffffec0
push 0
cdq
push 0x140
sub eax, edx
push 0x1f4
sar eax, 1
push eax
mov eax, dword [esp + 0x80]
add eax, 0xfffffe0c
cdq
sub eax, edx
sar eax, 1
push eax
push 0xca0000
push 0x414398
push str.MF_CLIENT_CLASS
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x419280], eax
test eax, eax
je 0x4038d3
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x419280]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
push 0
lea eax, [esp + 0x4c]
push eax
call esi
test eax, eax
jle 0x4038d3
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
jmp 0x403880
cmp dword [esp + 0x44], 0x100
jne 0x4038b0
mov eax, dword [esp + 0x48]
cmp eax, 9
je 0x403898
cmp eax, 0xd
jne 0x4038b0
push dword [esp + 0x4c]
push eax
push 0x100
push dword [0x419280]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4038c2
lea eax, [esp + 0x40]
push eax
call edi
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [esp + 0x4c]
push eax
call esi
test eax, eax
jg 0x403880
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
xor ecx, esp
call fcn.00404657
mov esp, ebp
pop ebp
ret