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

Disassembly:
sub esp, 0xf4
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
mov edx, dword [esi]
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
mov ebx, dword [esi + 0x28]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x118]
mov dword [esp + 0x14], eax
mov dword [esp + 0x3c], ecx
mov eax, dword [edx]
mov ecx, ebx
mov edi, eax
sar edi, cl
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0xac], edi
mov edi, dword [edx + 4]
mov edx, dword [edx + 8]
mov ebp, edi
sar ebp, cl
mov ecx, edx
sub ecx, eax
mov dword [esp + 0x40], ecx
inc ecx
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xb0], ebp
lea ebp, [ecx - 1]
mov ecx, ebp
and ecx, eax
inc edx
mov dword [esp + 0x2c], ecx
mov ecx, edx
and ecx, ebp
mov ebp, dword [esp + 0x70]
cmp ecx, ebp
mov dword [esp + 0x74], ecx
jle 0x4622e7
mov dword [esp + 0x74], 0
mov ecx, dword [esp + 0x118]
mov ebp, dword [ecx + 0xc]
mov ecx, ebp
sub ecx, edi
inc ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x3c]
dec ecx
mov dword [esp + 0x68], ecx
and ecx, edi
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x68]
inc ebp
mov dword [esp + 0x34], ebp
and ebp, ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x78], ebp
cmp ebp, ecx
jle 0x462328
mov dword [esp + 0x78], 0
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x3c]
lea eax, [eax + ecx - 1]
mov ecx, ebx
sar eax, cl
sar edx, cl
mov ecx, 0
sub edx, eax
mov eax, dword [esp + 0x34]
sets cl
dec ecx
and ecx, edx
lea edx, [edi + ebp - 1]
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x2c]
sar edx, cl
sar eax, cl
mov ecx, 0
sub eax, edx
sets cl
dec ecx
and ecx, eax
mov eax, dword [esp + 0x2c]
test eax, eax
mov dword [esp + 0x24], ecx
je 0x462391
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x70]
sub eax, ebx
cmp ecx, eax
jge 0x46238b
mov dword [esp + 0x18], ecx
jmp 0x46239d
mov dword [esp + 0x18], eax
jmp 0x46239d
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x74]
mov dword [esp + 0x6c], ecx
cmp ecx, eax
jl 0x4623ad
mov dword [esp + 0x6c], eax
mov ebx, dword [esp + 0x30]
test ebx, ebx
je 0x4623cd
mov ecx, dword [esp + 0x1c]
mov eax, ebp
sub eax, ebx
cmp ecx, eax
jge 0x4623c7
mov dword [esp + 0x64], ecx
jmp 0x4623d9
mov dword [esp + 0x64], eax
jmp 0x4623d9
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x64], 0
mov eax, dword [esp + 0x78]
mov dword [esp + 0x1c], ecx
cmp ecx, eax
jl 0x4623e9
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x114]
mov edx, 0xff00ff
mov ecx, dword [eax + 0x4c]
test ecx, ecx
jne 0x4623fe
xor edx, edx
mov ecx, dword [esp + 0x110]
push edx
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
mov edx, eax
sub edx, edi
mov edi, dword [esp + 0x11c]
add edx, dword [edi + 0xc]
push edx
mov edx, dword [esp + 0x48]
add edx, ecx
push edx
push eax
mov eax, dword [esp + 0x11c]
push ecx
push eax
call fcn.0044e6f0
mov esi, dword [esi + 4]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x50], esi
add esp, 0x18
mov eax, dword [esi + 0x20]
mov edx, dword [ecx + 0x48]
imul eax, dword [esp + 0xb0]
mov esi, dword [esp + 0xac]
mov dword [esp + 0x10], edx
mov edx, dword [edi + 4]
lea ecx, [ebp - 1]
add eax, esi
and ecx, edx
mov dword [esp + 0x28], ecx
je 0x46246f
mov edx, ebp
sub edx, ecx
mov dword [esp + 0x28], edx
mov ecx, dword [esp + 0x114]
mov dword [esp + 0x68], 0
mov edx, dword [ecx + 0x50]
test edx, edx
jbe 0x462bfb
mov edi, dword [esp + 0x64]
shl eax, 2
add ecx, 0x54
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x18]
jmp 0x4624b8
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x64]
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x3c]
mov edx, dword [edx]
mov esi, dword [edx]
mov edx, dword [esp + 0xac]
add esi, edx
test ebx, ebx
mov dword [esp + 0x40], esi
je 0x46268a
mov edx, dword [esp + 0x110]
mov dword [esp + 0x4c], 0
test eax, eax
mov edx, dword [edx]
mov dword [esp + 0x50], 0
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x110]
mov edx, dword [edx + 4]
mov dword [esp + 0x48], edx
je 0x462578
mov dword [esp + 0x7c], eax
lea eax, [ecx + eax - 1]
mov dword [esp + 0x84], eax
lea eax, [edi + ebx - 1]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x44]
lea edx, [edx + edi - 1]
mov dword [esp + 0x80], ebx
lea eax, [eax + ecx - 1]
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], eax
mov eax, dword [esi]
test eax, eax
je 0x462567
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x7c]
push ecx
mov eax, dword [edx + eax*4]
lea edx, [esp + 0x48]
mov ecx, dword [eax]
mov eax, dword [esp + 0x110]
push ecx
push edx
push eax
call fcn.00448470
mov ecx, dword [esp + 0x28]
add esp, 0x10
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
add esi, 4
add eax, ecx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x46261e
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], ebx
lea eax, [ecx - 1]
lea ecx, [edi + ebx - 1]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x84], eax
add eax, ecx
mov dword [esp + 0x4c], eax
lea eax, [edx + edi - 1]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x20]
test eax, eax
jle 0x46261e
mov dword [esp + 0x34], eax
mov eax, dword [esi]
test eax, eax
je 0x4625f4
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x7c]
push ecx
mov eax, dword [edx + eax*4]
lea edx, [esp + 0x48]
mov ecx, dword [eax]
mov eax, dword [esp + 0x110]
push ecx
push edx
push eax
call fcn.00448470
add esp, 0x10
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x4c]
add edx, eax
add ecx, eax
mov eax, dword [esp + 0x34]
add esi, 4
dec eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x34], eax
jne 0x4625ca
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x74]
test eax, eax
je 0x46268a
mov ecx, dword [esp + 0x6c]
mov esi, dword [esi]
lea edx, [edx + edi - 1]
mov dword [esp + 0x7c], 0
lea eax, [ecx - 1]
lea ecx, [edi + ebx - 1]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x84], eax
add eax, ecx
test esi, esi
mov dword [esp + 0x80], ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edx
je 0x46268a
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x7c]
push eax
mov edx, dword [ecx + esi*4]
lea ecx, [esp + 0x48]
mov eax, dword [edx]
mov edx, dword [esp + 0x110]
push eax
push ecx
push edx
call fcn.00448470
add esp, 0x10
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4629fa
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x462782
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4626b3
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x20]
jmp 0x4626b5
xor eax, eax
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x28]
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd8], 0
lea esi, [edx + eax*4]
mov eax, dword [esp + 0x110]
mov edx, dword [eax]
mov eax, dword [eax + 4]
add eax, edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0xb4], edx
mov dword [esp + 0xb8], eax
lea ecx, [edi + ecx - 1]
lea edx, [edx + edi - 1]
mov dword [esp + 0xdc], ecx
lea ecx, [ebp - 1]
mov dword [esp + 0xe0], ecx
add ecx, eax
mov dword [esp + 0xc0], ecx
mov ecx, dword [esp + 0x24]
test ecx, ecx
mov dword [esp + 0xbc], edx
jle 0x462782
mov ebx, dword [esp + 0x10c]
mov edi, ecx
mov ecx, dword [esi]
test ecx, ecx
je 0x46275c
mov edx, dword [esp + 0x10]
lea eax, [esp + 0xd4]
push eax
mov eax, dword [edx + ecx*4]
lea edx, [esp + 0xb8]
mov ecx, dword [eax]
push ecx
push edx
push ebx
call fcn.00448470
mov eax, dword [esp + 0xc8]
add esp, 0x10
mov ecx, dword [esp + 0x38]
add eax, ebp
mov dword [esp + 0xb8], eax
mov edx, dword [ecx + 0x20]
lea esi, [esi + edx*4]
mov edx, dword [esp + 0xc0]
add edx, ebp
dec edi
mov dword [esp + 0xc0], edx
jne 0x46272c
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4628f9
mov eax, dword [esp + 0x30]
test eax, eax
je 0x46279f
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x20]
jmp 0x4627a1
xor ecx, ecx
mov eax, dword [esp + 0x2c]
cmp eax, 1
jle 0x4627af
mov eax, 1
add eax, ecx
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x38]
lea esi, [ecx + eax*4]
mov ecx, dword [esp + 0x110]
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
mov eax, dword [ecx]
add eax, ebx
mov ebx, dword [ecx + 4]
mov ecx, dword [esp + 0x14]
add ebx, edi
mov edi, dword [edx + 0x20]
mov edx, dword [esp + 0x20]
sub edi, edx
lea edx, [ecx - 1]
lea ecx, [ebp - 1]
mov dword [esp + 0xec], edx
mov dword [esp + 0xf0], ecx
add ecx, ebx
mov dword [esp + 0xa8], ecx
mov ecx, dword [esp + 0x24]
add edx, eax
mov dword [esp + 0x9c], eax
test ecx, ecx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], edx
jle 0x4628f9
mov edx, ecx
mov dword [esp + 0x34], edx
mov ecx, dword [esp + 0x20]
test ecx, ecx
jle 0x4628a1
mov ebx, ecx
mov ecx, dword [esi]
test ecx, ecx
je 0x46287e
mov edx, dword [esp + 0x10]
lea eax, [esp + 0xe4]
push eax
mov eax, dword [edx + ecx*4]
lea edx, [esp + 0xa0]
mov ecx, dword [eax]
mov eax, dword [esp + 0x110]
push ecx
push edx
push eax
call fcn.00448470
mov eax, dword [esp + 0xac]
add esp, 0x10
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xa4]
add esi, 4
add eax, ecx
add edx, ecx
dec ebx
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa4], edx
jne 0x462847
mov ecx, dword [esp + 0x110]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0xa0]
lea esi, [esi + edi*4]
mov eax, dword [ecx]
mov ecx, dword [esp + 0x18]
add eax, ecx
lea ecx, [edx - 1]
mov edx, dword [esp + 0xa8]
add ecx, eax
mov dword [esp + 0xa4], ecx
mov ecx, dword [esp + 0x34]
add ebx, ebp
add edx, ebp
dec ecx
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa8], edx
mov dword [esp + 0x34], ecx
jne 0x46283d
mov eax, dword [esp + 0x74]
xor ebx, ebx
cmp eax, ebx
je 0x4629fa
cmp dword [esp + 0x30], ebx
je 0x462916
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x20]
jmp 0x462918
xor ecx, ecx
mov eax, dword [esp + 0x2c]
cmp eax, 1
jle 0x462926
mov eax, 1
add eax, ecx
mov ecx, dword [esp + 0x20]
add eax, ecx
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x6c]
mov edi, dword [esp + 0x70]
lea esi, [ecx + eax*4]
mov ecx, dword [esp + 0x110]
mov dword [esp + 0xf4], ebx
mov dword [esp + 0xf8], ebx
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
sub eax, edx
add eax, edi
mov edi, dword [esp + 0x28]
add ecx, edi
dec edx
mov dword [esp + 0xfc], edx
lea edi, [ebp - 1]
mov dword [esp + 0xc4], eax
add edx, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x100], edi
add edi, ecx
cmp eax, ebx
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], edx
mov dword [esp + 0xd0], edi
jle 0x4629fa
mov ebx, dword [esp + 0x10c]
mov edi, eax
mov eax, dword [esi]
test eax, eax
je 0x4629d4
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xf4]
push edx
mov edx, dword [ecx + eax*4]
lea ecx, [esp + 0xc8]
mov eax, dword [edx]
push eax
push ecx
push ebx
call fcn.00448470
mov ecx, dword [esp + 0xd8]
add esp, 0x10
mov edx, dword [esp + 0x38]
add ecx, ebp
mov dword [esp + 0xc8], ecx
mov eax, dword [edx + 0x20]
mov edx, dword [esp + 0xd0]
add edx, ebp
dec edi
lea esi, [esi + eax*4]
mov dword [esp + 0xd0], edx
jne 0x4629a4
mov eax, dword [esp + 0x78]
xor ebx, ebx
cmp eax, ebx
je 0x462bd5
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
xor ecx, ecx
cmp esi, ebx
mov dword [esp + 0x5c], ebx
setne cl
add ecx, eax
imul eax, ebp
imul ecx, dword [edx + 0x20]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x60], ebx
lea esi, [edx + ecx*4]
mov ecx, dword [esp + 0x110]
mov edi, dword [ecx + 4]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x28]
add eax, edi
add eax, ecx
mov ecx, dword [esp + 0x2c]
cmp ecx, ebx
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], eax
je 0x462acc
mov edi, dword [esp + 0x18]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], ebx
lea ecx, [edi + ecx - 1]
lea edx, [edx + edi - 1]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x1c]
dec ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x98], ecx
add ecx, eax
mov dword [esp + 0x60], ecx
mov ecx, dword [esi]
cmp ecx, ebx
je 0x462abf
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x8c]
push edx
mov ecx, dword [eax + ecx*4]
lea eax, [esp + 0x58]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x110]
push edx
push eax
push ecx
call fcn.00448470
mov eax, dword [esp + 0x68]
add esp, 0x10
mov ecx, dword [esp + 0x54]
add esi, 4
add ecx, edi
mov dword [esp + 0x54], ecx
cmp dword [esp + 0x20], ebx
je 0x462b66
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x54]
xor edx, edx
mov dword [esp + 0x8c], edx
lea ecx, [edi - 1]
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x94], ecx
dec edx
add ecx, ebx
mov dword [esp + 0x98], edx
mov dword [esp + 0x5c], ecx
lea ecx, [eax + edx]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x20]
test ecx, ecx
jle 0x462b66
mov ebx, ecx
mov ecx, dword [esi]
test ecx, ecx
je 0x462b4c
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x8c]
push edx
mov ecx, dword [eax + ecx*4]
lea eax, [esp + 0x58]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x110]
push edx
push eax
push ecx
call fcn.00448470
mov eax, dword [esp + 0x68]
add esp, 0x10
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x5c]
add esi, 4
add ecx, edi
add edx, edi
dec ebx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x5c], edx
jne 0x462b1b
mov ecx, dword [esp + 0x74]
test ecx, ecx
je 0x462bd5
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x54]
xor edi, edi
lea ecx, [edx - 1]
mov edx, dword [esp + 0x1c]
dec edx
mov dword [esp + 0x94], ecx
add ecx, ebx
add eax, edx
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], edi
mov dword [esp + 0x98], edx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
mov esi, dword [esi]
cmp esi, edi
je 0x462bd5
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x8c]
push eax
mov edx, dword [ecx + esi*4]
lea ecx, [esp + 0x58]
mov eax, dword [edx]
mov edx, dword [esp + 0x110]
push eax
push ecx
push edx
call fcn.00448470
add esp, 0x10
mov ecx, dword [esp + 0x114]
mov eax, dword [esp + 0x68]
mov esi, dword [esp + 0x3c]
inc eax
mov edx, dword [ecx + 0x50]
add esi, 4
cmp eax, edx
mov dword [esp + 0x68], eax
mov dword [esp + 0x3c], esi
jb 0x4624a8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret