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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov ecx, dword [ebp + 0xc]
cmp ecx, 0x4ff
ja 0x41a16e
mov eax, dword [ebp + 8]
mov ebx, ecx
shr ecx, 5
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax]
test ecx, ecx
je 0x419de5
lea edx, [ecx - 1]
cmp edx, 0x27
ja 0x41a138
mov esi, dword [ebp - 0x10]
lea edx, [esi - 1]
lea esi, [eax + esi*4]
nop
lea edi, [edx + ecx]
cmp edi, 0x27
ja 0x41a10c
mov edi, dword [eax + ecx*4]
mov dword [esi + ecx*4], edi
dec ecx
jne 0x419dd0
mov edx, ebx
cmp ebx, 0x20
jb 0x41a079
mov esi, dword [ebp - 0x10]
mov ecx, 1
mov dword [eax + 4], 0
cmp esi, 2
cmovae ecx, esi
cmp edx, 0x40
jb 0x41a079
cmp ecx, 2
mov dword [eax + 8], 0
je 0x41a079
cmp ecx, 3
mov dword [eax + 0xc], 0
je 0x41a079
cmp ecx, 4
mov dword [eax + 0x10], 0
je 0x41a079
cmp ecx, 5
mov dword [eax + 0x14], 0
je 0x41a079
cmp ecx, 6
mov dword [eax + 0x18], 0
je 0x41a079
cmp ecx, 7
mov dword [eax + 0x1c], 0
je 0x41a079
cmp ecx, 8
mov dword [eax + 0x20], 0
je 0x41a079
cmp ecx, 9
mov dword [eax + 0x24], 0
je 0x41a079
cmp ecx, 0xa
mov dword [eax + 0x28], 0
je 0x41a079
cmp ecx, 0xb
mov dword [eax + 0x2c], 0
je 0x41a079
cmp ecx, 0xc
mov dword [eax + 0x30], 0
je 0x41a079
cmp ecx, 0xd
mov dword [eax + 0x34], 0
je 0x41a079
cmp ecx, 0xe
mov dword [eax + 0x38], 0
je 0x41a079
cmp ecx, 0xf
mov dword [eax + 0x3c], 0
je 0x41a079
cmp ecx, 0x10
mov dword [eax + 0x40], 0
je 0x41a079
cmp ecx, 0x11
mov dword [eax + 0x44], 0
je 0x41a079
cmp ecx, 0x12
mov dword [eax + 0x48], 0
je 0x41a079
cmp ecx, 0x13
mov dword [eax + 0x4c], 0
je 0x41a079
cmp ecx, 0x14
mov dword [eax + 0x50], 0
je 0x41a079
cmp ecx, 0x15
mov dword [eax + 0x54], 0
je 0x41a079
cmp ecx, 0x16
mov dword [eax + 0x58], 0
je 0x41a079
cmp ecx, 0x17
mov dword [eax + 0x5c], 0
je 0x41a079
cmp ecx, 0x18
mov dword [eax + 0x60], 0
je 0x41a079
cmp ecx, 0x19
mov dword [eax + 0x64], 0
je 0x41a079
cmp ecx, 0x1a
mov dword [eax + 0x68], 0
je 0x41a079
cmp ecx, 0x1b
mov dword [eax + 0x6c], 0
je 0x41a079
cmp ecx, 0x1c
mov dword [eax + 0x70], 0
je 0x41a079
cmp ecx, 0x1d
mov dword [eax + 0x74], 0
je 0x41a079
cmp ecx, 0x1e
mov dword [eax + 0x78], 0
je 0x41a079
cmp ecx, 0x1f
mov dword [eax + 0x7c], 0
je 0x41a079
cmp ecx, 0x20
mov dword [eax + 0x80], 0
je 0x41a079
cmp ecx, 0x21
mov dword [eax + 0x84], 0
je 0x41a079
cmp ecx, 0x22
mov dword [eax + 0x88], 0
je 0x41a079
cmp ecx, 0x23
mov dword [eax + 0x8c], 0
je 0x41a079
cmp ecx, 0x24
mov dword [eax + 0x90], 0
je 0x41a079
cmp ecx, 0x25
mov dword [eax + 0x94], 0
je 0x41a079
cmp ecx, 0x26
mov dword [eax + 0x98], 0
je 0x41a079
cmp ecx, 0x27
mov dword [eax + 0x9c], 0
je 0x41a079
cmp ecx, 0x28
mov dword [eax + 0xa0], 0
jne 0x41a184
mov edi, dword [eax]
and edx, 0x1f
mov ecx, edx
mov dword [ebp - 0x14], edx
add edi, dword [ebp - 0x10]
test edx, edx
je 0x41a102
lea ecx, [edi - 1]
cmp ecx, 0x27
ja 0x41a14a
mov esi, dword [eax + edi*4]
mov ecx, ebx
neg ecx
and ecx, 0x1f
mov dword [ebp - 0x20], ecx
mov edx, esi
shr edx, cl
mov ecx, edi
test edx, edx
je 0x41a0bd
cmp edi, 0x27
ja 0x41a15c
mov dword [eax + edi*4 + 4], edx
lea ecx, [edi + 1]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x10]
inc ecx
cmp ecx, edi
mov dword [ebp - 0x1c], ecx
jae 0x41a0f5
nop dword [eax + eax]
lea ecx, [edi - 2]
cmp ecx, 0x28
jae 0x41a125
mov edx, dword [eax + edi*4 - 4]
mov ecx, dword [ebp - 0x14]
shl esi, cl
mov ecx, dword [ebp - 0x20]
mov ebx, edx
shr ebx, cl
or ebx, esi
mov esi, edx
mov dword [eax + edi*4], ebx
dec edi
cmp dword [ebp - 0x1c], edi
jb 0x41a0d0
mov edx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
shl dword [eax + edx*4 + 4], cl
mov dword [eax], edi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x10]
lea eax, [eax + ecx - 1]
push 0x50f578
push 0x28
push eax
call fcn.00414b90
add esp, 0xc
ud2
push 0x50f578
push 0x28
push 0xffffffffffffffff
call fcn.00414b90
add esp, 0xc
ud2
push 0x50f578
push 0x28
push edx
call fcn.00414b90
add esp, 0xc
ud2
push 0x50f578
push 0x28
push ecx
call fcn.00414b90
add esp, 0xc
ud2
push 0x50f578
push 0x28
push edi
call fcn.00414b90
add esp, 0xc
ud2
push 0x50f578
push 0x1d
push 0x50f5a2
call fcn.00414ad0
add esp, 0xc
ud2
push 0x50f578
push 0x28
push 0x28
call fcn.00414b90
add esp, 0xc
ud2