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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x607038
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x767500]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
lea ecx, [esp + 0x54]
call fcn.00424070
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
mov ebx, eax
cmp ecx, eax
jbe 0x415d08
call fcn.0055d9b4
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
mov esi, dword [esp + 0x54]
mov edi, ecx
cmp ecx, eax
jbe 0x415d17
call fcn.0055d9b4
mov eax, dword [esp + 0x54]
push ebx
push esi
push edi
push eax
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x68]
call fcn.004245f0
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov esi, eax
sar eax, 8
and eax, 3
sar esi, 4
mov edx, eax
and esi, 0xf
cmp edx, 3
mov dword [esp + 0x28], esi
mov dword [esp + 0x1c], edx
jl 0x415d92
mov eax, dword [esp + 0x60]
xor esi, esi
cmp eax, esi
je 0x415d62
push eax
call fcn.0055d56e
add esp, 4
mov eax, dword [esp + 0x54]
push eax
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
call fcn.0055d56e
add esp, 4
xor al, al
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0x44]
xor ebx, ebx
lea eax, [ecx - 1]
mov dword [esp + 0x14], ebx
test eax, eax
jle 0x415f32
mov dword [esp + 0x18], edi
jmp 0x415db4
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
mov ebx, eax
sar ebx, 8
and ebx, 3
cmp edx, ebx
jne 0x415f14
sar eax, 4
and eax, 0xf
mov edx, eax
mov dword [esp + 0x20], edx
cmp esi, edx
je 0x415f14
mov eax, esi
sub eax, edx
cdq
xor eax, edx
sub eax, edx
cmp eax, 2
mov dword [esp + 0x2c], eax
jg 0x415f14
mov ebx, dword [esp + 0x14]
inc ebx
cmp ebx, ecx
jge 0x415f14
mov ecx, dword [edi + ebx*4]
mov edx, ecx
sar edx, 8
and edx, 3
cmp dword [esp + 0x1c], edx
jne 0x415f14
mov eax, ecx
sar eax, 4
and eax, 0xf
cmp esi, eax
je 0x415f0a
cmp dword [esp + 0x20], eax
je 0x415f0a
mov edi, eax
neg edi
lea eax, [edi + esi]
cdq
mov esi, eax
xor esi, edx
sub esi, edx
cmp esi, 2
jg 0x415f03
mov eax, dword [esp + 0x20]
add eax, edi
cdq
xor eax, edx
sub eax, edx
add eax, dword [esp + 0x2c]
add eax, esi
cmp eax, 4
jne 0x415f03
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
and ecx, 0x13f0
shl ecx, 0xc
sar eax, 4
and eax, 0x13f
or ecx, eax
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x58]
call fcn.004241a0
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x58]
mov esi, eax
call fcn.0042c140
mov edx, dword [esi + 4]
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esi]
push edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push edx
push eax
lea eax, [esp + 0x58]
call fcn.00424de0
add esp, 0x14
push eax
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x5c]
call fcn.004241a0
mov ecx, eax
call fcn.00435850
test al, al
je 0x415f03
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x58]
call fcn.00424220
mov eax, ebx
or eax, 0x40
shl eax, 4
or eax, dword [esp + 0x14]
lea ecx, [esp + 0x24]
shl eax, 8
push ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x28], eax
call fcn.00424220
mov esi, dword [esp + 0x28]
mov edi, dword [ebp + 8]
inc ebx
cmp ebx, dword [edi + 0x44]
jl 0x415e01
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 0x44]
add dword [esp + 0x18], 4
inc eax
lea edx, [ecx - 1]
cmp eax, edx
mov dword [esp + 0x14], eax
jl 0x415db0
xor ebx, ebx
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
sub ecx, eax
test ecx, 0xfffffffc
jne 0x415f81
cmp eax, ebx
je 0x415f51
push eax
call fcn.0055d56e
add esp, 4
mov edx, dword [esp + 0x54]
push edx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
call fcn.0055d56e
add esp, 4
xor al, al
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, ebx
je 0x415f8e
push eax
call fcn.0055d56e
add esp, 4
mov eax, dword [esp + 0x54]
push eax
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
call fcn.0055d56e
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc