joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44fa14
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44fa26
add esp, 0xfffffff0
call fcn.004031ec
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00418ddc
mov eax, ebx
call fcn.0044fd60
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x30], eax
mov dl, 1
mov eax, dword [0x40fee4]
call fcn.00402e7c
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x40fee4]
call fcn.00402e7c
mov dword [ebx + 0x44], eax
mov dl, 1
mov eax, dword [0x40fee4]
call fcn.00402e7c
mov dword [ebx + 0x48], eax
mov dl, 1
mov eax, dword [0x40fee4]
call fcn.00402e7c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x40fee4]
call fcn.00402e7c
mov dword [ebx + 0x70], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x34], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x4c]
push eax
mov eax, 0x44f9e4
push eax
push 0
push 0
mov eax, dword [0x53bd60]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41a2a4]
call fcn.0041b7dc
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x41a2a4]
call fcn.0041b7dc
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x41a2a4]
call fcn.0041b7dc
mov dword [ebx + 0x74], eax
mov eax, ebx
call fcn.004501d0
mov eax, dword [ebx + 0x78]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4500a4
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4500a4
mov eax, dword [ebx + 0x74]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4500a4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44fb35
call fcn.00403244
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44fe88
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 0x450033
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0
jne 0x450014
mov dl, 1
mov eax, dword [0x410410]
call fcn.00402e7c
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.00403bf8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x450003
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.0043e37c
test al, al
je 0x44fff6
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, 0x450044
lea eax, [ebp - 0x254]
call fcn.00409f70
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44fff6
xor eax, eax
push ebp
push 0x44ffef
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 0x45007c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44ffd8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403e28
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x44ffd8
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403e28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44fff6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44fef9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.00413f70
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x28]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45003a
lea eax, [ebp - 0x260]
call fcn.00403bf8
ret

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

Disassembly:
push ecx
mov eax, dword [0x53d7d8]
cmp byte [eax + 0x95], 0
jne 0x450939
cmp dword [0x53d7f4], 0
jne 0x4508fa
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x450884
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x53d7f4], eax
cmp dword [0x53d7f0], 0
jne 0x450915
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x53d7f0], eax
cmp dword [0x53d7f8], 0
jne 0x450939
push esp
push 0
push 0
push 0x450828
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x53d7f8], eax
pop edx
ret
Function at 0x450a30
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x450a47
add esp, 0xfffffff0
call fcn.004031ec
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00418ddc
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x40fee4]
call fcn.00402e7c
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x40fee4]
call fcn.00402e7c
mov dword [ebx + 0x98], eax
xor eax, eax
mov dword [ebx + 0x50], eax
xor eax, eax
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x4c], 0x80000018
mov dword [ebx + 0x68], 0x1f4
mov byte [ebx + 0x6c], 1
xor eax, eax
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x64], 0x9c4
mov byte [ebx + 0x78], 0
mov byte [ebx + 0x8d], 1
mov dl, 1
mov eax, dword [0x41ac34]
call fcn.004227f4
mov esi, eax
mov dword [ebx + 0x88], esi
push 0x450bbc
mov eax, dword [0x53badc]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00422bc4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x452580
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x53badc]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_2
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.0040d170
test eax, eax
je 0x450b3a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004098a8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d198
test eax, eax
je 0x450b4e
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x7c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00403e28
mov eax, dword [0x53b758]
cmp byte [eax], 0
jne 0x450b7f
mov eax, ebx
call fcn.00450ca8
mov byte [ebx + 0x49], 1
mov byte [ebx + 0x4a], 1
mov byte [ebx + 0x4b], 1
mov byte [ebx + 0x8e], 1
xor eax, eax
mov dword [ebx + 0x90], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x450bb1
call fcn.00403244
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x450f18
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x53d7d8]
cmp dword [eax + 0x24], 0
je 0x450fbb
cmp dword [ebx + 0x84], 0
jne 0x450fb5
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x450ea8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x80]
cmp dword [eax + 8], 0
je 0x450fb5
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 0x450f7e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x80]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x450fb5
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x80]
call fcn.00411b18
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x450f8d
inc dword [ebx + 0x84]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x462374
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0040403c
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x46238d
test al, 0x10
jne 0x462391
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x467878
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4679e1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00403c90
mov eax, dword [ebp - 0x10]
call fcn.004674a8
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x4678ca
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.004040c0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00467d40
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x46799f
xor eax, eax
push ebp
push 0x467998
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00467674
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00467a10
test al, al
je 0x467976
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00403ce0
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x467976
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.0040403c
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x467970
mov eax, dword [ebp - 0x14]
call fcn.0040403c
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00403db0
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00467878
dec ebx
cmp ebx, 0xffffffff
jne 0x467929
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46799f
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00467674
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.0040403c
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.00467660
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4679e8
lea eax, [ebp - 0x3c]
call fcn.00403bf8
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00403c1c
ret
Function at 0x46799f
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4679e1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00403c90
mov eax, dword [ebp - 0x10]
call fcn.004674a8
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x4678ca
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.004040c0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00467d40
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x46799f
xor eax, eax
push ebp
push 0x467998
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00467674
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00467a10
test al, al
je 0x467976
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00403ce0
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x467976
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.0040403c
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x467970
mov eax, dword [ebp - 0x14]
call fcn.0040403c
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00403db0
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00467878
dec ebx
cmp ebx, 0xffffffff
jne 0x467929
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46799f
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00467674
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.0040403c
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.00467660
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4679e8
lea eax, [ebp - 0x3c]
call fcn.00403bf8
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00403c1c
ret

