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

Disassembly:
test dword [0x7eda90], 0xffffff80
jne 0x546994
test dword [0x7eda90], 0xffffffff
jne 0x546994
call fcn.006a6b5c
jmp fcn.0054696c
push ebp
push ebx
push ecx
mov eax, 0x80
call fcn.00696350
mov ecx, dword [esp + 0x80]
mov ebp, ecx
mov ebx, dword [esp + 0x90]
mov eax, dword [esp + 0x94]
and byte [ebp + 0x10], 0xfd
cmp eax, dword [ebx + 0x14]
jae 0x5469d1
mov eax, 1
add esp, 0x84
pop ebx
pop ebp
ret 8
lea edx, [esp]
push 1
push eax
push edx
mov ecx, ebx
call fcn.005501ac
cmp eax, 1
je 0x5469f0
mov dword [ebp + 0xc], ebx
movsx eax, word [esp + 8]
test eax, eax
jl 0x546a00
mov eax, 1
add esp, 0x84
pop ebx
pop ebp
ret 8
neg eax
movsx ecx, ax
mov word [ebp + 0x17], cx
mov eax, dword [esp + 4]
mov dword [ebp + 4], eax
shl ecx, 7
call fcn.004dbcd8
mov dword [ebp + 0x1b], eax
movsx ecx, word [ebp + 0x17]
shl ecx, 2
call fcn.004dbd48
mov dword [ebp + 0x27], eax
movsx ecx, word [ebp + 0x17]
shl ecx, 2
call fcn.004dbd48
mov dword [ebp + 0x23], eax
mov eax, dword [ebp + 0x1b]
lea edx, [eax + 0x80]
mov dword [ebp + 0x1f], edx
mov ecx, dword [esp]
mov dword [eax], ecx
mov ebx, dword [esp + 4]
mov dword [eax + 4], ebx
mov edx, dword [esp + 8]
mov dword [eax + 8], edx
mov edx, dword [esp + 0xc]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x10]
mov dword [eax + 0x10], edx
mov edx, dword [esp + 0x14]
mov dword [eax + 0x14], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 0x18], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + 0x1c], edx
mov edx, dword [esp + 0x20]
mov dword [eax + 0x20], edx
mov edx, dword [esp + 0x24]
mov dword [eax + 0x24], edx
mov edx, dword [esp + 0x28]
mov dword [eax + 0x28], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + 0x2c], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 0x30], edx
mov edx, dword [esp + 0x34]
mov dword [eax + 0x34], edx
mov edx, dword [esp + 0x38]
mov dword [eax + 0x38], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 0x3c], edx
mov edx, dword [esp + 0x40]
mov dword [eax + 0x40], edx
mov edx, dword [esp + 0x44]
mov dword [eax + 0x44], edx
mov edx, dword [esp + 0x48]
mov dword [eax + 0x48], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + 0x4c], edx
mov edx, dword [esp + 0x50]
mov dword [eax + 0x50], edx
mov edx, dword [esp + 0x54]
mov dword [eax + 0x54], edx
mov edx, dword [esp + 0x58]
mov dword [eax + 0x58], edx
mov edx, dword [esp + 0x5c]
mov dword [eax + 0x5c], edx
mov edx, dword [esp + 0x60]
mov dword [eax + 0x60], edx
mov edx, dword [esp + 0x64]
mov dword [eax + 0x64], edx
mov edx, dword [esp + 0x68]
mov dword [eax + 0x68], edx
mov edx, dword [esp + 0x6c]
mov dword [eax + 0x6c], edx
mov edx, dword [esp + 0x70]
mov dword [eax + 0x70], edx
mov edx, dword [esp + 0x74]
mov dword [eax + 0x74], edx
mov edx, dword [esp + 0x78]
mov dword [eax + 0x78], edx
mov edx, dword [esp + 0x7c]
mov dword [eax + 0x7c], edx
mov ecx, dword [ebp + 0x27]
mov edx, dword [eax + 0xc]
mov dword [ecx], edx
mov edx, dword [ebp + 0x23]
mov ebx, dword [eax]
mov dword [edx], ebx
movsx edx, word [ebp + 0x17]
cmp edx, 1
jle 0x546c46
mov ebx, 1
mov dword [esp + 0x80], esi
mov esi, ebp
mov ebp, eax
add ebp, 0x80
mov edx, dword [esi + 0x27]
push 1
push dword [edx + ebx*4 - 4]
push ebp
mov ecx, dword [esi + 0xc]
call fcn.005501ac
cmp eax, 1
je 0x546c53
mov edx, dword [esi + 0x27]
mov ecx, dword [ebp + 0xc]
mov dword [edx + ebx*4], ecx
mov ecx, dword [esi + 0x23]
mov edx, dword [ebp]
mov dword [ecx + ebx*4], edx
mov edx, dword [esi + 0x1f]
lea eax, [ebp + 0x10]
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov ecx, dword [eax + 0xc]
mov dword [edx + 0xc], ecx
mov ecx, dword [eax + 0x10]
mov dword [edx + 0x10], ecx
mov ecx, dword [eax + 0x14]
mov dword [edx + 0x14], ecx
mov ecx, dword [eax + 0x18]
mov dword [edx + 0x18], ecx
mov ecx, dword [eax + 0x1c]
mov dword [edx + 0x1c], ecx
mov ecx, dword [eax + 0x20]
mov dword [edx + 0x20], ecx
mov ecx, dword [eax + 0x24]
mov dword [edx + 0x24], ecx
mov ecx, dword [eax + 0x28]
mov dword [edx + 0x28], ecx
mov ecx, dword [eax + 0x2c]
mov dword [edx + 0x2c], ecx
mov ecx, dword [eax + 0x30]
mov dword [edx + 0x30], ecx
mov ecx, dword [eax + 0x34]
mov dword [edx + 0x34], ecx
mov ecx, dword [eax + 0x38]
mov dword [edx + 0x38], ecx
mov ecx, dword [eax + 0x3c]
mov dword [edx + 0x3c], ecx
mov ecx, dword [eax + 0x40]
mov dword [edx + 0x40], ecx
mov ecx, dword [eax + 0x44]
mov dword [edx + 0x44], ecx
mov ecx, dword [eax + 0x48]
mov dword [edx + 0x48], ecx
mov ecx, dword [eax + 0x4c]
mov dword [edx + 0x4c], ecx
mov ecx, dword [eax + 0x50]
mov dword [edx + 0x50], ecx
mov ecx, dword [eax + 0x54]
mov dword [edx + 0x54], ecx
mov ecx, dword [eax + 0x58]
mov dword [edx + 0x58], ecx
mov ecx, dword [eax + 0x5c]
mov dword [edx + 0x5c], ecx
mov ecx, dword [eax + 0x60]
mov dword [edx + 0x60], ecx
mov ecx, dword [eax + 0x64]
mov dword [edx + 0x64], ecx
mov ecx, dword [eax + 0x68]
mov dword [edx + 0x68], ecx
mov ecx, dword [eax + 0x6c]
mov dword [edx + 0x6c], ecx
add dword [esi + 0x1f], 0x70
inc ebx
movsx edx, word [esi + 0x17]
cmp ebx, edx
jl 0x546b4f
mov esi, dword [esp + 0x80]
xor eax, eax
add esp, 0x84
pop ebx
pop ebp
ret 8
mov esi, dword [esp + 0x80]
mov eax, 1
add esp, 0x84
pop ebx
pop ebp
ret 8