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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x18]
cmp eax, dword [ecx + 8]
jbe 0x54988a
sub esp, 0x98
mov eax, 0
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov byte [esp + 0x23], 0
mov ecx, dword [esp + 0x9c]
mov edx, dword [ecx + 4]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
lea ebx, [0x5498d0]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], edx
lea edx, [esp + 0x4c]
mov dword [esp + 0x94], edx
mov byte [esp + 0x23], 1
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
lea edx, [0x5498a0]
mov dword [esp + 0x44], edx
lea edx, [esp + 0x54]
mov dword [esp + 0x48], edx
lea edx, [esp + 0x44]
mov dword [esp + 0x90], edx
mov byte [esp + 0x23], 3
mov edx, dword [ecx + 8]
mov dword [esp + 0x40], edx
lea edi, [esp + 0x78]
xor eax, eax
call fcn.00465fea
xor ecx, ecx
jmp 0x549626
mov edx, dword [esp + 0x40]
mov ecx, eax
mov dword [esp + 0x24], ecx
mov dword [esp], edx
lea eax, [esp + 0x78]
mov dword [esp + 4], eax
call fcn.00405880
movzx eax, byte [esp + 8]
test al, al
je 0x54975c
lea edi, [esp + 0x60]
lea esi, [esp + 0x78]
call fcn.004664c4
lea edi, [esp + 0x78]
xor eax, eax
call fcn.00465fea
movzx ecx, byte [esp + 0x60]
test cl, cl
je 0x5497d2
cmp cl, 1
je 0x54969c
cmp cl, 2
je 0x54967c
mov eax, dword [esp + 0x24]
jmp 0x549620
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 0xc]
mov dword [esp], ecx
lea ecx, [esp + 0x23]
mov dword [esp + 4], ecx
call fcn.00404e10
mov eax, dword [esp + 0x24]
jmp 0x549620
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x24]
xor ebx, ebx
jmp 0x5497b8
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x34], ebx
lea ebp, [ebx + edx]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x54]
cmp esi, ebp
jae 0x5496f7
mov dword [esp], edi
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], edx
lea eax, [0x6b82c0]
mov dword [esp + 0x10], eax
call fcn.0044be60
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x3c], edi
lea eax, [0x6b82c0]
mov dword [esp], eax
sub esi, ebx
xchg esi, ebx
neg ebx
xchg esi, ebx
shl ebx, 2
sar esi, 0x1f
and ebx, esi
add ebx, edi
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x34]
sub ebp, ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], edx
call fcn.00411700
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x5c], eax
xor eax, eax
jmp 0x549620
mov byte [esp + 0x23], 1
mov edx, dword [esp + 0x90]
mov eax, dword [edx]
call eax
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x94]
mov eax, dword [edx]
call eax
add esp, 0x98
ret
mov dword [esp + 0x28], ebx
mov eax, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00405860
mov eax, dword [esp + 0x28]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x24]
xor eax, eax
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x24]
mov ebp, dword [ecx + 4]
test ebp, ebp
je 0x5497c4
mov ebp, dword [ebp + 4]
jmp 0x5497c6
xor ebp, ebp
imul ebp, edx
cmp ebx, ebp
jl 0x549783
jmp 0x5496ae
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
test ecx, ecx
je 0x549864
mov eax, dword [edx + ecx*4 - 4]
dec ecx
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x24]
inc ecx
test ecx, ecx
ja 0x549828
xor edx, edx
mov ebx, dword [0x1eaa9f0]
lea edi, [edx + ecx*4 - 4]
test ebx, ebx
jne 0x549821
mov dword [edx + ecx*4 - 4], eax
nop
lea eax, [0x69bcc0]
mov dword [esp], eax
lea eax, [0x78480c]
mov dword [esp + 4], eax
call fcn.00436d20
call fcn.00465d80
jmp 0x549808
mov dword [esp + 0x38], eax
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 1
lea eax, [0x6b82c0]
mov dword [esp + 0x10], eax
call fcn.0044be60
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x38]
jmp 0x5497f6
nop
lea eax, [0x69bcc0]
mov dword [esp], eax
lea eax, [0x78480c]
mov dword [esp + 4], eax
call fcn.00436d20
nop
call fcn.004362d0
add esp, 0x98
ret
call fcn.004649b0
jmp fcn.00549550