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

Disassembly:
sub esp, 0xb0
mov eax, dword [0x10065070]
xor eax, esp
mov dword [esp + 0xac], eax
push ebx
xor eax, eax
mov dword [esp + 0x94], ecx
push ebp
push esi
mov esi, dword [esp + 0xc0]
xorps xmm0, xmm0
push edi
mov edi, edx
mov word [esp + 0x44], ax
mov dword [esp + 0x58], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0xc]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov word [esp + 0x80], ax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov eax, ecx
or eax, edx
mov dword [esp + 0x30], edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x38], 0
mov word [esp + 0x3c], 0
mov byte [esp + 0x3e], 1
mov dword [esp + 0x40], 0xa033f
mov dword [esp + 0x48], 0xffffffff
movlpd qword [esp + 0x50], xmm0
movlpd qword [esp + 0x60], xmm0
movlpd qword [esp + 0x68], xmm0
mov dword [esp + 0x84], 0x81b60000
movlpd qword [esp + 0x88], xmm0
je 0x10018bb0
mov eax, dword [edi]
movlpd qword [esp + 0x98], xmm0
mov eax, dword [eax]
mov ebp, dword [eax + 0x54]
mov ebx, dword [eax + 0x50]
mov eax, ebx
mov dword [esp + 0x20], ebp
test edx, edx
jb 0x10018b91
ja 0x100185a9
test ecx, ecx
je 0x10018b91
mov eax, dword [esp + 0x9c]
mov edx, ebx
mov esi, ebp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x14], ebx
mov ebx, dword [sym.imp.msvcrt.dll_free]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x28], eax
nop dword [eax]
mov ecx, eax
mov eax, dword [edi]
shl ecx, 4
mov dword [esp + 0x34], ecx
mov ecx, dword [ecx + eax]
mov eax, dword [ecx + 0x54]
mov edi, dword [ecx + 0x50]
cmp eax, esi
ja 0x10018608
jb 0x100185fe
cmp edi, edx
jae 0x10018608
mov edx, edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x30]
mov ebp, dword [eax + 0x24]
mov esi, dword [eax + 0x20]
cmp dword [esp + 0x20], ebp
ja 0x10018b69
jb 0x10018626
cmp edx, esi
ja 0x10018b69
mov eax, dword [ecx + 0x38]
test eax, eax
je 0x10018631
movzx eax, word [eax + 4]
movzx eax, ax
cdq
add eax, dword [ecx + 0x28]
adc edx, dword [ecx + 0x2c]
add eax, edi
mov ecx, dword [ecx + 0x54]
adc edx, ecx
add eax, 0x1e
adc edx, 0
cmp edx, dword [esp + 0x18]
jb 0x10018660
ja 0x10018656
cmp eax, dword [esp + 0x14]
jbe 0x10018660
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
jmp 0x10018668
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
cmp edx, ebp
ja 0x10018b69
jb 0x1001867a
cmp eax, esi
ja 0x10018b69
mov ebp, dword [esp + 0xa0]
mov esi, dword [ebp]
cmp byte [esi + 0x28], 0
jne 0x10018b4d
cmp dword [esi + 0x20], 0
jbe 0x10018b36
push 6
mov dword [esp + 0xb0], ecx
lea edx, [esp + 0xac]
push 0
push 0x10
mov ecx, esi
mov dword [esp + 0xb4], edi
mov dword [esp + 0xbc], 0
call fcn.1001ca90
add esp, 0xc
test edx, edx
jl 0x10018b48
jg 0x100186da
test eax, eax
jb 0x10018b48
mov byte [esi + 0x34], 0
lea ecx, [esp + 0x38]
mov esi, dword [esp + 0x1c]
mov edx, dword [ebp]
push esi
push 1
push 0
call fcn.1001f220
and eax, edx
add esp, 0xc
cmp eax, 0xffffffff
je 0x10018a3a
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0x70]
mov eax, dword [eax]
mov edi, dword [edi + eax]
mov ax, word [edi + 0xa]
cmp ax, word [esp + 0x42]
jb 0x1001893d
mov eax, dword [edi + 0x10]
cmp eax, dword [esp + 0x48]
jne 0x1001893d
mov eax, dword [edi + 0x18]
cmp eax, dword [esp + 0x50]
jne 0x1001893d
mov eax, dword [edi + 0x1c]
cmp eax, dword [esp + 0x54]
jne 0x1001893d
mov ecx, dword [edi + 0x38]
test ecx, ecx
je 0x100187be
test ebp, ebp
je 0x100187be
movzx eax, word [ecx + 4]
cmp ax, word [ebp + 4]
jne 0x1001893d
mov ecx, dword [ecx]
mov esi, eax
mov edx, dword [ebp]
sub esi, 4
jb 0x10018781
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10018786
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10018770
cmp esi, 0xfffffffc
je 0x100187b7
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x100187b3
cmp esi, 0xfffffffd
je 0x100187b7
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x100187b3
cmp esi, 0xfffffffe
je 0x100187b7
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x100187b3
cmp esi, 0xffffffff
je 0x100187b7
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x100187b7
xor eax, eax
jmp 0x100187c5
mov eax, 1
jmp 0x100187c5
xor eax, eax
cmp ecx, ebp
sete al
test eax, eax
je 0x1001893d
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x68]
mov esi, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
cmp dword [edi + 0x20], edx
jne 0x10018800
cmp dword [edi + 0x28], ecx
jne 0x10018800
cmp dword [edi + 0x2c], esi
jne 0x10018800
cmp dword [edi + 0x30], eax
jne 0x10018800
mov ebx, dword [esp + 0x6c]
cmp dword [edi + 0x34], ebx
mov ebx, dword [sym.imp.msvcrt.dll_free]
je 0x10018825
test byte [esp + 0x44], 8
je 0x1001893d
test edx, edx
jne 0x1001893d
or ecx, esi
jne 0x1001893d
or eax, dword [esp + 0x6c]
jne 0x1001893d
mov edx, dword [esp + 0x74]
mov ecx, dword [edi + 0x3c]
call fcn.100224c0
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x74], 0
mov ecx, dword [edi]
mov ecx, dword [ecx + edx]
mov dword [ecx + 0x3c], eax
mov eax, dword [edi]
mov cl, byte [esp + 0x3d]
mov eax, dword [eax + edx]
mov byte [eax + 4], 1
test cl, cl
je 0x10018862
mov al, byte [esp + 0x38]
test al, 2
je 0x1001888c
test ebp, ebp
je 0x10018880
push dword [ebp]
call ebx
add esp, 4
push dword [ebp + 0xc]
call ebx
add esp, 4
push ebp
call ebx
mov cl, byte [esp + 0x41]
add esp, 4
mov al, byte [esp + 0x38]
mov dword [esp + 0x70], 0
test cl, cl
je 0x10018894
test al, 4
je 0x100188c1
mov esi, dword [esp + 0x78]
test esi, esi
je 0x100188b5
push dword [esi]
call ebx
add esp, 4
push dword [esi + 0xc]
call ebx
add esp, 4
push esi
call ebx
mov cl, byte [esp + 0x41]
add esp, 4
mov al, byte [esp + 0x38]
mov dword [esp + 0x78], 0
test cl, cl
je 0x100188c9
test al, al
jns 0x10018906
mov esi, dword [esp + 0x94]
test esi, esi
je 0x100188f5
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100188e0
sub ecx, edx
push ecx
push 0
push esi
call sub.msvcrt.dll_memset
add esp, 0xc
push esi
call ebx
add esp, 4
mov dword [esp + 0x94], 0
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
add eax, 1
mov dword [esp + 0x28], eax
adc edx, 0
mov dword [esp + 0x24], edx
cmp edx, dword [edi + 0xc]
ja 0x10018b85
jb 0x10018930
cmp eax, dword [edi + 8]
jae 0x10018b85
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x20]
jmp 0x100185e0
cmp dword [esp + 0x24], 0
jne 0x10018950
mov ecx, dword [esp + 0x28]
cmp ecx, 0x7fffff
jbe 0x10018955
mov ecx, 0x7fffff
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x1001896c
shl ecx, 8
or ecx, 6
mov dword [esi], 0x15
mov dword [esi + 4], ecx
mov al, byte [esp + 0x3d]
test al, al
je 0x1001897b
test byte [esp + 0x38], 2
je 0x10018999
test ebp, ebp
je 0x10018999
push dword [ebp]
call ebx
add esp, 4
push dword [ebp + 0xc]
call ebx
add esp, 4
push ebp
call ebx
mov al, byte [esp + 0x41]
add esp, 4
test al, al
je 0x100189a4
test byte [esp + 0x38], 8
je 0x100189ca
mov edi, dword [esp + 0x74]
test edi, edi
je 0x100189ca
nop dword [eax]
push dword [edi + 0xc]
mov esi, dword [edi]
call ebx
add esp, 4
push edi
call ebx
add esp, 4
mov edi, esi
test esi, esi
jne 0x100189b0
mov al, byte [esp + 0x3d]
test al, al
je 0x100189d5
test byte [esp + 0x38], 4
je 0x100189f6
mov esi, dword [esp + 0x78]
test esi, esi
je 0x100189f6
push dword [esi]
call ebx
add esp, 4
push dword [esi + 0xc]
call ebx
add esp, 4
push esi
call ebx
mov al, byte [esp + 0x41]
add esp, 4
test al, al
je 0x10018a05
test byte [esp + 0x38], 0x80
je 0x10018b7e
mov esi, dword [esp + 0x94]
test esi, esi
je 0x10018a2a
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10018a15
sub ecx, edx
push ecx
push 0
push esi
call sub.msvcrt.dll_memset
add esp, 0xc
push esi
call ebx
or eax, 0xffffffff
add esp, 4
or edx, eax
jmp 0x10018bcb
cmp dword [esi], 0x15
jne 0x10018a69
cmp dword [esp + 0x24], 0
jne 0x10018a52
mov ecx, dword [esp + 0x28]
cmp ecx, 0x7fffff
jbe 0x10018a57
mov ecx, 0x7fffff
movzx eax, byte [esi + 4]
shl ecx, 8
or eax, ecx
mov dword [esi], 0x15
mov dword [esi + 4], eax
mov al, byte [esp + 0x3d]
test al, al
je 0x10018a78
test byte [esp + 0x38], 2
je 0x10018a99
mov esi, dword [esp + 0x70]
test esi, esi
je 0x10018a99
push dword [esi]
call ebx
add esp, 4
push dword [esi + 0xc]
call ebx
add esp, 4
push esi
call ebx
mov al, byte [esp + 0x41]
add esp, 4
test al, al
je 0x10018aa4
test byte [esp + 0x38], 8
je 0x10018aca
mov edi, dword [esp + 0x74]
test edi, edi
je 0x10018aca
nop dword [eax]
push dword [edi + 0xc]
mov esi, dword [edi]
call ebx
add esp, 4
push edi
call ebx
add esp, 4
mov edi, esi
test esi, esi
jne 0x10018ab0
mov al, byte [esp + 0x3d]
test al, al
je 0x10018ad5
test byte [esp + 0x38], 4
je 0x10018af6
mov esi, dword [esp + 0x78]
test esi, esi
je 0x10018af6
push dword [esi]
call ebx
add esp, 4
push dword [esi + 0xc]
call ebx
add esp, 4
push esi
call ebx
mov al, byte [esp + 0x41]
add esp, 4
test al, al
je 0x10018b01
test byte [esp + 0x38], 0x80
je 0x10018b7e
mov esi, dword [esp + 0x94]
test esi, esi
je 0x10018b26
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10018b11
sub ecx, edx
push ecx
push 0
push esi
call sub.msvcrt.dll_memset
add esp, 0xc
push esi
call ebx
or eax, 0xffffffff
add esp, 4
or edx, eax
jmp 0x10018bcb
add esi, 0xc
je 0x10018b48
mov dword [esi], 0x12
mov dword [esi + 4], 0
mov ecx, dword [ebp]
jmp 0x10018b4f
mov ecx, esi
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x10018b7e
mov eax, dword [ecx + 0xc]
mov dword [esi], eax
mov eax, dword [ecx + 0x10]
mov dword [esi + 4], eax
or eax, 0xffffffff
or edx, eax
jmp 0x10018bcb
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x10018b7e
mov dword [esi + 4], 0
mov dword [esi], 0x13
or eax, 0xffffffff
or edx, eax
jmp 0x10018bcb
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
sub ebx, eax
sbb ebp, dword [esp + 0x20]
cmp ebp, 0x7fffffff
jb 0x10018bc7
ja 0x10018ba6
cmp ebx, 0xffffffff
jb 0x10018bc7
or ebx, 0xffffffff
mov ebp, 0x7fffffff
jmp 0x10018bc7
movlpd qword [esp + 0xa0], xmm0
mov ebp, dword [esp + 0xa4]
mov ebx, dword [esp + 0xa0]
mov eax, ebx
mov edx, ebp
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10045f1d
add esp, 0xb0
ret