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

Disassembly:
sub esp, 0x1c
push ebx
push esi
mov esi, dword [esp + 0x28]
push edi
mov edi, dword [esp + 0x34]
cmp esi, dword [edi]
mov ebx, dword [edi + 0x154]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x34], 0x50
mov dword [esp + 0xc], 0
jg 0x100609ef
cmp esi, dword [edi + 4]
jl 0x100609ef
push ebp
mov ebp, dword [esp + 0x34]
cmp ebp, dword [edi + 8]
jg 0x100609ee
cmp ebp, dword [edi + 0xc]
jl 0x100609ee
cmp dword [edi + 0xdc], 0
jne 0x10060662
mov edx, edi
mov eax, ebp
mov ecx, esi
call fcn.10062bc0
mov dword [esp + 0x24], eax
lea eax, [edi + 0x24]
mov dword [esp + 0x1c], eax
lea eax, [edi + 0x74]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], esi
xor ebp, ebp
mov dword [esp + 0x20], eax
jmp 0x100606a4
push edi
push 0
push ebp
push esi
call fcn.100541a0
mov dword [esp + 0x34], eax
mov eax, esi
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x28], eax
mov eax, ebp
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x24], eax
lea ecx, [edi + 0x4c]
lea eax, [edi + 0x74]
add esp, 0x10
mov dword [esp + 0x1c], ecx
xor ebp, ebp
mov dword [esp + 0x20], eax
jmp 0x100606a4
mov ebx, dword [esp + 0x28]
mov ecx, dword [edi + 0xd0]
mov eax, ebp
sar eax, 1
imul eax, ecx
mov edx, ebp
and edx, 1
add eax, edx
push ecx
mov ecx, dword [esp + 0x28]
add eax, eax
add eax, eax
add eax, eax
lea edx, [eax + ecx]
mov ecx, dword [edi + 0xb8]
push edx
add ecx, eax
push ecx
push ebx
call dword [0x10104a90]
mov edx, dword [edi + 0x188]
mov eax, dword [edi + 0x16c]
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [ecx + 0xfc]
mov ecx, dword [edi + 0x15c]
push eax
mov eax, dword [edi + 0x168]
push edx
mov edx, dword [edi + 0x158]
push eax
mov eax, dword [edi + 0x154]
push ebp
push ecx
add eax, 0x100
push edx
push eax
lea eax, [esp + 0x40]
lea esi, [ebx + 0x80]
call fcn.100601c0
mov ecx, dword [esp + 0x50]
add dword [esp + 0x68], eax
mov dword [ecx], eax
inc ebp
add ecx, 4
add esp, 0x30
cmp ebp, 4
mov dword [esp + 0x20], ecx
jl 0x100606a0
mov edx, dword [edi + 0x9c]
mov eax, dword [edi + 0x98]
mov ecx, dword [edi + 0xd8]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
xor ecx, dword [edi + 0xdc]
mov ebx, dword [edi + 0xd4]
push edx
push eax
push ebp
mov eax, esi
call fcn.100600d0
mov ebx, dword [esp + 0x44]
mov ecx, dword [edi + 0x74]
sub eax, 2
shl eax, 4
add ebx, eax
add eax, ecx
mov ecx, dword [esp + 0x1c]
add esp, 0xc
cmp eax, dword [edi + 0x14]
jge 0x100607ac
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0x1c]
mov dword [eax + 8], ebp
mov dword [eax + 0xc], esi
mov edx, dword [edi + 0x164]
xor edx, ecx
and edx, 0x20
xor dword [edi + 0x164], edx
jmp 0x100607b0
mov eax, dword [esp + 0x1c]
mov edx, dword [edi + 0x78]
cmp edx, dword [edi + 0x18]
jge 0x100607d2
mov dword [edi + 0x18], edx
mov dword [eax + 0x10], ebp
mov dword [eax + 0x14], esi
mov edx, dword [edi + 0x164]
xor edx, ecx
and edx, 0x10
xor dword [edi + 0x164], edx
mov edx, dword [edi + 0x7c]
cmp edx, dword [edi + 0x1c]
jge 0x100607f4
mov dword [edi + 0x1c], edx
mov dword [eax + 0x18], ebp
mov dword [eax + 0x1c], esi
mov edx, dword [edi + 0x164]
xor edx, ecx
and edx, 8
xor dword [edi + 0x164], edx
mov edx, dword [edi + 0x80]
cmp edx, dword [edi + 0x20]
jge 0x10060819
mov dword [edi + 0x20], edx
mov dword [eax + 0x20], ebp
mov dword [eax + 0x24], esi
mov eax, dword [edi + 0x164]
xor eax, ecx
and eax, 4
xor dword [edi + 0x164], eax
shr ecx, 2
add ecx, ecx
add ecx, ecx
add ecx, ecx
mov edx, 0x1007e41c
sub edx, ecx
movzx eax, byte [edx]
sub eax, 2
shl eax, 4
add ebx, eax
cmp ebx, dword [edi + 0x10]
mov dword [esp + 0x38], ebx
jge 0x100609ee
mov eax, dword [esp + 0x18]
mov esi, dword [edi + 0xd0]
mov ebx, dword [edi + 0x94]
mov ecx, eax
and ecx, 3
sar eax, 1
add eax, dword [ecx*4 + 0x10081f58]
push 0
mov edx, eax
mov eax, dword [esp + 0x18]
mov ecx, eax
and ecx, 3
sar eax, 1
add eax, dword [ecx*4 + 0x10081f58]
mov ecx, dword [edi + 0xb0]
push 0
push ecx
mov ecx, dword [edi + 0xc4]
push ecx
shr esi, 1
mov ecx, eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], eax
call fcn.10062af0
mov edx, dword [edi + 0xd0]
mov ebp, dword [esp + 0x38]
shr edx, 1
push edx
push eax
mov eax, dword [edi + 0xbc]
push eax
push ebp
call dword [0x10104a90]
mov ecx, dword [edi + 0x188]
mov edx, dword [edi + 0x16c]
mov eax, dword [edi + 0x180]
push ecx
mov ecx, dword [edi + 0x168]
push edx
mov edx, dword [edi + 0x15c]
push eax
mov eax, dword [edi + 0x158]
push ecx
mov ecx, dword [edi + 0x154]
push 4
push edx
push eax
add ecx, 0x100
lea esi, [ebp + 0x80]
push ecx
lea eax, [esp + 0x50]
mov ebx, ebp
mov dword [esp + 0x68], esi
call fcn.100601c0
mov ecx, dword [esp + 0x78]
add ecx, eax
add esp, 0x40
cmp ecx, dword [edi + 0x10]
mov dword [esp + 0x38], ecx
jge 0x100609ee
mov edx, dword [edi + 0xb4]
mov esi, dword [edi + 0xd0]
mov eax, dword [edi + 0xc4]
mov ebx, dword [edi + 0x94]
mov ecx, dword [esp + 0x14]
push 0
push 0
push edx
mov edx, dword [esp + 0x24]
shr esi, 1
push eax
call fcn.10062af0
mov ecx, dword [edi + 0xd0]
mov edx, dword [edi + 0xc0]
shr ecx, 1
push ecx
push eax
push edx
push ebp
call dword [0x10104a90]
mov eax, dword [edi + 0x188]
mov ecx, dword [edi + 0x16c]
mov edx, dword [edi + 0x184]
mov esi, dword [esp + 0x48]
push eax
mov eax, dword [edi + 0x168]
push ecx
mov ecx, dword [edi + 0x15c]
push edx
mov edx, dword [edi + 0x158]
push eax
mov eax, dword [edi + 0x154]
push 5
push ecx
add eax, 0x100
push edx
push eax
lea eax, [esp + 0x50]
mov ebx, ebp
call fcn.100601c0
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x50]
add edx, eax
mov eax, ecx
and eax, 3
shl eax, 6
movzx eax, byte [eax + 0x1008ef14]
shl eax, 4
lea eax, [edx + eax - 0x10]
add esp, 0x40
cmp eax, dword [edi + 0x10]
jge 0x100609ee
mov edx, dword [esp + 0x30]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x1c]
mov dword [eax], edx
mov edx, dword [esp + 0x34]
mov dword [eax + 4], edx
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x84], eax
mov dword [edi + 0x160], ecx
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1c
ret