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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x650287
push eax
mov dword fs:[0], esp
sub esp, 0x134
push ebx
push ebp
push esi
mov esi, dword [esp + 0x15c]
test esi, esi
push edi
jne 0x4a1f41
xor eax, eax
jmp 0x4a2484
mov ebp, dword [esp + 0x164]
lea ecx, [esp + 0x28]
mov dword [esp + 0x30], str.Alpha
mov dword [esp + 0x34], 5
mov eax, dword [ebp + 8]
mov edi, dword [ebp]
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebp + 4]
sub eax, edi
mov edi, 1
mov dword [esp + 0x40], eax
lea eax, [esp + 0x38]
push eax
push ecx
mov ecx, esi
sub ebx, edx
mov dword [esp + 0x40], 0x6d3b2c
mov dword [esp + 0x44], edi
call fcn.0048ff10
lea edx, [esp + 0x30]
mov ecx, eax
push edx
mov dword [esp + 0x150], 0
call fcn.00491280
test al, al
sete al
and eax, 0xff
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], eax
mov dword [esp + 0x14c], 0xffffffff
call fcn.00490f90
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], 0x6dfb44
push ecx
mov ecx, esi
mov dword [esp + 0x40], edi
call fcn.00490160
test eax, eax
mov dword [esp + 0x10], eax
je 0x4a2484
lea edx, [esp + 0x28]
mov ecx, esi
push edx
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0x6dfb40
mov dword [esp + 0x30], 2
call fcn.0048fed0
test eax, eax
je 0x4a202d
mov ecx, dword [eax + 4]
cmp ecx, 6
je 0x4a2020
cmp ecx, 7
jne 0x4a202d
push eax
call fcn.004e53e0
add esp, 4
mov dword [esp + 0x24], eax
mov esi, dword [esp + 0x168]
mov eax, dword [ebp + 4]
mov ecx, 6
lea edi, [esp + 0x70]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp]
neg eax
neg ecx
push eax
push ecx
lea ecx, [esp + 0x78]
call fcn.004a2a90
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x158]
mov ecx, dword [esp + 0x154]
push edx
push eax
push ecx
lea ecx, [esp + 0x94]
call fcn.004a6630
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x98]
mov dword [esp + 0x15c], 1
call fcn.004a66d0
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x40]
mov edx, edi
lea ecx, [esp + 0xb8]
neg edx
sbb edx, edx
and dl, 0x10
add edx, 0x108
push edx
push ebx
push eax
call fcn.004c9290
mov ecx, dword [esp + 0xbc]
mov byte [esp + 0x14c], 2
mov esi, ecx
test edi, edi
mov dword [esp + 0x28], esi
je 0x4a2211
lea ecx, [esp + 0x54]
mov dword [esp + 0x54], 0x6dfb3c
push ecx
mov ecx, dword [esp + 0x164]
mov dword [esp + 0x5c], 2
call fcn.00490140
mov ebp, eax
mov dword [esp + 0x18], 0xff000000
test ebp, ebp
je 0x4a2208
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x4c]
push eax
mov dword [esp + 0x50], 0x6df784
mov ecx, dword [edx + 0xc]
lea edx, [esp + 0x48]
push edx
mov dword [esp + 0x58], 2
mov dword [esp + 0x4c], str.Group
mov dword [esp + 0x50], 5
call fcn.00490110
mov ecx, eax
call fcn.0048fed0
test eax, eax
je 0x4a2208
mov ecx, dword [esp + 0x154]
push eax
call fcn.004ada30
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x30], eax
cmp edx, 8
mov dword [esp + 0x14], 8
ja 0x4a2174
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x14]
xor esi, esi
test ecx, ecx
jle 0x4a219f
lea edi, [esp + 0xec]
push esi
mov ecx, ebp
call fcn.0048fa60
fstp dword [edi]
mov eax, dword [esp + 0x14]
inc esi
add edi, 4
cmp esi, eax
jl 0x4a2185
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x1c]
mov edx, dword [eax]
push ecx
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0xf8]
push ecx
mov ecx, eax
call dword [edx + 4]
fld dword [esp + 0x10]
fmul dword [0x674c3c]
call fcn.0046572c
fld dword [esp + 0x18]
fmul dword [0x674c3c]
mov esi, eax
or esi, 0xffffff00
shl esi, 8
call fcn.0046572c
fld dword [esp + 0x1c]
fmul dword [0x674c3c]
or esi, eax
shl esi, 8
call fcn.0046572c
mov edi, dword [esp + 0x20]
or esi, eax
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
mov ecx, esi
push edx
jmp 0x4a2213
push 0
call fcn.004bba30
lea ecx, [esp + 0x5c]
call fcn.00495550
mov ecx, dword [esp + 0x158]
mov edx, dword [esp + 0x15c]
neg edi
sbb edi, edi
lea eax, [esp + 0x5c]
and edi, 0xfffffffd
push eax
mov eax, dword [esp + 0x158]
push ecx
add edi, 3
push edx
push eax
lea ecx, [esp + 0x11c]
mov dword [esp + 0x6c], edi
call fcn.00497230
lea ecx, [esp + 0x70]
lea edx, [esp + 0x88]
push ecx
lea eax, [esp + 0xbc]
push edx
push eax
lea ecx, [esp + 0x118]
mov byte [esp + 0x158], 3
call fcn.00497660
push 0x24
call fcn.0048b430
add esp, 4
mov dword [esp + 0x38], eax
test eax, eax
mov byte [esp + 0x14c], 4
je 0x4a22aa
mov ecx, eax
call fcn.004bb560
mov edi, eax
mov dword [esp + 0x14], edi
jmp 0x4a22b6
mov dword [esp + 0x14], 0
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
push 0
push 0
push 0x108
push ebx
push ecx
mov ecx, edi
mov byte [esp + 0x160], 3
call fcn.004bb5a0
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
mov edx, dword [esi]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x14]
mov ecx, esi
mov dword [esp + 0x1c], eax
call dword [edx + 4]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x14]
push 0x100
mov dword [esp + 0x3c], eax
call fcn.0048b3b0
mov ecx, dword [esp + 0x28]
add esp, 4
test ecx, ecx
mov ebp, eax
je 0x4a2369
xor esi, esi
mov dword [esp + 0x30], esi
fild dword [esp + 0x30]
lea edx, [esp + 0x54]
lea eax, [esp + 0x4c]
push edx
push eax
fmul dword [0x6710e8]
lea edx, [esp + 0x4c]
push 1
push edx
fstp dword [esp + 0x54]
call fcn.004e5820
fld dword [esp + 0x4c]
fmul dword [0x674c3c]
push ecx
fstp dword [esp]
call fcn.004a2d40
mov ecx, dword [esp + 0x28]
add esp, 4
mov byte [esi + ebp], al
inc esi
cmp esi, 0x100
mov dword [esp + 0x30], esi
jl 0x4a2315
mov esi, dword [esp + 0x28]
jmp 0x4a2376
xor eax, eax
mov byte [eax + ebp], al
inc eax
cmp eax, 0x100
jl 0x4a236b
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4a249d
mov eax, dword [esi + 0xc]
cdq
and edx, 7
add eax, edx
sar eax, 3
test ebx, ebx
mov dword [esp + 0x20], eax
jle 0x4a2430
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x30], esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x40]
test ebx, ebx
jle 0x4a2401
xor eax, eax
mov al, byte [esi + 1]
lea ecx, [eax*8]
sub ecx, eax
lea edx, [eax + ecx*4]
lea ecx, [eax + edx*2]
xor eax, eax
mov al, byte [esi + 2]
imul eax, eax, 0x1e
add ecx, eax
xor eax, eax
mov al, byte [esi]
lea edx, [eax + eax*4]
lea eax, [eax + edx*2]
add ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, dword [esp + 0x20]
inc edi
add esi, ecx
mov dl, byte [edx + ebp]
dec ebx
mov byte [edi - 1], dl
jne 0x4a23b6
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x10]
add edi, edx
add esi, ecx
dec eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], esi
mov dword [esp + 0x10], eax
jne 0x4a23ae
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4a243a
mov edx, dword [ecx]
push 1
call dword [edx]
push ebp
call fcn.0048b400
add esp, 4
lea ecx, [esp + 0x10c]
mov byte [esp + 0x14c], 2
call fcn.004972d0
lea ecx, [esp + 0xb8]
mov byte [esp + 0x14c], 1
call fcn.004c9360
lea ecx, [esp + 0x88]
mov dword [esp + 0x14c], 0xffffffff
call fcn.004a66c0
mov eax, edi
mov ecx, dword [esp + 0x144]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x140
ret
test ecx, ecx
je 0x4a24ca
mov esi, dword [esp + 0x1c]
imul esi, ebx
test esi, esi
jle 0x4a2430
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
sub edx, eax
xor ebx, ebx
mov bl, byte [edx + eax]
inc eax
dec esi
mov bl, byte [ebx + ebp]
mov byte [eax - 1], bl
jne 0x4a24b6
jmp 0x4a2430
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
imul ecx, ebx
mov edi, dword [esp + 0x10]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x14]
jmp 0x4a243a