joyce8/EMBER2024-capa huggingface dataset:
Function at 0x53db9b
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push edi
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x53dc09
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push 0x5e370c
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x53dc00
cmp dword [ebp - 0xc], 4
jne 0x53dc00
cmp dword [ebp - 0x10], edi
je 0x53dc00
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x60fe50], edi
xor eax, eax
jmp 0x53dc48
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x60fe50], edi
jge 0x53dc43
lea eax, [ebp - 0x34]
push eax
mov dword [0x60fe50], edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x34], di
jne 0x53dc43
cmp word [ebp - 0x14], 5
jb 0x53dc43
call fcn.0053db76
test eax, eax
je 0x53dc43
emms
mov dword [0x60fe50], 1
mov eax, dword [0x60fe50]
pop edi
leave
ret

Function at 0x5613bd
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x5613f5
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0055f438
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0055f410
jmp 0x561401
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x562aab
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x562aed
call fcn.005685aa
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x562aed
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x562ae4
xor eax, eax
jmp 0x562af5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00562afb
pop edi
pop esi
pop ebx
ret 4

Function at 0x568ada
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x568b08
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x568b26
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00568a40
jmp 0x568b26
mov eax, dword [esi + 0x14]
test eax, eax
je 0x568b26
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00568a40
test edi, edi
mov eax, edi
jne 0x568b10
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x1002aadf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x1002aaee
pop dword [ebp - 0x10]
mov eax, 0x45368d3f
sub eax, 0x3533e251
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x53c12c4e
add dword [ebp - 0x20], 0xfa9118fd
mov dword [ebp - 0x1c], 0x9bcbea12
sub dword [ebp - 0x1c], 0x69989dcd
mov dword [ebp - 0x18], 0x9ad773c3
add dword [ebp - 0x18], 0xb174d06b
mov dword [ebp - 0x14], 0xf2d04b75
add dword [ebp - 0x14], 0xd2fb48b
lea eax, [ebp - 0x20]
push eax
mov eax, 0xb1165ff0
sub eax, 0xa1139fb8
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x3bf33f55
sub dword [ebp - 0x20], 0xc780d5ff
mov dword [ebp - 0x1c], 0x9a58edc
sub dword [ebp - 0x1c], 0xc8392d67
mov dword [ebp - 0x18], 0x36380309
add dword [ebp - 0x18], 0x2d376963
mov dword [ebp - 0x14], 0x5a315e7
sub dword [ebp - 0x14], 0x5a315e7
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x350e0
push 0
call eax
mov ecx, 0xeeadac2b
sub ecx, 0xeead69d2
mov ebx, eax
mov edi, 0x1078cd57
add edi, 0xff8ac8a9
add edi, dword [ebp - 0x10]
mov edx, 0x90a9c660
mov dword [ebp - 8], 0xd132b124
mov esi, dword [edi]
xor esi, edx
xor dword [ebp - 4], 0x3f85ac46
mov dword [ebx], esi
xor dword [ebp - 8], ecx
add ebx, 4
add edi, 0xd0a4f7fd
add edi, 0x2f5b0807
loop 0x1002ac05
add eax, 0x14bb0fe6
add eax, 0xeb45ec51
mov ebx, eax
add eax, 0x751c0023
add eax, 0x8ae3ffe2
mov ecx, 0x9da686c
sub ecx, 0xf9da686c
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x401ab5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a9090]
jne 0x401abf
repz ret
jmp fcn.00402908

