joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408df0
Capabilities:
Set console window title

Disassembly:
sub esp, 0x40c
mov eax, dword [0x45707c]
xor eax, esp
mov dword [esp + 0x408], eax
mov eax, dword [0x4642b4]
push ebx
mov ebx, dword [0x463fdc]
push edi
mov edi, eax
cmp eax, 0x5dd
jne 0x408e3c
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push ecx
push 0
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReadEventLogW]
mov eax, dword [0x4642b4]
push esi
mov esi, dword [0x457e60]
cmp eax, 0x930
jne 0x408e57
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov eax, dword [0x4642b4]
mov dword [0x463fd8], esi
pop esi
cmp eax, 0x114e
jne 0x408e80
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov eax, dword [0x4642b4]
cmp eax, 0x2f
jne 0x408e9f
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointA]
push edi
push ebx
call fcn.00408cb0
mov ecx, dword [esp + 0x418]
add esp, 8
pop edi
pop ebx
xor ecx, esp
call fcn.0040160d
add esp, 0x40c
ret
Function at 0x40c380
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x40c3c1
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x40c3bc
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x40c3a6
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
cmp edx, ebx
jne 0x40c4fc
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x40c37d
add eax, dword [eax + 4]
jmp 0x40c36a
mov dword [ebp + 0xc], ebx
jmp 0x40c3cc
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x40c3e4
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x40c402
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
js 0x40c426
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x40c460
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x40c447
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x40c450
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x40c45a
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x40c43c
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x40c3c6
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x40c4ad
dec eax
je 0x40c4a4
sub eax, 3
je 0x40c49b
mov dword [ebp - 4], 0x40
jmp 0x40c4ca
mov dword [ebp - 4], 4
jmp 0x40c4b0
mov dword [ebp - 4], 0x20
jmp 0x40c4b0
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x40c4fc
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x40c47c
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0040bd0d
or esp, esp
pop eax
adc bh, bh
jne 0x40c507
push 1
push esi
call edi
mov eax, esi
jmp 0x40c508
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
rcr byte [edi + 0x5e], 0x5b
Function at 0x40c905
Capabilities:
Contain obfuscated stackstrings

