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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
mov eax, dword [0x5c4008]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push esi
mov esi, ecx
mov ecx, 0x70ac9b
push edi
mov dword [esp + 0x18], esi
call fcn.0056b0a5
mov edi, dword [esi + 0x1000]
mov eax, dword [esi + 0xc10]
mov ecx, dword [esi + 0x30ac]
mov dword [esp + 0x38], eax
mov eax, 1
shl eax, cl
mov ecx, dword [esi + 0x1004]
mov dword [esp + 0x44], eax
mov eax, dword [edi + 0x10]
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x24]
mov dword [esp + 0x68], eax
mov eax, dword [ecx + 0x34]
mov dword [esp + 0x98], eax
mov eax, dword [ecx + 0x38]
mov dword [esp + 0x9c], eax
mov eax, dword [ecx + 0x3c]
mov dword [esp + 0xa0], eax
mov eax, dword [ecx + 0x70]
mov ecx, dword [esi + 0x1008]
mov dword [esp + 0x80], eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x6c], 0
mov eax, dword [ecx + 0x34]
mov dword [esp + 0xa4], eax
mov eax, dword [ecx + 0x38]
mov dword [esp + 0xa8], eax
mov eax, dword [ecx + 0x3c]
mov dword [esp + 0xac], eax
mov eax, dword [ecx + 0x70]
mov ecx, dword [esi + 0x100c]
mov dword [esp + 0x84], eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x7c], 0
mov eax, dword [ecx + 0x34]
mov dword [esp + 0xb0], eax
mov eax, dword [ecx + 0x38]
mov dword [esp + 0xb4], eax
mov eax, dword [ecx + 0x3c]
mov dword [esp + 0xb8], eax
mov eax, dword [ecx + 0x70]
mov dword [esp + 0x88], eax
mov eax, dword [edi + 0x34]
mov dword [esp + 0x14], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x38]
mov dword [esp + 0x48], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x3c]
mov dword [esp + 0x78], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x1c], eax
mov dword [esi + 0xc1c], 0
mov eax, dword [esi + 0x27b0]
test eax, eax
je 0x542f34
push eax
mov edx, esi
lea ecx, [esi + 0x1010]
call fcn.00541c50
add esp, 4
mov eax, dword [edi]
add eax, 5
push eax
mov eax, dword [edi + 0x34]
sub eax, dword [edi + 0x10]
dec eax
push 0x7f
push eax
call fcn.00552c40
mov eax, dword [edi + 0x14]
add esp, 0xc
add eax, 5
push eax
mov eax, dword [edi + 0x38]
sub eax, dword [edi + 0x24]
dec eax
push 0x7f
push eax
call fcn.00552c40
mov eax, dword [edi + 0x14]
add esp, 0xc
add eax, 5
push eax
mov eax, dword [edi + 0x3c]
sub eax, dword [edi + 0x24]
dec eax
push 0x7f
push eax
call fcn.00552c40
xor ebx, ebx
add esp, 0xc
mov dword [esp + 0x54], ebx
cmp dword [esi + 0x1a4c], ebx
jle 0x543452
mov eax, dword [esp + 0x68]
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x70], ecx
lea edi, [eax*8]
mov eax, dword [esp + 0x3c]
shl eax, 4
mov dword [esp + 0x30], edi
mov dword [esp + 0x58], eax
nop word [eax + eax]
mov edi, dword [esp + 0x44]
cmp edi, 1
jle 0x542ff4
mov ecx, dword [esp + 0x74]
lea eax, [ecx*8]
sub eax, ecx
inc ecx
add eax, 0xc34
lea eax, [esi + eax*4]
mov dword [esi + 0xc90], eax
xor eax, eax
cmp ecx, edi
cmove ecx, eax
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x70]
mov eax, dword [esi + 0x27e4]
xorps xmm0, xmm0
mov dword [esi + 0xc44], eax
mov eax, dword [esi + 0xc48]
mov edi, dword [esp + 0x48]
add edi, edx
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], ecx
movq qword [eax], xmm0
mov byte [eax + 8], 0
mov eax, dword [esp + 0x10]
mov dword [esi + 0xc78], eax
mov dword [esi + 0xc20], 0
mov eax, dword [esi + 0x1a4c]
sub eax, ebx
mov ebx, dword [esp + 0x78]
dec eax
add ebx, edx
shl eax, 7
lea edx, [edi - 1]
mov dword [esi + 0xc7c], eax
mov eax, dword [esp + 0x14]
add eax, ecx
mov dword [esi + 0xc34], edx
mov dword [esi + 0xc24], eax
lea edx, [ebx - 1]
mov dword [esi + 0xc28], edi
mov dword [esi + 0xc2c], ebx
lea ecx, [eax - 1]
mov dword [esi + 0xc38], edx
mov dword [esi + 0xc30], ecx
sub eax, dword [esi + 0xba8]
mov dword [esi + 0xc24], eax
mov eax, edi
sub eax, dword [esi + 0xbbc]
mov dword [esi + 0xc28], eax
mov eax, ebx
sub eax, dword [esi + 0xbbc]
mov dword [esi + 0xc2c], eax
mov eax, dword [esi + 0xba8]
mov dword [esi + 0xc3c], eax
mov eax, dword [esi + 0xbbc]
mov dword [esi + 0xc40], eax
mov eax, 0x10
mov edx, dword [esi + 0xba8]
mov dword [esp + 0x2c], ebx
mov ebx, dword [esi + 0xbbc]
mov byte [ecx], 0x81
add ecx, edx
sub eax, 1
jne 0x5430d3
mov eax, dword [esp + 0x48]
lea edx, [ebx + ebx*4]
add eax, dword [esp + 0x5c]
lea ecx, [ebx + ebx*2]
mov byte [edi - 1], 0x81
mov byte [ebx + edi - 1], 0x81
mov byte [edi + ebx*2 - 1], 0x81
lea edi, [ebx + ebx*2]
mov byte [edi + eax - 1], 0x81
mov edi, dword [esp + 0x48]
add edi, dword [esp + 0x5c]
mov byte [eax + ebx*4 - 1], 0x81
mov byte [edx + eax - 1], 0x81
mov byte [eax + ecx*2 - 1], 0x81
lea eax, [ebx*8]
mov esi, dword [esp + 0x18]
sub eax, ebx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x2c]
mov byte [eax + edi - 1], 0x81
mov edi, dword [esp + 0x2c]
mov byte [edi - 1], 0x81
mov byte [ebx + edi - 1], 0x81
mov byte [edi + ebx*2 - 1], 0x81
lea edi, [ebx + ebx*2]
mov byte [edi + edx - 1], 0x81
mov edi, edx
mov edx, dword [esp + 0x20]
mov byte [edi + ebx*4 - 1], 0x81
mov ebx, edi
xor edi, edi
mov byte [edx + ebx - 1], 0x81
mov byte [ebx + ecx*2 - 1], 0x81
mov byte [eax + ebx - 1], 0x81
cmp dword [esi + 0x1a50], edi
jle 0x54332e
mov ecx, dword [esp + 0x48]
xor eax, eax
sub ecx, dword [esp + 0x78]
mov edx, dword [esi + 0xc10]
mov dword [esp + 0x20], ecx
mov ecx, edx
mov dword [esp + 0x2c], eax
mov dword [esi + 0xc70], eax
mov eax, dword [esi + 0x1a50]
sub eax, edi
dec eax
shl eax, 7
mov dword [esi + 0xc74], eax
mov eax, ecx
cmp dword [esi + 0x32b4], 0
jne 0x5431bc
cmp dword [esi + 0x32b8], 0
jne 0x5431d1
mov ecx, eax
mov eax, dword [esi + 0xc90]
mov eax, dword [eax + 0xc]
sub eax, 0x21
cmp eax, 0x3fffffde
ja 0x5431d8
mov eax, 1
jmp 0x5431da
xor eax, eax
cmp dword [esi + 0x32ac], 0
je 0x543210
cmp byte [ecx + 2], 0
mov edx, ecx
jne 0x543210
test eax, eax
je 0x543210
push dword [esi + 0x1a50]
mov edx, dword [esp + 0x58]
mov ecx, esi
push dword [esi + 0x1a4c]
push edi
call fcn.00538180
mov edx, dword [esi + 0xc10]
add esp, 0xc
mov eax, dword [esp + 0x4c]
add eax, dword [esp + 0x14]
mov dword [esi + 0xbcc], eax
mov eax, dword [esp + 0x20]
add eax, ebx
mov dword [esi + 0xbd4], ebx
mov dword [esi + 0xbd0], eax
mov al, byte [edx + 2]
cmp al, 1
jb 0x543260
movzx eax, al
lea eax, [eax + eax*2]
mov ecx, dword [esp + eax*4 + 0x94]
mov edx, dword [esp + eax*4 + 0x90]
mov eax, dword [esp + eax*4 + 0x8c]
add ecx, dword [esp + 0x50]
add edx, dword [esp + 0x50]
add eax, dword [esp + 0x4c]
jmp 0x543266
xor ecx, ecx
xor edx, edx
xor eax, eax
push dword [esp + 0x6c]
mov dword [esi + 0xb54], eax
mov dword [esi + 0xb58], edx
mov edx, esi
mov dword [esi + 0xb5c], ecx
mov ecx, esi
mov eax, dword [esi + 0xc10]
movzx eax, byte [eax + 2]
mov eax, dword [esp + eax*4 + 0x80]
or dword [esi + 0xc94], eax
call fcn.005428c0
mov eax, dword [esi + 0xc90]
add esp, 4
inc dword [esp + 0x6c]
mov ecx, 0x3fffffde
mov dword [esi + 0xc20], 1
mov eax, dword [eax + 0xc]
sub eax, 0x21
cmp ecx, eax
sbb eax, eax
add dword [esp + 0x4c], 0x10
add dword [esp + 0x50], 8
inc eax
or dword [esi + 0xc94], eax
inc edi
add dword [esi + 0xc24], 0x10
add ebx, 8
add dword [esi + 0xc28], 8
add dword [esi + 0xc2c], 8
add dword [esi + 0xc30], 0x10
add dword [esi + 0xc34], 8
add dword [esi + 0xc38], 8
mov eax, dword [esp + 0x2c]
add dword [esi + 0xc10], 0x4c
add eax, 0xffffff80
add dword [esi + 0xc44], 9
mov edx, dword [esi + 0xc10]
mov ecx, edx
mov dword [esp + 0x2c], eax
cmp edi, dword [esi + 0x1a50]
jl 0x543190
mov eax, dword [esi + 0xbd4]
mov edx, dword [esi + 0xbcc]
add eax, 8
mov edi, dword [esp + 0x40]
add edx, 0x10
push eax
mov eax, dword [esi + 0xbd0]
mov ecx, edi
add eax, 8
push eax
call fcn.00545f70
add dword [esi + 0xc10], 0x4c
add esp, 8
mov ebx, dword [esp + 0x54]
mov dword [esi + 0xc1c], 1
cmp dword [esi + 0x27b0], 0
je 0x543494
test ebx, ebx
jle 0x543422
cmp dword [esi + 0x1a94], 0
lea eax, [ebx - 1]
mov edx, dword [esp + 0x38]
lea ecx, [esi + 0x1010]
jne 0x5433b8
push dword [esp + 0x60]
push dword [esp + 0x68]
push dword [esp + 0x3c]
push dword [esp + 0x74]
push dword [esp + 0x4c]
push eax
call fcn.00541dd0
add esp, 0x18
jmp 0x5433c9
push dword [esp + 0x34]
push dword [esp + 0x40]
push eax
call fcn.00541f60
add esp, 0xc
cmp ebx, 1
jle 0x5433fa
push dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
mov ecx, edi
push dword [esp + 0x2c]
call fcn.00542cb0
mov eax, dword [esp + 0x60]
add esp, 8
add dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
add dword [esp + 0x28], eax
add dword [esp + 0x1c], eax
jmp 0x5433fe
mov eax, dword [esp + 0x30]
add dword [esp + 0x64], eax
add dword [esp + 0x60], eax
mov ecx, dword [esp + 0x58]
add dword [esp + 0x34], ecx
imul eax, dword [esi + 0x1a50], 0x4c
mov ecx, dword [esp + 0x38]
add ecx, 0x4c
add ecx, eax
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x70]
inc ebx
mov edx, dword [esp + 0x5c]
add ecx, dword [esp + 0x58]
add edx, eax
add dword [esp + 0x10], 0xffffff80
mov dword [esp + 0x54], ebx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x5c], edx
cmp ebx, dword [esi + 0x1a4c]
jl 0x542fc0
cmp dword [esi + 0x27b0], 0
je 0x54350b
cmp dword [esi + 0x1a94], 0
lea eax, [ebx - 1]
mov edx, dword [esp + 0x38]
lea ecx, [esi + 0x1010]
jne 0x5434c7
push dword [esp + 0x60]
push dword [esp + 0x68]
push dword [esp + 0x3c]
push dword [esp + 0x74]
push dword [esp + 0x4c]
push eax
call fcn.00541dd0
add esp, 0x18
jmp 0x5434d8
test ebx, ebx
jle 0x543422
push dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
mov ecx, edi
push dword [esp + 0x2c]
call fcn.00542cb0
mov eax, dword [esp + 0x60]
add esp, 8
add dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
add dword [esp + 0x28], eax
add dword [esp + 0x1c], eax
jmp 0x543426
push dword [esp + 0x34]
push dword [esp + 0x40]
push eax
call fcn.00541f60
add esp, 0xc
push dword [esp + 0x1c]
mov esi, dword [esp + 0x2c]
mov ecx, edi
mov ebx, dword [esp + 0x28]
mov edx, ebx
push esi
call fcn.00542cb0
mov eax, dword [esp + 0x44]
add esp, 8
mov ecx, dword [esp + 0x1c]
shl eax, 4
add ebx, eax
mov eax, dword [esp + 0x68]
shl eax, 3
add esi, eax
add ecx, eax
jmp 0x543517
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
push ecx
push esi
mov edx, ebx
mov ecx, edi
call fcn.00542cb0
mov esi, dword [edi + 0x4c]
add esp, 8
mov ebx, dword [edi + 0x10]
mov eax, ebx
mov ecx, dword [edi + 0x34]
imul eax, esi
sub ecx, esi
mov edi, ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x20], ecx
sub edi, eax
test esi, esi
jle 0x54356a
mov dword [esp + 0x18], esi
nop dword [eax]
push ebx
push ecx
push edi
call fcn.00554b70
mov ecx, dword [esp + 0x2c]
add esp, 0xc
add edi, ebx
sub esi, 1
jne 0x543550
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x40]
shr esi, 1
mov dword [esp + 0x10], esi
mov edi, dword [edx + 0x24]
mov ecx, edi
mov eax, dword [edx + 0x38]
imul ecx, esi
sub eax, esi
mov ebx, eax
mov dword [esp + 0x20], eax
sub ebx, ecx
mov dword [esp + 0x44], ecx
test esi, esi
je 0x5435b7
mov dword [esp + 0x18], esi
push edi
push eax
push ebx
call fcn.00554b70
mov eax, dword [esp + 0x2c]
add esp, 0xc
add ebx, edi
sub esi, 1
jne 0x543595
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov eax, dword [edx + 0x3c]
sub eax, esi
mov ebx, eax
mov dword [esp + 0x18], eax
sub ebx, ecx
test esi, esi
je 0x5435e2
push edi
push eax
push ebx
call fcn.00554b70
mov eax, dword [esp + 0x24]
add esp, 0xc
add ebx, edi
sub esi, 1
jne 0x5435c8
mov edx, dword [esp + 0x40]
mov esi, dword [edx + 4]
mov eax, dword [edx + 0x10]
dec esi
mov edi, dword [edx + 0x4c]
imul esi, eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], eax
sub esi, edi
add esi, dword [edx + 0x34]
lea ebx, [esi + eax]
test edi, edi
jle 0x54362c
mov dword [esp + 0x14], edi
mov edi, eax
nop dword [eax]
push edi
push esi
push ebx
call fcn.00554b70
add esp, 0xc
add ebx, edi
sub dword [esp + 0x14], 1
jne 0x543610
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x40]
mov ebx, dword [edx + 0x18]
mov esi, dword [edx + 0x24]
dec ebx
imul ebx, esi
shr edi, 1
mov dword [esp + 0x10], edi
mov eax, ebx
mov dword [esp + 0x44], ebx
sub eax, edi
add eax, dword [edx + 0x38]
mov dword [esp + 0x20], eax
add eax, esi
mov dword [esp + 0x18], eax
test edi, edi
je 0x543680
mov dword [esp + 0x14], edi
mov ebx, eax
mov edi, dword [esp + 0x20]
nop
push esi
push edi
push ebx
call fcn.00554b70
add esp, 0xc
add ebx, esi
sub dword [esp + 0x14], 1
jne 0x543660
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
sub ebx, edi
add ebx, dword [edx + 0x3c]
lea eax, [ebx + esi]
mov dword [esp + 0x14], eax
test edi, edi
je 0x5436aa
push esi
push ebx
push eax
call fcn.00554b70
mov eax, dword [esp + 0x20]
add esp, 0xc
add eax, esi
mov dword [esp + 0x14], eax
sub edi, 1
jne 0x543690
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00551170
mov esp, ebp
pop ebp
ret