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

Disassembly:
push 0xffffffffffffffff
push 0x694330
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x48]
push edi
test ecx, ecx
mov dword [esp + 0x10], esi
jl 0x55589f
mov eax, dword [esi + 0xf8]
test eax, eax
jg 0x555658
lea ebx, [esi + 0xd0]
mov dword [esp + 0x4c], 3
mov eax, dword [ebx - 0xc]
test eax, eax
je 0x5555b0
mov al, byte [esp + 0x4c]
push 0
lea ecx, [esp + 0x20]
mov byte [esp + 0x20], al
call fcn.004031c0
mov edi, 0x6dfe28
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x20]
push ebp
call fcn.00403350
test al, al
je 0x555588
mov edi, dword [esp + 0x20]
mov ecx, ebp
mov edx, ecx
mov esi, 0x6dfe28
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
call fcn.00403330
mov ecx, dword [ebx - 0xc]
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x48], 0
mov eax, dword [ecx]
call dword [eax + 0x78]
push 1
lea ecx, [esp + 0x20]
mov dword [esp + 0x48], 0xffffffff
call fcn.004031c0
cmp dword [ebx], 0
je 0x555633
mov al, byte [esp + 0x4c]
push 0
lea ecx, [esp + 0x30]
mov byte [esp + 0x30], al
call fcn.004031c0
mov edi, 0x6dfe28
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x30]
push ebp
call fcn.00403350
test al, al
je 0x55560c
mov edi, dword [esp + 0x30]
mov ecx, ebp
mov edx, ecx
mov esi, 0x6dfe28
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x30]
call fcn.00403330
mov ecx, dword [ebx]
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x48], 1
mov eax, dword [ecx]
call dword [eax + 0x78]
push 1
lea ecx, [esp + 0x30]
mov dword [esp + 0x48], 0xffffffff
call fcn.004031c0
mov ecx, dword [ebx + 0x14]
test ecx, ecx
je 0x555641
mov eax, dword [ecx]
push 0
call dword [eax + 0x3c]
mov eax, dword [esp + 0x4c]
add ebx, 4
dec eax
mov dword [esp + 0x4c], eax
jne 0x55552a
jmp 0x55589f
lea ecx, [ecx + ecx*2]
cmp ecx, eax
mov dword [esp + 0x18], ecx
jge 0x55589f
lea ebx, [esi + 0xd0]
mov dword [esp + 0x14], 3
mov eax, dword [ebx - 0xc]
test eax, eax
je 0x555703
mov cl, byte [esp + 0x4c]
push 0
mov byte [esp + 0x30], cl
lea ecx, [esp + 0x30]
call fcn.004031c0
mov edi, 0x6dfe28
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x30]
push ebp
call fcn.00403350
test al, al
je 0x5556db
mov edi, dword [esp + 0x30]
mov ecx, ebp
mov edx, ecx
mov esi, 0x6dfe28
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x30]
call fcn.00403330
mov esi, dword [esp + 0x10]
mov ecx, dword [ebx - 0xc]
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x48], 2
mov eax, dword [ecx]
call dword [eax + 0x78]
push 1
lea ecx, [esp + 0x30]
mov dword [esp + 0x48], 0xffffffff
call fcn.004031c0
cmp dword [ebx], 0
je 0x55578e
mov al, byte [esp + 0x4c]
push 0
lea ecx, [esp + 0x20]
mov byte [esp + 0x20], al
call fcn.004031c0
mov edi, 0x6dfe28
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x20]
push ebp
call fcn.00403350
test al, al
je 0x555767
mov edi, dword [esp + 0x20]
mov ecx, ebp
mov edx, ecx
mov esi, 0x6dfe28
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
call fcn.00403330
mov esi, dword [esp + 0x10]
mov ecx, dword [ebx]
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x48], 3
mov eax, dword [ecx]
call dword [eax + 0x78]
push 1
lea ecx, [esp + 0x20]
mov dword [esp + 0x48], 0xffffffff
call fcn.004031c0
mov ecx, dword [ebx + 0x14]
test ecx, ecx
je 0x55579c
mov eax, dword [ecx]
push 0
call dword [eax + 0x3c]
mov eax, dword [esp + 0x14]
add ebx, 4
dec eax
mov dword [esp + 0x14], eax
jne 0x555675
mov ecx, dword [esi + 0xf4]
mov edx, dword [esp + 0x18]
xor eax, eax
mov ebx, dword [ecx]
test edx, edx
jle 0x5557cb
cmp ebx, ecx
je 0x5557cb
mov ebx, dword [ebx]
inc eax
cmp eax, edx
jl 0x5557c0
mov dword [esp + 0x14], 0
lea edi, [esi + 0xe4]
cmp ebx, dword [esi + 0xf4]
je 0x555884
mov esi, dword [ebx + 8]
test esi, esi
je 0x555869
mov ecx, dword [edi - 0x20]
test ecx, ecx
je 0x5557fc
mov edx, dword [ecx]
lea eax, [esi + 0x10]
push eax
call dword [edx + 0x78]
mov ecx, dword [edi - 0x14]
test ecx, ecx
je 0x555869
mov edx, dword [ecx]
add esi, 0x20
push esi
call dword [edx + 0x78]
mov ecx, dword [edi - 0x14]
mov esi, dword [ecx + 0xd0]
call fcn.0040f200
mov ebp, eax
cmp esi, ebp
jle 0x55585c
mov ecx, dword [edi]
test ecx, ecx
je 0x55585c
mov eax, dword [ecx]
push 1
call dword [eax + 0x3c]
sub esi, ebp
jns 0x555833
xor esi, esi
mov eax, dword [edi]
mov ecx, dword [eax + 0xb0]
test ecx, ecx
je 0x555847
push esi
push 0
call fcn.00410660
mov eax, dword [edi]
mov ecx, dword [eax + 0xb0]
test ecx, ecx
je 0x555869
push 0
call fcn.004106b0
jmp 0x555869
mov ecx, dword [edi]
test ecx, ecx
je 0x555869
mov edx, dword [ecx]
push 0
call dword [edx + 0x3c]
mov eax, dword [esp + 0x14]
mov ebx, dword [ebx]
mov esi, dword [esp + 0x10]
inc eax
add edi, 4
cmp eax, 3
mov dword [esp + 0x14], eax
jl 0x5557d9
mov ecx, dword [esi + 0xdc]
mov eax, dword [esp + 0x4c]
test ecx, ecx
mov dword [esi + 0xfc], eax
je 0x55589f
mov edx, dword [ecx]
inc eax
push eax
call dword [edx + 0x7c]
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4