Function at 0x483970
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 0x48420f
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 0x4839d8
mov edi, dword [ebx + 4]
mov esi, dword [ebx]
shr edi, 1
jmp 0x4839c0
mov ecx, esi
lea eax, [esp + 0x80]
call fcn.0043d200
add esi, 0x10
sub edi, 1
jne 0x4839c0
xor ecx, ecx
cmp ebp, 1
je 0x4841ea
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 0x4841ea
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], ecx
push 0x100
mov ecx, 2
lea eax, [esp + 0x94]
call fcn.00472a90
cmp dword [esp + 0x90], 0
jne 0x483a4b
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 0x483c34
mov dword [esp + 0x38], 0
jmp 0x483a80
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 0x483c12
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x20]
jge 0x483c12
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 0x483c12
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 0x483bfb
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 0x483bb4
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x50], eax
jge 0x483bc2
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x54], eax
jle 0x483bd0
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x58], eax
jle 0x483bde
mov dword [esp + 0x58], eax
lea ecx, [esp + 0x4c]
mov eax, ebx
call fcn.0043d200
add dword [esp + 0x64], esi
add ebp, esi
add ebx, 0x10
sub edi, 1
mov dword [esp + 0x5c], ebp
jne 0x483b90
add dword [esp + 0x3c], 0x100
sub dword [esp + 0x48], 1
mov ecx, dword [esp + 0x70]
jne 0x483b52
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 0x483a80
mov eax, dword [esp + 0xbc]
push 0
mov ecx, 2
call fcn.00472a90
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 0x483c6a
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 0x4841a9
mov edx, dword [edi + 4]
cmp edx, dword [edi + 0xc]
jge 0x4841a9
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 0x483dd3
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 0x483dd3
mov ecx, dword [edi]
mov edi, dword [edi + 8]
cmp ecx, edi
jge 0x483dd3
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 0x483d0e
mov ebx, dword [esp + 0x18]
cmp ebx, dword [esp + 0x20]
jl 0x483d31
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 0x483d57
cmp dword [esp + 0x14], eax
jle 0x483d3b
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 0x483d57
mov ecx, edi
sub eax, dword [esp + 0x5c]
sub ecx, ebx
imul eax, ecx
cdq
idiv ebp
cmp eax, 1
jg 0x483dcf
mov ecx, esi
lea eax, [esp + 0x14]
mov dword [esp + 0x40], ebp
call fcn.0043d200
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 0x483cb3
jmp 0x483dd3
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 0x48412f
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 0x483ed0
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 0x483ed0
mov edi, dword [esi]
mov edx, dword [esi + 8]
cmp edi, edx
jge 0x483ed0
mov edi, dword [esp + 0x2c]
cmp dword [esp + 0x24], edi
jge 0x483e6b
mov edi, dword [esp + 0x30]
cmp dword [esp + 0x28], edi
jl 0x483e83
movq xmm0, qword [esi - 4]
movq qword [esp + 0x24], xmm0
movq xmm0, qword [esi + 4]
movq qword [esp + 0x2c], xmm0
jmp 0x483eb0
mov edi, dword [esi - 4]
cmp dword [esp + 0x24], edi
jle 0x483e90
mov dword [esp + 0x24], edi
mov edi, dword [esi]
cmp dword [esp + 0x28], edi
jle 0x483e9c
mov dword [esp + 0x28], edi
cmp dword [esp + 0x2c], ecx
jge 0x483ea6
mov dword [esp + 0x2c], ecx
cmp dword [esp + 0x30], edx
jge 0x483eb0
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 0x483e40
lea esi, [eax + 1]
cmp esi, 0x10
jge 0x483f6e
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 0x483f6e
mov ebx, dword [edx]
mov eax, dword [edx + 8]
cmp ebx, eax
jge 0x483f6e
mov edi, dword [esp + 0x2c]
cmp dword [esp + 0x24], edi
jge 0x483f10
mov edi, dword [esp + 0x30]
cmp dword [esp + 0x28], edi
jl 0x483f28
movq xmm0, qword [edx - 4]
movq qword [esp + 0x24], xmm0
movq xmm0, qword [edx + 4]
movq qword [esp + 0x2c], xmm0
jmp 0x483f53
mov edi, dword [edx - 4]
cmp dword [esp + 0x24], edi
jle 0x483f35
mov dword [esp + 0x24], edi
cmp dword [esp + 0x28], ebx
jle 0x483f3f
mov dword [esp + 0x28], ebx
cmp dword [esp + 0x2c], ecx
jge 0x483f49
mov dword [esp + 0x2c], ecx
cmp dword [esp + 0x30], eax
jge 0x483f53
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 0x483ee9
mov edx, dword [esp + 0x2c]
cmp dword [esp + 0x24], edx
jge 0x48412f
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x28], eax
jge 0x48412f
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 0x483fb6
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x20]
jl 0x483fdc
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 0x484010
mov eax, dword [esp + 0x24]
cmp edi, eax
jle 0x483fe8
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 0x484010
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 0x48412f
mov edx, dword [esp + 0x1c]
cmp edi, edx
jge 0x484043
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
cmp ecx, ebx
jl 0x48405d
movq xmm0, qword [esp + 0x24]
movq qword [esp + 0x14], xmm0
movq xmm0, qword [esp + 0x2c]
movq qword [esp + 0x1c], xmm0
jmp 0x48408d
mov eax, dword [esp + 0x24]
cmp edi, eax
jle 0x484069
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
cmp ecx, eax
jle 0x484075
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
cmp edx, eax
jge 0x484081
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x30]
cmp ebx, eax
jge 0x48408d
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x78]
cmp edx, ebp
jg 0x4840e4
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 0x4840d3
mov ecx, dword [esp + 0x7c]
cmp ecx, edx
mov dword [esp + 0x40], esi
jle 0x4840f6
mov ecx, edx
mov dword [esp + 0x7c], ecx
mov eax, dword [esp + 0x6c]
cmp eax, ebp
jle 0x484104
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 0x483e10
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 0x4841a9
shr eax, 1
lea edx, [eax - 1]
test eax, edx
jne 0x484177
add eax, eax
jne 0x48416d
mov eax, 1
push eax
call fcn.004442d0
test eax, eax
je 0x4841a9
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 0x483c66
mov eax, dword [esp + 0x48]
inc eax
mov dword [esp + 0x48], eax
cmp eax, 0x10
jb 0x483c50
mov edx, dword [esp + 0x90]
push edx
call fcn.0049d70f
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 0x4841fb
push eax
call fcn.0049d70f
add esp, 4
xor ecx, ecx
and dword [ebx + 4], 1
lea esi, [esp + 0x80]
mov eax, ebx
mov dword [ebx], ecx
call fcn.00443df0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xa8
ret