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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x550396
add esp, 0xffffff80
mov ecx, dword [esp + 0x8c]
cmp ecx, 1
jb 0x55038b
lea edx, [ecx - 1]
mov dword [esp + 0x38], edx
neg edx
sar edx, 0x1f
and edx, 1
mov ebp, dword [esp + 0x88]
add edx, ebp
mov dword [esp + 0x5c], edx
nop
mov esi, dword [esp + 0x84]
mov edi, dword [esi + 0x10]
test edi, edi
je 0x550358
mov dword [esp + 0x68], edi
mov eax, ebp
mov ebp, dword [0x770e60]
mov ebx, dword [edi + 0x10]
test ebp, ebp
jne 0x55031f
mov dword [esi + 0x10], ebx
mov ebx, eax
xor eax, eax
call fcn.0045e1f1
mov eax, dword [esp + 0x68]
mov byte [eax], 4
movzx ecx, word [esi]
mov word [eax + 2], cx
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 2
lea edi, [eax + 0x14]
mov ecx, dword [0x770e60]
lea ebp, [eax + 0x20]
test ecx, ecx
jne 0x550303
mov dword [eax + 0x14], ebp
mov ecx, dword [esp + 0x8c]
cmp ecx, 1
je 0x5502f5
cmp byte [edx], 0x5e
jne 0x5502f5
lea ebp, [ecx - 2]
mov dword [esp + 0x38], ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 1
add edx, ebp
movzx ebp, word [esi]
test bp, 4
jne 0x54fcb2
mov ebp, dword [eax + 0x14]
mov dword [eax + 0x18], 2
xor ecx, ecx
mov dword [ebp + ecx*4], 0xa
mov dword [ebp + ecx*4 + 4], 0xa
mov ecx, dword [esp + 0x38]
mov ebp, 0xffffffff
mov dword [esp + 0x64], eax
mov dword [esp + 0x7c], edi
mov dword [esp + 0x3c], ebp
mov ebx, dword [eax + 0x14]
mov ebp, dword [eax + 0x18]
mov esi, dword [eax + 0x1c]
mov dword [esp + 0x54], eax
mov eax, 1
mov byte [esp + 0x37], al
mov eax, dword [esp + 0x54]
jmp 0x54fd00
mov edx, dword [esp + 0x84]
mov edx, eax
xor esi, esi
xchg esi, eax
mov byte [esp + 0x37], al
xchg esi, eax
mov esi, ebx
mov eax, dword [esp + 0x64]
mov ebx, edi
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x4c], esi
test ecx, ecx
jne 0x5501f5
mov dword [esp + 0x40], ecx
mov dword [esp + 0x60], edx
je 0x5501e9
cmp byte [edx], 0x2d
jne 0x5501dd
mov edi, dword [esp + 0x84]
movzx eax, word [edi]
test ax, 0x40
jne 0x54fd40
movzx eax, byte [esp + 0x37]
test al, al
je 0x550123
mov dword [esp + 0x74], ebx
mov dword [esp + 0x48], ebp
cmp ecx, 2
jle 0x54fd5c
cmp byte [edx], 0x5b
jne 0x54fd5c
cmp byte [edx + 1], 0x3a
je 0x55007f
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
call fcn.0054f470
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x78], ebx
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x6c], ebp
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
test edx, edx
jne 0x55004f
test esi, esi
jne 0x54fce3
mov eax, dword [esp + 0x84]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x40]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x74]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x14], esi
call fcn.0054eef0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
test edx, edx
je 0x54fe10
mov edi, ebx
mov ebx, esi
jmp 0x54fce3
mov eax, dword [esp + 0x84]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x40]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x88]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x8c]
mov dword [esp + 0x10], ebp
call fcn.0054edc0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
test ebx, ebx
jne 0x550027
cmp ecx, 2
jl 0x54fe79
cmp byte [eax], 0x2d
jne 0x54fe79
cmp byte [eax + 1], 0x5d
jne 0x54ff0a
mov ebx, edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x38], ecx
mov ebp, dword [esp + 0x84]
movzx esi, word [ebp]
test si, 1
jne 0x54fed8
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.00550570
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebp, ecx
mov ebx, edx
mov edi, eax
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x5c]
jmp 0x54fce3
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.005506a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
jmp 0x54fec5
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x84]
mov dword [esp], edx
inc eax
mov dword [esp + 4], eax
lea eax, [ecx - 1]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x10], ecx
call fcn.0054edc0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
test ebx, ebx
jne 0x54ffff
mov ebx, dword [esp + 0x44]
cmp ebx, edx
jg 0x54ff72
mov ebp, ecx
mov ecx, eax
mov eax, ebp
jmp 0x54fe7b
mov ecx, dword [esp + 0x40]
mov edx, ecx
sub ecx, eax
cmp edx, ecx
jb 0x550381
mov dword [esp + 0x40], ecx
lea eax, [0x5cac40]
mov dword [esp], eax
call fcn.0040b8e0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1d
lea ecx, [0x5f4e89]
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x770e60]
test ecx, ecx
jne 0x54ffed
mov ecx, dword [esp + 0x60]
mov dword [eax + 8], ecx
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
lea ecx, [0x63a184]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
sub esp, 0xffffff80
ret
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x60]
call fcn.0045df70
mov eax, ecx
jmp 0x54ffbf
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], ebp
mov dword [esp + 0x9c], esi
sub esp, 0xffffff80
ret
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], ebp
mov dword [esp + 0x9c], esi
sub esp, 0xffffff80
ret
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov eax, dword [esp + 0x78]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x9c], eax
sub esp, 0xffffff80
ret
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
call fcn.0054f040
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x78], ebx
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x70], ebp
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
test edx, edx
jne 0x5500f3
test esi, esi
jne 0x54fce3
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x48]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x84]
jmp 0x54fd5c
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov eax, dword [esp + 0x78]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x9c], eax
sub esp, 0xffffff80
ret
cmp ecx, 1
je 0x550132
cmp byte [edx + 1], 0x5d
je 0x54fd40
lea eax, [ecx - 1]
mov ebx, eax
neg eax
sar eax, 0x1f
and eax, 1
add eax, edx
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.004699f0
mov eax, dword [esp + 0xc]
lea ecx, [eax + 1]
mov edx, dword [esp + 0x40]
cmp edx, ecx
jb 0x550386
mov dword [esp + 0x50], ecx
lea eax, [0x5cac40]
mov dword [esp], eax
call fcn.0040b8e0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1d
lea ecx, [0x5f4e89]
mov dword [eax], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x770e60]
test ecx, ecx
jne 0x5501cb
mov ecx, dword [esp + 0x60]
mov dword [eax + 8], ecx
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
lea ecx, [0x63a184]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
sub esp, 0xffffff80
ret
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x60]
call fcn.0045df70
mov eax, ecx
jmp 0x55019d
mov edi, dword [esp + 0x84]
jmp 0x54fd40
mov edi, dword [esp + 0x84]
jmp 0x54fd40
cmp byte [edx], 0x5d
je 0x550201
test ecx, ecx
jmp 0x54fd0c
movzx esi, byte [esp + 0x37]
xchg esi, eax
test al, al
xchg esi, eax
je 0x550217
test ecx, ecx
mov esi, dword [esp + 0x4c]
jmp 0x54fd0c
mov dword [eax + 0x18], ebp
mov ebp, dword [esp + 0x4c]
mov dword [eax + 0x1c], ebp
dec ecx
mov dword [esp + 0x38], ecx
neg ecx
sar ecx, 0x1f
and ecx, 1
add ecx, edx
mov dword [esp + 0x5c], ecx
mov edx, dword [0x770e60]
test edx, edx
jne 0x5502e9
mov dword [eax + 0x14], ebx
mov dword [esp], edi
call fcn.005503a0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x3c]
test ebx, ebx
jl 0x5502c8
mov ebx, dword [esp + 0x64]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], edx
mov edx, dword [0x770e60]
test edx, edx
jne 0x5502bb
mov dword [ebx + 0x14], ecx
mov eax, dword [esp + 0x84]
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.005498c0
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
sub esp, 0xffffff80
ret
mov edi, dword [esp + 0x7c]
mov eax, ecx
call fcn.0045df70
jmp 0x550278
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00550fd0
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
jmp 0x550261
mov eax, ebx
call fcn.0045df70
jmp 0x550245
mov ecx, dword [esp + 0x38]
mov ebp, 1
jmp 0x54fcbb
mov ecx, eax
mov eax, ebp
call fcn.0045df70
mov ebp, dword [esp + 0x8c]
cmp ebp, 1
mov eax, ecx
mov ecx, ebp
jmp 0x54fc68
lea ecx, [esi + 0x10]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, ebx
call fcn.0045df70
lea ecx, [0x5dd2a0]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.004108b0
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x88]
mov esi, dword [esp + 0x84]
jmp 0x54fc2b
lea eax, [0x5dd2a0]
mov dword [esp], eax
call fcn.0040b8e0
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x88]
mov esi, dword [esp + 0x84]
jmp 0x54fc2f
call fcn.0045e010
call fcn.0045e010
mov eax, 1
call fcn.0045e050
nop
call fcn.0045ca10
jmp fcn.0054fbb0