joyce8/EMBER2024-capa huggingface dataset:
Function at 0x576990
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov eax, dword [0x6a7340]
mov edi, dword [ebp + 8]
test eax, eax
je 0x576a24
mov esi, dword [eax + 0x30]
test esi, esi
js 0x576a40
mov ebx, dword [eax + 0x30]
test ebx, ebx
jne 0x576a60
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x10], eax
mov ecx, dword [edi + 0xc]
mov dword [ebp - 0x14], eax
test ecx, ecx
jne 0x576a18
lea edx, [ebp - 0x14]
mov eax, edi
call fcn.00576520
cmp eax, 7
jne 0x576adf
mov eax, dword [0x6a7340]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x576ab6
mov edx, dword [eax + 0x30]
test edx, edx
js 0x576ad0
mov edi, dword [eax + 0x30]
test edi, edi
jne 0x576a90
mov dword [eax + 0x28], ebx
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0x20]
mov ecx, dword [edx + 4]
mov ebp, dword [eax + 0x20]
mov esp, dword [edx + 8]
jmp ecx
lea edx, [ebp - 0x14]
mov eax, edi
call fcn.00576740
jmp 0x5769d5
call fcn.00575880
mov eax, dword [0x6a7340]
mov esi, dword [eax + 0x30]
test esi, esi
jns 0x5769b0
lea esi, [esi]
call fcn.00576220
mov eax, dword [0x6a7340]
mov ebx, dword [eax + 0x30]
test ebx, ebx
je 0x5769bb
lea esi, [esi]
lea edi, [edi]
mov ebx, dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
sub esp, 4
mov ebx, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.DLL_SetLastError]
mov eax, ebx
sub esp, 4
jmp 0x5769be
mov eax, dword [eax + 0x2c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x576a07
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x576a07
call fcn.00575880
mov eax, dword [0x6a7340]
mov edx, dword [eax + 0x30]
test edx, edx
jns 0x5769f9
nop
lea esi, [esi]
call fcn.00576220
mov eax, dword [0x6a7340]
jmp 0x5769f9
call sub.msvcrt.dll_abort
lea esi, [esi]
lea edi, [edi]
Function at 0x576af0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
mov esi, dword [edi + 0xc]
test esi, esi
je 0x576b82
mov eax, dword [0x6a7340]
test eax, eax
je 0x576b76
mov ebx, dword [eax + 0x30]
test ebx, ebx
js 0x576bf1
mov ecx, dword [eax + 0x30]
test ecx, ecx
jne 0x576b97
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov eax, edi
call fcn.00576740
cmp eax, 7
jne 0x576c0f
mov eax, dword [0x6a7340]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x576be2
mov edx, dword [eax + 0x30]
test edx, edx
js 0x576c00
mov edi, dword [eax + 0x30]
test edi, edi
jne 0x576bc3
mov dword [eax + 0x28], ebx
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0x20]
mov ecx, dword [edx + 4]
mov ebp, dword [eax + 0x20]
mov esp, dword [edx + 8]
jmp ecx
call fcn.00575880
mov eax, dword [0x6a7340]
jmp 0x576b12
mov dword [esp], edi
call fcn.005765b0
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov ebx, dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
sub esp, 4
mov ebx, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.DLL_SetLastError]
mov eax, ebx
sub esp, 4
jmp 0x576b27
mov eax, dword [eax + 0x2c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x576b65
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x576b65
call fcn.00575880
mov eax, dword [0x6a7340]
jmp 0x576b50
call fcn.00576220
mov eax, dword [0x6a7340]
jmp 0x576b1d
call fcn.00576220
mov eax, dword [0x6a7340]
jmp 0x576b5b
call sub.msvcrt.dll_abort
lea esi, [esi]
lea edi, [edi]
Function at 0x5b5ade
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp eax, 0
je 0x5b5afc
push 5
push dword [ebx + 0x80]
call sub.USER32.dll_ShowWindow
jmp 0x5b5b3b
mov eax, dword [ebx + 0xc]
cmp eax, 0x5eeb60
setne al
movzx eax, al
cmp eax, 0
je 0x5b5b1e
call fcn.005b0f9e
push eax
push ebx
mov eax, dword [ebx]
call dword [eax + 0x34]
add esp, 8
cmp eax, 0
je 0x5b5b2e
push dword [ebx + 0xc]
call fcn.005b0f7f
add esp, 4
push 0
push dword [ebx + 0x80]
call sub.USER32.dll_ShowWindow
mov eax, 0
jmp 0x5b5b42
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5c1193
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, 0
push 0x10
call sub.USER32.dll_GetKeyState
and eax, 0x8000
cmp eax, 0
je 0x5c11b0
or ebx, 1
push 0x11
call sub.USER32.dll_GetKeyState
and eax, 0x8000
cmp eax, 0
je 0x5c11c4
or ebx, 2
push 0x12
call sub.USER32.dll_GetKeyState
and eax, 0x8000
cmp eax, 0
je 0x5c11d8
or ebx, 4
push 0x5b
call sub.USER32.dll_GetKeyState
and eax, 0x8000
cmp eax, 0
jne 0x5c11f5
push 0x5c
call sub.USER32.dll_GetKeyState
and eax, 0x8000
cmp eax, 0
je 0x5c11fd
or ebx, 8
mov eax, ebx
jmp 0x5c1201
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5c1acf
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push eax
push edx
call fcn.005c1cbf
add esp, 8
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
cmp dword [ebp - 4], 0xffffffff
je 0x5c1bea
mov edi, 0x5eeb60
mov eax, dword [ebp + 0x18]
cmp eax, 1
je 0x5c1b1f
cmp eax, 2
je 0x5c1b1f
cmp eax, 7
je 0x5c1b1f
cmp eax, 3
je 0x5c1b1f
cmp eax, 4
je 0x5c1b6c
jmp 0x5c1b91
mov eax, dword [ebp + 0x14]
push dword [eax + 8]
call fcn.0057bffb
add esp, 4
mov edi, eax
mov esi, 1
mov eax, dword [ebp + 0x14]
mov ebx, dword [eax + 8]
jmp 0x5c1b66
push 1
push esi
push dword [ebp + 0x14]
call fcn.0059e668
add esp, 0xc
push eax
call fcn.0056a46d
add esp, 4
push eax
mov eax, esi
sub eax, 1
push eax
push edi
call fcn.0057c148
add esp, 0xc
add esi, 1
cmp esi, ebx
jle 0x5c1b3c
jmp 0x5c1b91
push 4
call fcn.0057bffb
add esp, 4
mov edi, eax
push dword [ebp + 0x14]
call fcn.0056a4d3
add esp, 4
push eax
push 0
push edi
call fcn.0057c1be
add esp, 0xc
jmp 0x5c1b91
push dword [ebp + 0x10]
call fcn.0056a99e
add esp, 4
mov ebx, eax
push edi
call fcn.0057c0a1
add esp, 4
push eax
push edi
call fcn.0057c05d
add esp, 4
push eax
push dword [ebp + 0x18]
push 0
push ebx
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
mov esi, eax
push ebx
call fcn.0056b454
add esp, 4
cmp esi, 0
jne 0x5c1bd9
mov dword [ebp - 8], 1
jmp 0x5c1bdf
mov dword [0x6212f4], esi
push dword [ebp - 4]
call fcn.005c1d3a
add esp, 4
mov eax, dword [ebp - 8]
jmp 0x5c1bef
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5c5e0b
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ebx
push esi
mov esi, 0x64
mov dword [ebp - 4], 0
add esi, 0x64
push esi
call fcn.0056b430
add esp, 4
mov ebx, eax
lea eax, [ebp - 4]
push eax
push esi
push ebx
call sub.PSAPI.DLL_EnumProcesses
cmp eax, 0
jne 0x5c5e4d
push ebx
call fcn.0056b454
add esp, 4
mov eax, 0x5eca80
jmp 0x5c5e8b
cmp esi, dword [ebp - 4]
jle 0x5c5e1f
mov eax, dword [ebp - 4]
cdq
and edx, 3
add eax, edx
sar eax, 2
push eax
push 0x622dca
call fcn.00568a91
add esp, 8
mov esi, eax
push dword [ebp - 4]
push ebx
lea eax, [esi + 0x18]
push eax
call fcn.0056b47e
add esp, 0xc
push ebx
call fcn.0056b454
add esp, 4
mov eax, esi
jmp 0x5c5e8b
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4013a0
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00402530
test esi, esi
jne 0x4013d6
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.KERNEL32.DLL_ReadFile
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.0040261c
jmp 0x4013f4
call sub.KERNEL32.DLL_ExitProcess
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004012b4
mov edi, eax
test esi, esi
je 0x4013f4
cmp dword [ebx], 0
je 0x4013f4
dec esi
jmp 0x4013dd
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x401974
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x407008], 0x8088405
inc edx
mov dword [ebx + 0x407008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x401990
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x407008], 0x8088405
inc edx
mov dword [ebx + 0x407008], edx
fld qword [ebx + 0x407068]
push 0
push edx
fild qword [esp]
add esp, 8
fmulp st(1)
pop ebx
ret

