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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x111127c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
lea esi, [ebp + 0xc]
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, ecx
mov dword [ebp - 0x20], eax
movsd dword es:[edi], dword [esi]
mov eax, dword [0x111124c]
mov esi, 0x111124c
cmp eax, esi
je 0x104c737
test byte [eax + 0x1c], 1
je 0x104c737
cmp byte [eax + 0x19], 4
jb 0x104c737
push 0x1004710
push 0xc
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189d0
mov edi, dword [ebp + 0x20]
test edi, edi
jne 0x104c752
push 0x10048ac
push 0x187
push 0x1004728
call fcn.0107b4be
mov dword [ebx + 0x88], edi
mov dword [ebx + 0x14], 0xa
mov eax, dword [0x111124c]
cmp eax, esi
je 0x104c787
test byte [eax + 0x1c], 1
je 0x104c787
cmp byte [eax + 0x19], 4
jb 0x104c787
push ebx
push 0x1004710
push 0xd
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189f6
mov eax, dword [ebp - 0x20]
mov esi, eax
lea edi, [ebx + 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x10]
lea edi, [ebx + 0x50]
lea esi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebx + 0x4c], ecx
mov ecx, dword [ebp + 0x1c]
movsd dword es:[edi], dword [esi]
mov dword [ebx + 0x60], ecx
mov eax, dword [eax + 0x38]
mov dword [ebx + 0x80], eax
lea eax, [ebx + 0x8c]
xor edi, edi
mov dword [ebx + 0x84], edi
mov dword [eax + 4], eax
mov dword [eax], eax
lea eax, [ebp - 0x15]
push eax
mov byte [ebp - 0x15], 0
call fcn.01081355
cmp eax, edi
mov dword [ebp - 0x1c], eax
jl 0x104c8f9
cmp byte [ebp - 0x15], 0
mov esi, dword [ebp - 0x20]
je 0x104c816
mov al, byte [esi + 0x21]
mov byte [ebx + 0x7c], al
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x104c816
test byte [eax + 0x1c], 1
je 0x104c816
cmp byte [eax + 0x19], 4
jb 0x104c816
push 0x1004710
push 0xe
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189d0
push edi
lea eax, [ebx + 0x78]
push eax
push dword [esi + 0x1c]
call fcn.0107c871
cmp eax, edi
mov dword [ebp - 0x1c], eax
jl 0x104c8f9
push edi
lea eax, [ebx + 0x74]
push eax
push dword [esi + 0x18]
call fcn.0107c871
cmp eax, edi
mov dword [ebp - 0x1c], eax
jl 0x104c8f9
push 4
lea eax, [ebx + 0x50]
pop ecx
mov edi, 0x100cbcc
mov esi, eax
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
je 0x104c8cc
push edx
lea ecx, [ebx + 0x68]
push ecx
push edx
push eax
call fcn.0107dfb4
mov dword [ebp - 0x1c], eax
test eax, eax
jl 0x104c8f9
lea esi, [ebx + 0x64]
push esi
push 2
push dword [ebx + 0x60]
lea edi, [ebx + 0x50]
push edi
call fcn.010d6c57
mov dword [ebp - 0x1c], eax
test eax, eax
jge 0x104c8cc
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x104c8c5
test byte [eax + 0x1c], 1
je 0x104c8c5
cmp byte [eax + 0x19], 3
jb 0x104c8c5
push edi
lea ecx, [ebp - 0x84]
call fcn.0107c80d
push eax
mov eax, dword [0x111124c]
push 0x1004710
push 0xf
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019680
and dword [ebp - 0x1c], 0
and dword [esi], 0
mov esi, dword [ebp - 0x20]
push dword [esi + 0x10]
call fcn.0107db82
test al, al
je 0x104c8f9
cmp dword [ebx + 0x68], 0
jne 0x104c8f9
lea eax, [ebx + 0x6c]
push eax
movzx eax, word [esi + 0x3c]
add ebx, 0x70
push ebx
push dword [esi + 0x40]
push eax
call fcn.0107d49c
mov dword [ebp - 0x1c], eax
mov eax, dword [0x111124c]
pop edi
pop esi
pop ebx
cmp eax, 0x111124c
je 0x104c926
test byte [eax + 0x1c], 1
je 0x104c926
cmp byte [eax + 0x19], 4
jb 0x104c926
push 0x1004710
push 0x10
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189d0
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0106f5f8
leave
ret 0x1c