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

Disassembly:
push 0xffffffffffffffff
push 0x6774fa
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x7289f4]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0x74]
test eax, eax
je 0x547f6c
mov ebp, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x28], eax
jmp 0x547f87
push edi
lea ecx, [esp + 0x58]
call fcn.00534ed0
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 4]
mov edx, dword [eax + 8]
sub edx, dword [eax]
mov dword [esp + 0x28], ecx
mov ebp, edx
mov esi, dword [0x68a844]
lea eax, [edi + 0x24c]
push eax
mov dword [esp + 0x28], ebp
call esi
lea eax, [edi + 0x230]
push eax
call esi
mov ecx, edi
call fcn.005c5a20
mov edx, dword [edi]
mov edx, dword [edx + 0x1b0]
mov ebx, eax
lea eax, [esp + 0x44]
push eax
mov ecx, edi
mov dword [esp + 0x1c], ebx
call edx
mov ecx, edi
call fcn.005c50f0
mov edx, dword [eax]
mov edx, dword [edx + 0x84]
push 0
push 0
push edi
push 0
lea ecx, [esp + 0x44]
push ecx
mov ecx, eax
call edx
cmp dword [edi + 0x1bc], 0
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], 0
je 0x54803e
mov ecx, edi
call fcn.005c50f0
push 0
push 0
sub esp, 0x10
mov esi, eax
mov dword [esp + 0x8c], esp
mov eax, esp
push 0
push eax
call dword [0x68a7d4]
mov edx, dword [esi]
mov edx, dword [edx + 0xc0]
push 0
lea eax, [esp + 0x48]
push eax
mov ecx, esi
call edx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
add dword [esp + 0x48], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
cmp dword [edi + 0x1e0], 0
je 0x548057
mov edx, dword [edi + 0x1dc]
sub edx, dword [edi + 0x1d4]
add dword [esp + 0x50], edx
mov ecx, dword [edi + 0xfc]
push 0x23be
call fcn.0054d640
cmp dword [edi + 0x1b0], 0
mov esi, eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x30], 0
je 0x54810b
mov ecx, edi
call fcn.005c50f0
mov edx, dword [eax]
mov edx, dword [edx + 0xb8]
push 0
push 0
push edi
push 0
push 1
push 0
lea ecx, [esp + 0x54]
push ecx
mov ecx, eax
call edx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
add dword [esp + 0x50], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
test esi, esi
jne 0x54810f
push 0x174
call fcn.004a1cac
add esp, 4
mov dword [esp + 0x74], eax
mov dword [esp + 0x6c], esi
test eax, eax
je 0x5480dc
mov ecx, eax
call fcn.005472d0
jmp 0x5480de
xor eax, eax
mov ecx, dword [edi + 0xfc]
push 1
push 0xffffffffffffffff
push 0x68b730
push 0x23be
push eax
mov dword [esp + 0x80], 0xffffffff
call fcn.0054ebc0
mov dword [esp + 0x14], eax
mov esi, eax
jmp 0x54810f
test esi, esi
je 0x54811d
mov edx, dword [esi]
mov eax, dword [edx + 0x8c]
push 1
mov ecx, esi
call eax
cmp dword [esp + 0x78], 0
jne 0x5483ad
cmp dword [edi + 0x228], 1
jne 0x54813b
mov dword [edi + 0x228], 0
cmp dword [edi + 0x228], 0
mov eax, dword [esp + 0x48]
mov ebx, eax
je 0x548168
mov edx, dword [esp + 0x44]
lea ebx, [eax + 0x10]
push ebx
mov ecx, ebp
sub ecx, dword [esp + 0x50]
push ecx
push eax
push edx
lea eax, [edi + 0x24c]
push eax
call dword [0x68a908]
mov esi, dword [edi + 0x228]
cmp esi, dword [esp + 0x18]
mov dword [esp + 0x78], 1
mov dword [esp + 0x74], esi
jge 0x548265
jmp 0x54818a
mov esi, dword [esp + 0x74]
push esi
mov ecx, edi
call fcn.005c5a30
mov esi, eax
mov ecx, dword [esi + 0xd0]
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
and ecx, 0xfffffff7
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x78]
push 0
mov ecx, esi
call edx
test eax, eax
je 0x54824e
mov eax, dword [esi + 0xc0]
mov ecx, dword [esi + 0xc4]
mov edx, dword [esi + 0xc8]
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0xcc]
sub eax, ecx
cmp dword [esi + 0x98], 0
mov dword [esp + 0x5c], edx
je 0x5481ec
add ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x50]
sub ecx, eax
sub ecx, ebx
add edx, 0x10
cmp ecx, edx
jge 0x548212
cmp dword [esp + 0x78], 0
je 0x548261
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x50]
sub eax, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
add eax, ebx
mov dword [esp + 0x20], eax
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov ecx, ebp
sub ecx, dword [esp + 0x5c]
mov ebp, dword [esi]
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov eax, dword [ebp + 0x74]
mov ecx, esi
mov dword [esp + 0x88], 0
call eax
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x74]
inc eax
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x74], eax
jl 0x548186
mov esi, dword [esp + 0x74]
mov ebx, dword [esp + 0x18]
cmp esi, ebx
jge 0x548297
lea ecx, [ecx]
push esi
mov ecx, edi
call fcn.005c5a30
mov ecx, dword [eax + 0xd0]
mov edx, dword [eax]
mov edx, dword [edx + 0x8c]
or ecx, 8
push ecx
mov ecx, eax
call edx
inc esi
cmp esi, ebx
jl 0x548270
mov esi, dword [esp + 0x74]
mov dword [edi + 0x22c], esi
cmp esi, ebx
je 0x5482cd
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x50]
mov edx, eax
sub edx, ecx
push edx
mov edx, ebp
sub edx, dword [esp + 0x50]
sub eax, ecx
push edx
sub eax, 0x10
push eax
mov eax, dword [esp + 0x50]
push eax
lea eax, [edi + 0x230]
push eax
call dword [0x68a908]
mov esi, dword [esp + 0x14]
cmp dword [edi + 0x1b0], 0
je 0x548323
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
push 0
mov ecx, esi
call edx
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x44]
mov esi, dword [esi]
add ecx, eax
mov dword [esp + 0x60], ecx
sub esp, 0x10
mov ecx, esp
mov dword [ecx], ebx
mov edx, ebp
sub edx, dword [esp + 0x5c]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x74]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x70]
mov dword [ecx + 0xc], edx
mov ecx, dword [esp + 0x24]
call eax
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov ebx, dword [0x68a908]
mov esi, dword [esp + 0x28]
push eax
sub eax, dword [esp + 0x3c]
mov ecx, ebp
sub ecx, dword [esp + 0x50]
push ecx
push eax
push edx
lea eax, [edi + 0x1c0]
push eax
call ebx
cmp dword [edi + 0x1e0], 0
je 0x548380
mov edx, dword [edi + 0x1dc]
sub edx, dword [edi + 0x1d4]
mov ecx, dword [esp + 0x50]
sub ebp, dword [esp + 0x4c]
lea eax, [edi + 0x1d0]
sub edx, ecx
add edx, esi
push edx
push ebp
sub esi, ecx
mov ecx, dword [esp + 0x4c]
push esi
push ecx
push eax
call ebx
cmp dword [esp + 0x7c], 0
je 0x548397
mov edx, dword [edi]
mov eax, dword [edx + 0x1a4]
push 1
push 0
mov ecx, edi
call eax
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0xc
lea ecx, [ebx - 1]
cmp dword [edi + 0x22c], ecx
jne 0x5483be
mov dword [edi + 0x22c], ebx
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x18]
sub eax, ecx
mov ebx, eax
mov dword [esp + 0x78], ebx
cmp dword [edi + 0x22c], edx
je 0x548408
mov edx, dword [esp + 0x28]
push eax
mov eax, ebp
sub eax, dword [esp + 0x50]
sub edx, ecx
push eax
mov eax, dword [esp + 0x4c]
sub edx, 0x10
push edx
push eax
lea eax, [edi + 0x230]
sub ebx, 0x10
push eax
mov dword [esp + 0x8c], ebx
call dword [0x68a908]
mov eax, dword [edi + 0x22c]
sub eax, 1
mov dword [esp + 0x74], eax
js 0x5484d2
jmp 0x548424
mov eax, dword [esp + 0x74]
push eax
mov ecx, edi
call fcn.005c5a30
mov esi, eax
mov eax, dword [esi + 0xd0]
mov edx, dword [esi]
mov edx, dword [edx + 0x8c]
and eax, 0xfffffff7
push eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x78]
push 0
mov ecx, esi
call edx
test eax, eax
je 0x5484bf
mov eax, dword [esi + 0xc0]
mov ecx, dword [esi + 0xc4]
mov edx, dword [esi + 0xc8]
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0xcc]
sub eax, ecx
sub ebx, eax
cmp ebx, 0x10
mov dword [esp + 0x5c], edx
jl 0x5484ca
mov edx, dword [esp + 0x44]
sub esp, 0x10
mov eax, esp
mov ecx, ebp
sub ecx, dword [esp + 0x5c]
mov ebp, dword [esi]
mov dword [eax], edx
mov edx, dword [ebp + 0x74]
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x88]
mov dword [eax + 0xc], ecx
mov ecx, esi
call edx
cmp dword [esi + 0x98], 0
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x78], ebx
je 0x5484bf
sub ebx, dword [esp + 0x1c]
mov dword [esp + 0x78], ebx
sub dword [esp + 0x74], 1
jns 0x548420
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x74]
mov ebx, eax
test eax, eax
jl 0x5484ff
push ebx
mov ecx, edi
call fcn.005c5a30
mov ecx, dword [eax + 0xd0]
mov edx, dword [eax]
mov edx, dword [edx + 0x8c]
or ecx, 8
push ecx
mov ecx, eax
call edx
sub ebx, 1
jns 0x5484d8
mov eax, dword [esp + 0x74]
lea ecx, [eax + 1]
mov dword [edi + 0x228], ecx
cmp eax, 0xffffffff
je 0x5482d1
mov eax, dword [esp + 0x48]
lea edx, [eax + 0x10]
push edx
mov edx, dword [esp + 0x48]
mov ecx, ebp
sub ecx, dword [esp + 0x50]
push ecx
push eax
push edx
lea eax, [edi + 0x24c]
push eax
call dword [0x68a908]
jmp 0x5482d1