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

Disassembly:
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub esp, 0x98
push ebp
mov ebp, dword [esp + 0xa4]
lea eax, [esp + 0x38]
push eax
push ecx
push ebp
push edx
call fcn.0048a000
add esp, 0x10
test eax, eax
je 0x4630f7
mov eax, 1
pop ebp
add esp, 0x98
ret
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x54]
push ebx
mov ebx, dword [esp + 0x40]
push esi
mov esi, dword [esp + 0x54]
sub ecx, esi
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0xb4]
mov ecx, dword [ecx + 0xc]
mov edx, dword [esp + 0x60]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x18]
imul eax, ecx
lea eax, [eax + ebx*4]
add eax, dword [ebp + 8]
mov ebp, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x5c]
imul ebp, edi
sub edx, edi
mov edi, dword [esp + 0xb8]
lea esi, [ebp + esi*4]
add esi, dword [edi + 8]
cmp byte [esp + 0x44], 0
je 0x4633c1
mov edi, dword [esp + 0x18]
mov ebp, edi
sar ebp, 3
mov dword [esp + 0x18], ebp
mov ebp, edi
and ebp, 7
mov dword [esp + 0x14], ebp
sub ebp, dword [esp + 0x50]
add ebp, ebx
lea ecx, [ecx + ebp*4]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x20], ecx
mov ecx, ebp
sub ecx, edi
test ebp, ebp
mov edi, dword [esp + 0x10]
lea ecx, [edi + ecx*4]
mov dword [esp + 0x24], ecx
jne 0x463293
test edx, edx
jle 0x4634b7
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x10], edx
test ebx, ebx
jle 0x46326b
mov ecx, dword [esp + 0xbc]
and ecx, 0xffffff
mov edi, ebx
lea esp, [esp]
mov edx, dword [eax]
mov ebp, edx
and ebp, 0xffffff
cmp ebp, ecx
je 0x4631e0
mov dword [esi], edx
mov edx, dword [eax + 4]
mov ebp, edx
and ebp, 0xffffff
cmp ebp, ecx
je 0x4631f2
mov dword [esi + 4], edx
mov edx, dword [eax + 8]
mov ebp, edx
and ebp, 0xffffff
cmp ebp, ecx
je 0x463204
mov dword [esi + 8], edx
mov edx, dword [eax + 0xc]
mov ebp, edx
and ebp, 0xffffff
cmp ebp, ecx
je 0x463216
mov dword [esi + 0xc], edx
mov edx, dword [eax + 0x10]
mov ebp, edx
and ebp, 0xffffff
cmp ebp, ecx
je 0x463228
mov dword [esi + 0x10], edx
mov edx, dword [eax + 0x14]
mov ebp, edx
and ebp, 0xffffff
cmp ebp, ecx
je 0x46323a
mov dword [esi + 0x14], edx
mov edx, dword [eax + 0x18]
mov ebp, edx
and ebp, 0xffffff
cmp ebp, ecx
je 0x46324c
mov dword [esi + 0x18], edx
mov edx, dword [eax + 0x1c]
mov ebp, edx
and ebp, 0xffffff
cmp ebp, ecx
je 0x46325e
mov dword [esi + 0x1c], edx
add esi, 0x20
add eax, 0x20
dec edi
jne 0x4631d0
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
add esi, edi
add eax, edx
dec ecx
mov dword [esp + 0x10], ecx
jne 0x4631b5
pop edi
pop esi
pop ebx
xor eax, eax
pop ebp
add esp, 0x98
ret
test edx, edx
jle 0x4634b7
mov dword [esp + 0x1c], edx
nop
mov ebx, dword [esp + 0x18]
test ebx, ebx
jle 0x46335b
mov ecx, dword [esp + 0xbc]
and ecx, 0xffffff
lea esp, [esp]
mov edx, dword [eax]
mov edi, edx
and edi, 0xffffff
cmp edi, ecx
je 0x4632d0
mov dword [esi], edx
mov edx, dword [eax + 4]
mov edi, edx
and edi, 0xffffff
cmp edi, ecx
je 0x4632e2
mov dword [esi + 4], edx
mov edx, dword [eax + 8]
mov edi, edx
and edi, 0xffffff
cmp edi, ecx
je 0x4632f4
mov dword [esi + 8], edx
mov edx, dword [eax + 0xc]
mov edi, edx
and edi, 0xffffff
cmp edi, ecx
je 0x463306
mov dword [esi + 0xc], edx
mov edx, dword [eax + 0x10]
mov edi, edx
and edi, 0xffffff
cmp edi, ecx
je 0x463318
mov dword [esi + 0x10], edx
mov edx, dword [eax + 0x14]
mov edi, edx
and edi, 0xffffff
cmp edi, ecx
je 0x46332a
mov dword [esi + 0x14], edx
mov edx, dword [eax + 0x18]
mov edi, edx
and edi, 0xffffff
cmp edi, ecx
je 0x46333c
mov dword [esi + 0x18], edx
mov edx, dword [eax + 0x1c]
mov edi, edx
and edi, 0xffffff
cmp edi, ecx
je 0x46334e
mov dword [esi + 0x1c], edx
add esi, 0x20
add eax, 0x20
dec ebx
jne 0x4632c0
test ebp, ebp
jle 0x463399
mov edi, dword [esp + 0xbc]
mov ebx, esi
and edi, 0xffffff
mov ecx, eax
sub ebx, eax
mov dword [esp + 0x10], ebp
mov edx, dword [ecx]
mov ebp, edx
and ebp, 0xffffff
cmp ebp, edi
je 0x463387
mov dword [ebx + ecx], edx
mov edx, dword [esp + 0x10]
add ecx, 4
dec edx
mov dword [esp + 0x10], edx
jne 0x463376
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
add esi, edi
add eax, edx
dec ecx
mov dword [esp + 0x1c], ecx
jne 0x4632a0
pop edi
pop esi
pop ebx
xor eax, eax
pop ebp
add esp, 0x98
ret
mov edi, dword [esp + 0x84]
shl edi, 2
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x78]
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x8c]
mov ebp, ecx
imul ebp, dword [esp + 0x94]
test edx, edx
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x80]
mov dword [esp + 0x40], edi
mov edi, dword [esp + 0x90]
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x88]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x14], edi
jle 0x4634b7
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x18]
lea esp, [esp]
mov edi, dword [esp + 0x14]
add edi, dword [esp + 0x24]
mov dword [esp + 0x14], edi
js 0x46344a
mov ebx, dword [esp + 0x3c]
add eax, ecx
sub edi, ebx
mov dword [esp + 0x14], edi
mov ebx, dword [esp + 0x28]
xor edi, edi
test edx, edx
mov dword [esp + 0x38], eax
jle 0x46349c
mov ecx, dword [esp + 0xbc]
and ecx, 0xffffff
add ebx, dword [esp + 0x34]
js 0x463474
mov edx, dword [esp + 0x40]
add eax, 4
sub ebx, edx
mov edx, dword [eax]
mov ebp, edx
and ebp, 0xffffff
cmp ebp, ecx
je 0x463485
mov dword [esi + edi*4], edx
mov ebp, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
add eax, ebp
inc edi
cmp edi, edx
jl 0x463465
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x20]
add eax, ebp
add esi, ebx
dec edi
mov dword [esp + 0x20], edi
jne 0x463430
pop edi
pop esi
pop ebx
xor eax, eax
pop ebp
add esp, 0x98
ret