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

Disassembly:
sub esp, 0x28
mov eax, dword [esp + 0x2c]
push ebx
push ebp
push esi
mov ecx, dword [eax + 8]
push edi
push eax
mov dword [esp + 0x2c], ecx
call fcn.10097ed0
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x30], eax
add esp, 4
mov eax, dword [edx + 0xc]
xor ebx, ebx
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 0x20]
mov ecx, dword [ecx + 0x18]
mov ebp, eax
xor edi, edi
xor esi, esi
lea ecx, [ecx + ecx*4]
mov dword [esp + 0x10], ebx
lea ecx, [eax + ecx*8]
cmp ebp, ecx
mov dword [esp + 0x18], ecx
jae 0x100af41b
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
push eax
push ecx
push edx
push ebp
call fcn.100af700
add esp, 0x10
test eax, eax
je 0x100af40c
mov ecx, dword [ebp + 0xc]
cmp ecx, 0x40
jl 0x100af3e7
xor eax, eax
mov edx, SysReAllocString
jmp 0x100af3f3
mov eax, 1
xor edx, edx
call fcn.100d06e0
mov ecx, eax
mov ebx, edx
and ecx, edi
and ebx, esi
or ecx, ebx
mov ebx, dword [esp + 0x10]
jne 0x100af40c
inc ebx
or edi, eax
mov dword [esp + 0x10], ebx
or esi, edx
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x44]
add ebp, 0x28
cmp ebp, eax
jb 0x100af3be
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x14], 0x3f
not edi
mov dword [ecx + 4], ebx
mov eax, dword [edx + 0x30]
mov ebp, dword [edx + 0x34]
mov edx, dword [esp + 0x1c]
not esi
or esi, 0x80000000
and edi, eax
mov eax, dword [edx + 8]
and esi, ebp
cmp eax, 0x3f
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], esi
mov dword [esp + 0x20], eax
jge 0x100af45a
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x14]
xor esi, esi
test edx, edx
jle 0x100af494
mov ecx, esi
mov eax, 1
xor edx, edx
call fcn.100d06e0
mov ecx, dword [esp + 0x34]
and eax, edi
and edx, ecx
or eax, edx
je 0x100af47f
inc ebx
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
jl 0x100af464
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], ebx
and ebp, 0x80000000
xor edx, edx
or edx, ebp
je 0x100af4aa
lea eax, [ebx + eax - 0x3f]
mov dword [esp + 0x10], eax
mov ebx, eax
mov ebp, dword [ecx]
mov edx, dword [esp + 0x3c]
or ebp, 0x810002
mov dword [ecx], ebp
mov eax, dword [edx]
lea ecx, [ebx + ebx*8 + 0x30]
push ecx
push eax
call fcn.1006ea00
mov esi, eax
xor ebp, ebp
add esp, 8
cmp esi, ebp
je 0x100af6f7
mov ecx, dword [esp + 0x50]
lea eax, [esi + 0x30]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [ecx + 0x10], esi
mov ecx, dword [esp + 0x40]
mov dword [esi + 0x20], eax
lea eax, [eax + ebx*4]
mov dword [esi + 4], eax
mov dword [esi], str.auto_index
lea edx, [eax + ebx*4]
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x1c], edx
mov dword [esi + 0x24], ebx
mov dword [esi + 0xc], eax
mov ebx, dword [ecx + 0x20]
cmp ebx, dword [esp + 0x18]
jae 0x100af5bd
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
push edx
push eax
push ecx
push ebx
call fcn.100af700
add esp, 0x10
test eax, eax
je 0x100af5ae
mov ecx, dword [ebx + 0xc]
cmp ecx, 0x40
jl 0x100af543
xor eax, eax
mov edx, SysReAllocString
jmp 0x100af54f
mov eax, 1
xor edx, edx
call fcn.100d06e0
mov edi, dword [esp + 0x20]
mov ecx, eax
and ecx, edi
mov edi, edx
and edi, dword [esp + 0x24]
or ecx, edi
jne 0x100af5aa
mov edi, dword [esp + 0x20]
mov ecx, dword [ebx]
or edi, eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x24]
or edi, edx
mov edx, dword [esi + 4]
mov dword [esp + 0x24], edi
mov dword [edx + ebp*4], eax
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 8]
mov edx, dword [esp + 0x3c]
push eax
push ecx
push edx
call fcn.10097660
add esp, 0xc
test eax, eax
je 0x100af59d
mov eax, dword [eax]
jmp 0x100af5a2
mov eax, str.BINARY
mov ecx, dword [esi + 0x20]
inc ebp
mov dword [ecx + ebp*4 - 4], eax
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
add ebx, 0x28
cmp ebx, eax
jb 0x100af516
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
jle 0x100af5fd
mov ecx, ebx
mov eax, 1
xor edx, edx
call fcn.100d06e0
mov ecx, dword [esp + 0x34]
and eax, edi
and edx, ecx
or eax, edx
je 0x100af5f4
mov edx, dword [esi + 4]
inc ebp
mov dword [edx + ebp*4 - 4], ebx
mov eax, dword [esi + 0x20]
mov dword [eax + ebp*4 - 4], 0x101198e0
mov eax, dword [esp + 0x14]
inc ebx
cmp ebx, eax
jl 0x100af5c7
mov ecx, dword [esp + 0x44]
xor eax, eax
mov ecx, dword [ecx + 0x34]
and ecx, 0x80000000
or eax, ecx
je 0x100af642
mov edx, dword [esp + 0x1c]
mov ecx, 0x3f
cmp dword [edx + 8], ecx
jle 0x100af642
lea eax, [ebp*4]
mov edi, dword [esi + 4]
add eax, 4
mov dword [eax + edi - 4], ecx
mov edi, dword [esi + 0x20]
inc ecx
mov dword [eax + edi - 4], 0x101198e0
mov edi, dword [edx + 8]
cmp ecx, edi
jl 0x100af625
mov ebp, dword [esp + 0x3c]
push esi
push ebp
call fcn.1009ebb0
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x58]
mov edi, dword [esp + 0x30]
push 0xfffffffffffffff0
push eax
mov eax, dword [ebx + 0x20]
inc edx
push 0
push edx
push eax
push 0x29
push edi
call fcn.10095130
mov ecx, dword [ebx + 0x1c]
push ecx
push 0x48
push edi
call fcn.100965a0
push ebp
mov dword [esp + 0x78], eax
call fcn.10095b50
mov edx, dword [esp + 0x84]
mov ebx, eax
push 1
push ebx
mov eax, dword [edx + 0x1c]
push eax
push esi
push ebp
call fcn.1009f950
mov ecx, dword [esp + 0x98]
add esp, 0x48
mov edx, dword [ecx + 0x20]
push ebx
push edx
push 0x61
push edi
call fcn.10095b10
push 0x10
push edi
call fcn.10096040
mov esi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 0x1c]
lea eax, [esi + 1]
push eax
push edx
push 0x5f
push edi
call fcn.10095b10
push 3
push edi
call fcn.10096040
push esi
push edi
call fcn.10095b30
push ebx
push ebp
call fcn.10095b80
mov eax, dword [esp + 0x6c]
add esp, 0x40
push eax
push edi
call fcn.10095b30
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret