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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x100fc068]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x10104944]
push esi
push edi
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebx + 0x3dcc]
cmp eax, dword [ebx + 0x3dc8]
je 0x1004c76f
call fcn.1004c430
mov eax, dword [ebx + 0x3dd0]
mov edx, 4
mov dword [ebp - 0x18], eax
mov ecx, ebx
mov eax, dword [ebx + 0x3dc8]
mov dword [ebp - 8], eax
mov dword [ebx + 0x3dd0], eax
mov dword [ebx + 0xa8], 0
call fcn.10048c20
xor ecx, ecx
mov dword [ebp - 0x14], ecx
cmp dword [ebx + 0x4788], ecx
je 0x1004c85a
nop
mov eax, dword [ebx + 0x4790]
mov edi, 2
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0xc], eax
lea esi, [eax + 0x64]
push 0
mov ecx, esi
call fcn.1005af50
add esi, 0xc
sub edi, 1
jne 0x1004c7c4
mov edi, dword [ebp - 0xc]
cmp dword [edi + 0x30], 0
je 0x1004c847
push 0x100eecb4
xor edx, edx
mov ecx, edi
call fcn.10048c70
add esp, 4
mov dword [ebp - 0xc], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x1004c847
cmp ecx, 1
jne 0x1004c80c
mov eax, dword [eax + 8]
cmp dword [eax + 0x1c], 0
jne 0x1004c80c
cmp dword [eax + 0x20], 0
je 0x1004c847
mov ecx, dword [edi + 0x68]
lea esi, [edi + 0x64]
mov edi, dword [esi]
cmp edi, ecx
jne 0x1004c83a
inc edi
test ecx, ecx
je 0x1004c828
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1004c82d
mov eax, 8
cmp eax, edi
mov ecx, esi
cmovg edi, eax
push edi
call fcn.1005ae20
mov ecx, dword [esi]
mov eax, dword [esi + 8]
mov edx, dword [ebp - 0xc]
mov dword [eax + ecx*4], edx
inc dword [esi]
mov ecx, dword [ebp - 0x14]
inc ecx
mov dword [ebp - 0x14], ecx
cmp ecx, dword [ebx + 0x4788]
jne 0x1004c7b0
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 8]
je 0x1004c867
call fcn.1004c040
mov eax, dword [ebx + 0x48ec]
test eax, eax
je 0x1004c88b
test dword [eax + 8], 0x2000
jne 0x1004c88b
mov edi, dword [eax + 0x2e4]
mov eax, dword [ebx + 0x48f4]
mov dword [ebp - 0x10], edi
jmp 0x1004c89e
xor edi, edi
mov dword [ebp - 0x10], edi
test eax, eax
je 0x1004c89c
mov eax, dword [ebx + 0x48f4]
jmp 0x1004c89e
xor eax, eax
xor esi, esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], eax
cmp dword [ebx + 0x3de0], esi
je 0x1004c8f3
nop
mov eax, dword [ebx + 0x3de8]
mov ecx, dword [eax + esi*4]
cmp byte [ecx + 0x8e], 0
je 0x1004c8ea
cmp byte [ecx + 0x95], 0
jne 0x1004c8ea
mov edx, dword [ecx + 8]
test edx, 0x1000000
jne 0x1004c8ea
cmp ecx, edi
je 0x1004c8ea
cmp ecx, dword [ebp - 0x14]
je 0x1004c8ea
shr edx, 0x19
and edx, 1
call fcn.1004bbb0
inc esi
cmp esi, dword [ebx + 0x3de0]
jne 0x1004c8b0
xor esi, esi
mov ecx, dword [ebp + esi*4 - 0x10]
test ecx, ecx
je 0x1004c91d
cmp byte [ecx + 0x8e], 0
je 0x1004c91d
cmp byte [ecx + 0x95], 0
jne 0x1004c91d
mov edx, dword [ecx + 8]
shr edx, 0x19
and edx, 1
call fcn.1004bbb0
inc esi
cmp esi, 2
jl 0x1004c8f5
cmp byte [ebx + 0x60], 0
je 0x1004c95b
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 8]
je 0x1004c95b
mov ecx, dword [ebx + 0x4918]
cmp ecx, 0xffffffff
je 0x1004c95b
push dword [ebx + 0xdbc]
movss xmm0, dword [ebx + 0x3850]
push dword [ebx + 0xdb8]
sub esp, 8
call fcn.10047b40
add esp, 0x10
xor ecx, ecx
mov dword [ebx + 0xa4], 0
mov dword [ebx + 0xa0], 0
mov dword [ebp - 0x18], ecx
cmp dword [ebx + 0x4788], ecx
jle 0x1004cb09
mov eax, dword [ebx + 0x4790]
mov edi, dword [eax + ecx*4]
mov ecx, dword [edi + 0x64]
mov eax, dword [edi + 0x70]
add eax, ecx
mov dword [ebp - 0xc], ecx
push eax
lea ecx, [edi + 0x64]
call fcn.1005af50
mov eax, dword [edi + 0x70]
test eax, eax
je 0x1004c9c7
mov ecx, dword [ebp - 0xc]
shl eax, 2
push eax
mov eax, dword [edi + 0x6c]
push dword [edi + 0x78]
lea eax, [eax + ecx*4]
push eax
call fcn.10092810
add esp, 0xc
lea ecx, [edi + 0x70]
push 0
call fcn.1005af50
cmp dword [edi + 0x34], 0
je 0x1004ca40
push 0x100eecc4
mov edx, 1
mov ecx, edi
call fcn.10048c70
add esp, 4
mov dword [ebp - 8], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x1004ca40
cmp ecx, 1
jne 0x1004c9fe
mov eax, dword [eax + 8]
cmp dword [eax + 0x1c], 0
jne 0x1004c9fe
cmp dword [eax + 0x20], 0
je 0x1004ca40
mov edx, dword [edi + 0x64]
mov ecx, dword [edi + 0x68]
cmp edx, ecx
jne 0x1004ca31
inc edx
mov dword [ebp - 0xc], edx
test ecx, ecx
je 0x1004ca1e
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0xc]
sar eax, 1
add eax, ecx
jmp 0x1004ca23
mov eax, 8
cmp eax, edx
lea ecx, [edi + 0x64]
cmovg edx, eax
push edx
call fcn.1005ae20
mov ecx, dword [edi + 0x64]
mov eax, dword [edi + 0x6c]
mov edx, dword [ebp - 8]
mov dword [eax + ecx*4], edx
inc dword [edi + 0x64]
mov edx, dword [0x10104944]
mov byte [edi + 0x38], 1
cmp dword [edi + 0x64], 0
jle 0x1004ca55
mov eax, dword [edi + 0x6c]
jmp 0x1004ca57
xor eax, eax
mov dword [edi + 0x48], eax
mov eax, dword [edi + 0x64]
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
mov dword [edi + 0x4c], eax
mov dword [edi + 0x50], ecx
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
mov dword [edi + 0x54], eax
mov dword [edi + 0x58], ecx
mov eax, dword [edx + 0x58]
mov ecx, dword [edx + 0x5c]
mov dword [edi + 0x5c], eax
xor eax, eax
mov dword [edi + 0x60], ecx
xor ecx, ecx
mov dword [ebp - 8], ecx
cmp dword [edi + 0x64], eax
jle 0x1004cae7
nop
mov eax, dword [edi + 0x6c]
mov edx, dword [eax + ecx*4]
mov eax, dword [edx]
test eax, eax
je 0x1004cac3
mov ebx, dword [edx + 8]
lea ecx, [eax + eax*4]
cmp dword [ebx + ecx*8 - 0xc], 0
jne 0x1004cac3
cmp dword [ebx + ecx*8 - 8], 0
jne 0x1004cac3
dec eax
mov dword [edx], eax
mov eax, dword [edi + 0x44]
add eax, dword [edx + 0x18]
mov ecx, dword [ebp - 8]
mov dword [edi + 0x44], eax
inc ecx
mov dword [ebp - 0xc], eax
mov eax, dword [edx + 0xc]
add dword [edi + 0x40], eax
mov dword [ebp - 8], ecx
cmp ecx, dword [edi + 0x64]
jl 0x1004caa0
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
add dword [ebx + 0xa0], eax
inc ecx
mov eax, dword [edi + 0x40]
add dword [ebx + 0xa4], eax
mov dword [ebp - 0x18], ecx
cmp ecx, dword [ebx + 0x4788]
jl 0x1004c980
xor esi, esi
cmp dword [ebx + 0x5a0c], esi
jle 0x1004cb44
xor edi, edi
nop word [eax + eax]
mov eax, dword [ebx + 0x5a14]
add eax, edi
cmp dword [eax + 4], 5
jne 0x1004cb38
push eax
mov eax, dword [eax + 0xc]
push ebx
call eax
add esp, 8
inc esi
add edi, 0x14
cmp esi, dword [ebx + 0x5a0c]
jl 0x1004cb20
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10090ad6
mov esp, ebp
pop ebp
ret