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

Disassembly:
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub esp, 0x94
push ebp
mov ebp, dword [esp + 0xa0]
lea eax, [esp + 0x34]
push eax
push ecx
push ebp
push edx
call fcn.0048a000
add esp, 0x10
test eax, eax
je 0x462dd7
mov eax, 1
pop ebp
add esp, 0x94
ret
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x50]
push ebx
mov ebx, dword [esp + 0x3c]
push esi
mov esi, dword [esp + 0x50]
sub ecx, esi
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0xb0]
mov ecx, dword [ecx + 0xc]
push edi
mov edi, dword [esp + 0x58]
sub edx, edi
mov dword [esp + 0x18], ecx
imul ecx, edi
mov dword [esp + 0x10], edx
mov edx, dword [ebp + 0xc]
imul eax, edx
lea ecx, [ecx + esi*4]
mov esi, dword [esp + 0xb4]
mov edi, dword [esi + 8]
lea eax, [eax + ebx*4]
add eax, dword [ebp + 8]
add ecx, edi
cmp byte [esp + 0x40], 0
mov dword [esp + 0x20], edx
je 0x462fd6
mov esi, dword [esp + 0x1c]
mov edi, esi
sar edi, 3
mov ebp, esi
and ebp, 7
mov dword [esp + 0x14], edi
mov edi, ebp
sub edi, dword [esp + 0x4c]
mov dword [esp + 0x20], ebp
add edi, ebx
lea edx, [edx + edi*4]
mov dword [esp + 0x1c], edx
mov edx, ebp
sub edx, esi
test ebp, ebp
mov esi, dword [esp + 0x18]
lea edx, [esi + edx*4]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x10]
jne 0x462f19
test edx, edx
jle 0x4630ad
mov ebx, dword [esp + 0x14]
mov ebp, edx
mov edx, dword [esp + 0xb8]
lea esp, [esp]
test ebx, ebx
jle 0x462efd
mov edi, ebx
mov esi, dword [eax]
cmp esi, edx
je 0x462eae
mov dword [ecx], esi
mov esi, dword [eax + 4]
cmp esi, edx
je 0x462eb8
mov dword [ecx + 4], esi
mov esi, dword [eax + 8]
cmp esi, edx
je 0x462ec2
mov dword [ecx + 8], esi
mov esi, dword [eax + 0xc]
cmp esi, edx
je 0x462ecc
mov dword [ecx + 0xc], esi
mov esi, dword [eax + 0x10]
cmp esi, edx
je 0x462ed6
mov dword [ecx + 0x10], esi
mov esi, dword [eax + 0x14]
cmp esi, edx
je 0x462ee0
mov dword [ecx + 0x14], esi
mov esi, dword [eax + 0x18]
cmp esi, edx
je 0x462eea
mov dword [ecx + 0x18], esi
mov esi, dword [eax + 0x1c]
cmp esi, edx
je 0x462ef4
mov dword [ecx + 0x1c], esi
add ecx, 0x20
add eax, 0x20
dec edi
jne 0x462ea6
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
add ecx, esi
add eax, edi
dec ebp
jne 0x462ea0
pop edi
pop esi
pop ebx
xor eax, eax
pop ebp
add esp, 0x94
ret
test edx, edx
jle 0x4630ad
mov esi, dword [esp + 0xb8]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x10], edx
test ebx, ebx
jle 0x462f8d
mov edi, ebx
mov edx, dword [eax]
cmp edx, esi
je 0x462f3e
mov dword [ecx], edx
mov edx, dword [eax + 4]
cmp edx, esi
je 0x462f48
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
cmp edx, esi
je 0x462f52
mov dword [ecx + 8], edx
mov edx, dword [eax + 0xc]
cmp edx, esi
je 0x462f5c
mov dword [ecx + 0xc], edx
mov edx, dword [eax + 0x10]
cmp edx, esi
je 0x462f66
mov dword [ecx + 0x10], edx
mov edx, dword [eax + 0x14]
cmp edx, esi
je 0x462f70
mov dword [ecx + 0x14], edx
mov edx, dword [eax + 0x18]
cmp edx, esi
je 0x462f7a
mov dword [ecx + 0x18], edx
mov edx, dword [eax + 0x1c]
cmp edx, esi
je 0x462f84
mov dword [ecx + 0x1c], edx
add ecx, 0x20
add eax, 0x20
dec edi
jne 0x462f36
test ebp, ebp
jle 0x462fae
mov ebx, ecx
mov edx, eax
sub ebx, eax
mov edi, dword [edx]
cmp edi, esi
je 0x462fa0
mov dword [ebx + edx], edi
add edx, 4
dec ebp
jne 0x462f97
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
add ecx, edx
mov edx, dword [esp + 0x10]
add eax, edi
dec edx
mov dword [esp + 0x10], edx
jne 0x462f30
pop edi
pop esi
pop ebx
xor eax, eax
pop ebp
add esp, 0x94
ret
mov esi, dword [esp + 0x80]
shl esi, 2
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x74]
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x78]
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x88]
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x7c]
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x8c]
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x84]
mov ebp, edx
imul ebp, dword [esp + 0x90]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x10]
test esi, esi
jle 0x4630ad
mov dword [esp + 0x10], esi
jmp 0x463040
mov edx, dword [esp + 0x20]
lea ecx, [ecx]
mov esi, dword [esp + 0x14]
add esi, dword [esp + 0x38]
mov dword [esp + 0x14], esi
js 0x463058
add eax, edx
sub esi, dword [esp + 0x24]
mov dword [esp + 0x14], esi
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x30]
xor edx, edx
test ebx, ebx
mov dword [esp + 0x34], eax
jle 0x463096
lea ebx, [ebx]
add edi, dword [esp + 0x3c]
js 0x46307f
mov esi, dword [esp + 0x28]
add eax, 4
sub edi, esi
mov esi, dword [eax]
cmp esi, dword [esp + 0xb8]
je 0x46308d
mov dword [ecx + edx*4], esi
add eax, dword [esp + 0x2c]
inc edx
cmp edx, ebx
jl 0x463070
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
add eax, ebp
add ecx, esi
dec edx
mov dword [esp + 0x10], edx
jne 0x463039
pop edi
pop esi
pop ebx
xor eax, eax
pop ebp
add esp, 0x94
ret