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

Disassembly:
sub esp, 0x154
mov eax, dword [0x214f450]
xor eax, esp
mov dword [esp + 0x14c], eax
mov ecx, dword [esp + 0x164]
push ebx
mov ebx, dword [esp + 0x170]
push ebp
push esi
mov esi, dword [esp + 0x164]
push edi
xor edi, edi
push edi
xor eax, eax
push 0xffffffffffffffff
push edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov eax, dword [ecx + 0x40]
push edi
push ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x3c], edi
mov ecx, dword [eax + 4]
push esi
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x3c], edi
call ecx
mov ebp, eax
add esp, 0x18
mov dword [esp + 0x20], ebp
cmp ebp, edi
jne 0x1005e05d
lea eax, [edi - 2]
jmp 0x1005e6ba
push 0
push 0x186a0
mov ecx, ebp
mov edx, esi
call fcn.1003ced0
mov edx, dword [0x214b798]
mov cl, byte [0x214b79e]
mov ax, word [0x214b79c]
mov dword [esp + 0x58], edx
lea edx, [esp + 0x30]
mov byte [esp + 0x5e], cl
mov ecx, dword [esp + 0x18]
push edx
mov edi, ebp
mov word [esp + 0x60], ax
call fcn.1005d800
add esp, 0xc
test eax, eax
je 0x1005e0b5
cmp eax, 1
jne 0x1005e51f
mov dword [esp + 0x18], eax
jmp 0x1005e599
lea esi, [ebp + 0xb8]
mov eax, 0x214c260
mov dword [esp + 0x14], esi
call fcn.1003d060
test eax, eax
je 0x1005e4c2
mov eax, dword [esi]
mov ecx, dword [ebp + 0x20]
mov ecx, dword [ecx + 0xc]
push 4
lea edx, [esp + 0x44]
push edx
mov edx, dword [eax + 0x258]
mov eax, dword [eax + 0x254]
push edx
push eax
push ebp
call ecx
add esp, 0x14
cmp eax, 4
jne 0x1005e4c2
mov eax, dword [esp + 0x40]
mov edx, eax
sub edx, dword [esp + 0x28]
cmp edx, 0x100
ja 0x1005e4c2
mov ecx, dword [ebp + 0x20]
push 0x100
lea edx, [esp + 0x5c]
push edx
cdq
push edx
push eax
mov eax, dword [ecx + 0xc]
push ebp
call eax
add esp, 0x14
cmp eax, 0x100
jne 0x1005e4c2
push 0x44
xor ebx, ebx
call fcn.100729b6
mov esi, eax
add esp, 4
test esi, esi
je 0x1005e4c2
or ecx, 0xffffffff
xor edx, edx
mov dword [esi], ecx
cmp ecx, 0xffffffff
je 0x1005e170
mov al, byte [ecx + 0x214c274]
cmp byte [edx + 0x214c274], al
je 0x1005e170
cmp al, 0x3f
je 0x1005e170
mov ecx, dword [esi + ecx*4]
jmp 0x1005e175
inc edx
inc ecx
mov dword [esi + edx*4], ecx
cmp edx, 0x10
jl 0x1005e154
xor edi, edi
lea esp, [esp]
cmp edi, 0x10
jge 0x1005e1b8
cmp edi, 0xffffffff
je 0x1005e1ae
mov cl, byte [edi + 0x214c274]
cmp byte [esp + ebx + 0x58], cl
je 0x1005e1ae
cmp cl, 0x3f
je 0x1005e1ae
test edi, edi
jle 0x1005e1a9
cmp byte [edi + 0x214c273], 0x3f
jne 0x1005e1a9
dec ebx
mov edi, dword [esi + edi*4]
jmp 0x1005e1b0
inc edi
inc ebx
cmp ebx, 0x100
jl 0x1005e180
push esi
call fcn.1007285f
add esp, 4
cmp edi, 0x10
jne 0x1005e4c2
test ebx, ebx
jl 0x1005e4c2
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x14]
lea eax, [ebx + ecx - 0x10]
cdq
push edx
push eax
call fcn.1003d0f0
add esp, 8
test eax, eax
je 0x1005e4c2
mov eax, dword [esi]
mov edx, dword [eax + 0x264]
mov dword [eax + 0x2b4], edx
mov ecx, dword [eax + 0x268]
mov dword [eax + 0x2b8], ecx
mov edx, dword [ebp + 0x24]
mov eax, dword [edx]
push 0
push 8
push ebp
call eax
add esp, 0xc
cmp eax, 0x10001011
jne 0x1005e4c2
mov eax, dword [esi]
mov ecx, dword [ebp + 0x20]
mov ecx, dword [ecx + 0xc]
push 0x100
lea edx, [esp + 0x5c]
push edx
mov edx, dword [eax + 0x2b8]
mov eax, dword [eax + 0x2b4]
push edx
push eax
push ebp
call ecx
add esp, 0x14
cmp eax, 0x100
jne 0x1005e4c2
push 0x4c
xor ebx, ebx
call fcn.100729b6
mov esi, eax
add esp, 4
test esi, esi
je 0x1005e4c2
or ecx, 0xffffffff
xor edx, edx
mov dword [esi], ecx
cmp ecx, 0xffffffff
je 0x1005e28f
mov al, byte [ecx + 0x214c288]
cmp byte [edx + 0x214c288], al
je 0x1005e28f
cmp al, 0x3f
je 0x1005e28f
mov ecx, dword [esi + ecx*4]
jmp 0x1005e294
inc edx
inc ecx
mov dword [esi + edx*4], ecx
cmp edx, 0x12
jl 0x1005e273
xor edi, edi
jmp 0x1005e2a0
cmp edi, 0x12
jge 0x1005e2d8
cmp edi, 0xffffffff
je 0x1005e2ce
mov cl, byte [edi + 0x214c288]
cmp byte [esp + ebx + 0x58], cl
je 0x1005e2ce
cmp cl, 0x3f
je 0x1005e2ce
test edi, edi
jle 0x1005e2c9
cmp byte [edi + 0x214c287], 0x3f
jne 0x1005e2c9
dec ebx
mov edi, dword [esi + edi*4]
jmp 0x1005e2d0
inc edi
inc ebx
cmp ebx, 0x100
jl 0x1005e2a0
push esi
call fcn.1007285f
add esp, 4
cmp edi, 0x12
jne 0x1005e4c2
test ebx, ebx
jl 0x1005e4c2
mov esi, dword [esp + 0x14]
mov ecx, dword [esi]
mov eax, ebx
cdq
add eax, 0xfffffff5
adc edx, 0xffffffff
add dword [ecx + 0x2b4], eax
push 0
push 4
adc dword [ecx + 0x2b8], edx
mov edx, dword [esi]
mov eax, dword [ebp + 0x24]
mov edi, dword [edx + 0x2b4]
mov ecx, dword [eax]
push ebp
add edi, 5
call ecx
add esp, 0xc
cmp eax, 0x10001010
jne 0x1005e4c2
mov edx, dword [esp + 0x10]
push edx
lea ebx, [esp + 0x2c]
mov ecx, ebp
call fcn.1005ddb0
add esp, 4
mov eax, 0x214b89c
call fcn.1003d060
test eax, eax
je 0x1005e4c2
mov ecx, dword [ebp + 0x20]
mov ecx, dword [ecx + 0xc]
push 4
lea edx, [esp + 0x4c]
push edx
mov eax, esi
mov eax, dword [eax]
mov edx, dword [eax + 0x258]
mov eax, dword [eax + 0x254]
push edx
push eax
push ebp
call ecx
add esp, 0x14
cmp eax, 4
jne 0x1005e4c2
mov edx, dword [ebp + 0x20]
push eax
lea eax, [esp + 0x50]
push eax
mov ecx, esi
mov eax, dword [ecx]
mov ecx, dword [eax + 0x254]
mov eax, dword [eax + 0x258]
add ecx, 8
adc eax, 0
push eax
push ecx
mov ecx, dword [edx + 0xc]
push ebp
call ecx
add esp, 0x14
cmp eax, 4
jne 0x1005e4c2
mov eax, dword [esp + 0x4c]
mov ecx, dword [ebp + 0x20]
push 1
push 7
lea edx, [esp + 0x58]
push edx
cdq
push edx
push eax
mov eax, dword [ecx + 0x10]
push ebp
call eax
add esp, 0x18
cmp eax, 7
jne 0x1005e4c2
mov edx, dword [esp + 0x48]
mov ecx, esi
mov eax, dword [ecx]
mov dword [eax + 0x2b4], edx
mov edx, dword [esp + 0x10]
xor esi, esi
mov dword [eax + 0x2b8], esi
mov eax, dword [ecx]
add dword [eax + 0x254], 0x10
push esi
push 1
adc dword [eax + 0x258], esi
mov edx, dword [edx + 0x10]
mov eax, dword [ebp + 0x38]
mov ecx, dword [eax + 0x2c]
push esi
push edx
lea edx, [esp + 0x60]
push edx
push eax
mov eax, dword [ecx + 8]
call eax
add esp, 0x18
mov dword [esp + 0x24], eax
cmp eax, esi
je 0x1005e4c2
mov esi, dword [esp + 0x14]
mov eax, edi
cdq
push edx
push eax
call fcn.1003d0f0
add esp, 8
test eax, eax
je 0x1005e4c2
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x10]
mov edx, dword [eax + 0x5c]
push 4
lea ecx, [esp + 0x48]
push ecx
push 0
push 0x3c
push eax
call edx
add esp, 0x14
cmp eax, 4
jne 0x1005e4b5
mov edx, dword [esp + 0x44]
mov eax, dword [esi + 0x10]
push 2
lea ecx, [esp + 0x20]
push ecx
add edx, 0x18
push 0
push edx
push eax
mov eax, dword [eax + 0x5c]
call eax
add esp, 0x14
cmp eax, 2
jne 0x1005e4b5
cmp word [esp + 0x1c], 0
jne 0x1005e4b5
movzx ecx, word [esi + 0xa8]
mov eax, dword [esi + 0x10]
push 2
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x20]
push edx
mov edx, dword [eax + 0x60]
add ecx, 0x18
push 0
push ecx
push eax
call edx
add esp, 0x14
mov dword [esp + 0x18], 0
jmp 0x1005e599
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
push edx
push eax
mov eax, dword [esp + 0x38]
cdq
push edx
push eax
push ecx
mov ecx, dword [ecx + 0x60]
call ecx
add esp, 0x14
cmp eax, dword [esp + 0x34]
jne 0x1005e599
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
push edx
cdq
push edx
push eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x10]
push ecx
xor cl, cl
call fcn.1003cdd0
add esp, 0x10
cmp eax, dword [esp + 0x3c]
jne 0x1005e599
mov dword [esp + 0x18], 0
jmp 0x1005e599
or ecx, 0xffffffff
cmp eax, ecx
jne 0x1005e599
mov edx, dword [esp + 0x170]
cmp dword [edx + 0x1c], 0x20ed3e0
je 0x1005e595
cmp dword [ebx + 0x70], 2
jne 0x1005e595
cmp dword [ebx + 0x7c], 0
je 0x1005e595
movzx eax, word [ebx + 0x74]
mov ebp, dword [esp + 0x10]
mov ecx, dword [ebp + 0x19c]
mov ebx, dword [ebx + 0x78]
lea eax, [eax + eax*4]
mov esi, dword [ecx + eax*8 + 0xc]
lea edi, [ecx + eax*8]
add esi, ebx
mov eax, ebp
call fcn.1003c540
mov dword [esp + 0x38], eax
mov ecx, dword [edi + 8]
sub ecx, ebx
push ecx
cdq
push edx
mov edx, dword [ebp + 0x10]
push eax
mov dword [esp + 0x48], ecx
push edx
xor cl, cl
call fcn.1003cdd0
add esp, 0x10
cmp eax, dword [esp + 0x3c]
jne 0x1005e599
mov dword [esp + 0x18], 0
jmp 0x1005e599
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1005e5aa
push eax
call fcn.1007285f
add esp, 4
mov ebx, dword [esp + 0x24]
mov ebp, dword [0x212d000]
test ebx, ebx
je 0x1005e610
push ebx
call ebp
test eax, eax
jne 0x1005e610
mov eax, dword [ebx + 0x10]
mov edi, dword [eax]
add ebx, 0x10
cmp eax, ebx
je 0x1005e603
jmp 0x1005e5d0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
lea esi, [eax - 0x2c]
mov dword [edx], ecx
push esi
mov dword [eax], eax
mov dword [eax + 4], eax
call ebp
test eax, eax
jne 0x1005e5fb
push esi
call fcn.10049df0
mov eax, dword [esi + 0xc]
add esp, 4
push esi
call eax
add esp, 4
mov eax, edi
mov edi, dword [edi]
cmp eax, ebx
jne 0x1005e5d0
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0xc]
push eax
call ecx
add esp, 4
mov edi, dword [esp + 0x20]
mov eax, dword [edi + 0x34]
lea ecx, [eax + 0xe8]
mov eax, dword [ecx]
mov esi, dword [eax]
cmp eax, ecx
je 0x1005e655
jmp 0x1005e630
mov edx, dword [eax - 0xd0]
add eax, 0xffffff08
push eax
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [edi + 0x34]
mov eax, esi
mov esi, dword [esi]
add ecx, 0xe8
add esp, 4
cmp eax, ecx
jne 0x1005e630
mov edx, dword [edi + 0x28]
mov eax, dword [edx + 0xc]
push edi
call eax
add esp, 4
push edi
call ebp
test eax, eax
jne 0x1005e6b6
mov ebx, edi
mov eax, dword [ebx + 0x10]
mov edi, dword [eax]
add ebx, 0x10
cmp eax, ebx
je 0x1005e6a9
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
lea esi, [eax - 0x2c]
mov dword [edx], ecx
push esi
mov dword [eax], eax
mov dword [eax + 4], eax
call ebp
test eax, eax
jne 0x1005e6a1
push esi
call fcn.10049df0
mov ecx, dword [esi + 0xc]
add esp, 4
push esi
call ecx
add esp, 4
mov eax, edi
mov edi, dword [edi]
cmp eax, ebx
jne 0x1005e676
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0xc]
push eax
call edx
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x15c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10072850
add esp, 0x154
ret