Disassembly:
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040bcd2
add esp, 0xc
mov dword [ebp - 0x39c], eax
call fcn.0040bd0d
ja 0x40c925
sub dword [esi], esp
and byte [ebp - 0x514], 0
and byte [ebp - 0x513], 0
mov byte [ebp - 0x512], 0xe3
and byte [ebp - 0x511], 0
mov byte [ebp - 0x510], 0x5b
mov byte [ebp - 0x50f], 0x79
mov byte [ebp - 0x50e], 0x68
mov byte [ebp - 0x50d], 0x5a
mov byte [ebp - 0x50c], 0x75
mov byte [ebp - 0x50b], 0x70
mov byte [ebp - 0x50a], 0x79
mov byte [ebp - 0x509], 0x4f
mov byte [ebp - 0x508], 0x75
mov byte [ebp - 0x507], 0x66
mov byte [ebp - 0x506], 0x79
mov byte [ebp - 0x505], 0x1c
lea eax, [ebp - 0x514]
push eax
call fcn.0040bd1d
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040bcd2
inc dword [ebx - 0x7a76f33c]
invalid
cld
invalid
invalid
call fcn.0040bd0d
pop eax
pop ss
xchg ebx, eax
jle 0x40ca28
movsd dword es:[edi], dword [esi]
in al, dx
cli
invalid
add al, 1
add byte [eax], al
lea eax, [ebp - 0x334]
push eax
push dword [ebp + 8]
jne 0x40c9d6
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x40ca01
cmp dword [ebp - 0x398], 0
je 0x40cbcb
cmp dword [ebp + 0xc], 1
je 0x40cbcb
cmp dword [ebp + 0xc], 8
jne 0x40cb93
invalid
movsd dword es:[edi], dword [esi]
dec eax
stc
invalid
invalid
Function at 0x4125d0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4125fd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4125fd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0xb9e2f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x542000]
push edi
jmp 0xb9e30a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xb9e311
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xb9e300
mov eax, 1
add ebx, ebx
jne 0xb9e323
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xb9e334
jne 0xb9e353
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xb9e353
dec eax
add ebx, ebx
jne 0xb9e340
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xb9e318
add ebx, ebx
jne 0xb9e34f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xb9e3a5
xor ecx, ecx
sub eax, 3
jb 0xb9e36b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xb9e3da
sar eax, 1
mov ebp, eax
jmp 0xb9e376
add ebx, ebx
jne 0xb9e376
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xb9e344
inc ecx
add ebx, ebx
jne 0xb9e384
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xb9e344
add ebx, ebx
jne 0xb9e391
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xb9e386
jne 0xb9e3a2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xb9e386
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xb9e3c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xb9e3b6
jmp 0xb9e306
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xb9e3c4
add edi, ecx
jmp 0xb9e306
pop esi
mov edi, esi
mov ecx, 0x1a720
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xb9e3e2
cmp byte [edi], 0x5e
jne 0xb9e3e2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0xb9e3e7
lea edi, [esi + 0x780000]
mov eax, dword [edi]
or eax, eax
je 0xb9e45f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x7a88a8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x7a88e4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xb9e414
mov ecx, edi
jns 0xb9e443
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x7a88ec]
or eax, eax
je 0xb9e459
mov dword [ebx], eax
add ebx, 4
jmp 0xb9e431
call dword [esi + 0x7a88e8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0xb9e490
cmp al, 0xef
ja 0xb9e483
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0xb9e465
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0xb9e472
mov ebp, dword [esi + 0x7a88f0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0xb9e4c4
sub esp, 0xffffff80
jmp 0x696bd2
Function at 0x10008340
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.100252c0

Function at 0x1005eea1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x1005eeb0
pop dword [ebp - 0xc]
mov eax, 0xa790b62d
sub eax, 0x978ac77d
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x7c40813e
sub dword [ebp - 0x1c], 0x2dee3bf3
mov dword [ebp - 0x18], 0x366bbcab
sub dword [ebp - 0x18], 0x4387066
mov dword [ebp - 0x14], 0xc46f5cf5
sub dword [ebp - 0x14], 0x782318c7
mov dword [ebp - 0x10], 0xeaade4b8
sub dword [ebp - 0x10], 0xeaade4b8
lea eax, [ebp - 0x1c]
push eax
mov eax, 0x6e30f770
add eax, 0xa1d6099c
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x48fc1d7f
sub dword [ebp - 0x1c], 0xd489b429
mov dword [ebp - 0x18], 0xdcb6e98c
sub dword [ebp - 0x18], 0x9b4a8817
mov dword [ebp - 0x14], 0xbad37126
sub dword [ebp - 0x14], 0x576404ba
mov dword [ebp - 0x10], 0x63545fd1
sub dword [ebp - 0x10], 0x63545fd1
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0x64c35e91
add eax, 0xab43a1af
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x679c8
push 0
call eax
mov ecx, 0x8446639
add ecx, 0xf7bbe35e
mov esi, eax
mov edx, 0x8a1f8119
sub edx, 0x7a173519
add edx, dword [ebp - 0xc]
mov ebx, 0xaf026646
add ebx, 0xdb25206b
xor dword [ebp - 8], eax
mov edi, dword [edx]
sub dword [ebp - 4], edi
add edi, ebx
mov dword [esi], edi
add dword [ebp - 4], 0x4a42e968
add esi, 0x33bea0
add esi, 0xffcc4164
add edx, 4
loop 0x1005efd2
add eax, 0xb104c077
add eax, 0x4efc58b8
mov ebx, eax
add eax, 0x687ceba6
sub eax, 0x687ceba1
mov ecx, 0x894f32d6
add ecx, 0x86b0cd2a
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x47ddd0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
mov ebx, 0x4987e8
xor eax, eax
push ebp
push 0x47dfca
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [0x492540]
lea eax, [ebp - 0x24]
call fcn.0048b764
push dword [ebp - 0x24]
lea edx, [ebp - 0x28]
mov eax, dword [0x492520]
call fcn.00409af4
push dword [ebp - 0x28]
mov eax, 0x492540
mov edx, 3
call fcn.00405800
mov byte [0x498804], 0
mov byte [0x492548], 0
xor eax, eax
mov dword [0x498910], eax
xor eax, eax
mov dword [0x498914], eax
mov eax, dword [0x49888c]
mov edx, 0x47dfe4
call fcn.00405894
jne 0x47de7d
push 0x498818
push 0
push 0
push 0x480a14
push 0
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x498830], 1
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0x472064
push 0
push 0
call sub.kernel32.dll_CreateThread
mov eax, dword [0x49269c]
mov byte [eax], 1
mov esi, 0x498918
mov eax, dword [0x498918]
call fcn.00406858
mov edx, esi
xor ecx, ecx
xchg edx, eax
call fcn.00403aac
lea edx, [ebp - 0x2c]
mov eax, dword [0x49251c]
call fcn.0047dc3c
mov edx, dword [ebp - 0x2c]
mov eax, 0x498810
mov ecx, dword [0x471fd4]
call fcn.00406a5c
lea edx, [ebp - 0x30]
mov eax, dword [0x498920]
call fcn.0048b78c
mov edx, dword [ebp - 0x30]
mov eax, 0x492544
call fcn.004054c0
mov eax, dword [0x492544]
mov edx, 0x47dff0
call fcn.00405894
jne 0x47df57
call fcn.0040bc0c
fstp qword [ebp - 0x18]
wait
push dword [ebp - 0x14]
push dword [ebp - 0x18]
mov edx, dword [0x492748]
mov edx, dword [edx]
lea eax, [ebp - 4]
call fcn.0040c86c
call fcn.0040bc38
fstp qword [ebp - 0x20]
wait
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
mov edx, dword [0x4928c8]
mov edx, dword [edx]
lea eax, [ebp - 8]
call fcn.0040c86c
push dword [ebp - 4]
push 0x47e000
push dword [ebp - 8]
mov eax, 0x492544
mov edx, 3
call fcn.00405800
push 0x498818
push 0
push 0
push 0x472c78
push 0
push 0
call sub.kernel32.dll_CreateThread
jmp 0x47df7c
push ebx
call fcn.00408544
push ebx
call fcn.0040806c
push 0
push 0
push 0
push ebx
call fcn.0040820c
test eax, eax
jne 0x47df70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47dfd1
lea eax, [ebp - 0x30]
call fcn.0040546c
lea eax, [ebp - 0x2c]
mov edx, dword [0x471fd4]
call fcn.00406a20
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00405490
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405490
ret
Function at 0x47ecf0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Initialize winsock library
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe58
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 0x1a8], eax
mov esi, 0x498994
xor eax, eax
push ebp
push 0x47ee45
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0x190]
push eax
push 2
call sub.wsock32.dll_WSAStartup
test eax, eax
jne 0x47ee27
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov dword [esi], eax
cmp dword [esi], 0xffffffff
jne 0x47ed50
call sub.wsock32.dll_WSACleanup
jmp 0x47ee27
mov word [ebp - 0x1a0], 2
mov eax, dword [0x4927c0]
movzx eax, word [eax]
push eax
call sub.wsock32.dll_htons_1
mov word [ebp - 0x19e], ax
mov eax, dword [0x492948]
mov eax, dword [eax]
call fcn.00489450
push eax
call sub.wsock32.dll_inet_addr
mov dword [ebp - 0x19c], eax
push 0x10
lea eax, [ebp - 0x1a0]
push eax
mov eax, dword [esi]
push eax
call sub.wsock32.dll_connect
push 0
push 0x1000
push 0x498998
mov eax, dword [esi]
push eax
call sub.wsock32.dll_recv
mov eax, 0x498998
xor ecx, ecx
mov edx, 0x1001
call fcn.00403aac
push 0x47ee5c
lea edx, [ebp - 0x1a8]
mov eax, dword [0x4926fc]
mov eax, dword [eax]
call fcn.00409ce8
push dword [ebp - 0x1a8]
push 0x47ee70
push 0x47ee7c
lea eax, [ebp - 0x1a4]
mov edx, 4
call fcn.00405800
mov edx, dword [ebp - 0x1a4]
mov eax, dword [esi]
call fcn.00472bec
push 0
push 0x1000
push 0x498998
mov eax, dword [esi]
push eax
call sub.wsock32.dll_recv
mov eax, 0x498998
xor ecx, ecx
mov edx, 0x1001
call fcn.00403aac
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ee4c
lea eax, [ebp - 0x1a8]
mov edx, 2
call fcn.00405490
ret
Function at 0x47f870
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47f99f
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x47f975
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x498950]
call fcn.0041bd84
push 0
push 0
mov eax, dword [0x49894c]
call fcn.0041b674
mov cl, 2
mov edx, dword [0x498950]
mov eax, dword [0x49894c]
call fcn.00469ce4
push 0
push 0
mov eax, dword [0x498950]
call fcn.0041b674
mov edx, 0x49999c
mov ecx, 0x2001
mov eax, dword [0x498950]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, eax
test ebx, ebx
je 0x47f92c
push 0
push ebx
push 0x49999c
mov eax, dword [0x498994]
push eax
call sub.wsock32.dll_send
push 0
push 0x2000
push 0x49999c
mov eax, dword [0x498994]
push eax
call sub.wsock32.dll_recv
mov eax, 0x49999c
xor ecx, ecx
mov edx, 0x2001
call fcn.00403aac
test ebx, ebx
jne 0x47f8d3
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00409ce8
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 8]
mov edx, 0x47f9b8
call fcn.00405784
mov edx, dword [ebp - 8]
mov eax, dword [0x498994]
call fcn.00472bec
push 0
push 0x2000
push 0x49999c
mov eax, dword [0x498994]
push eax
call sub.wsock32.dll_recv
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47f984
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47f9a6
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00405490
ret
Function at 0x480e84
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbf8
push ebx
push esi
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
call fcn.004058ec
xor eax, eax
push ebp
push 0x480f16
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x408]
xor ecx, ecx
mov edx, 0x400
call fcn.00403aac
mov eax, dword [ebp - 4]
test eax, eax
je 0x480ec9
sub eax, 4
mov eax, dword [eax]
mov edx, eax
dec edx
test edx, edx
jl 0x480ee7
inc edx
xor esi, esi
lea eax, [ebp - 0x408]
mov ecx, dword [ebp - 4]
movzx ecx, byte [ecx + esi]
mov byte [eax], cl
inc esi
inc eax
dec edx
jne 0x480ed9
push 0
push 0x400
lea eax, [ebp - 0x408]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wsock32.dll_send
test eax, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480f1d
lea eax, [ebp - 4]
call fcn.0040546c
ret

