joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44cab1
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, ecx
call edi
sub eax, dword [esi + 0x74]
cmp eax, 0x7530
jbe 0x44cae9
mov eax, dword [esi + 0x68]
mov ecx, dword [esi + 0x70]
mov dword [esi + 0x5c], eax
mov dword [esi + 0x64], ecx
mov ecx, dword [esi + 0x6c]
xor eax, eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x70], eax
mov dword [esi + 0x60], ecx
mov dword [esi + 0x6c], eax
call edi
mov dword [esi + 0x74], eax
mov edi, dword [esi + 0x64]
test edi, edi
jne 0x44caf5
mov eax, dword [esi + 0x5c]
jmp 0x44cb3e
push ebx
push ebp
push 0xa
xor eax, eax
pop ecx
xor ebp, ebp
test eax, eax
jne 0x44cb3c
or eax, 0xffffffff
xor edx, edx
div ecx
mov ebx, dword [esi + 0x5c]
cmp ebx, eax
jbe 0x44cb1a
shr ebx, 1
shr edi, 1
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x64], edi
mov eax, dword [esi + 0x5c]
mov edi, dword [esi + 0x64]
imul eax, ecx
xor edx, edx
div edi
xor edx, edx
imul eax, eax, 0x3e8
div ecx
lea ecx, [ecx + ecx*4]
inc ebp
shl ecx, 1
cmp ebp, 3
jb 0x44cafe
pop ebp
pop ebx
pop edi
pop esi
ret

Function at 0x44d033
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 8]
mov esi, ecx
push eax
push 0x20000013
push dword [esi + 4]
mov dword [ebp - 4], 4
call fcn.0044bf81
add esp, 0x14
test eax, eax
je 0x44d071
mov eax, dword [ebp - 8]
cmp eax, 0xc8
jb 0x44d075
cmp eax, 0x12c
jae 0x44d075
mov al, 1
jmp 0x44d08b
add eax, 0xd3c0
or eax, 0x80040000
push eax
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor al, al
pop esi
leave
ret

Function at 0x44e09f
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 8]
push ebx
push eax
mov ebx, ecx
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
mov dword [ebp - 4], eax
je 0x44e0f1
push eax
call fcn.00453fde
pop ecx
mov dword [ebx + 0x40], eax
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x44e0f1
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x48b148
push dword [ebx + 0x40]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x44e0f5
xor al, al
jmp 0x44e156
push esi
push edi
mov edi, ebx
lea eax, [ebx + 4]
neg edi
sbb edi, edi
mov esi, dword [ebp - 0xc]
push 0xd
and edi, eax
pop ecx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x48d7bc
rep movsd dword es:[edi], dword [esi]
push dword [ebx + 0x40]
call sub.VERSION.dll_VerQueryValueW
pop edi
pop esi
test eax, eax
je 0x44e154
mov eax, dword [ebp - 4]
shr eax, 2
mov dword [ebx + 0x3c], eax
shl eax, 2
push eax
call fcn.00453fde
mov dword [ebx + 0x38], eax
xor eax, eax
cmp dword [ebx + 0x3c], eax
pop ecx
jbe 0x44e154
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebx + 0x38]
mov edx, dword [edx + eax*4]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [ebx + 0x3c]
jb 0x44e142
mov al, 1
pop ebx
leave
ret 4
Function at 0x44e83f
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor ebx, ebx
push edi
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocStringLen
push dword [ebp + 8]
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x44e911
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea eax, [ebx + 1]
push eax
call fcn.00453fde
pop ecx
mov dword [ebp - 4], eax
lea ecx, [ebp + 8]
push 0
push ecx
push ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp ebx, dword [ebp + 8]
jne 0x44e911
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esi + 0x30]
lea ecx, [esi + 0x28]
push dword [ecx + 4]
call fcn.0044f074
push dword [esi + 0x20]
lea ecx, [esi + 0x18]
push dword [ecx + 4]
call fcn.0044f01e
mov edi, 0x49356c
push edi
call fcn.00454220
pop ecx
push eax
push edi
mov ecx, esi
call fcn.00438de3
mov edi, dword [ebp - 4]
mov ecx, esi
and byte [edi + ebx], 0
mov dword [esi + 0x38], edi
call fcn.0044e363
push eax
push 0
mov ecx, esi
call fcn.0044e4d8
test eax, eax
je 0x44e911
mov ecx, esi
call fcn.0044e363
push eax
push 9
mov ecx, esi
call fcn.0044e4d8
test eax, eax
je 0x44e911
push esi
mov ecx, esi
call fcn.0044e7b3
test eax, eax
jne 0x44e915
xor eax, eax
jmp 0x44e91f
push edi
call fcn.004389b2
pop ecx
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x44ea44
Capabilities:
Delete registry key

