joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47b3b4
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47b55f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x47b540
mov dl, 1
mov eax, dword [0x41bf6c]
call fcn.00403560
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004043c0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x47b52f
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00468ffc
test al, al
je 0x47b522
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x47b570
lea eax, [ebp - 0x254]
call fcn.0040a4dc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x47b522
xor eax, eax
push ebp
push 0x47b51b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x47b5a8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x47b504
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404630
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x47b504
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404630
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47b522
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x47b425
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00420b18
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47b566
lea eax, [ebp - 0x260]
call fcn.004043c0
ret

Function at 0x47be94
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x607bf8]
cmp byte [eax + 0xa5], 0
jne 0x47bf05
cmp dword [0x607c10], 0
jne 0x47bec6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x47be50
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x607c10], eax
cmp dword [0x607c0c], 0
jne 0x47bee1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x607c0c], eax
cmp dword [0x607c14], 0
jne 0x47bf05
push esp
push 0
push 0
push 0x47bdf4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x607c14], eax
pop edx
ret
Function at 0x47bffc
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x47c013
add esp, 0xfffffff0
call fcn.004038f4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00427310
mov eax, dword [0x606448]
cmp word [eax + 2], 0
jne 0x47c03b
mov eax, dword [0x606448]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0047d77c
mov eax, dword [0x606608]
cmp word [eax + 2], 0
jne 0x47c055
mov eax, dword [0x606608]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0047d974
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41b908]
call fcn.00403560
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41b908]
call fcn.00403560
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x429934]
call fcn.00431f4c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x47c1dc
mov eax, dword [0x60625c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0043231c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x47df24
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x60625c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040e024
test eax, eax
je 0x47c14a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409ebc
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040e04c
test eax, eax
je 0x47c15e
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404630
mov eax, dword [0x605f48]
cmp byte [eax], 0
jne 0x47c192
mov eax, ebx
call fcn.0047c304
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0047e100
mov eax, ebx
call fcn.0047eac4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x47c1d2
call fcn.0040394c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47c584
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x607bf8]
cmp dword [eax + 0x30], 0
je 0x47c62e
cmp dword [ebx + 0x94], 0
jne 0x47c628
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x47c514
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x47c628
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x47c5ee
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x47c628
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041e260
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x47c5fd
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x47d190
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x47d1c5
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004044b0
jmp 0x47d1d2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404414
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x47e2dc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x47e31d
mov eax, esi
call fcn.00464580
test al, al
je 0x47e31d
mov eax, dword [ebx + 0x84]
call fcn.0046427c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x47e31d
push 0
mov eax, dword [ebx + 0x84]
call fcn.0046427c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x47f85c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x24]
mov edi, dword [ebx + 0x34]
sub edi, dword [ebx + 0x6c]
sub edi, dword [ebx + 0x64]
test edi, edi
jne 0x47f886
cmp dword [ebx + 0x64], 0
jne 0x47f886
cmp dword [ebx + 0x6c], 0
jne 0x47f886
mov edi, esi
jmp 0x47f90d
cmp edi, 0xffffffff
jne 0x47f88e
dec edi
jmp 0x47f90d
mov eax, dword [ebx + 0x24]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x64]
ja 0x47f90d
push esi
mov eax, dword [ebx + 0x30]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.0047ec30
add esp, 0xc
sub dword [ebx + 0x68], esi
sub dword [ebx + 0x64], esi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x3c]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x47f8db
mov cx, word [esp]
sub cx, si
jmp 0x47f8dd
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x47f8c4
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x38]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x47f903
mov cx, word [esp]
sub cx, si
jmp 0x47f905
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x47f8ec
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x47f96a
mov edx, dword [ebx + 0x30]
mov ecx, edi
add edx, dword [ebx + 0x64]
mov eax, ebp
add edx, dword [ebx + 0x6c]
call fcn.0047f5f8
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x47f955
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x64]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x64]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x47f96a
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x47f866
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x485c24
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
and eax, 1
test al, al
je 0x485c53
mov eax, dword [ebp - 4]
shr eax, 1
xor eax, 0xedb88320
mov dword [ebp - 4], eax
jmp 0x485c56
shr dword [ebp - 4], 1
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 8
jne 0x485c3a
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [eax*4 + 0x607c28], edx
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x100
jne 0x485c2f
mov byte [0x608028], 1
mov esp, ebp
pop ebp
ret
Function at 0x485c84
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
cmp byte [0x608028], 0
jne 0x485ca7
call fcn.00485c24
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x485ce6
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
movzx eax, byte [eax + edx]
xor eax, dword [ebp - 0x14]
and eax, 0xff
mov eax, dword [eax*4 + 0x607c28]
mov edx, dword [ebp - 0x14]
shr edx, 8
xor eax, edx
mov dword [ebp - 0x14], eax
inc dword [ebp - 0x18]
dec dword [ebp - 0x1c]
jne 0x485cba
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x490754
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0042b6f8
cmp ebx, dword [ebp - 8]
jge 0x4907b7
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0042baf4
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0042baf4
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0042bb20
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x49077d
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4907c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0042b6f8
cmp ebx, dword [ebp - 8]
jge 0x490823
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0042baf4
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0042baf4
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0042bb20
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x4907e9
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x494f50
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x41ac94]
call fcn.00404e9c
xor eax, eax
push ebp
push 0x495094
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x596698], 0
jne 0x494fa3
mov ecx, dword [0x605f90]
mov dl, 1
mov eax, dword [0x407f88]
call fcn.0040d1c4
call fcn.00403d5c
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402f00
mov eax, ebx
call fcn.00404c54
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4950a4
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.004061b0
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404c64
test eax, eax
jle 0x49503b
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x495034
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404648
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404630
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408f14
test eax, eax
jne 0x495034
mov ebx, 0x15
jmp 0x495040
mov ebx, 0x10
jmp 0x495040
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x596698]
call fcn.00494e4c
mov eax, dword [ebp - 8]
call fcn.00494e4c
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004061c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49509b
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004043e4
lea eax, [ebp - 0x10]
mov edx, dword [0x41ac94]
call fcn.00404f6c
ret