Function at 0x481620
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004058ec
xor eax, eax
push ebp
push 0x481692
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xc
push 0x40
call sub.kernel32.dll_LocalAlloc
mov esi, eax
mov ebx, esi
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004054c0
mov dword [ebx + 4], edi
mov eax, dword [ebp - 8]
mov dword [ebx + 8], eax
lea eax, [ebp - 0xc]
push eax
push 0
push esi
push 0x481514
push 0
push 0
call sub.kernel32.dll_CreateThread
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x481699
lea eax, [ebp - 4]
call fcn.0040546c
ret
Function at 0x481774
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Initialize winsock library
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe58
push ebx
xor eax, eax
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 0x1a8], eax
mov ebx, 0x49eb88
xor eax, eax
push ebp
push 0x4818d5
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x190]
push eax
push 2
call sub.wsock32.dll_WSAStartup
test eax, eax
je 0x4817be
mov eax, dword [0x4927dc]
mov byte [eax], 0
jmp 0x4818b7
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov dword [ebx], eax
cmp dword [ebx], 0xffffffff
jne 0x4817e2
call sub.wsock32.dll_WSACleanup
mov eax, dword [0x4927dc]
mov byte [eax], 0
jmp 0x4818b7
mov word [ebp - 0x1a0], 2
mov eax, dword [0x4927c0]
movzx eax, word [eax]
push eax
call sub.wsock32.dll_htons_1
mov word [ebp - 0x19e], ax
mov eax, dword [0x492948]
mov eax, dword [eax]
call fcn.00489450
push eax
call sub.wsock32.dll_inet_addr
mov dword [ebp - 0x19c], eax
push 0x10
lea eax, [ebp - 0x1a0]
push eax
mov eax, dword [ebx]
push eax
call sub.wsock32.dll_connect
push 0
push 0x1000
push 0x49bb80
mov eax, dword [ebx]
push eax
call sub.wsock32.dll_recv
mov eax, 0x49bb80
xor ecx, ecx
mov edx, 0x1001
call fcn.00403aac
push 0x4818ec
lea edx, [ebp - 0x1a8]
mov eax, dword [0x4926fc]
mov eax, dword [eax]
call fcn.00409ce8
push dword [ebp - 0x1a8]
push 0x4818fc
push 0x481908
lea eax, [ebp - 0x1a4]
mov edx, 4
call fcn.00405800
mov edx, dword [ebp - 0x1a4]
mov eax, dword [ebx]
call fcn.00472bec
push 0
push 0x1000
push 0x49bb80
mov eax, dword [ebx]
push eax
call sub.wsock32.dll_recv
mov eax, 0x49bb80
xor ecx, ecx
mov edx, 0x1001
call fcn.00403aac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4818dc
lea eax, [ebp - 0x1a8]
mov edx, 2
call fcn.00405490
ret