Function at 0x40aa46
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004039d7
and dword [ebp - 4], 0
cmp dword [0x4ad224], 0
mov ebx, eax
jne 0x40aaf7
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40aba8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40aba8
push eax
call fcn.00403965
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4ad224], eax
call esi
push eax
call fcn.00403965
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4ad228], eax
call esi
push eax
call fcn.00403965
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4ad22c], eax
call esi
push eax
call fcn.00403965
pop ecx
mov dword [0x4ad234], eax
test eax, eax
je 0x40aaf7
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403965
pop ecx
mov dword [0x4ad230], eax
mov eax, dword [0x4ad230]
cmp eax, ebx
je 0x40ab4f
cmp dword [0x4ad234], ebx
je 0x40ab4f
push eax
call fcn.004039e0
push dword [0x4ad234]
mov esi, eax
call fcn.004039e0
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40ab4f
test edi, edi
je 0x40ab4f
call esi
test eax, eax
je 0x40ab46
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40ab46
test byte [ebp - 0xc], 1
jne 0x40ab4f
or dword [ebp + 0x10], 0x200000
jmp 0x40ab88
mov eax, dword [0x4ad228]
cmp eax, ebx
je 0x40ab88
push eax
call fcn.004039e0
pop ecx
test eax, eax
je 0x40ab88
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40ab88
mov eax, dword [0x4ad22c]
cmp eax, ebx
je 0x40ab88
push eax
call fcn.004039e0
pop ecx
test eax, eax
je 0x40ab88
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4ad224]
call fcn.004039e0
pop ecx
test eax, eax
je 0x40aba8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40abaa
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40bdcf
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [0x1ff4024], 0x930
jne 0x40bdec
push str.xafewibiwucijamojamejuhuyewo
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
cmp dword [0x1ff4024], 0x114e
mov eax, dword [ebp + 8]
mov dword [0x1ff3e68], eax
jne 0x40be0c
lea eax, [ebp - 0x1c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
leave
ret
Function at 0x101dbf10
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x101dc0fd
pushal
mov esi, section.UPX1
lea edi, [esi - 0x16c000]
push edi
or ebp, 0xffffffff
jmp 0x101dbf3a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x101dbf41
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x101dbf30
mov eax, 1
add ebx, ebx
jne 0x101dbf53
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x101dbf64
jne 0x101dbf83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x101dbf83
dec eax
add ebx, ebx
jne 0x101dbf70
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x101dbf48
add ebx, ebx
jne 0x101dbf7f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x101dbfd5
xor ecx, ecx
sub eax, 3
jb 0x101dbf9b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x101dc00a
sar eax, 1
mov ebp, eax
jmp 0x101dbfa6
add ebx, ebx
jne 0x101dbfa6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x101dbf74
inc ecx
add ebx, ebx
jne 0x101dbfb4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x101dbf74
add ebx, ebx
jne 0x101dbfc1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x101dbfb6
jne 0x101dbfd2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x101dbfb6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x101dbff4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x101dbfe6
jmp 0x101dbf36
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x101dbff4
add edi, ecx
jmp 0x101dbf36
pop esi
mov edi, esi
mov ecx, 0x82e7
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x101dc012
cmp byte [edi], 0x27
jne 0x101dc012
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 0x101dc017
lea edi, [esi + 0x1cf000]
mov eax, dword [edi]
or eax, eax
je 0x101dc08f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1e1b28]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1e1c68]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x101dc044
mov ecx, edi
jns 0x101dc073
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 + 0x1e1c6c]
or eax, eax
je 0x101dc089
mov dword [ebx], eax
add ebx, 4
jmp 0x101dc061
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x101dc0c0
cmp al, 0xef
ja 0x101dc0b3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x101dc095
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x101dc0a2
mov ebp, dword [esi + 0x1e1c70]
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 0x101dc0f4
sub esp, 0xffffff80
jmp 0x100f72eb
Function at 0x1009aed0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
ret

Function at 0x1009aef0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
ret
Function at 0x1015b16f
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1015b1ae
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1015b1ae
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1015b1ae
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1015b1ae
cmp dword [ecx + 0x74], 0xe
jbe 0x1015b1ae
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x1015d590
Capabilities:
Parse pe header

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