Function at 0x4988b8
Capabilities:
Hide graphical window

Disassembly:
push ebx
add esp, 0xfffffff0
mov ebx, eax
mov eax, ebx
call fcn.00498358
test byte [ebx + 0x23d], 4
jne 0x49894d
mov edx, esp
mov eax, ebx
call fcn.0045d3fc
push esp
mov eax, ebx
call fcn.00464078
push eax
push 0
mov eax, ebx
test eax, eax
je 0x4988ed
sub eax, 0xfffffd9c
push eax
push 0
push 0xfffffffffffffffb
mov eax, dword [ebx + 0x218]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
cmp dword [ebx + 0x22c], 0
jne 0x49891e
mov ecx, dword [0x606390]
mov dl, 1
mov eax, dword [0x494b0c]
call fcn.0040d1c4
call fcn.00403d5c
mov eax, ebx
call fcn.00498e8c
cmp byte [ebx + 0x57], 0
jne 0x498954
mov eax, ebx
call fcn.0046427c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x498954
push 0
mov eax, ebx
call fcn.0046427c
push eax
call sub.user32.dll_ShowWindow
jmp 0x498954
mov eax, ebx
call fcn.004611fc
add esp, 0x10
pop ebx
ret
Function at 0x4a3bb8
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4a3bc0
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4a3db2
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x4a3dc8
mov eax, esi
call fcn.004a1948
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00404414
lea ecx, [ebp - 0x10]
mov edx, 0x4a3ddc
mov eax, esi
call fcn.004a1948
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00404414
lea ecx, [ebp - 0x14]
mov edx, 0x4a3df4
mov eax, esi
call fcn.004a1948
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00404414
lea ecx, [ebp - 0x18]
mov edx, 0x4a3e10
mov eax, esi
call fcn.004a1948
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00404414
lea ecx, [ebp - 0x1c]
mov edx, 0x4a3e2c
mov eax, esi
call fcn.004a1948
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00404414
lea ecx, [ebp - 0x24]
mov edx, 0x4a3e44
mov eax, esi
call fcn.004a1948
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00408ff8
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00409594
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x4a3e5c
mov eax, esi
call fcn.004a1948
mov eax, dword [ebp - 0x28]
call fcn.004a0a60
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x4a3e6c
mov eax, esi
call fcn.004a1948
mov eax, dword [ebp - 0x2c]
call fcn.004a0a60
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x4a3e84
mov eax, esi
call fcn.004a1948
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00409594
inc eax
je 0x4a3d55
lea ecx, [ebp - 0x34]
mov edx, 0x4a3e84
mov eax, esi
call fcn.004a1948
mov eax, dword [ebp - 0x34]
call fcn.00409558
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040af54
fstp qword [ebp - 0x3c]
wait
call fcn.0040b2b8
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x4a3d70
lea ecx, [ebp - 0x40]
mov edx, 0x4a3e84
mov eax, esi
call fcn.004a1948
mov eax, dword [ebp - 0x40]
call fcn.004a0a60
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x4a3e94
mov eax, esi
call fcn.004a1948
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00404414
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a3db9
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004043e4
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.004043e4
ret
Function at 0x4b0050
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x4b00aa
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.004b0040
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.0049f6cc
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.0049f2cc
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b00b1
lea eax, [ebp - 4]
call fcn.004043c0
ret
Function at 0x4d76e4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov dl, 1
mov eax, dword [0x4d60ac]
call fcn.004d6460
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4d7827
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
add eax, 0x1c
push eax
call sub.kernel32.dll_InterlockedIncrement_1
mov edx, dword [ebp - 8]
mov dword [edx], eax
call fcn.004d72d8
mov edx, dword [ebp - 0xc]
mov dword [edx + 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0xc]
add eax, 0x10
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x28]
call fcn.00404b08
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x30], eax
mov eax, dword [ebp - 0xc]
add eax, 0x34
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0xc]
call fcn.00404b08
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 0xc]
add eax, 0x3c
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x14]
call fcn.00404b08
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 0xc]
add eax, 0x44
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x1c]
call fcn.00404b08
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x20]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x48], eax
mov eax, dword [ebp - 0xc]
add eax, 0x4c
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x24]
call fcn.00404b08
mov eax, dword [ebp - 0xc]
add eax, 0x50
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x2c]
call fcn.00404b08
mov eax, dword [ebp - 0xc]
add eax, 0x54
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x30]
mov ecx, dword [0x4d6074]
call fcn.00405b34
mov eax, dword [ebp - 0xc]
add eax, 0x58
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x40]
mov ecx, dword [0x4d5ddc]
call fcn.00405b34
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004d793c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d783e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4e1f94
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
push 0
push 0
push 8
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
push eax
call sub.wsock32.dll_setsockopt
test eax, eax
je 0x4e1fe2
mov dword [ebp - 0xc], 1
push 4
lea eax, [ebp - 0xc]
push eax
push 1
push 6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
push eax
call sub.wsock32.dll_setsockopt
test eax, eax
je 0x4e1fe2
mov dword [ebp - 8], 0xffffffff
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret