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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10199e60
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x10279264]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
movzx edi, word [ebp + 8]
lea ebx, [ecx + 0x250]
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
mov eax, 0x84210843
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x18], ebx
cmp edi, eax
jb 0x101408c0
call fcn.1016d669
mov eax, edi
imul eax, eax, 0xf8
add eax, dword [ebx + 0xc]
lea esi, [esp + 0x1c]
push eax
call fcn.100652e0
mov dword [esp + 0x60], 0
cmp dword [eax + 0x18], 0x10
jb 0x101408e8
mov edx, dword [eax + 4]
jmp 0x101408eb
lea edx, [eax + 4]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x101408f0
mov ecx, dword [ebp + 0xc]
sub eax, esi
push eax
push edx
call fcn.10004620
mov dword [esp + 0x60], 0xffffffff
cmp dword [esp + 0x34], 0x10
jb 0x1014091f
mov ecx, dword [esp + 0x20]
push ecx
call fcn.1016d679
add esp, 4
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
mov eax, 0x84210843
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x10140941
call fcn.1016d669
mov eax, edi
imul eax, eax, 0xf8
add eax, dword [ebx + 0xc]
lea esi, [esp + 0x1c]
call fcn.100cfc40
mov dword [esp + 0x60], 1
cmp dword [eax + 0x18], 0x10
jb 0x10140968
mov edx, dword [eax + 4]
jmp 0x1014096b
lea edx, [eax + 4]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10140970
mov ecx, dword [ebp + 0xc]
sub eax, esi
push eax
push edx
add ecx, 0x1c
call fcn.10004620
mov dword [esp + 0x60], 0xffffffff
cmp dword [esp + 0x34], 0x10
jb 0x101409a2
mov ecx, dword [esp + 0x20]
push ecx
call fcn.1016d679
add esp, 4
mov eax, dword [esp + 0x14]
add eax, 0x158
lea esi, [esp + 0x1c]
call fcn.100d74e0
mov ecx, dword [0x1029199c]
mov esi, 0x10
cmp dword [0x102919b0], esi
jae 0x101409cc
mov ecx, 0x1029199c
cmp dword [eax + 0x18], esi
jb 0x101409d6
mov eax, dword [eax + 4]
jmp 0x101409d9
add eax, 4
push ecx
push eax
call fcn.10188c3e
add esp, 8
test eax, eax
setg byte [esp + 0x13]
cmp dword [esp + 0x34], esi
jb 0x101409fd
mov edx, dword [esp + 0x20]
push edx
call fcn.1016d679
add esp, 4
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
mov eax, 0x84210843
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp byte [esp + 0x13], 0
je 0x10140d2f
cmp edi, eax
jb 0x10140a2a
call fcn.1016d669
mov ecx, dword [ebx + 0xc]
mov esi, dword [ebp + 0xc]
mov eax, edi
imul eax, eax, 0xf8
mov edx, dword [eax + ecx + 0x80]
mov eax, dword [eax + ecx + 0x84]
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x14]
add eax, 0x158
push eax
mov dword [esi + 0x38], edx
call fcn.1010d720
cmp eax, 2
jne 0x10140cdf
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
mov eax, 0x84210843
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x10140a86
call fcn.1016d669
mov eax, edi
imul eax, eax, 0xf8
add eax, dword [ebx + 0xc]
lea esi, [esp + 0x1c]
call fcn.100fb970
push eax
mov dword [esp + 0x64], 2
call fcn.10103fe0
mov edx, dword [ebp + 0xc]
add esp, 4
mov dword [esp + 0x60], 0xffffffff
cmp dword [esp + 0x34], 0x10
mov dword [edx + 0x3f4], eax
jb 0x10140ad0
mov eax, dword [esp + 0x20]
push eax
call fcn.1016d679
add esp, 4
mov esi, dword [ebp + 0xc]
mov ecx, dword [esi + 0x38]
mov edx, dword [esi + 0x3c]
mov dword [esi + 0x44], edx
mov dword [esi + 0x40], ecx
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
mov eax, 0x84210843
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x10140b01
call fcn.1016d669
mov eax, edi
imul eax, eax, 0xf8
add eax, dword [ebx + 0xc]
lea esi, [esp + 0x1c]
call fcn.100fb940
push eax
mov dword [esp + 0x64], 4
call fcn.101040e0
mov esi, dword [ebp + 0xc]
add esp, 4
mov dword [esp + 0x60], 0xffffffff
cmp dword [esp + 0x34], 0x10
mov dword [esi + 0x64], eax
jb 0x10140b48
mov ecx, dword [esp + 0x20]
push ecx
call fcn.1016d679
add esp, 4
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
mov eax, 0x84210843
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x10140b6a
call fcn.1016d669
mov edx, dword [ebx + 0xc]
mov ecx, edi
imul ecx, ecx, 0xf8
mov al, byte [ecx + edx + 0x54]
mov byte [esi + 0x5b9], al
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
mov eax, 0x84210843
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x10140ba1
call fcn.1016d669
mov edx, dword [ebx + 0xc]
mov ebx, dword [ebp + 8]
mov ecx, edi
imul ecx, ecx, 0xf8
mov al, byte [ecx + edx + 0xc9]
mov byte [esi + 0x5ba], al
mov esi, dword [esp + 0x14]
mov eax, ebx
call fcn.100fff90
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 0x5bb], al
mov eax, ebx
mov ebx, esi
call fcn.10140fc0
mov eax, dword [ebp + 8]
call fcn.10140ee0
mov ebx, dword [esp + 0x18]
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
mov eax, 0x84210843
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x10140c07
call fcn.1016d669
mov eax, edi
imul eax, eax, 0xf8
add eax, dword [ebx + 0xc]
lea esi, [esp + 0x38]
call fcn.100fb9d0
push eax
mov dword [esp + 0x64], 5
call fcn.10104160
mov esi, dword [ebp + 0xc]
add esp, 4
cmp dword [esp + 0x50], 0x10
mov dword [esi + 0x5bc], eax
jb 0x10140c49
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.1016d679
add esp, 4
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
mov eax, 0x84210843
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x10140c6b
call fcn.1016d669
mov ecx, dword [ebx + 0xc]
mov eax, edi
imul eax, eax, 0xf8
mov edx, dword [eax + ecx + 0x88]
mov dword [esi + 0x5c0], edx
mov eax, dword [eax + ecx + 0x8c]
mov dword [esi + 0x5c4], eax
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
mov eax, 0x84210843
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x10140cb2
call fcn.1016d669
mov edx, dword [ebx + 0xc]
imul edi, edi, 0xf8
mov eax, dword [edi + edx + 0xe8]
mov dword [esi + 0x5d0], eax
mov al, 1
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp eax, 4
jne 0x10140ad3
mov esi, ebx
call fcn.10103c60
lea esi, [esp + 0x1c]
call fcn.100fb970
push eax
mov dword [esp + 0x64], 3
call fcn.10104060
mov ecx, dword [ebp + 0xc]
add esp, 4
mov dword [esp + 0x60], 0xffffffff
cmp dword [esp + 0x34], 0x10
mov dword [ecx + 0x3f4], eax
jb 0x10140ad0
mov edx, dword [esp + 0x20]
push edx
jmp 0x10140ac8
cmp edi, eax
jb 0x10140d38
call fcn.1016d669
mov ecx, dword [ebx + 0xc]
mov eax, edi
imul eax, eax, 0xf8
mov edx, dword [eax + ecx + 0x78]
mov eax, dword [eax + ecx + 0x7c]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x38], edx
mov dword [ecx + 0x3c], eax
mov dword [ecx + 0x3f4], 0xff
mov esi, ecx
jmp 0x10140ad3