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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
push ebx
xor ebx, ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, ecx
mov dword [esp + 0x1c], esi
mov byte [esp + 0x11], bl
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], 2
mov dword [esp + 0x70], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], 0xb
mov dword [esp + 0x60], ebx
mov dword [esp + 0x6c], ebx
cmp edi, ebx
jne 0x1019bcd6
mov dword [esp + 0x14], 0x80004005
jmp 0x1019c1a5
mov byte [esp + 0x10], bl
cmp byte [ebp + 0x18], bl
jne 0x1019bdda
mov eax, dword [edi + 0x3c]
and eax, 0xfff00000
cmp eax, 0x11400000
je 0x1019bda3
cmp eax, 0x11800000
je 0x1019bda3
cmp eax, 0x12000000
je 0x1019bda3
cmp eax, 0x50a00000
je 0x1019bda3
cmp eax, 0x11300000
je 0x1019bda3
cmp eax, 0x22900000
jne 0x1019bd39
mov eax, dword [ebp + 0x14]
push eax
push esi
mov eax, edi
call fcn.1019b660
cmp eax, ebx
jmp 0x1019bd90
cmp eax, 0x50600000
ja 0x1019bd78
je 0x1019bd86
cmp eax, 0x50400000
je 0x1019bd86
cmp eax, 0x50500000
je 0x1019bd86
cmp eax, 0x51b00000
je 0x1019bd65
cmp eax, 0x51c00000
je 0x1019bd65
cmp eax, 0x90000000
jne 0x1019bdb6
push edi
call fcn.1019b960
cmp eax, ebx
mov dword [esp + 0x14], eax
jge 0x1019bdb6
jmp 0x1019c1a5
cmp eax, 0x50800000
je 0x1019bd86
cmp eax, 0x50900000
jne 0x1019bd50
push esi
mov ebx, edi
call fcn.1019b7d0
test eax, eax
mov dword [esp + 0x14], eax
jl 0x1019c1a5
jne 0x1019bdb6
mov byte [esp + 0x10], 1
jmp 0x1019bdb6
push edi
push esi
call fcn.1019baf0
cmp eax, ebx
mov dword [esp + 0x14], eax
jl 0x1019c1a5
mov ebx, esi
call fcn.1019afd0
mov dword [esp + 0x14], eax
test eax, eax
jl 0x1019c1a5
xor ebx, ebx
mov edx, 1
test eax, eax
jne 0x1019bddf
mov byte [esp + 0x10], dl
jmp 0x1019bddf
mov edx, 1
mov eax, dword [edi + 0x3c]
mov ecx, eax
shr ecx, 0x1c
cmp ecx, edx
jb 0x1019bdf0
cmp ecx, 4
jbe 0x1019be52
and eax, 0xfff00000
cmp eax, 0x50300000
je 0x1019be52
cmp eax, 0x50600000
ja 0x1019be2a
je 0x1019be38
cmp eax, 0x50400000
je 0x1019be38
cmp eax, 0x50500000
je 0x1019be38
mov eax, dword [edi + 8]
mov ecx, dword [edi]
mov dword [esp + 0x30], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x20], ecx
jmp 0x1019be78
cmp eax, 0x50800000
je 0x1019be38
cmp eax, 0x50900000
jne 0x1019be13
mov ecx, dword [edi + 8]
mov dword [esp + 0x24], ecx
mov ecx, dword [edi + 0x3c]
and ecx, 0xfffff
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], ecx
jmp 0x1019be69
mov ecx, dword [edi + 0x3c]
and ecx, 0xfffff
mov eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x2c], eax
mov eax, dword [edi]
xor edx, edx
div ecx
mov byte [esp + 0x11], 1
mov dword [esp + 0x20], eax
mov edi, dword [esp + 0x20]
lea edx, [esp + 0x7c]
push edx
lea eax, [esp + 0x74]
push eax
mov ecx, 4
push esi
lea esi, [ecx - 2]
call fcn.100db050
cmp eax, ebx
mov dword [esp + 0x14], eax
jl 0x1019c1a5
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x30]
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0x64]
push edx
lea ecx, [esi - 1]
push eax
mov edi, ebx
lea esi, [ecx + 0xa]
call fcn.100db050
mov dword [esp + 0x14], eax
test eax, eax
jl 0x1019c1a5
mov ecx, dword [esp + 0x60]
push ebx
xor esi, esi
push esi
push ecx
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [esp + 0x44], esi
cmp dword [ebp + 0xc], esi
jbe 0x1019c198
mov edi, dword [ebp + 8]
add edi, 4
mov dword [esp + 0x48], edi
jmp 0x1019bf02
xor esi, esi
cmp byte [esp + 0x11], 0
mov dword [esp + 0x28], esi
jne 0x1019bf16
cmp dword [edi + 0x54], esi
jne 0x1019bcc9
mov eax, dword [edi]
test al, 2
je 0x1019bf24
mov dword [esp + 0x28], 1
test al, 4
je 0x1019bf2d
add dword [esp + 0x28], 2
mov dword [esp + 0x18], esi
cmp ebx, esi
jbe 0x1019c17f
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x60]
cmp byte [eax + edx], 0
jne 0x1019c16a
mov eax, dword [edi - 4]
cmp eax, 0xffffffff
je 0x1019bf8d
mov edx, dword [esp + 0x1c]
lea ecx, [eax + eax*4]
lea esi, [edx + ecx*4 + 0x1c78]
mov dword [esp + 0x3c], esi
test esi, esi
je 0x1019bf95
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x24]
lea ebx, [ecx + edx*4]
mov ecx, dword [esp + 0x1c]
call fcn.1017c6c0
mov edi, dword [esp + 0x48]
mov byte [esp + 0x13], al
jmp 0x1019bf9a
mov dword [esp + 0x3c], 0
mov byte [esp + 0x13], 1
mov eax, dword [esp + 0x28]
xor edx, edx
mov byte [esp + 0x12], 0
mov dword [esp + 0x34], eax
cmp eax, dword [esp + 0x20]
jae 0x1019c16a
imul eax, dword [esp + 0x2c]
add eax, dword [esp + 0x18]
add eax, eax
add eax, eax
mov dword [esp + 0x38], eax
jmp 0x1019bfca
mov edx, dword [esp + 0x40]
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx + 4]
mov eax, dword [eax + ecx]
mov ecx, dword [eax + 0x50]
mov esi, dword [esp + 0x70]
mov dword [esi + edx*4], eax
mov ebx, dword [ecx + 0xc]
mov esi, dword [edi + 0x24]
inc edx
mov dword [esp + 0x40], edx
mov edx, dword [ecx + 8]
mov ecx, esi
and ecx, edx
mov dword [esp + 0x58], edx
mov edx, dword [edi + 0x28]
and edx, ebx
cmp ecx, esi
jne 0x1019c05e
cmp edx, dword [edi + 0x28]
jne 0x1019c05e
mov ecx, dword [edi + 0x2c]
mov edx, dword [edi + 0x30]
and ecx, dword [esp + 0x58]
and edx, ebx
or ecx, edx
jne 0x1019c05e
mov ecx, dword [edi + 8]
mov ebx, dword [edi + 4]
mov esi, dword [eax + 0x44]
mov edx, dword [edi + 0x20]
mov dword [esp + 0x54], ecx
mov ecx, dword [eax + 0x40]
and esi, dword [esp + 0x54]
and ecx, ebx
cmp ecx, ebx
jne 0x1019c05e
cmp esi, dword [esp + 0x54]
jne 0x1019c05e
mov ecx, dword [edi + 0x18]
push ecx
mov ecx, dword [edi + 0x14]
push ecx
mov ecx, dword [edi + 0x10]
push ecx
mov ecx, dword [edi + 0xc]
push ecx
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, edx
mov edx, dword [edi + 0x1c]
call fcn.1015f370
test al, al
je 0x1019c05e
mov byte [esp + 0x12], 1
jmp 0x1019c067
test byte [edi], 1
jne 0x1019c16a
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
add edx, edx
add edx, edx
inc ecx
add eax, edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
cmp ecx, dword [esp + 0x20]
jb 0x1019bfc6
cmp byte [esp + 0x12], 0
je 0x1019c16a
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x1019c0a2
inc dword [eax + 4]
cmp byte [esp + 0x13], 0
je 0x1019c158
xor ebx, ebx
cmp dword [esp + 0x24], ebx
jbe 0x1019c104
mov esi, dword [esp + 0x18]
add esi, esi
add esi, esi
lea ecx, [ecx]
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0xc]
mov ecx, dword [esi + eax]
mov edx, dword [edi + 0x4c]
mov eax, dword [edi + 0x48]
push edx
mov edx, dword [edi + 0x40]
push eax
mov eax, dword [edi + 0x3c]
push edx
mov edx, dword [edi + 0x38]
push eax
mov eax, dword [edi + 0x34]
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [edi + 0x44]
push edx
call fcn.101664d0
mov dword [esp + 0x14], eax
test eax, eax
jl 0x1019c1a5
inc ebx
add esi, 4
cmp ebx, dword [esp + 0x24]
jb 0x1019c0c0
cmp dword [esp + 0x14], 0
jne 0x1019c110
mov byte [esp + 0x10], 1
mov eax, dword [edi + 0x54]
test eax, eax
je 0x1019c158
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0xc]
mov esi, dword [esp + 0x18]
mov edx, dword [edx + esi*4]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x40]
cmp edx, dword [edi + 0x58]
jne 0x1019bcc9
lea edx, [esp + 0x4c]
push edx
mov edx, dword [esp + 0x74]
push edx
push ecx
mov ecx, dword [esp + 0x28]
push ecx
call eax
mov dword [esp + 0x14], eax
test eax, eax
jl 0x1019c1a5
test eax, eax
jne 0x1019c158
mov byte [esp + 0x10], 1
cmp dword [edi + 0x5c], 0
je 0x1019c16a
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x60]
mov byte [eax + edx], 1
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x30]
inc eax
mov dword [esp + 0x18], eax
cmp eax, ebx
jb 0x1019bf39
mov eax, dword [esp + 0x44]
inc eax
add edi, 0x68
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edi
cmp eax, dword [ebp + 0xc]
jb 0x1019bf00
xor ecx, ecx
cmp byte [esp + 0x10], cl
sete cl
mov dword [esp + 0x14], ecx
cmp dword [esp + 0x60], 0
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
lea edx, [ecx + ecx*2]
mov ecx, dword [esp + 0x64]
lea edi, [ecx + edx*4 + 0x8140]
je 0x1019c1e0
test eax, eax
ja 0x1019c1cb
mov eax, 1
mov ebx, dword [edi]
cmp eax, dword [ebx + 8]
jae 0x1019c1d7
sub dword [ebx + 8], eax
jmp 0x1019c1e0
mov edx, dword [ebx]
mov dword [edi], edx
call fcn.100daed0
cmp dword [esp + 0x70], 0
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x7c]
lea ecx, [ecx + ecx*2]
lea edi, [edx + ecx*4 + 0x8140]
je 0x1019c226
test eax, eax
ja 0x1019c206
mov eax, 1
mov ebx, dword [edi]
cmp eax, dword [ebx + 8]
jae 0x1019c21d
sub dword [ebx + 8], eax
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebx]
mov dword [edi], eax
call fcn.100daed0
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14