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

Disassembly:
sub esp, 0x8c
push ebx
mov ebx, dword [esp + 0x9c]
push edi
mov edi, dword [esp + 0x98]
lea eax, [esp + 0x54]
push eax
push edi
mov dword [ebx], 0
call fcn.10045e40
add esp, 8
test eax, eax
je 0x10055bbc
pop edi
mov eax, 1
pop ebx
add esp, 0x8c
ret
mov eax, dword [esp + 0x54]
test eax, eax
push ebp
push esi
je 0x10055c3f
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
push edi
call fcn.10045ab0
add esp, 0xc
test eax, eax
jne 0x10055f47
mov eax, dword [esp + 0x14]
xor esi, esi
test eax, eax
jle 0x10055c32
mov edi, dword [esp + 0xa4]
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x20]
push eax
push esi
push ecx
call fcn.100a7160
add esp, 0xc
test eax, eax
jne 0x10055f47
mov edx, dword [esp + 0x20]
push ebx
push edi
push edx
call fcn.10055b80
add esp, 0xc
test eax, eax
jne 0x10055f47
cmp dword [ebx], 0
jne 0x10055c32
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
jl 0x10055bf2
pop esi
pop ebp
pop edi
xor eax, eax
pop ebx
add esp, 0x8c
ret
lea eax, [esp + 0x3c]
push eax
push edi
call fcn.100c3f70
add esp, 8
test eax, eax
jne 0x10055f47
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x10055c32
lea ecx, [esp + 0x24]
push ecx
xor esi, esi
push edi
xor ebp, ebp
mov dword [esp + 0x38], esi
mov dword [esp + 0x30], esi
call fcn.10045be0
add esp, 8
test eax, eax
jne 0x10055f47
lea edx, [esp + 0x38]
push edx
push edi
call fcn.100c44a0
add esp, 8
test eax, eax
jne 0x10055f47
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x30]
push ecx
push edi
call fcn.10051d60
add esp, 0xc
test eax, eax
jne 0x10055f47
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x10055d6e
mov ebx, dword [esp + 0x2c]
lea edx, [esp + 0x18]
push edx
push esi
push ebx
call fcn.100a7160
add esp, 0xc
test eax, eax
jne 0x10055f47
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x78]
push eax
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0x7c]
push edx
push eax
call fcn.100c95b0
add esp, 0x1c
test eax, eax
jne 0x10055f47
mov eax, dword [esp + 0x54]
cmp eax, 1
je 0x10055d18
cmp eax, 2
jne 0x10055d5a
cmp dword [esp + 0x24], 0x12
jne 0x10055d59
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x48]
push edx
push eax
push edi
call fcn.1003d0b0
add esp, 0x10
test eax, eax
jne 0x10055f47
mov eax, dword [esp + 0x44]
test eax, eax
je 0x10055d4b
inc dword [esp + 0x30]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x10055d5a
inc dword [esp + 0x28]
jmp 0x10055d5a
inc ebp
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jl 0x10055cc0
mov ebx, dword [esp + 0xa8]
mov eax, dword [esp + 0x24]
cmp eax, 8
je 0x10055d80
cmp eax, 9
jne 0x10055edf
lea ecx, [esp + 0x78]
push 1
push ecx
call fcn.100a71a0
add esp, 8
test eax, eax
jne 0x10055f47
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x20]
push eax
push edi
call fcn.10045ab0
add esp, 0xc
test eax, eax
jne 0x10055f47
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
jle 0x10055ec7
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push ebx
push edx
call fcn.100a7160
add esp, 0xc
test eax, eax
jne 0x10055f47
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x30]
push ecx
push edx
call fcn.10051d90
add esp, 0xc
test eax, eax
jne 0x10055f47
mov eax, dword [esp + 0x10]
xor esi, esi
test eax, eax
jle 0x10055eba
mov edi, dword [esp + 0x2c]
lea esp, [esp]
lea eax, [esp + 0x18]
push eax
push esi
push edi
call fcn.100a7160
add esp, 0xc
test eax, eax
jne 0x10055f47
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x58]
push ecx
push edx
call fcn.100c7c10
add esp, 8
test eax, eax
jne 0x10055f47
cmp dword [esp + 0x58], 0x12
jne 0x10055ead
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x50]
push eax
push ecx
call fcn.1009bc80
add esp, 8
test eax, eax
jne 0x10055f47
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x4c]
push eax
push ecx
call fcn.100226c0
add esp, 0xc
test eax, eax
jne 0x10055f47
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x4c]
push edx
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x7c]
push eax
push ecx
push edx
call fcn.100a7500
add esp, 0x10
test eax, eax
jne 0x10055f47
cmp dword [esp + 0x4c], 1
jle 0x10055ead
inc ebp
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jl 0x10055e10
mov eax, dword [esp + 0x14]
inc ebx
cmp ebx, eax
jl 0x10055dc0
lea eax, [esp + 0x78]
push eax
call fcn.100a7120
add esp, 4
test eax, eax
jne 0x10055f47
mov ebx, dword [esp + 0xa8]
cmp dword [esp + 0x24], 0x12
jne 0x10055efd
mov ecx, dword [esp + 0x28]
mov eax, 1
cmp ecx, eax
jl 0x10055ef9
cmp dword [esp + 0x30], eax
jge 0x10055f0b
mov dword [ebx], eax
jmp 0x10055f14
cmp ebp, dword [esp + 0x38]
jge 0x10055f0b
mov dword [ebx], 1
jmp 0x10055f14
cmp dword [ebx], 0
je 0x10055c32
lea ecx, [esp + 0x40]
push ecx
call fcn.100206a0
add esp, 4
test eax, eax
jne 0x10055f47
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0xa4]
push edx
push 0x4e99
push eax
call fcn.100809a0
add esp, 0xc
test eax, eax
je 0x10055c32
pop esi
pop ebp
pop edi
mov eax, 1
pop ebx
add esp, 0x8c
ret