Function at 0x4019e0
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
mov esi, edx
mov edi, ecx
xor edx, edx
mov ebx, eax
mov dx, word [eax + 4]
sub edx, 0xd7b0
je 0x401a0c
cmp edx, 3
ja 0x401aa2
call dword [ebx + 0x24]
test eax, eax
je 0x401a0c
call fcn.00401238
mov word [ebx + 4], 0xd7b3
mov dword [ebx + 8], esi
mov dword [ebx + 0x24], 0x4019b8
mov dword [ebx + 0x1c], 0x4014e0
cmp byte [ebx + 0x48], 0
je 0x401a89
mov eax, 0xc0000000
mov dl, byte [0x40700c]
and edx, 0x70
shr edx, 2
mov edx, dword [edx + 0x407070]
mov ecx, 2
sub edi, 3
je 0x401a6b
mov ecx, 3
inc edi
je 0x401a6b
mov eax, 0x40000000
inc edi
mov word [ebx + 4], 0xd7b2
je 0x401a6b
mov eax, 0x80000000
mov word [ebx + 4], 0xd7b1
push 0
push 0x80
push ecx
push 0
push edx
push eax
lea eax, [ebx + 0x48]
push eax
call sub.KERNEL32.DLL_CreateThread
cmp eax, 0xffffffff
je 0x401aa9
mov dword [ebx], eax
jmp 0x401ab9
mov dword [ebx + 0x24], 0x4014e0
cmp edi, 3
je 0x401a99
push 0xfffffffffffffff6
jmp 0x401a9b
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_InterlockedIncrement
jmp 0x401a80
mov eax, 0x66
jmp 0x401ab4
mov word [ebx + 4], 0xd7b0
call sub.KERNEL32.DLL_Sleep
call fcn.00401238
pop edi
pop esi
pop ebx
ret
Function at 0x4033d4
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
xor ecx, ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x40353f
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.KERNEL32.DLL_HeapReAlloc
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x118]
call fcn.00402d94
lea edx, [ebp - 0x118]
lea eax, [ebp - 0x18]
call fcn.0040268c
lea eax, [ebp - 0xc]
mov ecx, 0x403554
mov edx, dword [ebp - 0x18]
call fcn.004026fc
lea eax, [ebp - 0x10]
mov ecx, 0x403564
mov edx, dword [ebp - 0x18]
call fcn.004026fc
lea eax, [ebp - 0x14]
mov ecx, 0x403570
mov edx, dword [ebp - 0x18]
call fcn.004026fc
push 0x403580
push dword [ebp - 0x10]
push 0x403594
push dword [ebp - 0x14]
lea eax, [ebp - 0x11c]
mov edx, 4
call fcn.00402770
mov edx, dword [ebp - 0x11c]
mov ecx, 1
mov eax, dword [ebp - 0xc]
call fcn.00403300
push 0x4035a0
push dword [ebp - 4]
push 0x4035b8
push 0x4035c4
lea eax, [ebp - 0x120]
mov edx, 4
call fcn.00402770
mov edx, dword [ebp - 0x120]
mov ecx, 1
mov eax, dword [ebp - 0x10]
call fcn.00403300
push 0
mov eax, dword [ebp - 0xc]
call fcn.004028a8
push eax
call sub.KERNEL32.DLL_TlsSetValue
push 0x7d0
call sub.KERNEL32.DLL_TlsGetValue
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
call fcn.00403250
mov eax, dword [ebp - 0x14]
call fcn.004028a8
push eax
call fcn.00403084
mov eax, dword [ebp - 0x10]
call fcn.004028a8
push eax
call fcn.00403084
mov eax, dword [ebp - 0xc]
call fcn.004028a8
push eax
call fcn.00403084
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403546
lea eax, [ebp - 0x120]
mov edx, 2
call fcn.00402554
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.00402554
ret
Function at 0x403cec
Capabilities:
Check http status code
Create http request
Parse url
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x403f8a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, 0x403fa0
call fcn.00402584
lea eax, [ebp - 0x60]
xor ecx, ecx
mov edx, 0x3c
call fcn.00401954
push 0x104
call fcn.00402e34
pop ecx
mov dword [ebp - 0x50], eax
push 0x104
call fcn.00402e34
pop ecx
mov dword [ebp - 0x44], eax
push 0x104
call fcn.00402e34
pop ecx
mov dword [ebp - 0x3c], eax
push 0x104
call fcn.00402e34
pop ecx
mov dword [ebp - 0x34], eax
push 0x104
call fcn.00402e34
pop ecx
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x30], 0x104
mov dword [ebp - 0x4c], 0x104
mov dword [ebp - 0x40], 0x104
mov dword [ebp - 0x38], 0x104
mov dword [ebp - 0x58], 0x104
mov dword [ebp - 0x60], 0x3c
xor eax, eax
push ebp
push 0x403f68
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x60]
push eax
push 0x10000000
push 0
mov eax, dword [ebp - 4]
call fcn.004028a8
push eax
call sub.wininet.dll_InternetCrackUrlA
push 0
push 0
push 0
push 0
push 0x403fa4
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x403de6
call fcn.00402320
jmp 0x403f6f
xor eax, eax
push ebp
push 0x403f21
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x44000000
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004028a8
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x403e29
call fcn.00402320
call fcn.00402320
jmp 0x403f6f
xor eax, eax
push ebp
push 0x403f03
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 4
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x20000013
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_HttpQueryInfoA
test eax, eax
je 0x403e7e
cmp dword [ebp - 0x1c], 0xc8
je 0x403e7e
call fcn.00402320
call fcn.00402320
call fcn.00402320
jmp 0x403f6f
lea eax, [ebp - 0x18]
call fcn.00402530
mov dword [ebp - 0x1c], 0x100000
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
call fcn.004029d4
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetReadFile
test eax, eax
jne 0x403ec5
call fcn.00402320
call fcn.00402320
call fcn.00402320
jmp 0x403f6f
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
call fcn.004029d4
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x14]
call fcn.004026b8
cmp dword [ebp - 0x1c], 0
jne 0x403e86
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
call fcn.00402584
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403f0a
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403f91
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00402554
ret
Function at 0x4040a0
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [eax - 8], 0xffffffff
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov edx, dword [ebp + 8]
mov dword [edx - 8], eax
mov eax, dword [ebp + 8]
cmp dword [eax - 8], 0xffffffff
jne 0x4040ce
mov byte [ebp - 1], 0
jmp 0x404123
mov eax, dword [ebp + 8]
mov dword [eax - 4], 0xea60
mov eax, 0x404134
call fcn.00404094
push 4
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
push eax
push 0x1006
push 0xffff
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
push eax
call sub.wsock32.dll_setsockopt
mov edx, dword [ebp + 8]
mov dword [edx - 0xc], eax
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
je 0x404116
mov byte [ebp - 1], 0
jmp 0x404123
mov eax, dword [ebp + 8]
mov word [eax - 0x1c], 2
mov byte [ebp - 1], 1
mov al, byte [ebp - 1]
pop ecx
pop ebp
ret

