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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x70a034]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
push dword [ebp + 0x18]
lea esi, [ebp + 8]
mov ebx, ecx
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.005136fd
mov eax, dword [ebx + 0x560]
lea esi, [ebx + 0x158]
lea edi, [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add dword [ebp + 8], eax
xor esi, esi
mov eax, dword [ebx + 0x564]
add dword [ebp + 0xc], eax
mov eax, dword [ebx + 0x568]
sub dword [ebp + 0x10], eax
mov eax, dword [ebx + 0x56c]
sub dword [ebp + 0x14], eax
cmp dword [ebx + 0x558], esi
jne 0x550dba
push esi
push esi
jmp 0x5512e9
mov ecx, dword [ebx + 0x584]
test ecx, ecx
je 0x550dde
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x550dde
mov ecx, dword [ebx + 0x584]
mov eax, dword [ecx]
call dword [eax + 0x7c]
sub dword [ebp + 0x10], eax
mov ecx, dword [ebx + 0x588]
test ecx, ecx
je 0x550e05
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x550e05
mov ecx, dword [ebx + 0x588]
mov eax, dword [ecx]
call dword [eax + 0x84]
sub dword [ebp + 0x14], eax
mov ecx, dword [ebx + 0x698]
test ecx, ecx
jle 0x550e1e
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 8]
cdq
idiv ecx
mov dword [ebx + 0x6a0], eax
cmp dword [ebx + 0x6a0], esi
jne 0x550e30
mov dword [ebx + 0x6a0], 1
mov eax, dword [ebp + 0x10]
mov edi, esi
sub eax, dword [ebp + 8]
cdq
idiv dword [ebx + 0x6a0]
mov ecx, dword [ebx + 0x588]
mov dword [esp + 0x38], eax
test ecx, ecx
je 0x550e76
mov edx, dword [ecx]
call dword [edx + 0xf4]
test al, al
je 0x550e76
mov eax, dword [ebx + 0x588]
mov eax, dword [eax + 0x554]
sub eax, dword [ebp + 8]
add eax, dword [ebp + 0x10]
cdq
idiv dword [ebx + 0x6a0]
mov dword [esp + 0x38], eax
mov ecx, dword [ebx + 0x584]
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x14], esi
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x28], esi
test ecx, ecx
je 0x550eb2
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x550eb2
mov eax, dword [ebx + 0x584]
sub esi, dword [eax + 0x558]
mov dword [esp + 0x28], esi
mov ecx, dword [ebx + 0x588]
mov esi, dword [ebp + 8]
mov dword [esp + 0x3c], esi
test ecx, ecx
je 0x550ee3
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x550ee3
mov eax, dword [ebx + 0x588]
sub esi, dword [eax + 0x558]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x14], esi
xor ecx, ecx
mov dword [esp + 0x2c], ecx
cmp dword [ebx + 0x558], ecx
jle 0x5512e6
mov eax, dword [ebx + 0x554]
mov esi, dword [eax + ecx*4]
mov ecx, esi
mov dword [esp + 0x30], esi
mov eax, dword [esi]
call dword [eax + 0xf4]
test al, al
je 0x5512d1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x120]
test al, al
je 0x550f36
mov eax, dword [ebx]
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, ebx
call dword [eax + 0x1f8]
jmp 0x5512d1
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x40], eax
mov dword [esp + 0x10], eax
mov eax, ecx
cdq
idiv dword [ebx + 0x6a0]
test edx, edx
jne 0x5510f6
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x2c]
mov edx, ecx
mov dword [esp + 0x24], ecx
cmp ecx, dword [ebx + 0x558]
jge 0x5510f6
mov eax, dword [ebx + 0x554]
mov edi, dword [eax + edx*4]
mov ecx, edi
mov dword [esp + 0x34], edi
mov eax, dword [edi]
call dword [eax + 0xf4]
test al, al
je 0x5510e1
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x120]
test al, al
jne 0x5510e1
mov eax, dword [edi]
lea ecx, [esp + 0x64]
push ecx
mov ecx, edi
call dword [eax + 0x6c]
mov edi, dword [esp + 0x10]
sub edi, dword [esp + 0x6c]
sub edi, dword [esp + 0x64]
sub edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x1c]
je 0x550fe0
inc eax
cdq
idiv dword [ebx + 0x6a0]
test edx, edx
je 0x550fe0
sub edi, dword [ebx + 0x570]
jmp 0x550fef
mov eax, dword [ebx + 0x570]
cdq
sub eax, edx
sar eax, 1
neg eax
add edi, eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x8c]
cmp edi, eax
jge 0x551009
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x8c]
mov edi, eax
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x94]
cmp edi, eax
jle 0x551023
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x94]
mov edi, eax
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x5c]
push 0x270f
push edi
push edx
mov eax, dword [ecx]
call dword [eax + 0x140]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x8c]
cmp dword [esp + 0x5c], eax
jge 0x551058
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x8c]
mov dword [esp + 0x5c], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x94]
cmp dword [esp + 0x5c], eax
jle 0x551076
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x94]
mov dword [esp + 0x5c], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x9c]
cmp dword [esp + 0x60], eax
jge 0x551094
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x9c]
mov dword [esp + 0x60], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xa4]
mov edi, dword [esp + 0x60]
cmp edi, eax
jle 0x5510b6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xa4]
mov edi, eax
mov dword [esp + 0x60], edi
mov eax, dword [esp + 0x70]
add eax, dword [esp + 0x68]
add eax, edi
cmp dword [esp + 0x20], eax
cmovg eax, dword [esp + 0x20]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cdq
idiv dword [ebx + 0x6a0]
test edx, edx
je 0x5510f6
mov edx, dword [esp + 0x24]
inc edx
mov dword [esp + 0x24], edx
cmp edx, dword [ebx + 0x558]
jl 0x550f75
mov eax, dword [esi]
lea ecx, [esp + 0x74]
push ecx
mov ecx, esi
call dword [eax + 0x6c]
mov ecx, dword [ebx + 0x570]
test ecx, ecx
jns 0x55110f
add ecx, 1
sar ecx, 1
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x1c]
add eax, ecx
sub dword [esp + 0x10], eax
mov eax, esi
cdq
idiv dword [ebx + 0x6a0]
mov edi, dword [esp + 0x74]
add edi, ecx
add edi, dword [esp + 0x14]
mov dword [esp + 0x24], edi
test edx, edx
jne 0x551140
sub edi, ecx
mov dword [esp + 0x24], edi
inc esi
mov eax, esi
mov dword [esp + 0x1c], esi
cdq
idiv dword [ebx + 0x6a0]
test edx, edx
jne 0x551156
add dword [esp + 0x10], ecx
mov eax, dword [esp + 0x20]
add eax, dword [esp + 0x28]
mov edx, dword [esp + 0x78]
add edx, dword [esp + 0x28]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
sub esi, edi
mov edi, eax
mov dword [esp + 0x18], eax
sub edi, edx
mov dword [esp + 0x34], edx
push edi
mov eax, dword [ecx]
lea edx, [esp + 0x58]
push esi
push edx
call dword [eax + 0x140]
mov eax, dword [esp + 0x54]
test eax, eax
cmove eax, esi
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x58]
test eax, eax
cmove eax, edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x58], eax
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x8c]
cmp dword [esp + 0x54], eax
jge 0x5511c7
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x8c]
mov dword [esp + 0x54], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x94]
cmp dword [esp + 0x54], eax
jle 0x5511e5
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x94]
mov dword [esp + 0x54], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x9c]
cmp dword [esp + 0x58], eax
jge 0x551203
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x9c]
mov dword [esp + 0x58], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xa4]
cmp dword [esp + 0x58], eax
jle 0x551221
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0xa4]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x10]
lea esi, [esp + 0x44]
sub eax, dword [esp + 0x54]
add eax, dword [esp + 0x24]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x58]
add eax, dword [esp + 0x34]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
mov dword [esp + 0x48], eax
add eax, dword [esp + 0x58]
mov dword [esp + 0x50], eax
mov eax, dword [edi]
mov dword [esp + 0x44], ecx
add ecx, dword [esp + 0x54]
push 1
sub esp, 0x10
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x44]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x54]
mov eax, dword [esp + 0x1c]
cdq
idiv dword [ebx + 0x6a0]
test edx, edx
jne 0x5512a0
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x570]
add eax, dword [esp + 0x20]
add dword [esp + 0x28], eax
and dword [esp + 0x20], edx
jmp 0x5512a8
mov eax, dword [esp + 0x40]
mov dword [esp + 0x14], eax
mov edi, dword [esp + 0x18]
sub edi, dword [ebp + 0xc]
mov ecx, dword [ebx + 0x584]
test ecx, ecx
je 0x5512d1
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x5512d1
mov eax, dword [ebx + 0x584]
add edi, dword [eax + 0x558]
mov ecx, dword [esp + 0x2c]
inc ecx
mov dword [esp + 0x2c], ecx
cmp ecx, dword [ebx + 0x558]
jl 0x550ef5
push edi
push 0
mov eax, dword [ebx]
lea esi, [ebp + 8]
sub esp, 0x10
mov ecx, ebx
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x1fc]
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.006255fe
mov esp, ebp
pop ebp
ret 0x14