Function at 0x482120
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x114], ecx
mov dword [ebp - 4], ecx
mov esi, edx
xor edx, edx
push ebp
push 0x4821e0
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 8]
push edx
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x10d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_SHGetPathFromIDList
lea edx, [ebp - 4]
lea eax, [ebp - 0x10d]
call fcn.0040aa8c
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x48217c
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0x114]
push eax
mov ecx, 1
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00405964
mov eax, dword [ebp - 0x114]
mov edx, 0x4821f8
call fcn.00405894
je 0x4821b5
mov eax, esi
mov ecx, 0x4821f8
mov edx, dword [ebp - 4]
call fcn.00405784
jmp 0x4821bf
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.004054c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4821e7
lea eax, [ebp - 0x114]
call fcn.0040546c
lea eax, [ebp - 4]
call fcn.0040546c
ret
Function at 0x4821fc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x4822ab
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x104
call fcn.00405b8c
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x48222e
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.004058fc
push eax
push ebx
call sub.kernel32.dll_GetTempPathA
mov edx, eax
lea eax, [ebp - 4]
call fcn.00405b8c
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x482253
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 8]
push eax
mov ecx, 1
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00405964
mov eax, dword [ebp - 8]
mov edx, 0x4822c0
call fcn.00405894
je 0x482286
mov eax, esi
mov ecx, 0x4822c0
mov edx, dword [ebp - 4]
call fcn.00405784
jmp 0x482290
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.004054c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4822b2
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405490
ret

