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

Disassembly:
sub esp, 0xa8
push ebx
mov ebx, dword [esp + 0xb0]
push ebp
mov ebp, dword [ebx + 4]
shr ebp, 1
push esi
push edi
je 0x483dbf
xor ecx, ecx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], ecx
cmp ebp, ecx
jbe 0x483588
mov edi, dword [ebx + 4]
mov esi, dword [ebx]
shr edi, 1
jmp 0x483570
mov ecx, esi
lea eax, [esp + 0x80]
call fcn.0043cef0
add esi, 0x10
sub edi, 1
jne 0x483570
xor ecx, ecx
cmp ebp, 1
je 0x483d9a
mov esi, dword [esp + 0x88]
sub esi, dword [esp + 0x80]
mov edi, dword [esp + 0x8c]
sub edi, dword [esp + 0x84]
mov eax, esi
imul eax, edi
cmp eax, 0x1388
jl 0x483d9a
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], ecx
push 0x100
mov ecx, 2
lea eax, [esp + 0x94]
call fcn.00472630
cmp dword [esp + 0x90], 0
jne 0x4835fb
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret
add esi, 0xf
lea eax, [edi + 0xf]
shr eax, 4
shr esi, 4
test dword [ebx + 4], 0xfffffffe
mov dword [esp + 0x40], eax
mov dword [esp + 0x34], 0
jbe 0x4837e4
mov dword [esp + 0x38], 0
jmp 0x483630
mov ecx, dword [esp + 0xbc]
mov eax, dword [ecx]
add eax, dword [esp + 0x38]
movq xmm0, qword [eax]
movq qword [esp + 0x14], xmm0
movq xmm0, qword [eax + 8]
mov edx, dword [esp + 0x14]
movq qword [esp + 0x1c], xmm0
cmp edx, dword [esp + 0x1c]
jge 0x4837c2
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x20]
jge 0x4837c2
mov ecx, dword [esp + 0x80]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov eax, edx
mov edx, dword [esp + 0x84]
sub eax, ecx
mov dword [esp + 0x14], eax
sub ebp, edx
sub ebx, ecx
mov ecx, dword [esp + 0x18]
sub ecx, edx
cdq
idiv esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], eax
mov eax, ecx
mov ecx, dword [esp + 0x40]
cdq
idiv ecx
mov edi, eax
lea eax, [ebx + esi - 1]
cdq
idiv esi
mov dword [esp + 0x2c], eax
lea eax, [ecx + ebp - 1]
cdq
idiv ecx
cmp edi, eax
jge 0x4837c2
mov edx, dword [esp + 0x24]
mov ecx, edx
imul ecx, esi
mov dword [esp + 0x74], ecx
lea ecx, [edx + 1]
imul ecx, esi
mov dword [esp + 0x6c], ecx
mov edx, edi
shl edx, 8
add edx, dword [esp + 0x90]
mov ecx, edi
imul ecx, dword [esp + 0x40]
sub eax, edi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x40]
mov ebp, dword [esp + 0x74]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x60], ecx
add ecx, eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x2c]
cmp dword [esp + 0x24], ecx
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x64], edx
jge 0x4837ab
mov eax, dword [esp + 0x24]
mov ebx, eax
shl ebx, 4
add ebx, dword [esp + 0x3c]
mov edi, ecx
sub edi, eax
nop
movq xmm0, qword [esp + 0x5c]
mov eax, dword [esp + 0x14]
cmp ebp, eax
movq qword [esp + 0x4c], xmm0
movq xmm0, qword [esp + 0x64]
movq qword [esp + 0x54], xmm0
jge 0x483764
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x50], eax
jge 0x483772
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x54], eax
jle 0x483780
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x58], eax
jle 0x48378e
mov dword [esp + 0x58], eax
lea ecx, [esp + 0x4c]
mov eax, ebx
call fcn.0043cef0
add dword [esp + 0x64], esi
add ebp, esi
add ebx, 0x10
sub edi, 1
mov dword [esp + 0x5c], ebp
jne 0x483740
add dword [esp + 0x3c], 0x100
sub dword [esp + 0x48], 1
mov ecx, dword [esp + 0x70]
jne 0x483702
mov edx, dword [esp + 0xbc]
mov eax, dword [esp + 0x34]
mov ecx, dword [edx + 4]
add dword [esp + 0x38], 0x10
inc eax
shr ecx, 1
mov dword [esp + 0x34], eax
cmp eax, ecx
jb 0x483630
mov eax, dword [esp + 0xbc]
push 0
mov ecx, 2
call fcn.00472630
xor eax, eax
mov dword [esp + 0x48], eax
lea ecx, [ecx]
shl eax, 8
add eax, dword [esp + 0x90]
xor ecx, ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x44], ecx
jmp 0x48381a
mov eax, dword [esp + 0x70]
mov edx, ecx
shl edx, 4
lea edi, [edx + eax]
mov eax, dword [edi]
cmp eax, dword [edi + 8]
jge 0x483d59
mov edx, dword [edi + 4]
cmp edx, dword [edi + 0xc]
jge 0x483d59
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x40], eax
cmp ecx, 0x10
jae 0x483983
add edi, 4
mov dword [esp + 0x34], edi
mov eax, dword [edi - 4]
mov edx, dword [edi + 4]
cmp eax, edx
lea esi, [edi - 4]
jge 0x483983
mov ecx, dword [edi]
mov edi, dword [edi + 8]
cmp ecx, edi
jge 0x483983
movq xmm0, qword [esp + 0x14]
mov ebx, edx
sub ebx, eax
mov ebp, edi
sub ebp, ecx
imul ebx, ebp
mov ebp, dword [esp + 0x40]
add ebp, ebx
mov ebx, dword [esp + 0x14]
cmp ebx, dword [esp + 0x1c]
movq qword [esp + 0x5c], xmm0
movq xmm0, qword [esp + 0x1c]
movq qword [esp + 0x64], xmm0
jge 0x4838be
mov ebx, dword [esp + 0x18]
cmp ebx, dword [esp + 0x20]
jl 0x4838e1
movq xmm0, qword [esi]
movq qword [esp + 0x5c], xmm0
movq xmm0, qword [esi + 8]
mov ebx, dword [esp + 0x60]
movq qword [esp + 0x64], xmm0
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
jmp 0x483907
cmp dword [esp + 0x14], eax
jle 0x4838eb
mov dword [esp + 0x5c], eax
mov ebx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
cmp ebx, ecx
cmovg ebx, ecx
mov ecx, dword [esp + 0x68]
cmp eax, edx
cmovl eax, edx
cmp ecx, edi
jge 0x483907
mov ecx, edi
sub eax, dword [esp + 0x5c]
sub ecx, ebx
imul eax, ecx
cdq
idiv ebp
cmp eax, 1
jg 0x48397f
mov ecx, esi
lea eax, [esp + 0x14]
mov dword [esp + 0x40], ebp
call fcn.0043cef0
mov edi, dword [esp + 0x34]
xor eax, eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
movq xmm0, qword [esp + 0x98]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x44]
inc eax
movq qword [esi], xmm0
movq xmm0, qword [esp + 0xa0]
add edi, 0x10
movq qword [esi + 8], xmm0
mov dword [esp + 0x44], eax
mov dword [esp + 0x34], edi
cmp eax, 0x10
jb 0x483863
jmp 0x483983
dec dword [esp + 0x44]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x6c], eax
add eax, ecx
mov ecx, dword [esp + 0x48]
cdq
sub eax, edx
mov edx, dword [esp + 0x70]
sar eax, 1
inc ecx
add edx, 0x100
mov ebp, eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x3c], edx
mov dword [esp + 0x74], ecx
cmp ecx, 0x10
jae 0x483cdf
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], ecx
mov ebx, eax
jl 0x483a80
mov edx, dword [esp + 0x3c]
mov ecx, eax
shl ecx, 4
lea esi, [ecx + edx + 4]
lea ecx, [ecx]
mov edx, dword [esi - 4]
mov ecx, dword [esi + 4]
cmp edx, ecx
jge 0x483a80
mov edi, dword [esi]
mov edx, dword [esi + 8]
cmp edi, edx
jge 0x483a80
mov edi, dword [esp + 0x2c]
cmp dword [esp + 0x24], edi
jge 0x483a1b
mov edi, dword [esp + 0x30]
cmp dword [esp + 0x28], edi
jl 0x483a33
movq xmm0, qword [esi - 4]
movq qword [esp + 0x24], xmm0
movq xmm0, qword [esi + 4]
movq qword [esp + 0x2c], xmm0
jmp 0x483a60
mov edi, dword [esi - 4]
cmp dword [esp + 0x24], edi
jle 0x483a40
mov dword [esp + 0x24], edi
mov edi, dword [esi]
cmp dword [esp + 0x28], edi
jle 0x483a4c
mov dword [esp + 0x28], edi
cmp dword [esp + 0x2c], ecx
jge 0x483a56
mov dword [esp + 0x2c], ecx
cmp dword [esp + 0x30], edx
jge 0x483a60
mov dword [esp + 0x30], edx
sub ecx, dword [esi - 4]
sub edx, dword [esi]
mov ebp, dword [esp + 0x34]
imul ecx, edx
add dword [esp + 0x38], ecx
mov dword [esp + 0x78], ebx
dec ebx
sub esi, 0x10
test ebx, ebx
jge 0x4839f0
lea esi, [eax + 1]
cmp esi, 0x10
jge 0x483b1e
mov ecx, dword [esp + 0x3c]
mov eax, esi
shl eax, 4
lea edx, [eax + ecx + 4]
mov eax, dword [edx - 4]
mov ecx, dword [edx + 4]
cmp eax, ecx
jge 0x483b1e
mov ebx, dword [edx]
mov eax, dword [edx + 8]
cmp ebx, eax
jge 0x483b1e
mov edi, dword [esp + 0x2c]
cmp dword [esp + 0x24], edi
jge 0x483ac0
mov edi, dword [esp + 0x30]
cmp dword [esp + 0x28], edi
jl 0x483ad8
movq xmm0, qword [edx - 4]
movq qword [esp + 0x24], xmm0
movq xmm0, qword [edx + 4]
movq qword [esp + 0x2c], xmm0
jmp 0x483b03
mov edi, dword [edx - 4]
cmp dword [esp + 0x24], edi
jle 0x483ae5
mov dword [esp + 0x24], edi
cmp dword [esp + 0x28], ebx
jle 0x483aef
mov dword [esp + 0x28], ebx
cmp dword [esp + 0x2c], ecx
jge 0x483af9
mov dword [esp + 0x2c], ecx
cmp dword [esp + 0x30], eax
jge 0x483b03
mov dword [esp + 0x30], eax
sub ecx, dword [edx - 4]
sub eax, ebx
imul eax, ecx
add dword [esp + 0x38], eax
mov ebp, esi
inc esi
add edx, 0x10
cmp esi, 0x10
jl 0x483a99
mov edx, dword [esp + 0x2c]
cmp dword [esp + 0x24], edx
jge 0x483cdf
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x28], eax
jge 0x483cdf
movq xmm0, qword [esp + 0x14]
mov edi, dword [esp + 0x14]
cmp edi, dword [esp + 0x1c]
movq qword [esp + 0x4c], xmm0
movq xmm0, qword [esp + 0x1c]
movq qword [esp + 0x54], xmm0
jge 0x483b66
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x20]
jl 0x483b8c
movq xmm0, qword [esp + 0x24]
movq qword [esp + 0x4c], xmm0
movq xmm0, qword [esp + 0x2c]
mov edx, dword [esp + 0x50]
movq qword [esp + 0x54], xmm0
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
jmp 0x483bc0
mov eax, dword [esp + 0x24]
cmp edi, eax
jle 0x483b98
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
cmp edx, eax
cmovg edx, eax
mov eax, dword [esp + 0x54]
cmp eax, ecx
cmovl eax, ecx
mov ecx, dword [esp + 0x58]
cmp ecx, esi
jge 0x483bc0
mov ecx, esi
sub eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x38]
mov ebx, dword [esp + 0x40]
sub ecx, edx
imul eax, ecx
add esi, ebx
cdq
idiv esi
cmp eax, 1
jg 0x483cdf
mov edx, dword [esp + 0x1c]
cmp edi, edx
jge 0x483bf3
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
cmp ecx, ebx
jl 0x483c0d
movq xmm0, qword [esp + 0x24]
movq qword [esp + 0x14], xmm0
movq xmm0, qword [esp + 0x2c]
movq qword [esp + 0x1c], xmm0
jmp 0x483c3d
mov eax, dword [esp + 0x24]
cmp edi, eax
jle 0x483c19
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
cmp ecx, eax
jle 0x483c25
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
cmp edx, eax
jge 0x483c31
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x30]
cmp ebx, eax
jge 0x483c3d
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x78]
cmp edx, ebp
jg 0x483c94
xor eax, eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
movq xmm1, qword [esp + 0xa8]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
movq xmm0, qword [esp + 0xb0]
mov eax, edx
shl eax, 4
add eax, dword [esp + 0x3c]
mov ecx, ebp
sub ecx, edx
inc ecx
movq qword [eax], xmm1
movq qword [eax + 8], xmm0
add eax, 0x10
sub ecx, 1
jne 0x483c83
mov ecx, dword [esp + 0x7c]
cmp ecx, edx
mov dword [esp + 0x40], esi
jle 0x483ca6
mov ecx, edx
mov dword [esp + 0x7c], ecx
mov eax, dword [esp + 0x6c]
cmp eax, ebp
jle 0x483cb4
mov eax, ebp
mov dword [esp + 0x6c], eax
add dword [esp + 0x3c], 0x100
add eax, ecx
mov ecx, dword [esp + 0x74]
cdq
sub eax, edx
sar eax, 1
inc ecx
mov ebp, eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x74], ecx
cmp ecx, 0x10
jb 0x4839c0
mov eax, dword [esp + 0x80]
add dword [esp + 0x14], eax
add dword [esp + 0x1c], eax
mov eax, dword [esp + 0x84]
add dword [esp + 0x18], eax
add dword [esp + 0x20], eax
mov edi, dword [esp + 0xbc]
mov eax, dword [edi + 4]
test al, 1
jne 0x483d59
shr eax, 1
lea edx, [eax - 1]
test eax, edx
jne 0x483d27
add eax, eax
jne 0x483d1d
mov eax, 1
push eax
call fcn.00443fc0
test eax, eax
je 0x483d59
mov eax, dword [edi + 4]
movq xmm0, qword [esp + 0x14]
shr eax, 1
shl eax, 4
add eax, dword [edi]
movq qword [eax], xmm0
movq xmm0, qword [esp + 0x1c]
movq qword [eax + 8], xmm0
mov eax, dword [edi + 4]
mov ecx, eax
and ecx, 0xfffffffe
add ecx, 2
and eax, 1
xor ecx, eax
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x44]
inc ecx
mov dword [esp + 0x44], ecx
cmp ecx, 0x10
jb 0x483816
mov eax, dword [esp + 0x48]
inc eax
mov dword [esp + 0x48], eax
cmp eax, 0x10
jb 0x483800
mov edx, dword [esp + 0x90]
push edx
call fcn.0049d27f
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret
mov eax, dword [ebx]
cmp eax, ecx
je 0x483dab
push eax
call fcn.0049d27f
add esp, 4
xor ecx, ecx
and dword [ebx + 4], 1
lea esi, [esp + 0x80]
mov eax, ebx
mov dword [ebx], ecx
call fcn.00443ae0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xa8
ret