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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x658b38
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x6af168]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
mov eax, dword [0x6af168]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0xd0]
lea edi, [esi + 0xcc]
xor edx, edx
mov dword [esp + 0x38], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], edx
mov byte [esp + 0x68], dl
mov ebx, dword [ebp + 8]
cmp ebx, 0xffffffff
mov dword [esp + 0x90], edx
mov ecx, dword [esi + 0x98]
mov eax, dword [ecx + 0x90]
mov ecx, dword [0x6b8458]
mov dword [eax + 0x90], ecx
mov ecx, dword [esi + 0x98]
mov eax, 0xc8
mov dword [ecx + 0xb8], eax
mov ecx, dword [esi + 0x98]
mov dword [ecx + 0xb4], eax
jne 0x4b0813
push 0xc
push str.Choose_Group
lea ecx, [esp + 0x6c]
call fcn.00402300
mov eax, dword [esi + 0x98]
push 0
call fcn.004c5830
mov edx, dword [esi + 0x98]
push edx
call fcn.004c5bb0
mov ecx, dword [esi + 0x98]
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x6c]
add ecx, 0xc0
push eax
call fcn.00401d10
mov edx, dword [esi + 0x94]
mov cl, byte [ebp + 0xc]
push 0
push edx
mov dword [esi + 0x9c], ebx
mov byte [esi + 0xac], cl
mov byte [esi + 0xad], 0
call fcn.00414cf0
push 0xffffff
lea ecx, [esp + 0x20]
call fcn.005029b0
mov eax, dword [esi + 0x98]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
add eax, 0x104
cmp byte [ebp + 0xc], 0
mov dword [eax], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x28]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esi + 0x98]
mov ecx, dword [0x6b8458]
mov dword [eax + 0xf8], ecx
je 0x4b08b1
push 0xc0
mov ecx, 0x80
lea eax, [esp + 0x20]
call fcn.005029f0
mov edx, dword [eax]
mov ecx, dword [esi + 0x98]
add ecx, 0x114
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
push 0xc0
mov ecx, 0xffffff
lea eax, [esp + 0x20]
call fcn.005029f0
mov ecx, dword [esi + 0x98]
mov ecx, dword [ecx + 0x90]
push eax
jmp 0x4b0904
mov ecx, dword [esi + 0x1f0]
cmp ecx, edx
je 0x4b088f
cmp ebx, 7
ja 0x4b088f
call fcn.004d43e0
cmp ebx, eax
jge 0x4b088f
mov eax, dword [esi + ebx*4 + 0xdc]
test eax, eax
mov dword [esp + 0x3c], eax
je 0x4b0712
mov ecx, dword [esi + 0x1f0]
mov eax, ebx
call fcn.004d4410
cmp dword [eax + 0x50], 0
mov dword [esp + 0x1c], eax
lea ebx, [eax + 4]
je 0x4b085b
lea ebx, [eax + 0x3c]
lea edx, [esp + 0x5c]
push edx
call fcn.004d44c0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x1c]
push 0xffffffffffffffff
push 0
add eax, 0x20
mov dword [esp + 0x1c], ecx
push eax
lea ecx, [esp + 0x70]
mov dword [esp + 0x24], edx
call fcn.00401d10
mov ebx, dword [ebp + 8]
jmp 0x4b0712
mov eax, dword [esi + 0x98]
push 1
call fcn.004c5830
cmp dword [esp + 0x7c], 0x10
jb 0x4b0c5c
mov ecx, dword [esp + 0x68]
push ecx
jmp 0x4b0c54
push 0x4040a0
lea ecx, [esp + 0x20]
call fcn.005029b0
mov eax, dword [esi + 0x98]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
add eax, 0x114
mov dword [eax], edx
mov edx, dword [esp + 0x24]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
push 0xffffff
lea ecx, [esp + 0x20]
call fcn.005029b0
mov eax, dword [esi + 0x98]
mov ecx, dword [eax + 0x90]
lea edx, [esp + 0x1c]
push edx
push 0
call fcn.0055b7e0
mov eax, dword [esp + 0x14]
test eax, eax
mov ecx, dword [edi + 4]
mov dword [esp + 0x20], ecx
je 0x4b091e
cmp eax, edi
je 0x4b0927
call fcn.0062492b
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
cmp edi, dword [esp + 0x20]
je 0x4b0a0e
test eax, eax
jne 0x4b0942
call fcn.0062492b
mov eax, dword [esp + 0x14]
cmp edi, dword [eax + 4]
jne 0x4b094c
call fcn.0062492b
lea ebx, [edi + 0x28]
xor edi, edi
mov ecx, ebx
mov dword [esp + 0x1c], edi
call fcn.004d4590
test eax, eax
jle 0x4b0b83
mov dword [esp + 0x10], edi
jmp 0x4b0974
mov edi, dword [esp + 0x1c]
mov eax, dword [ebx + 4]
test eax, eax
je 0x4b0997
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4b099c
call fcn.0062492b
mov eax, dword [ebx + 4]
test eax, eax
mov edx, dword [esp + 0x10]
lea ecx, [eax + edx]
mov dword [esp + 0x14], ecx
je 0x4b09ca
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4b09cf
call fcn.0062492b
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x10]
mov edi, dword [esi + 0x98]
lea ecx, [eax + edx + 0x1c]
mov eax, dword [esp + 0x14]
push ecx
call fcn.004c5c10
mov edi, dword [esp + 0x1c]
add dword [esp + 0x10], 0x38
add edi, 1
mov ecx, ebx
mov dword [esp + 0x1c], edi
call fcn.004d4590
cmp edi, eax
jl 0x4b0970
jmp 0x4b0b83
cmp dword [esp + 0x3c], 0
jne 0x4b0afb
cmp ebx, 0xffffffff
jne 0x4b0b83
xor ebx, ebx
mov dword [esp + 0x1c], ebx
jmp 0x4b0a30
mov eax, dword [esi + 0xc0]
test eax, eax
je 0x4b0a53
mov ecx, dword [esi + 0xc4]
sub ecx, eax
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jge 0x4b0b83
push 0
push 0x66f61c
lea ecx, [esp + 0x48]
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], 0
mov byte [esp + 0x4c], 0
call fcn.00402300
mov byte [esp + 0x90], 1
mov eax, dword [esi + 0xc0]
test eax, eax
je 0x4b0aaf
mov ecx, dword [esi + 0xc4]
sub ecx, eax
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x4b0ab4
call fcn.0062492b
mov edx, dword [esi + 0xc0]
mov eax, dword [esp + 0x1c]
mov edi, dword [esi + 0x98]
lea ecx, [edx + eax + 0x10]
push ecx
lea eax, [esp + 0x44]
call fcn.004c5c10
mov byte [esp + 0x90], 0
cmp dword [esp + 0x58], 0x10
jb 0x4b0aee
mov edx, dword [esp + 0x44]
push edx
call fcn.0062493b
add esp, 4
add ebx, 1
add dword [esp + 0x1c], 0x2c
jmp 0x4b0a30
push 0x66f61c
lea ecx, [esp + 0x20]
call fcn.00402130
push str.No_Choices
lea ecx, [esp + 0x44]
mov byte [esp + 0x94], 2
call fcn.00402130
lea eax, [esp + 0x40]
mov byte [esp + 0x90], 3
mov edi, dword [esi + 0x98]
push eax
lea eax, [esp + 0x20]
call fcn.004c5c10
mov edi, 0x10
cmp dword [esp + 0x58], edi
jb 0x4b0b53
mov ecx, dword [esp + 0x44]
push ecx
call fcn.0062493b
add esp, 4
mov byte [esp + 0x90], 0
cmp dword [esp + 0x34], edi
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], 0
mov byte [esp + 0x44], 0
jb 0x4b0b83
mov edx, dword [esp + 0x20]
push edx
call fcn.0062493b
add esp, 4
mov ecx, dword [esi + 0x98]
push 0
add ecx, 0xdc
push 0x66f61c
call fcn.00402300
mov edi, dword [esp + 0x3c]
test edi, edi
je 0x4b0c31
cmp dword [ebp + 0x18], 0xffffffff
jne 0x4b0bc2
mov eax, dword [edi + 0x30]
mov dword [ebp + 0x10], eax
mov eax, dword [edi + 0x34]
mov dword [ebp + 0x18], 2
sub eax, 0xf
jmp 0x4b0c34
mov esi, dword [esi + 0x98]
push 2
add esi, 0xc0
push 0x676e0c
mov ecx, esi
call fcn.00446130
lea ecx, [esp + 0x40]
lea esi, [edi + 0x8c]
push ecx
call fcn.004e68f0
add esp, 4
mov edx, dword [esp + 0x38]
push 0xffffffffffffffff
mov byte [esp + 0x94], 4
mov ecx, dword [edx + 0x98]
push 0
add ecx, 0xdc
push eax
call fcn.00401d10
mov byte [esp + 0x90], 0
cmp dword [esp + 0x58], 0x10
jb 0x4b0c2d
mov eax, dword [esp + 0x44]
push eax
call fcn.0062493b
add esp, 4
mov esi, dword [esp + 0x38]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
mov esi, dword [esi + 0x98]
push ecx
push eax
push edx
call fcn.004c5630
cmp dword [esp + 0x7c], 0x10
jb 0x4b0c5c
mov eax, dword [esp + 0x68]
push eax
call fcn.0062493b
add esp, 4
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.00624940
mov esp, ebp
pop ebp
ret 0x14