Function at 0x1015d9e4
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1016aa90
push 0x1016aa88
push str.FlsAlloc
push 0x1f
call fcn.1015dcc7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1015da18
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
jmp 0x1015da1e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1015da62
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1016aaa0
push 0x1016aa98
push str.FlsGetValue
push 0x21
call fcn.1015dcc7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1015da99
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1015daa1
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1016aaa8
push 0x1016aaa0
push str.FlsSetValue
push 0x22
call fcn.1015dcc7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1015dadb
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10161887
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x10161924
push ebx
push esi
call fcn.10161927
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1016178b
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x101618d1
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10161923
push edi
push eax
call fcn.1015f8f1
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x101618f1
call fcn.1015ef94
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10161922
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1016178b
add esp, 0x20
test eax, eax
jne 0x10161910
push edi
call fcn.1015ef94
jmp 0x10161918
push ebx
call fcn.1015ef94
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x5e90a4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
test dl, dl
je 0x5e90c1
add esp, 0xfffffff0
call fcn.0040440c
mov dword [ebp - 4], ecx
mov ebx, edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00405338
mov eax, dword [ebp + 0x18]
call fcn.00405338
xor eax, eax
push ebp
push 0x5e91f7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [edi + 4]
mov edx, dword [ebp - 4]
call fcn.00404eec
mov al, byte [ebp + 0x14]
mov byte [edi + 8], al
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x2c], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x38], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x3c], eax
mov edx, dword [edi + 4]
lea eax, [ebp - 8]
mov ecx, 0x5e9228
call fcn.0040519c
mov edx, dword [ebp - 8]
lea ecx, [edi + 0x14]
mov eax, dword [0x62445c]
mov eax, dword [eax]
mov eax, dword [eax + 0x654]
mov eax, dword [eax + 0x10]
call fcn.005e7408
cmp dword [edi + 0x2c], 1
jle 0x5e9165
mov edx, dword [edi + 4]
lea eax, [ebp - 0xc]
mov ecx, 0x5e9238
call fcn.0040519c
mov edx, dword [ebp - 0xc]
lea ecx, [edi + 0x1c]
mov eax, dword [0x62445c]
mov eax, dword [eax]
mov eax, dword [eax + 0x654]
mov eax, dword [eax + 0x10]
call fcn.005e7408
cmp dword [ebp + 0x18], 0
je 0x5e91c2
mov eax, dword [0x624634]
mov eax, dword [eax]
cmp byte [eax + 0x50], 0
je 0x5e91c2
xor ecx, ecx
mov dl, 1
mov eax, dword [0x5fcb6c]
call fcn.005fccbc
mov esi, eax
mov dword [edi + 0x40], esi
mov eax, esi
xor ecx, ecx
mov edx, dword [ebp + 0x18]
call fcn.005fcd04
mov eax, dword [0x624594]
imul eax, dword [eax + 0x38], 0x3e8
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
add esp, 0xfffffffc
fstp dword [esp]
wait
call fcn.0047d848
push eax
mov eax, dword [edi + 0x40]
mov eax, dword [eax + 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x3c]
mov byte [edi + 0x11], 0
xor eax, eax
mov dword [edi + 0xc], eax
xor eax, eax
mov dword [edi + 0x28], eax
mov byte [edi + 0x30], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e91fe
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404ebc
lea eax, [ebp + 0x18]
call fcn.00404e98
ret

