Function at 0x10225a90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10c
mov eax, dword [0x10a78b80]
xor eax, esp
mov dword [esp + 0x108], eax
cmp dword [ebp + 0x1c], 0
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x34], edi
mov dword [esi + 4], 0
jg 0x10225ae5
jl 0x10225ada
cmp dword [ebp + 0x18], 0
jae 0x10225ae5
mov byte [esi + 0x20], 0
xor eax, eax
jmp 0x10225fbe
movzx ebx, byte [edi + 0x108b5c98]
lea eax, [edx + 0xe0]
mov dword [esp + 0x54], eax
lea ecx, [eax + 0x10]
movzx eax, byte [edi + 0x108b5cb0]
mov dword [esi], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov byte [esi + 0x20], 1
mov dword [esp + 0xc], eax
mov eax, dword [edx + 0x10b0]
mov dword [esp + 0x24], ebx
mov eax, dword [eax]
movzx eax, byte [eax + 0x9f]
and eax, 7
cmp dword [edx + eax*4 + 0x1b7c], 0
je 0x10225b5c
xor al, al
jmp 0x10225b62
mov al, byte [edi + 0x108b5e30]
mov byte [esp + 0x38], al
movzx eax, al
mov ebx, dword [eax*4 + 0x108b5f98]
mov eax, dword [eax*4 + 0x108b5f48]
mov dword [esp + 0x5c], eax
imul eax, ebx
cmp byte [edx + 0x23b60], 2
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x58], eax
jne 0x10225b9d
mov dword [esp + 0x14], 2
jmp 0x10225be4
mov eax, dword [esp + 0x3c]
cmp dword [eax + 0x5cfcc], 0
je 0x10225bc2
cmp ebx, 0x10
ja 0x10225bb8
mov edx, dword [esp + 0xc]
cmp edx, 0x10
jbe 0x10225bc6
mov dword [esp + 0x14], 2
jmp 0x10225be4
mov edx, dword [esp + 0xc]
cmp edx, ebx
je 0x10225bda
mov edi, dword [eax + 0x5cfc0]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x34]
jmp 0x10225be4
mov eax, dword [eax + 0x5cfbc]
mov dword [esp + 0x14], eax
lea eax, [esp + 0xd4]
push eax
lea eax, [esp + 0xf8]
push eax
push ecx
push edi
call fcn.1007f100
mov edi, dword [esp + 0x64]
lea eax, [esp + 0xc4]
push ebx
push dword [edi + 0x109c]
push eax
call fcn.105137c0
mov ebx, dword [esp + 0x28]
lea eax, [esp + 0xb0]
push ebx
push dword [edi + 0x10a0]
push eax
call fcn.105137c0
xor ecx, ecx
xor edx, edx
add esp, 0x28
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x50], edx
xorps xmm0, xmm0
movlpd qword [esp + 0x40], xmm0
test ebx, ebx
je 0x10225eb6
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x28], eax
nop dword [eax + eax]
xor ebx, ebx
cmp dword [esp + 0x24], ebx
jbe 0x10225ea0
nop dword [eax]
push dword [ebp + 0x20]
lea ecx, [esp + 0x64]
mov dword [esp + 0x64], 0
push ecx
mov ecx, dword [ebp + 0x18]
xorps xmm0, xmm0
sub ecx, eax
movlpd qword [esp + 0x70], xmm0
mov eax, dword [ebp + 0x1c]
sbb eax, edi
movlpd qword [esp + 0x78], xmm0
push eax
push ecx
lea eax, [esp + 0xa4]
movlpd qword [esp + 0x88], xmm0
push eax
lea eax, [esp + 0xc8]
mov byte [esp + 0x94], 1
push eax
lea eax, [esp + 0xec]
mov dword [esp + 0x7c], 0
push eax
lea eax, [esp + 0x110]
push eax
push dword [esp + 0x34]
push dword [esp + 0x58]
push dword [esp + 0x60]
push edx
push ebx
push dword [esp + 0x60]
push dword [esp + 0x58]
push dword [esp + 0x78]
call fcn.1022a1d0
add esp, 0x40
cmp dword [esp + 0x60], 0x7fffffff
je 0x10225ecf
mov ecx, dword [esp + 0x7c]
mov eax, dword [esi]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x40], ecx
cmp eax, 0x7fffffff
je 0x10225dc2
cdq
mov ecx, eax
mov edi, edx
mov eax, dword [esp + 0x60]
cdq
add ecx, eax
adc edi, edx
test edi, edi
jg 0x10225d4d
jl 0x10225d5d
cmp ecx, 0x7fffffff
jb 0x10225d5d
mov ecx, closesocket
mov dword [esp + 0x8c], 0
cmp dword [esi + 4], 0
mov dword [esi], ecx
jne 0x10225d6c
mov eax, dword [esp + 0x64]
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x40]
add dword [esi + 8], ecx
mov eax, dword [esi + 0xc]
adc eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x18]
cmp ecx, 0x7fffffff
jg 0x10225db3
jl 0x10225d92
cmp eax, 0xffffffff
jae 0x10225db3
mov edi, dword [esp + 0x18]
cmp edi, 0x7fffffff
jg 0x10225db3
mov edx, dword [esp + 0x10]
jl 0x10225da9
cmp edx, 0xffffffff
jae 0x10225db3
add eax, edx
mov dword [esi + 0x18], eax
adc ecx, edi
mov dword [esi + 0x1c], ecx
mov al, byte [esi + 0x20]
and al, byte [esp + 0x80]
mov byte [esi + 0x20], al
jmp 0x10225dfd
mov dword [esi], closesocket
mov dword [esi + 8], 0xffffffff
mov dword [esi + 0xc], closesocket
mov dword [esi + 0x10], 0xffffffff
mov dword [esi + 0x14], closesocket
mov dword [esi + 0x18], 0xffffffff
mov dword [esi + 0x1c], closesocket
mov byte [esi + 0x20], 0
mov dword [esi + 4], 0
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x31cc]
mov eax, dword [esp + 0x64]
imul ecx
mov edi, eax
mov eax, dword [esp + 0x10]
add edi, 0x100
adc edx, 0
shld dword [esp + 0x18], eax, 7
shrd edi, edx, 9
shl eax, 7
sar edx, 9
add edi, eax
mov eax, dword [esp + 0x60]
adc edx, dword [esp + 0x18]
mov dword [esp + 0x10], edx
imul ecx
mov ecx, dword [esp + 0x40]
add eax, 0x100
adc edx, 0
shld dword [esp + 0x1c], ecx, 7
shrd eax, edx, 9
shl ecx, 7
sar edx, 9
add eax, ecx
mov ecx, dword [esp + 0x10]
adc edx, dword [esp + 0x1c]
cmp edx, ecx
jg 0x10225e6c
jl 0x10225e70
cmp eax, edi
jb 0x10225e70
mov eax, edi
mov edx, ecx
add dword [esp + 0x28], eax
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x28]
adc edi, edx
mov edx, dword [esp + 0x50]
add edx, dword [esp + 0x58]
add ebx, dword [esp + 0x5c]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edx
cmp ebx, dword [esp + 0x24]
jl 0x10225c70
mov ecx, dword [esp + 0x2c]
add ecx, dword [esp + 0x30]
mov dword [esp + 0x2c], ecx
cmp ecx, dword [esp + 0xc]
jl 0x10225c60
mov edi, dword [esp + 0x54]
mov eax, dword [edi + 0xfdc]
mov ecx, dword [edi + 0xfd8]
test eax, eax
je 0x10225ee1
movzx edx, byte [eax + 0x88]
jmp 0x10225ee3
mov byte [esi + 0x20], 0
xor eax, eax
mov dword [esi + 4], 0
jmp 0x10225fbe
xor edx, edx
test ecx, ecx
je 0x10225ef0
movzx eax, byte [ecx + 0x88]
jmp 0x10225ef2
xor eax, eax
lea edi, [eax + edx]
mov ecx, dword [esi + 0x1c]
mov edx, dword [esp + 0x20]
mov eax, dword [edx + edi*8 + 0x7c3c]
mov ebx, dword [edx + 0x31cc]
imul ebx
add eax, 0x100
adc edx, 0
shrd eax, edx, 9
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x18]
shld ecx, eax, 7
sar edx, 9
shl eax, 7
add dword [esp + 0xc], eax
mov eax, dword [esp + 0x20]
adc edx, ecx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x30], edx
mov eax, dword [eax + edi*8 + 0x7c38]
add eax, dword [esi]
imul ebx
mov edi, eax
mov eax, dword [esi + 8]
add edi, 0x100
adc edx, 0
shld ecx, eax, 7
shrd edi, edx, 9
shl eax, 7
sar edx, 9
add edi, eax
mov eax, dword [esp + 0x30]
adc edx, ecx
cmp eax, edx
jg 0x10225f90
mov ecx, dword [esp + 0xc]
jl 0x10225f76
cmp ecx, edi
jae 0x10225f90
mov edx, eax
mov dword [esi], 0
mov eax, dword [esi + 0x18]
mov edi, ecx
mov dword [esi + 8], eax
mov eax, dword [esi + 0x1c]
mov dword [esi + 0xc], eax
mov byte [esi + 0x20], 1
cmp edx, dword [ebp + 0x1c]
jl 0x10225fb6
jg 0x10225f9c
cmp edi, dword [ebp + 0x18]
jbe 0x10225fb6
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.105116c0
mov esp, ebp
pop ebp
ret
xor eax, eax
mov byte [esi + 0x20], al
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x114]
pop edi
mov dword [esi], closesocket
mov dword [esi + 8], 0xffffffff
mov dword [esi + 0xc], closesocket
mov dword [esi + 0x10], 0xffffffff
mov dword [esi + 0x14], closesocket
mov dword [esi + 0x18], 0xffffffff
mov dword [esi + 0x1c], closesocket
pop esi
pop ebx
xor ecx, esp
call fcn.105116c0
mov esp, ebp
pop ebp
ret