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

Disassembly:
push 0xffffffffffffffff
push 0x676ec8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x3c]
call fcn.00473110
mov edi, 0x69db4c
push 0xa
push 0
lea ecx, [esp + 0x44]
mov dword [esp + 0x78], 0
mov dword [esp + 0x44], edi
call fcn.0048b670
lea ecx, [esp + 0x14]
mov dword [esp + 0x70], 1
call fcn.00473110
push 0xa
push 0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x78], 2
mov dword [esp + 0x1c], edi
call fcn.0048b670
lea ecx, [esp + 0x28]
mov byte [esp + 0x70], 3
call fcn.00473110
push 0xa
push 0
lea ecx, [esp + 0x30]
mov byte [esp + 0x78], 4
mov dword [esp + 0x30], edi
call fcn.0048b670
push 0xffffffffffffffff
lea ecx, [esi + 0x17c]
push 0
mov byte [esp + 0x78], 5
call fcn.00472ab0
mov ebp, dword [esp + 0x78]
xor edi, edi
mov ebx, dword [ebp + 8]
test ebx, ebx
jle 0x54ec8c
mov eax, dword [esi + 0x34]
mov edx, dword [ebp + 4]
push 0
mov ecx, dword [eax + 0x29c]
push ecx
mov ecx, dword [edx + edi*4]
call fcn.004956d0
push eax
mov eax, dword [esp + 0x48]
push eax
lea ecx, [esp + 0x44]
call fcn.004ea3d0
inc edi
cmp edi, ebx
jl 0x54ec61
mov ebp, dword [esp + 0x7c]
xor edi, edi
mov ebx, dword [ebp + 8]
test ebx, ebx
jle 0x54ecc4
mov ecx, dword [esi + 0x34]
mov eax, dword [ebp + 4]
push 0
mov edx, dword [ecx + 0x29c]
mov ecx, dword [eax + edi*4]
push edx
call fcn.004956d0
mov ecx, dword [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.004ea3d0
inc edi
cmp edi, ebx
jl 0x54ec99
lea eax, [esi + 0x17c]
lea edx, [esp + 0x14]
push eax
push edx
call fcn.0046ae30
mov eax, dword [esp + 0x24]
add esp, 8
test eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x78], 0
jle 0x54eda8
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x78]
mov ecx, dword [eax + ecx*4]
call fcn.004da3a0
mov ebp, eax
push 2
push 0x3fe00000
push 0
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x148]
mov eax, dword [esp + 0x44]
xor ebx, ebx
test eax, eax
mov edi, eax
jle 0x54ed41
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x28]
push eax
mov eax, dword [esi + 0x34]
mov edx, dword [ecx + ebx*4]
push edx
push ebp
push eax
call fcn.0046d450
add esp, 0x10
inc ebx
cmp ebx, edi
jl 0x54ed22
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x44]
call fcn.0048b670
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x78]
lea ecx, [ebx - 1]
cmp edi, ecx
je 0x54ed97
mov edx, dword [esp + 0x30]
push 0xffffffffffffffff
push edx
lea ecx, [esp + 0x44]
call fcn.0048b670
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x40]
test edx, edx
je 0x54ed8a
mov ebp, dword [ecx]
add ecx, 4
mov dword [eax], ebp
add eax, 4
dec edx
jne 0x54ed7d
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x30]
call fcn.0048b670
inc edi
cmp edi, ebx
mov dword [esp + 0x78], edi
jl 0x54ecf0
mov eax, dword [esp + 0x1c]
xor edi, edi
mov ebx, eax
test eax, eax
jle 0x54edd1
mov eax, dword [esi + 0x34]
mov edx, dword [esp + 0x18]
push 0
mov ecx, dword [eax + 0x29c]
push ecx
mov ecx, dword [edx + edi*4]
call fcn.004933f0
inc edi
cmp edi, ebx
jl 0x54edb0
mov eax, dword [esp + 0x1c]
xor edi, edi
test eax, eax
jle 0x54edf2
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + edi*4]
test ecx, ecx
je 0x54eded
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
inc edi
cmp edi, eax
jl 0x54edd7
push 0xa
push 0
lea ecx, [esp + 0x1c]
call fcn.0048b670
lea eax, [esi + 0x17c]
push eax
lea eax, [esp + 0x8c]
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x94], esp
push eax
call fcn.0064dc70
call fcn.004642e0
mov ebp, dword [esp + 0xa0]
mov ebx, dword [esp + 0x9c]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x4c]
add esp, 0x1c
xor edi, edi
test eax, eax
mov dword [esp + 0x10], eax
jle 0x54ef1d
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx + edi*4]
call fcn.004da3a0
mov edx, dword [eax]
push 0x3fe00000
lea ecx, [esp + 0x54]
push 0
push ecx
mov ecx, eax
call dword [edx + 0x90]
lea eax, [esi + 0x17c]
lea edx, [esp + 0x50]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0xa0], esp
push edx
call fcn.0064dc70
call fcn.004642e0
mov ecx, dword [esp + 0x94]
add esp, 0x1c
cmp eax, ecx
jne 0x54eed9
mov eax, dword [esp + 0x2c]
push 0xffffffffffffffff
mov ecx, dword [eax + edi*4]
mov eax, dword [ebx + 8]
mov dword [esp + 0x84], eax
inc eax
mov dword [esp + 0x88], ecx
push eax
mov ecx, ebx
call fcn.0048b670
mov edx, dword [ebx + 4]
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x84]
mov dword [edx + ecx*4], eax
jmp 0x54ef10
mov edx, dword [esp + 0x2c]
push 0xffffffffffffffff
mov ecx, ebp
mov eax, dword [edx + edi*4]
mov dword [esp + 0x88], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x84], eax
inc eax
push eax
call fcn.0048b670
mov ecx, dword [ebp + 4]
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
mov dword [ecx + eax*4], edx
mov eax, dword [esp + 0x10]
inc edi
cmp edi, eax
jl 0x54ee4e
mov ecx, dword [esp + 0x7c]
xor edi, edi
mov eax, dword [ecx + 8]
test eax, eax
mov dword [esp + 0x10], eax
jle 0x54efcc
mov edx, dword [esi + 0x34]
mov ecx, dword [esp + 0x7c]
push 0
mov eax, dword [edx + 0x29c]
mov edx, dword [ecx + 4]
push eax
mov ecx, dword [edx + edi*4]
call fcn.004956d0
mov dword [esp + 0x78], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x84], eax
inc eax
push 0xffffffffffffffff
push eax
mov ecx, ebx
call fcn.0048b670
mov eax, dword [ebx + 4]
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x78]
push 0
mov dword [eax + edx*4], ecx
mov eax, dword [esi + 0x34]
mov edx, dword [esp + 0x80]
mov ecx, dword [eax + 0x29c]
mov eax, dword [edx + 4]
push ecx
mov ecx, dword [eax + edi*4]
call fcn.004956d0
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x84], eax
inc eax
push 0xffffffffffffffff
push eax
mov ecx, ebp
call fcn.0048b670
mov ecx, dword [ebp + 4]
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x78]
inc edi
mov dword [ecx + eax*4], edx
mov eax, dword [esp + 0x10]
cmp edi, eax
jl 0x54ef32
mov eax, dword [esi + 0xe4]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x7c], edi
jne 0x54f0bf
cmp dword [esi + 0x120], edi
jne 0x54f0bf
mov dword [esp + 0x7c], 1
mov ecx, dword [esi + 0xd0]
xor eax, eax
cmp ecx, edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x78], eax
jle 0x54f236
mov dword [esp + 0x84], edi
mov ecx, dword [esi + 0xcc]
mov ebx, dword [ecx + eax*4]
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0x54f1e2
mov ebp, dword [esi + 0xe4]
mov edx, dword [ebx + 4]
lea edi, [esi + 0xdc]
push 0xffffffffffffffff
lea eax, [ebp + 1]
mov ecx, edi
push eax
mov dword [esp + 0x88], edx
call fcn.0048b670
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x80]
mov dword [ecx + ebp*4], edx
mov ecx, ebx
call fcn.0048f0e0
mov ebp, dword [esi + 0xf8]
mov eax, dword [eax + 4]
lea edi, [esi + 0xf0]
push 0xffffffffffffffff
lea ecx, [ebp + 1]
mov dword [esp + 0x84], eax
push ecx
mov ecx, edi
call fcn.0048b670
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x80]
mov ecx, ebx
mov dword [edx + ebp*4], eax
call fcn.0048f100
mov ebx, dword [edi + 8]
mov ebp, dword [eax + 4]
push 0xffffffffffffffff
lea ecx, [ebx + 1]
push ecx
mov ecx, edi
call fcn.0048b670
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x78]
mov edi, dword [esp + 0x84]
mov dword [edx + ebx*4], ebp
jmp 0x54f225
cmp dword [esi + 0xd0], eax
jne 0x54f0db
mov eax, dword [esi + 0x10c]
mov ecx, dword [esi + 0x120]
cmp eax, ecx
je 0x54eff4
mov eax, dword [0x705f7c]
cmp eax, edi
jne 0x54f10f
push edi
push ecx
mov ecx, esp
mov dword [esp + 0x84], esp
push 0x6e2bc0
call fcn.0065e7aa
push ecx
mov byte [esp + 0x7c], 6
mov ecx, esp
mov dword [esp + 0x84], esp
push 0x6e2bb0
jmp 0x54f16d
cmp eax, 1
jne 0x54f13f
push edi
push ecx
mov ecx, esp
mov dword [esp + 0x84], esp
push str.in_some_layers
call fcn.0065e7aa
push ecx
mov byte [esp + 0x7c], 7
mov ecx, esp
mov dword [esp + 0x84], esp
push str.Operation_error
jmp 0x54f16d
cmp eax, 2
jne 0x54f17f
push edi
push ecx
mov ecx, esp
mov dword [esp + 0x84], esp
push 0x6e2b80
call fcn.0065e7aa
push ecx
mov byte [esp + 0x7c], 8
mov ecx, esp
mov dword [esp + 0x84], esp
push 0x6e2b70
call fcn.0065e7aa
mov byte [esp + 0x7c], 5
call fcn.00463a90
add esp, 0xc
mov esi, 0x69db38
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x70], 9
test eax, eax
je 0x54f19e
push eax
call fcn.0065e732
add esp, 4
mov edi, 0x691080
mov dword [esp + 0x14], esi
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x18]
mov byte [esp + 0x70], 0xa
test eax, eax
je 0x54f1c1
push eax
call fcn.0065e732
add esp, 4
mov dword [esp + 0x14], edi
mov dword [esp + 0x3c], esi
mov eax, dword [esp + 0x40]
mov dword [esp + 0x70], 0xb
test eax, eax
je 0x54f3b3
jmp 0x54f3aa
mov ecx, dword [esi + 0xe0]
mov edx, dword [ecx + eax*4]
mov ecx, ebx
mov dword [ebx + 4], edx
mov ebp, dword [esi + 0xf4]
call fcn.0048f0e0
mov ecx, dword [edi + ebp]
add edi, 4
mov dword [eax + 4], ecx
mov ebp, dword [esi + 0xf4]
mov ecx, ebx
call fcn.0048f100
mov edx, dword [edi + ebp]
add edi, 4
mov dword [eax + 4], edx
mov eax, dword [esp + 0x78]
mov dword [esp + 0x84], edi
mov ecx, dword [esp + 0x10]
inc eax
cmp eax, ecx
mov dword [esp + 0x78], eax
jl 0x54f013
mov ecx, dword [esi + 0x10c]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x78], eax
jle 0x54f350
xor edi, edi
mov dword [esp + 0x84], edi
mov ecx, dword [esi + 0x108]
mov ebx, dword [ecx + eax*4]
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0x54f2fc
mov ebp, dword [esi + 0x120]
mov edx, dword [ebx + 4]
lea edi, [esi + 0x118]
push 0xffffffffffffffff
lea eax, [ebp + 1]
mov ecx, edi
push eax
mov dword [esp + 0x88], edx
call fcn.0048b670
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x80]
mov dword [ecx + ebp*4], edx
mov ecx, ebx
call fcn.0048f0e0
mov ebp, dword [esi + 0x134]
mov eax, dword [eax + 4]
lea edi, [esi + 0x12c]
push 0xffffffffffffffff
lea ecx, [ebp + 1]
mov dword [esp + 0x84], eax
push ecx
mov ecx, edi
call fcn.0048b670
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x80]
mov ecx, ebx
mov dword [edx + ebp*4], eax
call fcn.0048f100
mov ebx, dword [edi + 8]
mov ebp, dword [eax + 4]
push 0xffffffffffffffff
lea ecx, [ebx + 1]
push ecx
mov ecx, edi
call fcn.0048b670
mov edx, dword [edi + 4]
mov edi, dword [esp + 0x84]
mov dword [edx + ebx*4], ebp
jmp 0x54f33b
mov ecx, dword [esi + 0x11c]
mov edx, dword [ecx + eax*4]
mov ecx, ebx
mov dword [ebx + 4], edx
mov ebp, dword [esi + 0x130]
call fcn.0048f0e0
mov ecx, dword [edi + ebp]
add edi, 4
mov dword [eax + 4], ecx
mov ebp, dword [esi + 0x130]
mov ecx, ebx
call fcn.0048f100
mov edx, dword [edi + ebp]
add edi, 4
mov dword [eax + 4], edx
mov dword [esp + 0x84], edi
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x10]
inc eax
cmp eax, ecx
mov dword [esp + 0x78], eax
jl 0x54f257
mov esi, 0x69db38
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x70], 0xc
test eax, eax
je 0x54f36f
push eax
call fcn.0065e732
add esp, 4
mov edi, 0x691080
mov dword [esp + 0x14], esi
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x18]
mov byte [esp + 0x70], 0xd
test eax, eax
je 0x54f392
push eax
call fcn.0065e732
add esp, 4
mov dword [esp + 0x14], edi
mov dword [esp + 0x3c], esi
mov eax, dword [esp + 0x40]
mov dword [esp + 0x70], 0xe
test eax, eax
je 0x54f3b3
push eax
call fcn.0065e732
add esp, 4
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x64
ret 0x28