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

Disassembly:
mov ecx, dword [0x4e73e0]
mov eax, dword [ecx + 0x5cc]
sub esp, 0x1b8
cmp eax, 2
push ebx
push ebp
push esi
push edi
mov ebp, 3
je 0x101ece
cmp eax, ebp
je 0x101ece
mov dword [esp + 0x14], 1
jmp 0x101ed8
mov eax, dword [ecx + 0x2348]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x1dc]
mov eax, dword [ecx + 0xdc]
mov edx, dword [eax + 0x3c]
mov dword [esp + 0x18], eax
movsx eax, byte [eax + 0x4c]
and edx, 0xff
push edx
mov edx, dword [esp + 0x18]
push eax
lea eax, [esp + 0x28]
mov byte [esp + 0x1b], 0
mov byte [esp + 0x1a], 0
call fcn.001021b0
mov ebx, dword [esp + 0x1cc]
lea edx, [esp + 0x12]
push edx
lea eax, [esp + 0x17]
lea ecx, [ebx + 0xaac]
push eax
lea edx, [esp + 0x28]
mov dword [esp + 0x24], ecx
call fcn.00101dd0
mov al, byte [esp + 0x13]
test al, al
je 0x101fde
cmp byte [esp + 0x12], 0
je 0x101fde
mov ecx, 0x35
lea esi, [esp + 0x20]
lea edi, [esp + 0xf4]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4e73e0]
mov edx, dword [ecx + 0x2348]
test edx, edx
jbe 0x101fbc
lea ecx, [ebx + 0xb04]
xor eax, eax
mov edi, edx
mov edx, dword [esp + eax + 0x74]
mov esi, dword [ecx - 4]
cmp edx, esi
ja 0x101f83
mov edx, esi
mov esi, dword [ecx]
mov dword [esp + eax + 0x148], edx
mov edx, dword [esp + eax + 0x78]
cmp edx, esi
ja 0x101f96
mov edx, esi
mov esi, dword [ecx + 4]
mov dword [esp + eax + 0x14c], edx
mov edx, dword [esp + eax + 0x7c]
cmp edx, esi
ja 0x101faa
mov edx, esi
mov dword [esp + eax + 0x150], edx
add eax, 0x64
add ecx, 0x64
sub edi, 1
jne 0x101f76
lea esi, [esp + 0xf4]
call fcn.001019e0
test eax, eax
je 0x101ff8
pop edi
pop esi
pop ebp
mov eax, 0x28
pop ebx
add esp, 0x1b8
ret 0x24
cmp byte [ebx + 0xaa8], 0
je 0x101feb
test al, al
je 0x101ff8
lea esi, [esp + 0x20]
call fcn.001019e0
test eax, eax
jne 0x101fcc
cmp byte [esp + 0x12], 0
je 0x10200c
lea esi, [esp + 0x20]
call fcn.00101aa0
test eax, eax
jne 0x101fcc
mov edx, dword [0x4e73e0]
test byte [edx + 0x2484], 0x20
je 0x10202f
mov eax, dword [esp + 0x1dc]
mov esi, dword [esp + 0x1d0]
push eax
call fcn.000e49e0
xor edx, edx
xor ebx, ebx
cmp dword [esp + 0x14], edx
jbe 0x102128
mov edi, 0xb50
jmp 0x102050
xor edx, edx
jmp 0x102050
mov eax, dword [0x5271fc]
mov ecx, dword [edi + eax]
mov esi, dword [esp + 0x1ec]
test dword [eax + ecx*4 + 0xb6c], esi
jne 0x102118
cmp byte [esp + 0x13], 0
jne 0x10207a
cmp byte [esp + 0x12], 0
je 0x1020a5
mov esi, dword [esp + 0x1cc]
mov eax, ecx
shl eax, 4
add eax, ecx
lea eax, [eax + eax*4]
shl eax, 4
lea eax, [eax + esi + 8]
mov byte [eax + 0xc8], 0
mov dword [eax + 0xd0], edx
mov dword [eax + 0xd4], edx
mov edx, dword [esp + 0x1cc]
mov eax, ecx
shl eax, 4
add eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x1e8]
push eax
mov eax, dword [esp + 0x1c]
shl ecx, 4
lea esi, [ecx + edx + 8]
mov ecx, dword [esp + 0x1e8]
mov edx, dword [esp + 0x1e4]
push ecx
mov ecx, dword [esp + 0x1e4]
push edx
mov edx, dword [esp + 0x1e4]
push eax
mov eax, dword [esp + 0x1e4]
push ecx
mov ecx, dword [esp + 0x1e4]
push edx
push eax
push ecx
push esi
call fcn.00103f50
mov ebp, eax
test ebp, ebp
jne 0x102128
cmp byte [esp + 0x12], al
je 0x102118
lea edx, [esp + 0x20]
push edx
mov edx, esi
call fcn.00105560
add ebx, 1
add edi, 4
cmp ebx, dword [esp + 0x14]
jb 0x102044
mov eax, dword [0x4e73e0]
test byte [eax + 0x2484], 0x20
je 0x102178
mov eax, dword [eax + 0x60fc]
test eax, eax
mov esi, dword [esp + 0x1d0]
je 0x102172
test esi, esi
je 0x10215b
cmp dword [esi + 0x101c], 0
je 0x10215b
mov ecx, 1
jmp 0x10215d
xor ecx, ecx
push ecx
call fcn.000c5810
mov eax, dword [0x4e73e0]
mov dword [eax + 0x60fc], 0
push esi
call fcn.000e4890
test ebp, ebp
jne 0x102199
mov ecx, dword [esp + 0x1cc]
mov edi, dword [esp + 0x1c]
mov byte [ecx + 0xaa8], 1
mov ecx, 0x35
lea esi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x1b8
ret 0x24