Disassembly:
mov eax, 0x4743e0
call fcn.00453e8c
sub esp, 0x5c
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x18], ecx
mov esi, dword [eax + 0x2c]
mov eax, dword [eax + 0x30]
cmp esi, eax
je 0x44eb35
push ebx
push edi
xor edi, edi
mov dword [ebp - 0x14], edi
mov eax, dword [esi + 4]
mov dword [ebp - 4], edi
cmp eax, edi
jne 0x44ea7c
mov eax, 0x476c4c
lea ecx, [ebp - 0xd]
push 1
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.00401889
mov eax, dword [eax + 8]
mov byte [ebp - 4], 1
cmp eax, edi
jne 0x44ea9b
mov eax, 0x4755fc
mov ecx, dword [ebp + 0xc]
push 0xf003f
push eax
mov ecx, dword [ecx]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00416df6
test eax, eax
setne bl
and byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00401093
test bl, bl
jne 0x44eb12
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push eax
push esi
call fcn.0044ea44
cmp dword [esi + 0x14], edi
jne 0x44eb12
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x44eae2
mov eax, 0x476c4c
lea ecx, [ebp - 0xe]
push 1
push ecx
push eax
lea ecx, [ebp - 0x68]
call fcn.00401889
mov eax, dword [eax + 8]
cmp eax, edi
jne 0x44eafd
mov eax, 0x4755fc
mov ecx, dword [ebp + 0xc]
push eax
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea ecx, [ebp - 0x68]
call fcn.00401093
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], edi
je 0x44eb24
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
add esi, 0x38
cmp esi, dword [eax + 0x30]
jne 0x44ea68
pop edi
pop ebx
mov ecx, dword [ebp - 0xc]
push 1
pop eax
pop esi
mov dword fs:[0], ecx
leave
ret 8
Function at 0x450ce2
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov esi, ecx
cmp edi, ebx
je 0x450d05
push 1
push ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [edi], eax
lea edi, [esi + 0x74]
push edi
push ebx
push ebx
push ebx
push 2
push dword [esi + 0x10]
call fcn.0044ffb3
add esp, 0x18
test eax, eax
je 0x450daa
push dword [edi]
call fcn.00453fde
pop ecx
cmp eax, ebx
setne cl
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
mov byte [ebp - 0xc], cl
push eax
lea ecx, [esi + 0x6c]
call fcn.0044389a
cmp byte [ebp - 0xc], bl
je 0x450d4e
push dword [ebp - 8]
call fcn.004389b2
pop ecx
mov eax, dword [esi + 0x70]
push edi
push eax
push ebx
push ebx
push 2
push dword [esi + 0x10]
call fcn.0044ffb3
add esp, 0x18
test eax, eax
je 0x450daa
lea eax, [ebp - 4]
push ebx
push eax
push 4
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
push edi
push dword [edi]
push dword [esi + 0x70]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test byte [ebp + 0x10], 1
jne 0x450db7
mov eax, dword [esi + 0xc]
push ebx
push dword [ebp + 8]
push 1
push 1
push 0x10001
push eax
call fcn.00450203
add esp, 0x18
test eax, eax
jne 0x450db7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x7c], eax
xor al, al
jmp 0x450dd1
mov esi, dword [ebp + 0xc]
cmp esi, ebx
je 0x450dcf
push 1
push ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
sub eax, dword [esi]
mov dword [esi], eax
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4536d0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push 0xffffffffffffffff
push 0x4748e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
or ebp, 0xffffffff
push esi
push edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], ebp
xor ebx, ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x30]
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocStringLen
push eax
mov byte [esp + 0x44], 2
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x45373e
lea ecx, [esp + 0x14]
call fcn.00405c0a
mov eax, esi
mov dword [esp + 0x14], eax
cmp eax, ebp
jne 0x453771
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 1
call fcn.00410f38
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], bl
call fcn.0041099e
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], ebp
call fcn.00405c0a
xor al, al
jmp 0x453884
push ebx
push ebx
push ebx
push 2
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x45379f
cmp eax, ebx
je 0x453799
cmp edi, ebx
je 0x453799
push eax
call edi
mov eax, esi
mov dword [esp + 0x10], eax
cmp eax, ebx
jne 0x4537d6
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
je 0x4537ce
mov eax, dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
cmp eax, ebx
je 0x4537ce
push ecx
call eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], ebx
cmp eax, ebx
je 0x4537ce
cmp edi, ebx
je 0x4537ce
push eax
call edi
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x14]
cmp eax, ebp
jmp 0x453821
push ebx
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebp, dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, eax
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x453803
cmp eax, ebx
je 0x4537fd
cmp ebp, ebx
je 0x4537fd
push eax
call ebp
mov eax, esi
mov dword [esp + 0x18], eax
cmp eax, ebx
jne 0x45382e
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x45381a
cmp edi, ebx
je 0x45381a
push eax
call edi
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x45382a
cmp edi, ebx
je 0x45382a
push eax
call edi
xor al, al
jmp 0x453884
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x14]
push ecx
push ebx
push edx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x20]
push eax
push esi
call fcn.00453460
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x45385f
cmp ebp, ebx
je 0x45385f
push eax
call ebp
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x453872
cmp edi, ebx
je 0x453872
push eax
call edi
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x453882
cmp edi, ebx
je 0x453882
push eax
call edi
mov al, 1
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
Function at 0x45cbdc
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4920b0
cmp edx, dword [eax]
je 0x45cbfe
add eax, 8
inc ecx
cmp eax, 0x492140
jl 0x45cbef
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4920b0]
jne 0x45cd2c
mov eax, dword [0x49749c]
cmp eax, 1
je 0x45cd06
test eax, eax
jne 0x45cc2f
cmp dword [0x48fb44], 1
je 0x45cd06
cmp edx, 0xfc
je 0x45cd2c
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x45cc66
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00459b60
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00454220
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x45cca9
lea eax, [ebp - 0x1a4]
push eax
call fcn.00454220
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4773ec
push edi
call fcn.00453ee0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00459b60
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00459b70
lea eax, [ebp - 0xa0]
push 0x4773cc
push eax
call fcn.00459b70
push dword [esi + 0x4920b4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00459b70
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004602d6
add esp, 0x2c
pop edi
jmp 0x45cd2c
lea eax, [ebp + 8]
lea esi, [esi + 0x4920b4]
push 0
push eax
push dword [esi]
call fcn.00454220
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x4642c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
lea eax, [esp]
push esi
push eax
push 0x20019
push 0
push 0x493160
push SysReAllocStringLen
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x46434a
mov esi, dword [esp + 4]
lea ecx, [esp + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 0x10], eax
lea edx, [esp + 8]
push ecx
lea eax, [esp + 0x14]
push edx
push eax
push 0
push 0x49314c
push esi
mov dword [esp + 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x46433f
mov ecx, dword [esp + 8]
push ebx
cmp ecx, 1
sete bl
test esi, esi
je 0x464337
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
pop esi
add esp, 0x10
ret
test esi, esi
je 0x46434a
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
pop esi
add esp, 0x10
ret
Function at 0x464740
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4749c5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
mov eax, dword [esp + 0x68]
mov dword [esp + 4], 0x4755e0
test eax, eax
mov dword [esp + 0x24], 0x4755d8
jne 0x464775
mov eax, 0x493568
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x78]
push 0
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004011a9
lea edx, [esp + 0x3c]
mov dword [esp + 0x70], 0
push edx
call fcn.00464390
push 0
push 0x80
push 4
push 0
push 1
push 0xc0000000
mov ecx, eax
mov byte [esp + 0x88], 1
call fcn.00401a19
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
mov dword [esp + 0x78], edi
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x5c]
neg eax
sbb eax, eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
and eax, ecx
mov byte [esp + 0x70], 5
mov edx, dword [eax]
mov esi, dword [edx + 4]
add esi, eax
call ebx
lea ecx, [esp + 0x3c]
mov dword [esi], eax
neg ecx
sbb ecx, ecx
lea eax, [esp + 0x50]
and ecx, eax
call fcn.00415bc1
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x40]
neg ecx
sbb ecx, ecx
push 1
and ecx, edx
mov byte [esp + 0x74], 4
call fcn.00401245
mov byte [esp + 0x70], 3
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 4]
mov edx, dword [esp + ecx + 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 2
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x20]
mov ebp, eax
lea esi, [eax + eax + 2]
mov eax, dword [esp + 0x2c]
cmp esi, eax
mov eax, dword [esp + 0x28]
jae 0x464859
test eax, eax
jne 0x464877
push eax
call fcn.004389b2
shr esi, 6
inc esi
shl esi, 6
push esi
mov dword [esp + 0x34], esi
call fcn.00453fde
add esp, 8
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x2c]
push 0
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00401b15
lea edx, [esp + 0x10]
push 0
mov eax, dword [esp + 0x2c]
push edx
push ebp
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test edi, edi
je 0x4648ac
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4648ac
push edi
call eax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x34]
neg eax
sbb eax, eax
and eax, ecx
mov edx, dword [eax]
mov esi, dword [edx + 4]
add esi, eax
call ebx
mov dword [esi], eax
lea esi, [esp + 0x14]
neg esi
sbb esi, esi
lea eax, [esp + 0x28]
and esi, eax
mov ecx, dword [esi]
push ecx
call fcn.004389b2
mov edx, dword [esi + 8]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 4
push edx
call edi
lea esi, [esp + 0x14]
lea eax, [esp + 0x18]
neg esi
sbb esi, esi
xor ebx, ebx
and esi, eax
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x46491a
mov cl, byte [eax - 1]
test cl, cl
je 0x464914
cmp cl, 0xff
je 0x464914
dec cl
mov byte [eax - 1], cl
jmp 0x46491a
add eax, 0xfffffffe
push eax
call edi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 4]
mov eax, dword [esp + edx + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
mov ecx, dword [esp + 0x60]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 4
Function at 0x4056c2
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.004962f9
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.004962f9
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x14], 0
push 0x10
call fcn.004962f9
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
push 0
mov ebx, 0x49aae0
call fcn.00496305
add esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
je 0x405782
mov eax, 0
jmp 0x405920
cmp dword [ebp + 0xc], 0
jne 0x4057b8
mov dword [ebp - 0x1c], esp
mov eax, 0xd
call fcn.004962f3
cmp dword [ebp - 0x1c], esp
je 0x4057b5
push 0xa0
push 0x401c171
push 6
call fcn.004962ed
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp + 0x14], 0
jne 0x4057e0
mov eax, 0x60ad28
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4057da
push ebx
call fcn.004962ff
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov dword [ebp - 0x1c], esp
lea eax, [ebp - 8]
push eax
push 0x28
push dword [ebp - 4]
mov eax, 0xe
call fcn.004962f3
cmp dword [ebp - 0x1c], esp
je 0x405815
push 0x104
push 0x401c171
push 6
call fcn.004962ed
add esp, 0xc
mov dword [ebp - 0x1c], esp
push dword [ebp - 0xc]
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push 0x60abe0
mov eax, 0xf
call fcn.004962f3
cmp dword [ebp - 0x1c], esp
je 0x40584b
push 0x12e
push 0x401c171
push 6
call fcn.004962ed
add esp, 0xc
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], 2
mov dword [ebp - 0x1c], esp
mov eax, 0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x18]
push 0x1c
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
mov eax, 0x10
call fcn.004962f3
cmp dword [ebp - 0x1c], esp
je 0x4058e9
push 0x22c
push 0x401c171
push 6
call fcn.004962ed
add esp, 0xc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], esp
push dword [ebp - 8]
mov eax, 3
call fcn.004962f3
cmp dword [ebp - 0x1c], esp
je 0x405918
push 0x270
push 0x401c171
push 6
call fcn.004962ed
add esp, 0xc
mov eax, dword [ebp - 0x14]
jmp 0x405920
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.004962ff
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.004962ff
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
call fcn.004962ff
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x422fc8
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x422fe6
mov eax, 0x60ac17
push eax
push 1
mov ebx, 0x4969a0
call fcn.00496305
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x423010
mov eax, 0
jmp 0x423084
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
jle 0x423071
add eax, 8
mov edi, eax
mov ebx, edi
push edi
xor al, al
pop esi
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov edi, eax
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x42305a
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x423049
xor ecx, eax
xor edx, ebx
dec edi
jne 0x42303a
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 4
mov esp, ebp
pop ebp
ret 4
Function at 0x48707b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 0xc
push ebp
push edi
mov edi, dword [esp + 0x18]
test edi, edi
je 0x48709e
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x48709e
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x4870a8
pop edi
xor eax, eax
pop ebp
add esp, 0xc
ret 8
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x14]
add ecx, edi
mov dword [esp + 0x20], ecx
push esi
mov esi, dword [eax + 0x1c]
mov ecx, ebp
sub ecx, dword [eax + 0x10]
add esi, edi
add edx, edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], ebx
cmp ecx, ebx
ja 0x4870ea
mov eax, dword [esi + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0xc
ret 8
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x48714c
mov ecx, ebx
lea ebx, [ebx]
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x487147
mov eax, dword [esp + 0x24]
mov ecx, ebp
mov eax, dword [eax + esi*4]
add eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x487132
test dl, dl
je 0x48712e
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x487132
add ecx, 2
add eax, 2
test dl, dl
jne 0x487112
xor eax, eax
jmp 0x487137
sbb eax, eax
or eax, 1
test eax, eax
je 0x487158
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
inc esi
cmp esi, eax
jb 0x4870ff
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0xc
ret 8
mov eax, dword [esp + 0x18]
pop esi
mov eax, dword [eax + ebx*4]
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0xc
ret 8
Function at 0x4871dd
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 0xc
push ebp
push edi
mov edi, dword [esp + 0x18]
test edi, edi
je 0x487200
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x487200
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x48720a
pop edi
xor eax, eax
pop ebp
add esp, 0xc
ret 8
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x14]
add ecx, edi
mov dword [esp + 0x20], ecx
push esi
mov esi, dword [eax + 0x1c]
mov ecx, ebp
sub ecx, dword [eax + 0x10]
add esi, edi
add edx, edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], ebx
cmp ecx, ebx
ja 0x48724c
mov eax, dword [esi + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0xc
ret 8
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x4872ae
mov ecx, ebx
lea ebx, [ebx]
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x4872a9
mov eax, dword [esp + 0x24]
mov ecx, ebp
mov eax, dword [eax + esi*4]
add eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x487294
test dl, dl
je 0x487290
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x487294
add ecx, 2
add eax, 2
test dl, dl
jne 0x487274
xor eax, eax
jmp 0x487299
sbb eax, eax
or eax, 1
test eax, eax
je 0x4872ba
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
inc esi
cmp esi, eax
jb 0x487261
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0xc
ret 8
mov eax, dword [esp + 0x18]
pop esi
mov eax, dword [eax + ebx*4]
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0xc
ret 8