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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov dword [ebp - 0x54], ecx
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x54]
mov eax, dword [eax + 0x1c]
sub eax, dword [ecx + 0xc]
cdq
and edx, 0xf
add eax, edx
sar eax, 4
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x54]
mov ecx, dword [edx + 0x20]
sub ecx, dword [eax + 0x10]
mov eax, ecx
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x54]
mov eax, dword [edx + 0x4e0]
mov ecx, dword [eax]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x54]
mov eax, dword [edx + 0x4e0]
mov ecx, dword [eax + 4]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x24], 0
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x28], edx
jmp 0x55917a
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x28]
add ecx, 0x80
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x24], 5
jge 0x55945e
mov edx, dword [ebp - 0x28]
add edx, 0x80
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], 0
cmp dword [ebp - 0x28], 0
jl 0x5591a9
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 8]
jle 0x55922d
mov dword [ebp - 0x34], 0
jmp 0x5591bb
mov ecx, dword [ebp - 0x34]
add ecx, 1
mov dword [ebp - 0x34], ecx
cmp dword [ebp - 0x34], 5
jge 0x559226
mov edx, dword [ebp - 0x24]
imul edx, edx, 0xc8
mov eax, dword [ebp - 0x54]
lea ecx, [eax + edx + 0x78]
mov edx, dword [ebp - 0x34]
imul edx, edx, 0x28
movsx eax, word [ecx + edx + 0x24]
push eax
mov ecx, dword [ebp - 0x24]
imul ecx, ecx, 0xc8
mov edx, dword [ebp - 0x54]
lea eax, [edx + ecx + 0x78]
mov ecx, dword [ebp - 0x34]
imul ecx, ecx, 0x28
mov edx, dword [eax + ecx + 0x20]
push edx
mov eax, dword [ebp - 0x24]
imul eax, eax, 0xc8
mov ecx, dword [ebp - 0x54]
lea edx, [ecx + eax + 0x78]
mov eax, dword [ebp - 0x34]
imul eax, eax, 0x28
add edx, eax
push edx
mov ecx, dword [0xa803c8]
mov edx, dword [ecx]
mov ecx, dword [0xa803c8]
mov eax, dword [edx + 0x68]
call eax
jmp 0x5591b2
mov dword [ebp - 0x2c], 1
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [ebp - 8]
jge 0x559459
cmp dword [ebp - 0x30], 0
jle 0x559459
cmp dword [ebp - 0x28], 0
jl 0x559258
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x1c], 0
jmp 0x559267
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x28]
neg eax
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [ebp - 8]
jle 0x559275
mov edx, dword [ebp - 8]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
jmp 0x559299
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x3c]
add edx, 0x80
mov dword [ebp - 0x3c], edx
cmp dword [ebp - 0x38], 5
jge 0x559459
mov eax, dword [ebp - 0x3c]
add eax, 0x80
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x2c], 0
jne 0x559325
cmp dword [ebp - 0x3c], 0
jl 0x5592c2
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [ebp - 0xc]
jle 0x559325
mov edx, dword [ebp - 0x24]
imul edx, edx, 0xc8
mov eax, dword [ebp - 0x54]
lea ecx, [eax + edx + 0x78]
mov edx, dword [ebp - 0x38]
imul edx, edx, 0x28
movsx eax, word [ecx + edx + 0x24]
push eax
mov ecx, dword [ebp - 0x24]
imul ecx, ecx, 0xc8
mov edx, dword [ebp - 0x54]
lea eax, [edx + ecx + 0x78]
mov ecx, dword [ebp - 0x38]
imul ecx, ecx, 0x28
mov edx, dword [eax + ecx + 0x20]
push edx
mov eax, dword [ebp - 0x24]
imul eax, eax, 0xc8
mov ecx, dword [ebp - 0x54]
lea edx, [ecx + eax + 0x78]
mov eax, dword [ebp - 0x38]
imul eax, eax, 0x28
add edx, eax
push edx
mov ecx, dword [0xa803c8]
mov edx, dword [ecx]
mov ecx, dword [0xa803c8]
mov eax, dword [edx + 0x68]
call eax
mov ecx, dword [ebp - 0x3c]
cmp ecx, dword [ebp - 0xc]
jge 0x559454
cmp dword [ebp - 0x40], 0
jle 0x559454
cmp dword [ebp - 0x3c], 0
jl 0x559350
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x20], 0
jmp 0x55935f
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x3c]
neg eax
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [ebp - 0xc]
jle 0x55936d
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x40], edx
push 0
mov eax, dword [ebp - 0x24]
imul eax, eax, 0xc8
mov ecx, dword [ebp - 0x54]
lea edx, [ecx + eax + 0x78]
mov eax, dword [ebp - 0x38]
imul eax, eax, 0x28
add edx, eax
push edx
mov ecx, dword [0xa803c8]
mov edx, dword [ecx]
mov ecx, dword [0xa803c8]
mov eax, dword [edx + 0x38]
call eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x559454
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 0x4e0]
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0xc]
lea ecx, [edx + eax*2 + 8]
mov edx, dword [ebp - 0x18]
lea eax, [ecx + edx*2]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x1c]
shl ecx, 7
mov edx, dword [ebp - 0x44]
lea eax, [edx + ecx*2]
mov ecx, dword [ebp - 0x20]
lea edx, [eax + ecx*2]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x50], eax
jmp 0x5593eb
mov ecx, dword [ebp - 0x50]
add ecx, 1
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x50]
cmp edx, dword [ebp - 0x30]
jge 0x559425
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x18]
shl eax, 1
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x48]
push edx
call fcn.00695250
add esp, 0xc
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x4c]
lea edx, [ecx + eax*2]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x48]
add eax, 0x100
mov dword [ebp - 0x48], eax
jmp 0x5593e2
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x24]
imul edx, edx, 0xc8
mov eax, dword [ebp - 0x54]
lea ecx, [eax + edx + 0x78]
mov edx, dword [ebp - 0x38]
imul edx, edx, 0x28
add ecx, edx
push ecx
mov eax, dword [0xa803c8]
mov edx, dword [eax]
mov ecx, dword [0xa803c8]
mov eax, dword [edx + 0x3c]
call eax
jmp 0x559284
jmp 0x559165
mov esp, ebp
pop ebp
ret