Function at 0x40420c
Capabilities:
Connect socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 4], eax
push ebp
mov eax, dword [ebp - 4]
call fcn.004041a4
pop ecx
test al, al
je 0x404264
mov eax, dword [ebp - 4]
push eax
call sub.wsock32.dll_gethostbyname
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x40423e
mov byte [ebp - 5], 0
jmp 0x4042e6
mov eax, 0x4042f8
call fcn.00404094
mov eax, dword [ebp - 0xc]
movsx ecx, word [eax + 0xa]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
mov eax, dword [ebp + 8]
add eax, 0xffffffe8
call fcn.00403100
jmp 0x4042a6
mov eax, dword [ebp - 4]
push eax
call sub.wsock32.dll_inet_addr
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x404289
or edx, 0xffffffff
mov eax, 0x404314
call fcn.00404084
mov byte [ebp - 5], 0
jmp 0x4042e6
mov eax, 0x404330
call fcn.00404094
lea edx, [ebp - 0x14]
mov eax, dword [ebp + 8]
add eax, 0xffffffe8
mov ecx, 4
call fcn.00403100
push 0x19
call sub.wsock32.dll_htons
mov edx, dword [ebp + 8]
mov word [edx - 0x1a], ax
push 0x10
mov eax, dword [ebp + 8]
add eax, 0xffffffe4
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
push eax
call sub.wsock32.dll_connect
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x4042d8
mov byte [ebp - 5], 0
jmp 0x4042e6
mov eax, 0x404348
call fcn.00404094
mov byte [ebp - 5], 1
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret
Function at 0x404364
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbf0
xor eax, eax
mov dword [ebp - 0x410], eax
xor eax, eax
push ebp
push 0x40441f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x400
lea eax, [ebp - 0x409]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4043af
mov dword [ebp - 4], 0xffffffff
jmp 0x404406
cmp dword [ebp - 8], 0
jne 0x4043c1
mov eax, 0x404438
call fcn.00404094
jmp 0x4043ed
mov eax, dword [ebp - 8]
mov byte [ebp + eax - 0x409], 0
lea eax, [ebp - 0x410]
lea edx, [ebp - 0x409]
mov ecx, 0x401
call fcn.00402698
mov eax, dword [ebp - 0x410]
call fcn.00404094
cmp byte [ebp - 0x409], 0x35
jne 0x4043ff
mov dword [ebp - 4], 0x1f4
jmp 0x404406
mov dword [ebp - 4], 0xc8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404426
lea eax, [ebp - 0x410]
call fcn.00402530
ret