Function at 0x4822c4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x482373
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x104
call fcn.00405b8c
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4822f6
sub ebx, 4
mov ebx, dword [ebx]
push ebx
mov eax, dword [ebp - 4]
call fcn.004058fc
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov edx, eax
lea eax, [ebp - 4]
call fcn.00405b8c
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x48231b
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 8]
push eax
mov ecx, 1
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00405964
mov eax, dword [ebp - 8]
mov edx, 0x482388
call fcn.00405894
je 0x48234e
mov eax, esi
mov ecx, 0x482388
mov edx, dword [ebp - 4]
call fcn.00405784
jmp 0x482358
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.004054c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48237a
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405490
ret

Function at 0x48238c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x48243b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x104
call fcn.00405b8c
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4823be
sub ebx, 4
mov ebx, dword [ebx]
push ebx
mov eax, dword [ebp - 4]
call fcn.004058fc
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov edx, eax
lea eax, [ebp - 4]
call fcn.00405b8c
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4823e3
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 8]
push eax
mov ecx, 1
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00405964
mov eax, dword [ebp - 8]
mov edx, 0x482450
call fcn.00405894
je 0x482416
mov eax, esi
mov ecx, 0x482450
mov edx, dword [ebp - 4]
call fcn.00405784
jmp 0x482420
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.004054c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482442
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405490
ret