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

Disassembly:
push 0xffffffffffffffff
push 0x1003b008
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x10048f54]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10048f54]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x98]
mov edi, dword [esp + 0xa0]
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ecx
call fcn.10012d90
push eax
mov dword [esp + 0x84], 0
call fcn.10017a50
mov ebp, dword [esp + 0x3c]
add esp, 4
mov ebx, eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x80], 0xffffffff
test ebp, ebp
je 0x10018443
push 0
lea ecx, [esp + 0x20]
call fcn.10038ed1
mov eax, dword [ebp + 4]
test eax, eax
jbe 0x10018421
cmp eax, 0xffffffff
jae 0x10018421
dec eax
mov dword [ebp + 4], eax
mov esi, dword [ebp + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x1c]
and esi, ebp
call fcn.10038ef9
test esi, esi
je 0x10018443
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
lea eax, [esp + 0x58]
push eax
mov ecx, ebx
call fcn.100148c0
mov edx, dword [ebx]
mov eax, dword [edx + 8]
mov esi, 1
mov ecx, ebx
mov dword [esp + 0x80], esi
call eax
xor ecx, ecx
mov byte [esp + 0x1c], al
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ecx
mov byte [esp + 0x40], cl
mov al, byte [edi]
mov byte [esp + 0x80], 2
cmp al, 0x2b
je 0x10018490
mov dword [esp + 0x20], ecx
cmp al, 0x2d
jne 0x10018494
mov dword [esp + 0x20], esi
call fcn.100267d1
mov ecx, dword [eax]
mov ebx, dword [esp + 0xb0]
mov dl, byte [ecx]
push ebx
push 0x65
push edi
mov byte [esp + 0x20], dl
mov byte [esp + 0x21], 0x65
mov byte [esp + 0x22], 0
call fcn.10022f20
mov esi, eax
movsx eax, byte [esp + 0x20]
push ebx
push eax
push edi
call fcn.10022f20
mov ebp, eax
add esp, 0x18
test ebp, ebp
jne 0x100184da
mov dword [esp + 0xac], eax
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x5c]
mov eax, edx
cmp ecx, 0x10
jae 0x100184ed
lea eax, [esp + 0x5c]
cmp byte [eax], 0x7f
je 0x1001863d
mov eax, edx
cmp ecx, 0x10
jae 0x10018501
lea eax, [esp + 0x5c]
cmp byte [eax], 0
jle 0x1001863d
push ebx
push edi
lea ecx, [esp + 0x44]
call fcn.10002080
test esi, esi
jne 0x10018535
mov ecx, dword [esp + 0xac]
push 0x30
push ecx
lea ecx, [esp + 0x44]
call fcn.100146c0
mov ebx, dword [esp + 0xa4]
jmp 0x1001856d
test ebp, ebp
jne 0x10018550
mov edx, dword [esp + 0xa4]
push 0x30
push edx
lea ecx, [esp + 0x44]
call fcn.100146c0
xor ebx, ebx
jmp 0x10018557
mov ebx, dword [esp + 0xa4]
mov eax, dword [esp + 0xac]
push 0x30
push eax
sub esi, edi
push esi
lea ecx, [esp + 0x48]
call fcn.10014770
push 0x30
test ebp, ebp
jne 0x1001857f
push ebx
lea ecx, [esp + 0x44]
call fcn.100146c0
jmp 0x100185b0
mov ecx, dword [esp + 0xac]
mov esi, ebp
sub esi, edi
push ecx
lea edx, [esi + 1]
push edx
lea ecx, [esp + 0x48]
call fcn.10014770
push 0x30
push ebx
push esi
lea ecx, [esp + 0x48]
call fcn.10014770
mov dword [esp + 0xa8], 0
mov edi, dword [esp + 0x5c]
mov ebx, 0x10
mov dword [esp + 0xa4], 0
cmp dword [esp + 0x70], ebx
jae 0x100185ce
lea edi, [esp + 0x5c]
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x54], ebx
jae 0x100185dc
lea eax, [esp + 0x40]
lea ecx, [esp + 0x14]
push ecx
push eax
call fcn.10026800
mov esi, eax
mov al, byte [edi]
add esp, 8
cmp al, 0x7f
je 0x10018620
test al, al
jle 0x10018620
mov edx, esi
sub edx, dword [esp + 0x20]
movsx eax, al
cmp eax, edx
jae 0x10018620
push 0
sub esi, eax
push 1
push esi
lea ecx, [esp + 0x48]
call fcn.10014770
cmp byte [edi + 1], 0
jle 0x1001861a
inc edi
mov al, byte [edi]
cmp al, 0x7f
jne 0x100185f2
mov edi, dword [esp + 0x40]
cmp dword [esp + 0x54], ebx
jae 0x1001862e
lea edi, [esp + 0x40]
mov ebx, dword [esp + 0x50]
mov dword [esp + 0xac], 0
mov ecx, dword [esp + 0xa8]
mov eax, dword [esp + 0xa4]
mov edx, dword [esp + 0x30]
add eax, ecx
add eax, dword [esp + 0xac]
mov ecx, dword [edx + 0x18]
add eax, ebx
test ecx, ecx
jle 0x1001866d
cmp ecx, eax
jbe 0x1001866d
sub ecx, eax
mov dword [esp + 0x18], ecx
jmp 0x10018675
mov dword [esp + 0x18], 0
mov eax, dword [edx + 0x10]
mov esi, dword [esp + 0x88]
and eax, 0x1c0
cmp eax, 0x40
je 0x10018754
cmp eax, 0x100
je 0x100186d1
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x94]
push edx
mov edx, dword [esp + 0x94]
push eax
push ecx
push edx
lea eax, [esp + 0x30]
push eax
push esi
call fcn.10014280
mov ecx, dword [eax]
mov dword [esp + 0xa8], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xac], edx
jmp 0x10018749
cmp dword [esp + 0x20], 0
jbe 0x1001870e
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x90]
push 1
push edi
push eax
push ecx
lea edx, [esp + 0x30]
push edx
push esi
call fcn.10014330
mov ecx, dword [eax]
mov dword [esp + 0xa8], ecx
mov edx, dword [eax + 4]
add esp, 0x18
inc edi
mov dword [esp + 0x94], edx
dec ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x94]
push eax
mov eax, dword [esp + 0x94]
push ecx
push edx
push eax
lea ecx, [esp + 0x30]
push ecx
push esi
call fcn.10014280
mov edx, dword [eax]
mov dword [esp + 0xa8], edx
mov eax, dword [eax + 4]
mov dword [esp + 0xac], eax
mov dword [esp + 0x30], 0
add esp, 0x18
movsx ecx, byte [esp + 0x14]
push ebx
push ecx
push edi
call fcn.10022f20
add esp, 0xc
test eax, eax
je 0x10018855
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x94]
sub eax, edi
inc eax
push edx
mov edx, dword [esp + 0x94]
mov ebp, eax
lea eax, [ebp - 1]
push eax
push edi
push ecx
push edx
lea eax, [esp + 0x34]
push eax
push esi
call fcn.100143a0
mov ecx, dword [eax]
mov dword [esp + 0xac], ecx
mov edx, dword [eax + 4]
mov ecx, dword [esp + 0xc0]
push ecx
mov dword [esp + 0xb4], edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push 0x30
push edx
push eax
lea ecx, [esp + 0x4c]
push ecx
push esi
call fcn.10014280
mov edx, dword [eax]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0xc4], edx
mov eax, dword [eax + 4]
mov dword [esp + 0xc8], eax
mov edx, dword [ecx]
mov eax, dword [edx + 4]
add esp, 0x34
call eax
mov edx, dword [esp + 0x94]
push 1
mov byte [esp + 0x2c], al
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x94]
push ecx
push edx
push eax
lea ecx, [esp + 0x30]
push ecx
push esi
call fcn.10014280
mov edx, dword [eax]
mov dword [esp + 0xa8], edx
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0xc0]
push edx
mov dword [esp + 0xb0], ecx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push 0x30
push ecx
push edx
lea eax, [esp + 0x50]
push eax
push esi
call fcn.10014280
mov ecx, dword [eax]
mov dword [esp + 0xc0], ecx
mov edx, dword [eax + 4]
add esp, 0x30
add edi, ebp
mov dword [esp + 0x94], edx
sub ebx, ebp
push ebx
push 0x65
push edi
call fcn.10022f20
add esp, 0xc
test eax, eax
je 0x10018926
mov edx, dword [esp + 0x94]
sub eax, edi
inc eax
mov ebp, eax
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x94]
lea ecx, [ebp - 1]
push ecx
push edi
push edx
push eax
lea ecx, [esp + 0x3c]
push ecx
push esi
call fcn.100143a0
mov edx, dword [eax]
mov dword [esp + 0xac], edx
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0xc8]
push edx
mov dword [esp + 0xb4], ecx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push 0x30
push ecx
push edx
lea eax, [esp + 0x54]
push eax
push esi
call fcn.10014280
mov ecx, dword [eax]
mov dword [esp + 0xc4], ecx
mov ecx, dword [esp + 0x64]
mov edx, dword [eax + 4]
add esp, 0x34
test byte [ecx + 0x10], 4
mov dword [esp + 0x94], edx
mov dword [esp + 0xac], 0
mov ecx, 0x1003fa80
jne 0x100188f7
mov ecx, 0x1003fa7c
mov edx, dword [eax + 4]
mov eax, dword [eax]
push 1
push ecx
push edx
push eax
lea ecx, [esp + 0x38]
push ecx
push esi
call fcn.10014330
mov edx, dword [eax]
mov dword [esp + 0xa8], edx
mov eax, dword [eax + 4]
add esp, 0x18
add edi, ebp
mov dword [esp + 0x94], eax
sub ebx, ebp
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x90]
push ecx
push ebx
push edi
push edx
push eax
lea ecx, [esp + 0x3c]
push ecx
push esi
call fcn.100143a0
mov edx, dword [eax]
mov dword [esp + 0xac], edx
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0xc8]
push edx
mov dword [esp + 0xb4], ecx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push 0x30
push ecx
push edx
lea eax, [esp + 0x54]
push eax
push esi
call fcn.10014280
mov ecx, dword [eax]
mov edx, dword [esp + 0x64]
mov edi, dword [esp + 0x68]
mov dword [esp + 0xc4], ecx
mov eax, dword [eax + 4]
xor ebx, ebx
mov dword [edx + 0x18], ebx
mov edx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0xd4]
push edx
push eax
push ecx
push edi
push esi
mov dword [esp + 0xe0], eax
call fcn.10014280
mov esi, 0x10
add esp, 0x4c
cmp dword [esp + 0x54], esi
jb 0x100189c8
mov eax, dword [esp + 0x40]
push eax
call fcn.10022cad
add esp, 4
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], 0
cmp dword [esp + 0x70], esi
jb 0x100189ec
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.10022cad
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.100234f7
add esp, 0x70
ret