Function at 0x404450
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00402898
xor eax, eax
push ebp
push 0x4044c4
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 4]
call fcn.004026b0
push eax
mov eax, dword [ebp - 4]
call fcn.004028a8
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x40449f
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x4044ae
mov eax, dword [ebp - 4]
call fcn.00404094
mov dword [ebp - 8], 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4044cb
lea eax, [ebp - 4]
call fcn.00402530
ret
Function at 0x405f44
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov eax, 0x405edc
call fcn.00402fbc
xor eax, eax
push ebp
push 0x406041
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00401404
push 0x40968c
call sub.KERNEL32.DLL_GetModuleFileNameA
call sub.KERNEL32.DLL_HeapAlloc
mov edx, eax
mov eax, 0x406058
call fcn.004031cc
call fcn.00405e00
jmp 0x406006
call fcn.004049b0
test al, al
je 0x405ffc
jmp 0x405f9c
push 0xa
call sub.KERNEL32.DLL_TlsGetValue
mov eax, dword [0x408864]
add eax, dword [0x407108]
cmp eax, dword [0x408860]
jl 0x405f95
mov eax, dword [0x4070e8]
add eax, dword [0x4070ec]
cmp eax, 0x32
jl 0x405fcd
cmp dword [0x4070f0], 0
jne 0x405fcd
call fcn.00402448
cmp dword [0x4070f0], 0
jle 0x406006
xor eax, eax
mov dword [0x4070f0], eax
xor eax, eax
mov dword [0x4070e8], eax
xor eax, eax
mov dword [0x4070ec], eax
mov eax, 0x407114
mov edx, 0x406068
call fcn.00402584
jmp 0x406006
push 0xea60
call sub.KERNEL32.DLL_TlsGetValue
mov eax, 0x406058
call fcn.00403140
mov ebx, eax
call sub.KERNEL32.DLL_HeapAlloc
cmp ebx, eax
je 0x405f8a
call fcn.00404cb4
push 0x927c0
call sub.KERNEL32.DLL_TlsGetValue
call fcn.00404cb4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406048
ret
Function at 0x1007a58
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
test edx, edx
jbe 0x1007a87
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push esi
push edi
movzx si, byte [eax + 1]
mov di, word [eax]
shl di, 8
xor si, di
mov word [ecx], si
inc ecx
inc ecx
inc eax
inc eax
dec edx
jne 0x1007a6c
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x10039a60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.10038ae5
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10038a9a
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.10038ad5
and byte [ebx - 0x20], al
mov edx, 0x10468
add byte [ebp - 0x12b7b], cl
call dword [eax - 1]
xchg ebp, eax
sub al, 0xfc
invalid

Function at 0x10039f40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax]
mov byte [ebp - 0x72a], 0xc2
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
mov byte [ebp - 0x71a], 0x3d
call fcn.10038ad5
inc ebx
inc edi
pop ecx
ror byte [ebp - 0x72b7b], 1
call dword [eax - 0x18]
pop ss
jmp 0x10039fcc
invalid