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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48054c
mov eax, dword fs:[0]
push eax
sub esp, 0x148
push ebx
push esi
push edi
mov eax, dword [0x49e0b0]
xor eax, esp
push eax
lea eax, [esp + 0x158]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
movsx eax, byte [esi + 8]
cmp eax, 7
ja case.default.0x41fa1f
jmp dword [eax*4 + 0x41fdaf]
lea eax, [ebx + 0x7c]
push eax
mov eax, ebx
call fcn.004200dd
jmp case.default.0x41fa1f
call fcn.0041e466
push edx
push eax
lea eax, [esp + 0xec]
push eax
call fcn.0041f39f
add esp, 0xc
and dword [esp + 0x160], 0
push eax
mov eax, ebx
call fcn.004200dd
lea ecx, [esp + 0xe4]
push 0
push 1
call fcn.00404863
jmp case.default.0x41fa1f
call fcn.0041e5bf
push edx
push eax
lea esi, [esp + 0xb4]
call fcn.0041f422
pop ecx
pop ecx
xor esi, esi
inc esi
push eax
mov eax, ebx
mov dword [esp + 0x164], esi
call fcn.004200dd
push 0
push esi
lea ecx, [esp + 0xb4]
jmp 0x41fa68
push esi
call fcn.0041e703
mov al, byte [ebx + 0xb4]
push ecx
shr al, 2
push ecx
and al, 1
fstp qword [esp]
push dword [ebx + 0xb8]
movzx eax, al
push eax
lea eax, [esp + 0x12c]
push eax
call fcn.0041f466
add esp, 0x14
push eax
mov eax, ebx
mov dword [esp + 0x164], 2
call fcn.004200dd
lea ecx, [esp + 0x11c]
jmp 0x41fa64
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
mov eax, esi
call fcn.0041dfd4
test al, al
je 0x41fb3f
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0xc8]
sub ecx, edx
push eax
call fcn.0041f5d5
pop ecx
push eax
mov eax, ebx
mov dword [esp + 0x164], 3
call fcn.004200dd
lea ecx, [esp + 0xc8]
jmp 0x41fa64
push 0x485f3b
lea ecx, [esp + 0x5c]
call fcn.004044d0
lea eax, [esp + 0x58]
push eax
mov eax, ebx
mov dword [esp + 0x164], 4
call fcn.004200dd
lea ecx, [esp + 0x58]
jmp 0x41fa64
push esi
call fcn.0041e7b0
movzx eax, al
push eax
lea eax, [esp + 0x104]
push eax
call fcn.0041f5af
pop ecx
pop ecx
push eax
mov eax, ebx
mov dword [esp + 0x164], 5
call fcn.004200dd
lea ecx, [esp + 0x100]
jmp 0x41fa64
push esi
call fcn.0041fdcf
jmp case.default.0x41fa1f
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.0041ef38
mov dword [esp + 0x160], 6
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x30]
push 0x1c
cdq
pop ecx
idiv ecx
test eax, eax
jne 0x41fc04
push 0x48686c
lea ecx, [esp + 0x78]
call fcn.004044d0
lea eax, [esp + 0x74]
push eax
mov eax, ebx
mov byte [esp + 0x164], 7
call fcn.004200dd
lea ecx, [esp + 0x74]
jmp 0x41fd78
push 0x48a900
lea ecx, [esp + 0x40]
call fcn.004044d0
lea eax, [esp + 0x3c]
push eax
mov edi, ebx
mov byte [esp + 0x164], 8
call fcn.00420122
push 0
push 1
lea ecx, [esp + 0x44]
mov byte [esp + 0x168], 6
call fcn.00404863
push 0xffffffffffffffff
lea esi, [ebx + 0x20]
push 0
lea eax, [ebx + 0x40]
call fcn.0040b873
push dword [esp + 0x30]
lea edi, [esp + 0x28]
lea esi, [esp + 0x18]
call fcn.0040873c
lea esi, [esp + 0x14]
call fcn.00408764
push dword [ebp + 8]
mov esi, eax
call fcn.0041eeae
mov ecx, eax
push ebx
mov dword [esp + 0x14], ecx
call fcn.0042014c
cmp dword [esi + 0x18], 0x10
mov ecx, dword [esi + 0x14]
jb 0x41fc88
mov edx, dword [esi + 4]
jmp 0x41fc8b
lea edx, [esi + 4]
lea eax, [esp + 0x138]
push eax
call fcn.0041f5d5
pop ecx
push eax
mov edi, ebx
mov byte [esp + 0x164], 9
call fcn.00420122
push 0
push 1
lea ecx, [esp + 0x140]
mov byte [esp + 0x168], 6
call fcn.00404863
lea eax, [ebx + 0x60]
push eax
push dword [ebx + 4]
call fcn.00425ad2
pop ecx
pop ecx
push dword [esp + 0x10]
mov ecx, ebx
call fcn.0041f9db
push dword [esp + 0x34]
lea edi, [esp + 0x28]
lea esi, [esp + 0x20]
call fcn.0040873c
lea esi, [esp + 0x14]
call fcn.0040878c
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41fd02
cmp eax, dword [esp + 0x1c]
je 0x41fd07
call fcn.00465132
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x20]
je 0x41fd30
push 0x48a920
push dword [ebx + 4]
call fcn.0042592b
pop ecx
pop ecx
push dword [esp + 0x10]
mov edi, ebx
call fcn.0042024d
jmp 0x41fc5b
push dword [esp + 0x10]
mov edi, ebx
call fcn.0042024d
mov ecx, dword [ebx + 0x54]
mov eax, dword [ebx + 0x34]
sub eax, ecx
lea ecx, [ebx + 0x20]
call fcn.00415ce9
push 0x48a908
lea ecx, [esp + 0x94]
call fcn.004044d0
lea eax, [esp + 0x90]
push eax
mov byte [esp + 0x164], 0xa
call fcn.00420122
lea ecx, [esp + 0x90]
push 0
push 1
call fcn.00404863
lea esi, [esp + 0x24]
call fcn.00408652
push dword [esp + 0x24]
call fcn.0046516c
pop ecx
mov ecx, dword [esp + 0x158]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4