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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x134]
cmp eax, dword [ecx + 8]
jbe 0x546c16
sub esp, 0x1b4
mov eax, dword [esp + 0x1b8]
mov ecx, dword [eax + 0x16c]
mov dword [esp + 0x84], ecx
mov edx, dword [eax + 0x170]
mov dword [esp + 0x38], edx
mov ebx, dword [eax + 0x174]
mov dword [esp + 0x3c], ebx
mov dword [eax + 0x140], 0
mov ebp, ecx
xor esi, esi
jmp 0x54674f
mov dword [eax + 0x140], ecx
lea ecx, [ecx + ecx*2]
mov ebp, dword [esp + 0x60]
mov dword [ebx + ecx*4 - 0xc], ebp
mov esi, dword [esp + 0x78]
mov dword [ebx + ecx*4 - 8], esi
mov dword [ebx + ecx*4 - 4], edx
mov ecx, dword [esp + 0x98]
add ecx, 0x7c
lea esi, [ebp + 1]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov ebp, edi
cmp esi, edx
jge 0x54681a
mov dword [esp + 0x60], esi
mov dword [esp + 0x98], ecx
lea edi, [esp + 0x138]
mov esi, ecx
call fcn.004663ca
mov ecx, dword [eax + 0x140]
inc ecx
mov esi, ebx
mov ebx, dword [eax + 0x13c]
mov edi, ebp
mov ebp, dword [eax + 0x144]
mov edx, dword [esp + 0x1a4]
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x1a8]
cmp ebp, ecx
jae 0x54671b
mov dword [esp + 0x74], edx
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x6b1660]
mov dword [esp + 0x10], eax
call fcn.0044be60
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x1b8]
mov dword [ebx + 0x144], edx
mov edx, dword [0x1eaa9f0]
test edx, edx
jne 0x5467f2
mov dword [ebx + 0x13c], eax
jmp 0x5467fd
lea edi, [ebx + 0x13c]
call fcn.00465d80
mov edx, dword [esp + 0x74]
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x84]
mov ebx, eax
mov eax, dword [esp + 0x1b8]
jmp 0x54671b
mov ecx, dword [eax + 0x13c]
mov edx, dword [eax + 0x140]
mov ebx, dword [eax + 0x144]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.004098b0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
lea ecx, [0x5470d0]
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x1b8]
lea edx, [ecx + 8]
mov dword [esp + 0x90], edx
mov dword [esp + 0xa0], edx
lea ebx, [0x68f040]
mov dword [esp], ebx
mov dword [esp + 4], eax
lea eax, [esp + 0x9c]
mov dword [esp + 8], eax
call fcn.0048af00
lea edi, [esp + 0xa4]
xor eax, eax
call fcn.00465fea
lea eax, [0x546c20]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x1c4]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x1c8]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x1cc]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x1b8]
mov dword [esp + 0xb8], eax
mov ecx, dword [eax + 0x19c]
mov edx, dword [eax + 0x1a0]
mov ebx, dword [eax + 0x1a4]
xor ebp, ebp
jmp 0x546923
mov ebx, dword [esp + 0x1b8]
mov ebx, edx
mov edx, ecx
mov ecx, eax
mov eax, dword [esp + 0x1b8]
cmp ebp, edx
jge 0x546b4c
jae 0x546c0c
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x88], ecx
imul edx, ebp, 0x7c
mov dword [esp + 0x70], edx
add ecx, edx
lea edi, [esp + 0xbc]
mov esi, ecx
call fcn.004663ca
mov ecx, dword [eax + 0x140]
mov dword [esp + 0x44], ecx
mov esi, edx
mov edx, dword [eax + 0x13c]
mov edi, ebx
mov ebx, dword [eax + 0x144]
mov dword [esp + 0x48], ebx
mov ebp, dword [esp + 0x128]
mov ebx, dword [esp + 0x12c]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x7c], eax
xor eax, eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x7c]
jmp 0x546b92
mov ecx, dword [esp + 0x44]
cmp esi, ecx
ja 0x546bfc
mov eax, dword [esp + 0x84]
mov dword [esp], eax
mov ebx, dword [esp + 0x38]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x3c]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x48]
sub ebp, esi
mov dword [esp + 0x6c], ebp
lea ebx, [esi + esi*2]
xchg ebp, ebx
neg ebx
xchg ebp, ebx
shl ebx, 2
sar ebp, 0x1f
and ebx, ebp
add edx, ebx
mov dword [esp + 0xc], edx
sub ecx, esi
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x5c]
sub edi, ecx
mov dword [esp + 0x6c], edi
mov ebx, edi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
mov ebp, dword [esp + 0x70]
and ebp, edi
mov esi, dword [esp + 0x88]
add ebp, esi
mov dword [esp + 0x94], ebp
mov dword [esp + 0x18], ebp
mov edi, dword [esp + 0x4c]
sub edi, ecx
mov dword [esp + 0x70], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ebx
call fcn.00547150
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
test ebx, ebx
jne 0x546a66
mov ebp, dword [esp + 0x5c]
inc ebp
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x88]
jmp 0x54690f
mov dword [esp + 0x54], ebx
mov ebp, dword [esp + 0x5c]
test ebp, ebp
jne 0x546a7c
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x50]
jmp 0x546aeb
mov dword [esp + 0x8c], eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x88]
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov ecx, dword [esp + 0x50]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0xffffffff
lea edx, [esp + 0xa4]
call eax
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x54]
xor ebp, ebp
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x6c]
mov eax, dword [esp + 0x94]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x5c], ebp
mov ebp, dword [esp + 0xa4]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
lea edx, [esp + 0xa4]
call ebp
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x54]
cmp ecx, eax
jb 0x546bf7
mov ebx, dword [esp + 0x50]
sub ebx, eax
sub ecx, eax
mov edx, ebx
neg ebx
sar ebx, 0x1f
imul eax, eax, 0x7c
and eax, ebx
mov ebx, dword [esp + 0x88]
add eax, ebx
mov ebp, dword [esp + 0x5c]
jmp 0x54690f
test edx, edx
je 0x546b73
mov eax, dword [esp + 0xa4]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0xffffffff
lea edx, [esp + 0xa4]
call eax
add esp, 0x1b4
ret
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x68]
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x50]
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x68]
mov esi, dword [esp + 0x34]
cmp ecx, esi
jle 0x54699e
lea edi, [esi + ecx]
mov dword [esp + 0x6c], edi
shr edi, 0x1f
mov esi, dword [esp + 0x6c]
add esi, edi
sar esi, 1
mov edi, dword [esp + 0x44]
cmp edi, esi
jbe 0x546c03
mov dword [esp + 0x64], esi
lea edi, [esi + esi*2]
mov esi, dword [edx + edi*4 + 8]
cmp esi, ebx
xchg esi, ebx
setb bl
xchg esi, ebx
sete bl
lea edi, [edx + edi*4 + 4]
cmp dword [edi], ebp
xchg edi, ebx
setb bl
xchg edi, ebx
and ebx, edi
or esi, ebx
xchg esi, eax
test al, al
xchg esi, eax
je 0x546bed
mov ebx, dword [esp + 0x64]
inc ebx
jmp 0x546b7a
mov ecx, dword [esp + 0x64]
mov ebx, dword [esp + 0x34]
jmp 0x546b7a
call fcn.00465e60
mov eax, esi
call fcn.00465e60
mov eax, esi
mov ecx, edi
call fcn.00465e00
mov eax, ebp
mov ecx, edx
call fcn.00465e00
nop
call fcn.004649b0
jmp fcn.005466c0