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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov eax, dword [0x11ad127c]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
lea eax, [edi + 8]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x28], eax
cmp dword [eax], esi
je 0x10054d40
mov ebx, dword [0x11d0c5b8]
mov eax, dword fs:[0x2c]
mov byte [esp + 0x13], 0
mov byte [esp + 0x1c], 0
mov ebx, dword [eax + ebx*4]
cmp byte [ebx + 8], 0
jne 0x100546ee
call fcn.10450c0b
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0xbe2c]
cmp dword [eax + 0x107c], esi
je 0x100547b0
cmp byte [ebx + 8], 0
jne 0x10054714
call fcn.10450c0b
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx + 0xbe2c]
mov eax, dword [eax + 0x107c]
cmp byte [eax + 0x21], 0
je 0x100547b0
test byte [ecx + 0xfd4c], 1
je 0x10054767
cmp byte [ebx + 8], 0
jne 0x10054747
call fcn.10450c0b
mov eax, dword [ebx + 0x10]
lea edx, [edi + 8]
push 0
push edx
mov eax, dword [eax + 0xbe2c]
mov ecx, dword [eax + 0x11d0]
mov eax, dword [ecx]
call dword [eax + 0x144]
cmp byte [ebx + 8], 0
jne 0x10054775
call fcn.10450c0b
mov eax, dword [ebx + 0x10]
lea edx, [edi + 8]
push 0
mov eax, dword [eax + 0xbe2c]
mov ecx, dword [eax + 0x107c]
mov eax, dword [ecx]
mov esi, dword [eax + 0x18]
mov eax, dword [edx + 0xc0]
test eax, eax
cmovne edx, eax
lea eax, [esp + 0x17]
push eax
push edx
call esi
mov cl, byte [esp + 0x13]
xor esi, esi
mov byte [esp + 0x1c], al
jmp 0x100547d9
cmp byte [ebx + 8], 0
jne 0x100547be
call fcn.10450c0b
mov eax, dword [ebx + 0x10]
lea edx, [edi + 8]
push edx
mov ecx, dword [eax + 0xbe2c]
call fcn.101d5cf0
mov cl, al
mov byte [esp + 0x13], cl
mov eax, dword [edi + 0xb18]
test eax, eax
je 0x100549c6
mov ecx, dword [edi + 0xb38]
test cl, cl
jns 0x10054806
test cl, 1
jne 0x10054806
add dword [eax + 0xaf8], 0xffffffff
jne 0x10054806
and dword [eax + 0xafc], 0xfffffff0
mov eax, dword [edi + 0xb18]
add dword [eax + 0xb10], 0xffffffff
jne 0x10054829
mov dword [eax + 0xb08], 0
mov dword [eax + 0xb0c], 0
cmp byte [esp + 0x13], 0
je 0x1005486e
mov eax, dword [ebx + 0x10]
test byte [eax + 0xfd4c], 1
je 0x1005486e
cmp byte [ebx + 8], 0
jne 0x1005484d
call fcn.10450c0b
mov eax, dword [ebx + 0x10]
push 1
push 1
mov eax, dword [eax + 0xbe2c]
mov ecx, dword [eax + 0x11d4]
mov ecx, dword [ecx + 0x5e0]
call fcn.101e43f0
cmp byte [ebx + 8], 0
jne 0x1005487c
call fcn.10450c0b
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0xbe2c]
mov eax, dword [eax + 0x13bc]
test eax, eax
je 0x100548cf
push 0
push 9
push eax
mov ecx, edi
call fcn.1004b5d0
test al, al
je 0x100548cf
cmp byte [ebx + 8], 0
jne 0x100548b0
call fcn.10450c0b
mov eax, dword [ebx + 0x10]
mov ecx, edi
push 0xffffffffffffffff
push 1
push 9
mov eax, dword [eax + 0xbe2c]
push dword [eax + 0x13bc]
call fcn.1004bc90
mov eax, dword [edi + 0xb14]
xorps xmm0, xmm0
mov ecx, dword [edi + 0xb1c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov ebx, dword [eax + 0x64]
mov eax, dword [edi + 0xbc]
add eax, 0x20000000
movlpd qword [esp + 0x30], xmm0
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x40]
push eax
push ecx
mov ecx, ebx
call fcn.100487f0
test al, al
je 0x100549a0
mov eax, dword [esp + 0x3c]
cmp eax, dword [ebx + 0x2c]
ja 0x100549a0
mov esi, dword [esp + 0x38]
jb 0x10054931
cmp esi, dword [ebx + 0x28]
jae 0x100549a0
mov eax, dword [ebx + 0x34]
mov esi, dword [eax + esi*4]
test esi, esi
je 0x100549a0
mov eax, dword [esp + 0x24]
cmp eax, dword [esi + 0x14]
ja 0x100549a0
mov eax, dword [esp + 0x20]
jb 0x1005494f
cmp eax, dword [esi + 0x10]
jae 0x100549a0
mov ecx, dword [esi + eax*4 + 0x18]
test ecx, ecx
je 0x100549a0
push dword [ebx + 0x1c]
lea eax, [esp + 0x34]
push dword [ebx + 0x18]
push dword [esp + 0x30]
push 0
push dword [esp + 0x2c]
push eax
push ebx
call fcn.10048cb0
test al, al
je 0x100549a0
mov ecx, dword [esp + 0x24]
cmp ecx, dword [esi + 0xc]
ja 0x100549b6
mov eax, dword [esp + 0x20]
jb 0x1005498a
cmp eax, dword [esi + 8]
jae 0x100549b6
mov dword [esi + 8], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0xc], ecx
mov esi, dword [esp + 0x34]
dec dword [eax + 0x60]
jmp 0x10054d18
push dword [esp + 0x14]
mov eax, dword [ebx]
lea ecx, [esp + 0x34]
push 0
push dword [esp + 0x24]
push ecx
mov ecx, ebx
call dword [eax + 4]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x34]
dec dword [eax + 0x60]
jmp 0x10054d18
test cl, cl
je 0x10054a0e
mov eax, dword [ebx + 0x10]
test byte [eax + 0xfd4c], 1
je 0x10054a0e
cmp byte [ebx + 8], 0
jne 0x100549e7
call fcn.10450c0b
mov eax, dword [ebx + 0x10]
push 1
push 1
mov eax, dword [eax + 0xbe2c]
mov eax, dword [eax + 0x11d4]
mov ecx, dword [eax + 0x5e0]
call fcn.101e43f0
mov esi, eax
mov dword [esp + 0x14], eax
cmp byte [ebx + 8], 0
jne 0x10054a1c
call fcn.10450c0b
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx + 0xbe2c]
mov eax, dword [eax + 0x107c]
cmp byte [eax + 0x21], 0
je 0x10054ae5
cmp byte [ebx + 8], 0
jne 0x10054a46
call fcn.10450c0b
push ecx
lea eax, [edi + 8]
push eax
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + 0xbe2c]
mov ecx, dword [ecx + 0x107c]
call fcn.10289290
test byte [edi + 0xb4c], 1
je 0x10054ae5
cmp byte [ebx + 8], 0
jne 0x10054a79
call fcn.10450c0b
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx + 0xbe2c]
cmp dword [eax + 0x11c0], 0
je 0x10054ae5
mov eax, dword [ecx + 0xf944]
mov dword [esp + 0x18], eax
test eax, eax
je 0x10054ab0
mov esi, dword [esp + 0x28]
lea edi, [esp + 0x44]
mov ecx, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x2c]
cmp byte [ebx + 8], 0
jne 0x10054abe
call fcn.10450c0b
mov eax, dword [ebx + 0x10]
lea edx, [esp + 0x44]
push dword [esp + 0x18]
push edx
mov eax, dword [eax + 0xbe2c]
mov ecx, dword [eax + 0x11c0]
mov eax, dword [ecx]
call dword [eax + 0x24]
and byte [edi + 0xb4c], 0xfe
test esi, esi
js 0x10054d4e
test byte [edi + 0xb38], 1
je 0x10054b0c
mov eax, dword [ebx + 0x10]
cmp dword [eax + 0x15b4], 2
je 0x10054b0c
xor esi, esi
jmp 0x10054d1c
mov edx, dword [ebx + 0x10]
xor eax, eax
mov ecx, dword [edx + 0xfd48]
mov dword [esp + 0x18], ecx
cmp ecx, eax
jbe 0x10054b4f
lea ecx, [edx + 0xf968]
mov edx, ecx
nop word [eax + eax]
cmp dword [edx], 1
je 0x10054c34
mov esi, dword [ebx + 0x10]
inc eax
add edx, 0x20
cmp eax, dword [esi + 0xfd48]
mov esi, dword [esp + 0x14]
jb 0x10054b30
mov al, byte [ebp + 0x10]
test byte [edi + 0xa70], 2
jne 0x10054ca6
test al, al
je 0x10054ca6
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x14], eax
test eax, eax
je 0x10054ca6
mov eax, dword [edi + 8]
mov dword [esp + 0x18], eax
call fcn.1001db80
mov dword [esp + 0x30], eax
test byte [eax + 0xf5b], 4
jne 0x10054ca6
mov ecx, dword [ebx + 0x10]
mov eax, dword [esp + 0x14]
test byte [ecx + 0xfd4c], 2
je 0x10054bc8
test byte [eax], 2
jne 0x10054bc8
cmp byte [0x11d221e4], 0
jne 0x10054bc8
push 0
push 1
push ecx
mov ecx, eax
call fcn.1014c830
mov eax, dword [esp + 0x14]
test byte [eax], 1
je 0x10054ca6
mov ecx, eax
call fcn.1014cde0
push 0x10
push 0xc
call fcn.10434a32
add esp, 8
mov dword [esp + 0x20], eax
test eax, eax
je 0x10054ca6
mov ecx, dword [esp + 0x30]
xorps xmm0, xmm0
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov dword [eax], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax + 4], ecx
mov cl, byte [esp + 0x1c]
push eax
mov byte [eax + 8], cl
mov eax, dword [esp + 0x18]
mov ecx, eax
push eax
push 0x100585d0
push 0x100585b0
call fcn.1014cd10
test eax, eax
je 0x10054c98
xor esi, esi
jmp 0x10054d1c
cmp eax, 0x1f
jne 0x10054c52
mov edx, dword [esp + 0x18]
xor eax, eax
nop
cmp dword [ecx], 1
je 0x10054c64
inc eax
add ecx, 0x20
cmp eax, edx
jb 0x10054c40
jmp 0x10054b4f
cmp eax, 0xffffffff
je 0x10054b4f
cmp eax, 0x1f
jae 0x10054b4f
mov ecx, dword [ebx + 0x10]
shl eax, 5
cmp dword [eax + ecx + 0xf96c], 0
setne al
test al, al
je 0x10054b4f
mov eax, dword [ecx + 0x162c]
shr eax, 7
test al, 1
je 0x10054b4f
xor al, al
jmp 0x10054b52
push 0xc
push dword [esp + 0x24]
call fcn.1045088a
add esp, 8
mov eax, dword [ebx + 0x10]
xor ecx, ecx
mov dword [esp + 0x14], ecx
cmp dword [eax + 0xf944], ecx
jbe 0x10054d1c
mov edi, dword [esp + 0x28]
nop
mov eax, dword [edi]
mov dword [esp + 0x20], eax
test eax, eax
je 0x10054cfe
cmp byte [ebx + 8], 0
jne 0x10054cd8
call fcn.10450c0b
push dword [esp + 0x1c]
mov eax, dword [ebx + 0x10]
push dword [esp + 0x24]
push 0
mov ecx, dword [eax + 0xbe2c]
call fcn.101d5b70
mov ecx, dword [esp + 0x14]
test esi, esi
cmovs eax, esi
mov esi, eax
mov eax, dword [ebx + 0x10]
inc ecx
add edi, 4
mov dword [esp + 0x14], ecx
cmp ecx, dword [eax + 0xf944]
jb 0x10054cc0
mov edi, dword [esp + 0x2c]
test esi, esi
js 0x10054d4e
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xb18], 0
mov dword [edi + 0xc8], 0
jmp 0x10054d4e
push dword [edi + 4]
call fcn.10450877
add esp, 4
mov dword [edi + 4], esi
mov eax, dword [0x11d0c5b8]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov ebx, dword [eax + 0x10]
xor eax, eax
mov edi, dword [ebx + 0xfd48]
test edi, edi
je 0x10054dd6
lea ecx, [ebx + 0xf968]
mov edx, ecx
cmp dword [edx], 1
je 0x10054d86
inc eax
add edx, 0x20
cmp eax, edi
jb 0x10054d77
jmp 0x10054dd6
cmp eax, 0x1f
jne 0x10054d9f
xor eax, eax
nop dword [eax]
cmp dword [ecx], 1
je 0x10054da9
inc eax
add ecx, 0x20
cmp eax, edi
jb 0x10054d90
jmp 0x10054dd6
cmp eax, 0xffffffff
je 0x10054dd6
cmp eax, 0x1f
jae 0x10054dd6
shl eax, 5
cmp dword [eax + ebx + 0xf96c], 0
setne al
test al, al
je 0x10054dd6
mov edi, dword [esp + 0x2c]
mov eax, dword [edi + 0x78]
test eax, eax
je 0x10054dd6
push eax
call fcn.10434a18
add esp, 4
mov dword [edi + 0x78], 0
mov ecx, dword [esp + 0x64]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1045066c
mov esp, ebp
pop ebp
ret 0xc