Function at 0x467a10
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00402b8c
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x53c2d8]
cmp byte [edx + 8], 0
je 0x467a74
mov edx, dword [0x53c2c0]
cmp dword [edx], 2
jne 0x467a74
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret
Function at 0x467c54
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.004674bc
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.0040403c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x467cb2
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x53bd6c]
mov dl, 1
mov eax, dword [0x467348]
call fcn.0040c514
call fcn.00403644
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x467cbc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.0040403c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x467d14
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x53c2e8]
mov dl, 1
mov eax, dword [0x467348]
call fcn.0040c514
call fcn.00403644
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00467504
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x46cd5c
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 0x46cd64
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x46cf56
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x46cf6c
mov eax, esi
call fcn.0046aaec
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00403c4c
lea ecx, [ebp - 0x10]
mov edx, 0x46cf80
mov eax, esi
call fcn.0046aaec
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00403c4c
lea ecx, [ebp - 0x14]
mov edx, 0x46cf98
mov eax, esi
call fcn.0046aaec
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00403c4c
lea ecx, [ebp - 0x18]
mov edx, 0x46cfb4
mov eax, esi
call fcn.0046aaec
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00403c4c
lea ecx, [ebp - 0x1c]
mov edx, 0x46cfd0
mov eax, esi
call fcn.0046aaec
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00403c4c
lea ecx, [ebp - 0x24]
mov edx, 0x46cfe8
mov eax, esi
call fcn.0046aaec
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00408d08
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.0040910c
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x46d000
mov eax, esi
call fcn.0046aaec
mov eax, dword [ebp - 0x28]
call fcn.00469c18
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x46d010
mov eax, esi
call fcn.0046aaec
mov eax, dword [ebp - 0x2c]
call fcn.00469c18
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x46d028
mov eax, esi
call fcn.0046aaec
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.0040910c
inc eax
je 0x46cef9
lea ecx, [ebp - 0x34]
mov edx, 0x46d028
mov eax, esi
call fcn.0046aaec
mov eax, dword [ebp - 0x34]
call fcn.004090d0
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.0040a208
fstp qword [ebp - 0x3c]
wait
call fcn.0040a640
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x46cf14
lea ecx, [ebp - 0x40]
mov edx, 0x46d028
mov eax, esi
call fcn.0046aaec
mov eax, dword [ebp - 0x40]
call fcn.00469c18
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x46d038
mov eax, esi
call fcn.0046aaec
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00403c4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46cf5d
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00403c1c
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00403c1c
ret

Function at 0x47c2c4
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x58
call fcn.00402b8c
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret
Function at 0x47fcf0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x47fd1e
mov eax, ebx
call fcn.00480794
cmp dword [ebx + 0x3c], 0
je 0x47fd17
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x47fd8f
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x47fd81
cmp dword [ebx + 8], 0
je 0x47fd40
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1a6]
call dword [edx]
test eax, eax
jne 0x47fd52
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x47fd81
cmp dword [ebx + 8], 0
je 0x47fd33
cmp eax, 3
je 0x47fd65
dec eax
jne 0x47fd33
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x47fd33
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x47fd33
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x47fdad
cmp dword [ebx + 0x10], 0xcc
je 0x47fdad
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0047fdb8
pop ebx
ret

Function at 0x491d44
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x491dcd
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x53dbdc
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x491db7
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040bbdc
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
mov eax, 0x491de4
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x53c00c]
mov dl, 1
mov eax, dword [0x490eb8]
call fcn.0040c514
call fcn.00403644
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x491dd4
lea eax, [ebp - 0x1c]
call fcn.00403bf8
ret

Function at 0x492460
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.00492384
mov cl, 1
mov edx, esi
mov eax, esi
mov bx, 0xffff
call fcn.00403088
push 0x10
lea eax, [esi + 0x18]
push eax
mov eax, dword [esi + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x4924c4
call fcn.00491c8c
mov byte [esi + 0x29], 0
test byte [esi + 0x28], 0x10
jne 0x4924b6
cmp dword [esi + 4], 0xffffffff
setne al
mov byte [esi + 8], al
mov cl, 2
mov edx, esi
mov eax, esi
mov bx, 0xffff
call fcn.00403088
pop esi
pop ebx
ret
Function at 0x49261c
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.0040403c
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.00402b8c
test ebx, ebx
je 0x492667
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [esp + 4], cl
mov cl, byte [edx + 1]
mov byte [esp + 5], cl
mov cl, byte [edx + 2]
mov byte [esp + 6], cl
mov al, byte [edx + 3]
mov byte [esp + 7], al
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp]
pop ecx
pop edx
pop ebx
ret

Function at 0x492744
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x492775
mov ecx, dword [0x53c290]
mov dl, 1
mov eax, dword [0x490eb8]
call fcn.0040c4d8
call fcn.00403644
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x4927a2
mov ecx, dword [0x53bd04]
mov dl, 1
mov eax, dword [0x490eb8]
call fcn.0040c4d8
call fcn.00403644
xor eax, eax
push ebp
push 0x492826
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xffff
call fcn.00403088
cmp byte [ebp + 8], 0
je 0x492800
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.004926ac
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004923e0
jmp 0x49281c
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp - 8]
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.00491f78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x492843
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x49284c
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x49287d
mov ecx, dword [0x53bdf4]
mov dl, 1
mov eax, dword [0x490eb8]
call fcn.0040c4d8
call fcn.00403644
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x4928aa
mov ecx, dword [0x53bd04]
mov dl, 1
mov eax, dword [0x490eb8]
call fcn.0040c4d8
call fcn.00403644
xor eax, eax
push ebp
push 0x492929
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xffff
call fcn.00403088
cmp byte [ebp + 8], 0
je 0x492905
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.004926ac
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
call fcn.00492460
jmp 0x49291f
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 8]
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.00491f78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x492946
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc