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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x39c
mov eax, dword [0x10106010]
xor eax, esp
mov dword [esp + 0x398], eax
push ebx
mov ebx, ecx
push esi
mov esi, edx
mov dword [esp + 0x30], ebx
push edi
test dword [ebx + 0x304], 0x2000000
mov dword [esp + 0x10], esi
je 0x100558c7
mov eax, dword [ebx + 0x188]
mov ecx, 0x10016704
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1005569a
test dx, dx
je 0x10055696
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1005569a
add eax, 4
add ecx, 4
test dx, dx
jne 0x10055674
xor eax, eax
jmp 0x1005569f
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100558c7
lea ecx, [esp + 0x78]
call fcn.10023b10
xor eax, eax
mov ecx, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
call fcn.10023ed0
test al, al
je 0x100558be
mov eax, dword [esi + 0x24]
xor edx, edx
cmp dword [esp + 0x14], 3
mov ebx, dword [esp + 0x20]
setne dl
mov ecx, dword [eax + 0x40]
dec edx
mov eax, dword [eax + 0x44]
and edx, dword [esp + 0x2c]
sub eax, ecx
shr eax, 2
cmp ebx, eax
ja 0x100558be
mov ecx, dword [ecx + ebx*4 - 4]
push edx
mov eax, dword [ecx]
call dword [eax + 0x24]
test eax, eax
je 0x100558be
mov edx, dword [eax]
lea esi, [esp + 0x14]
add edx, dword [esp + 0x24]
lea edi, [esp + 0x168]
xor eax, eax
mov dword [esp + 0x38], 3
mov ecx, 7
mov dword [esp + 0x44], ebx
rep movsd dword es:[edi], dword [esi]
or dword [esp + 0x37c], 0x2000
lea esi, [esp + 0x38]
cmp dword [esp + 0x14], 3
lea edi, [esp + 0x58]
setne al
xor ecx, ecx
dec eax
mov dword [esp + 0x3c], ecx
and eax, dword [esp + 0x2c]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
mov ecx, 7
mov dword [esp + 0x50], eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x54]
mov dword [esp + 0x54], 0x10013d34
mov eax, dword [esi + 0x24]
mov dword [esp + 0x74], eax
lea eax, [esp + 0x78]
push eax
push edx
call fcn.1005a620
test al, al
je 0x100558be
mov eax, dword [esp + 0x37c]
test eax, 0x20000000
jne 0x100557e4
cmp byte [esp + 0x7c], 0
je 0x100558be
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x78]
mov byte [esp + 0x7c], 0
call dword [eax]
mov eax, dword [esp + 0x37c]
test eax, 0x20000000
je 0x100558be
mov ecx, dword [esp + 0x214]
cmp ecx, 5
je 0x10055842
cmp ecx, 0x20
je 0x10055842
test eax, 0x100
jne 0x10055827
cmp byte [esp + 0x7c], 0
je 0x100558be
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x78]
mov byte [esp + 0x7c], 0
call dword [eax]
test dword [esp + 0x37c], 0x100
je 0x100558be
mov ecx, 7
lea esi, [esp + 0xc0]
lea edi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x10]
jmp 0x100556e2
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x7c]
call fcn.10023fb0
test al, al
je 0x100558be
mov edi, dword [esi + 0x24]
lea ecx, [esi + 4]
call fcn.10053070
mov ecx, dword [esp + 0x14]
mov dx, ax
sub ecx, 1
je 0x1005587f
sub ecx, 8
je 0x10055879
sub ecx, 2
je 0x1005587f
xor eax, eax
jmp 0x10055883
mov eax, dword [esp + 0x2c]
jmp 0x10055883
mov eax, dword [esp + 0x20]
push edx
lea ecx, [esp + 0x34]
push ecx
push eax
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x1c]
call eax
test al, al
je 0x100558be
mov eax, dword [esp + 0x30]
mov ecx, 0x1009
cmp word [eax + 2], cx
jne 0x100558be
mov eax, dword [esp + 0x34]
mov dword [eax + 0x184], 4
or dword [eax + 0x304], 0x1000000
lea ecx, [esp + 0x78]
call fcn.1002d390
mov ecx, dword [esp + 0x3a4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100a539a
mov esp, ebp
pop ebp
ret