Function at 0x5eece4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405338
xor eax, eax
push ebp
push 0x5eed6d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x30]
call fcn.004063b8
inc eax
push eax
lea eax, [ebx + 0x30]
mov ecx, 1
mov edx, dword [0x5eec44]
call fcn.00406574
add esp, 4
mov eax, dword [ebx + 0x30]
call fcn.004063c0
add eax, eax
mov edx, dword [ebx + 0x30]
lea eax, [edx + eax*8]
mov edx, dword [ebp - 4]
call fcn.00404eec
mov eax, dword [ebx + 0x30]
call fcn.004063c0
add eax, eax
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebp + 8]
mov dword [edx + eax*8 + 8], ecx
mov ecx, dword [ebp + 0xc]
mov dword [edx + eax*8 + 0xc], ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5eed74
lea eax, [ebp - 4]
call fcn.00404e98
ret
Function at 0x5ef05c
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405338
xor eax, eax
push ebp
push 0x5ef0cc
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x62b044
push 0x101
call sub.wsock32.dll_WSAStartup
mov esi, eax
mov word [0x62b1d8], 2
push ebx
call sub.wsock32.dll_htons
mov word [0x62b1da], ax
lea eax, [ebp - 4]
call fcn.004053a0
push eax
call sub.wsock32.dll_inet_addr
mov dword [0x62b1dc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ef0d3
lea eax, [ebp - 4]
call fcn.00404e98
ret

Function at 0x5ef0dc
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff44
push ebx
push esi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405338
xor eax, eax
push ebp
push 0x5ef1f2
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov dword [0x62b1d4], eax
push 0x10
mov eax, 0x62b1d8
push eax
mov eax, dword [0x62b1d4]
push eax
call sub.wsock32.dll_connect
test eax, eax
jne 0x5ef1d4
push dword [ebp + 0xc]
push dword [ebp + 8]
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.005eef70
mov eax, dword [ebp - 0x10]
call fcn.00405150
mov edx, eax
dec edx
test edx, edx
jl 0x5ef16c
inc edx
xor ecx, ecx
lea eax, [ebp - 0x69]
mov ebx, dword [ebp - 0x10]
mov bl, byte [ebx + ecx]
mov byte [eax], bl
inc esi
inc ecx
inc eax
dec edx
jne 0x5ef15e
push 0
push esi
lea eax, [ebp - 0x69]
push eax
mov eax, dword [0x62b1d4]
push eax
call sub.wsock32.dll_send
push 0
push 0x51
lea eax, [ebp - 0xba]
push eax
mov eax, dword [0x62b1d4]
push eax
call sub.wsock32.dll_recv
mov byte [ebp + eax - 0xba], 0
lea eax, [ebp - 0xc]
lea edx, [ebp - 0xba]
mov ecx, 0x51
call fcn.00405100
lea ecx, [ebp - 0x18]
lea edx, [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.005eee2c
mov eax, dword [0x62b1d4]
push eax
call sub.wsock32.dll_closesocket
fld qword [ebp - 0x18]
call fcn.00402c78
mov ebx, eax
jmp 0x5ef1d7
or ebx, 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ef1f9
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404ebc
ret
Function at 0x60a0d8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
mov edi, eax
xor ebx, ebx
mov byte [edi + 0x15], 0
mov eax, edi
call fcn.0060b940
call sub.KERNEL32.DLL_GetTickCount
mov esi, eax
lea eax, [edi + 0x6c]
call fcn.00404e98
xor edx, edx
mov eax, edi
call fcn.00609b38
push 1
call sub.KERNEL32.DLL_Sleep
cmp byte [edi + 0x15], 0
je 0x60a125
cmp dword [edi + 0x6c], 0
jne 0x60a157
mov eax, dword [0x62445c]
mov eax, dword [eax]
call fcn.005f6e20
mov bl, 1
jmp 0x60a157
call sub.KERNEL32.DLL_GetTickCount
xor edx, edx
push edx
push eax
mov eax, esi
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
cmp edx, 0
jne 0x60a148
cmp eax, 0x1388
jbe 0x60a0f9
jmp 0x60a14a
jle 0x60a0f9
lea eax, [edi + 0x6c]
mov edx, 0x60a168
call fcn.00404eec
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x60e564
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
test dl, dl
je 0x60e57e
add esp, 0xfffffff0
call fcn.0040440c
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x60e74e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [esi + 0x90]
push eax
lea eax, [ebp - 4]
push eax
xor ecx, ecx
mov dl, 1
mov eax, 0x60e77c
call fcn.00474048
push 0x3f800000
push 0x3f800000
push 0x3f800000
push 0x3f800000
push 0x3f800000
lea eax, [ebp - 0x30]
call fcn.00473288
lea eax, [ebp - 0x30]
push eax
push 0x41f00000
push 0x41f00000
push 0
lea eax, [ebp - 0x3c]
call fcn.00473288
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x24]
pop edx
call fcn.004732a0
push esi
lea edi, [esi + 0x10]
lea esi, [ebp - 0x24]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
push 0
push 0x3f800000
push 0xbf800000
push 0x3f800000
push 0x3f800000
lea eax, [ebp - 0x30]
call fcn.00473288
lea eax, [ebp - 0x30]
push eax
push 0xc1f00000
push 0x41f00000
push 0
lea eax, [ebp - 0x3c]
call fcn.00473288
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x24]
pop edx
call fcn.004732a0
push esi
lea edi, [esi + 0x30]
lea esi, [ebp - 0x24]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
push 0x3f800000
push 0
push 0x3f800000
push 0xbf800000
push 0x3f800000
lea eax, [ebp - 0x30]
call fcn.00473288
lea eax, [ebp - 0x30]
push eax
push 0x41f00000
push 0xc1f00000
push 0
lea eax, [ebp - 0x3c]
call fcn.00473288
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x24]
pop edx
call fcn.004732a0
push esi
lea edi, [esi + 0x50]
lea esi, [ebp - 0x24]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
push 0
push 0
push 0xbf800000
push 0xbf800000
push 0x3f800000
lea eax, [ebp - 0x30]
call fcn.00473288
lea eax, [ebp - 0x30]
push eax
push 0xc1f00000
push 0xc1f00000
push 0
lea eax, [ebp - 0x3c]
call fcn.00473288
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x24]
pop edx
call fcn.004732a0
push esi
lea edi, [esi + 0x70]
lea esi, [ebp - 0x24]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
lea eax, [esi + 0x94]
xor ecx, ecx
mov edx, 0x44
call fcn.00403454
lea eax, [esi + 0x94]
mov dword [eax + 0x10], 0x3f800000
xor edx, edx
mov dword [eax + 0x14], edx
mov dword [eax + 0x18], 0x3f800000
mov dword [eax + 0x1c], 0x3f800000
mov dword [eax], 0x3f800000
xor edx, edx
mov dword [eax + 4], edx
mov dword [eax + 8], 0x3f800000
mov dword [eax + 0xc], 0x3f800000
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60e755
lea eax, [ebp - 4]
call fcn.00404e98
ret