joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100301c7
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
push 0
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x1003020f
push 0x19
push 0x4015347
push 6
call fcn.10068410
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x25
je 0x10030291
cmp dword [ebp + 8], 0x26
je 0x10030291
cmp dword [ebp + 8], 0x27
je 0x10030291
cmp dword [ebp + 8], 0x28
je 0x10030291
cmp dword [ebp + 8], 0x21
je 0x10030291
cmp dword [ebp + 8], 0x22
je 0x10030291
cmp dword [ebp + 8], 0x23
je 0x10030291
cmp dword [ebp + 8], 0x24
je 0x10030291
cmp dword [ebp + 8], 0x2d
je 0x10030291
cmp dword [ebp + 8], 0x2e
je 0x10030291
cmp dword [ebp + 8], 0x6f
je 0x10030291
cmp dword [ebp + 8], 0x90
je 0x10030291
xor eax, eax
jmp 0x10030296
mov eax, 1
test eax, eax
je 0x100302c9
push 0x80000301
push 0
push 0x100
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc8
call fcn.1006a740
add esp, 0x1c
mov dword [ebp - 4], eax
push 0x80000301
push 0
push 0x100
push 1
mov ebx, 0x184
call fcn.100696b0
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x100302fe
push ebx
call fcn.10068422
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x80000301
push 0
push 0x10
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0x9f8
call fcn.1006a840
add esp, 0x1c
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push 0x100
push dword [ebp - 8]
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x10030361
push 0x262
push 0x4015347
push 6
call fcn.10068410
add esp, 0xc
push 0x1008124f
push dword [ebp - 8]
call fcn.10002be5
add esp, 8
cmp eax, 0
jne 0x100303f2
cmp dword [ebp + 8], 1
jne 0x10030393
mov eax, 0x100b18db
jmp 0x10030413
cmp dword [ebp + 8], 2
jne 0x100303ac
mov eax, 0x100b18e4
jmp 0x10030413
cmp dword [ebp + 8], 4
jne 0x100303c5
mov eax, 0x100b18ed
jmp 0x10030413
cmp dword [ebp + 8], 5
jne 0x100303de
mov eax, 0x100b18f6
jmp 0x10030413
cmp dword [ebp + 8], 6
jne 0x100303f2
mov eax, 0x100b18ff
jmp 0x10030413
mov eax, dword [ebp - 8]
test eax, eax
je 0x1003040e
push eax
mov ebx, eax
call fcn.10001590
inc eax
push eax
call fcn.1006841c
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x10030413
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10030424
push ebx
call fcn.10068422
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x1003b60e
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
fild dword [0x113efc00]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fild dword [ebp + 8]
fstp qword [ebp - 0x10]
fadd qword [ebp - 0x10]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
call fcn.10001bbe
mov dword [ebp + 8], eax
fild dword [0x113efc04]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fild dword [ebp + 0xc]
fstp qword [ebp - 0x10]
fadd qword [ebp - 0x10]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
call fcn.10001bbe
mov dword [ebp + 0xc], eax
mov ebx, dword [ebp + 0x10]
cmp dword [ebx], 0x2d7
jne 0x1003b68d
cmp dword [0x113efe98], 0xffffffff
je 0x1003b68d
mov eax, dword [0x113efe98]
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov dword [0x113efe98], 0xffffffff
fild dword [ebp + 0xc]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fadd qword [0x100838e0]
fstp qword [ebp - 0x10]
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov ebx, dword [ebp + 0x10]
push dword [ebx]
call fcn.1002bb90
mov dword [ebp - 0x18], eax
push 1
push 0xf
push 1
push 0x40400000
push dword [ebp - 0x18]
push 0x41800000
push 0x41800000
fld qword [ebp - 0x10]
fstp dword [ebp - 0x1c]
push dword [ebp - 0x1c]
fild dword [ebp + 8]
fstp dword [ebp - 0x20]
push dword [ebp - 0x20]
call fcn.1002ea6f
mov dword [ebp - 4], esp
push 1
xor eax, eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
cmp dword [ebp - 4], esp
je 0x1003b718
push 0x24e
push 0x4011230
push 6
call fcn.10068410
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1003b86d
push dword [ebp + 8]
call fcn.10037111
test eax, eax
je 0x1003b79c
push dword [ebp + 0xc]
call fcn.1003717f
test eax, eax
je 0x1003b79c
fild dword [ebp + 8]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fadd qword [0x1008411e]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
call fcn.10001bbe
push eax
call fcn.10037148
test eax, eax
je 0x1003b79c
fild dword [ebp + 0xc]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fadd qword [0x1008411e]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.10001bbe
push eax
call fcn.100371b6
test eax, eax
je 0x1003b79c
mov eax, 1
jmp 0x1003b7a1
mov eax, 0
test eax, eax
je 0x1003b86d
cmp dword [0x113efe9c], 0
jne 0x1003b7db
and dword [0x113efea0], 1
xor dword [0x113efea0], 1
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [0x113efe9c], eax
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [ebp - 0xc], eax
fild dword [ebp - 0xc]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fild dword [0x113efe9c]
fstp qword [ebp - 0x14]
fsub qword [ebp - 0x14]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fsub qword [0x100844cf]
fcomp qword [0x10083b4e]
fnstsw ax
test ah, 0x41
jne 0x1003b847
and dword [0x113efea0], 1
xor dword [0x113efea0], 1
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [0x113efe9c], eax
cmp dword [0x113efea0], 0
je 0x1003b86d
mov eax, dword [ebp + 8]
mov dword [0x113efea4], eax
mov eax, dword [ebp + 0xc]
mov dword [0x113efea8], eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], 0x2d7
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10057060
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.10057210
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x1005715e
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x10057101
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x10057144
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x10057118
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x10057133
test al, 0x40
je 0x1005712a
mov ecx, dword [edi + 0x20]
jmp 0x10057131
test al, 0x80
je 0x10057144
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x10057144
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x100570d0
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x10057c26
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 0x10057c49
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x10057c49
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x10057c53
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 0x10057c95
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 0x10057cf7
mov ecx, ebx
lea ebx, [ebx]
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x10057cf2
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 0x10057cdd
test dl, dl
je 0x10057cd9
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10057cdd
add ecx, 2
add eax, 2
test dl, dl
jne 0x10057cbd
xor eax, eax
jmp 0x10057ce2
sbb eax, eax
or eax, 1
test eax, eax
je 0x10057d03
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
inc esi
cmp esi, eax
jb 0x10057caa
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 0x10057d88
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 0x10057dab
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x10057dab
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x10057db5
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 0x10057df7
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 0x10057e59
mov ecx, ebx
lea ebx, [ebx]
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x10057e54
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 0x10057e3f
test dl, dl
je 0x10057e3b
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10057e3f
add ecx, 2
add eax, 2
test dl, dl
jne 0x10057e1f
xor eax, eax
jmp 0x10057e44
sbb eax, eax
or eax, 1
test eax, eax
je 0x10057e65
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
inc esi
cmp esi, eax
jb 0x10057e0c
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 0x10057ef7
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 0x10057f1a
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x10057f1a
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x10057f24
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 0x10057f66
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 0x10057fc8
mov ecx, ebx
lea ebx, [ebx]
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x10057fc3
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 0x10057fae
test dl, dl
je 0x10057faa
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10057fae
add ecx, 2
add eax, 2
test dl, dl
jne 0x10057f8e
xor eax, eax
jmp 0x10057fb3
sbb eax, eax
or eax, 1
test eax, eax
je 0x10057fd4
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
inc esi
cmp esi, eax
jb 0x10057f7b
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 0x10058061
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 0x10058084
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x10058084
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x1005808e
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 0x100580d0
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 0x10058132
mov ecx, ebx
lea ebx, [ebx]
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x1005812d
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 0x10058118
test dl, dl
je 0x10058114
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10058118
add ecx, 2
add eax, 2
test dl, dl
jne 0x100580f8
xor eax, eax
jmp 0x1005811d
sbb eax, eax
or eax, 1
test eax, eax
je 0x1005813e
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
inc esi
cmp esi, eax
jb 0x100580e5
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 0x100581d7
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 0x100581fa
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x100581fa
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x10058204
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 0x10058246
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 0x100582a8
mov ecx, ebx
lea ebx, [ebx]
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x100582a3
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 0x1005828e
test dl, dl
je 0x1005828a
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x1005828e
add ecx, 2
add eax, 2
test dl, dl
jne 0x1005826e
xor eax, eax
jmp 0x10058293
sbb eax, eax
or eax, 1
test eax, eax
je 0x100582b4
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
inc esi
cmp esi, eax
jb 0x1005825b
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 0x10058348
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 0x1005836b
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x1005836b
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x10058375
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 0x100583b7
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 0x10058419
mov ecx, ebx
lea ebx, [ebx]
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x10058414
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 0x100583ff
test dl, dl
je 0x100583fb
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x100583ff
add ecx, 2
add eax, 2
test dl, dl
jne 0x100583df
xor eax, eax
jmp 0x10058404
sbb eax, eax
or eax, 1
test eax, eax
je 0x10058425
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
inc esi
cmp esi, eax
jb 0x100583cc
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 0x100584b7
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 0x100584da
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x100584da
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x100584e4
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 0x10058526
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 0x10058588
mov ecx, ebx
lea ebx, [ebx]
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x10058583
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 0x1005856e
test dl, dl
je 0x1005856a
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x1005856e
add ecx, 2
add eax, 2
test dl, dl
jne 0x1005854e
xor eax, eax
jmp 0x10058573
sbb eax, eax
or eax, 1
test eax, eax
je 0x10058594
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
inc esi
cmp esi, eax
jb 0x1005853b
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 0x10058626
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 0x10058649
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x10058649
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x10058653
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 0x10058695
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 0x100586f7
mov ecx, ebx
lea ebx, [ebx]
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x100586f2
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 0x100586dd
test dl, dl
je 0x100586d9
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x100586dd
add ecx, 2
add eax, 2
test dl, dl
jne 0x100586bd
xor eax, eax
jmp 0x100586e2
sbb eax, eax
or eax, 1
test eax, eax
je 0x10058703
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
inc esi
cmp esi, eax
jb 0x100586aa
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 0x1005c377
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x3e8
push 1
mov ebx, 0x1bc
call fcn.100699b0
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1005c3bc
push ebx
call fcn.10068422
add esp, 4
pop eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.10001d5e
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 8]
push 2
xor eax, eax
call dword [sym.imp.WS2_32.dll_WSAStartup]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x1005c3fd
push 0xcc
push 0x4013d75
push 6
call fcn.10068410
add esp, 0xc
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1005c40d
push ebx
call fcn.10068422
add esp, 4
mov esp, ebp
pop ebp
ret 4