Function at 0x4663e1
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b6b3a
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x4f1020]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
call fcn.0040293f
mov dword [esp + 0xc], eax
mov eax, dword [edi + 0x5d4]
mov ebx, dword [eax + 0xc]
call fcn.004957cf
mov ebx, dword [esp + 0xc]
mov esi, eax
mov dword [esp + 0x20], edx
call fcn.004020c4
mov ebx, dword [esp + 0x20]
add esi, eax
mov eax, dword [edi + 0x10f4]
adc ebx, edx
cmp eax, 1
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ebx
jne 0x4664be
mov eax, dword [0x4f7c54]
mov ecx, 0x4f7c54
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
and dword [esp + 0x38], 0
mov eax, esi
or eax, ebx
jne 0x466486
mov esi, 0x140
call fcn.0041bdcd
push eax
lea eax, [esp + 0x10]
push eax
call fcn.004014fa
jmp 0x46664a
push ebx
lea eax, [esp + 0x1c]
push esi
push eax
call fcn.004790a9
add esp, 0xc
mov byte [esp + 0x38], 1
push dword [eax]
mov esi, 0x13e
call fcn.0041bdcd
push eax
lea eax, [esp + 0x14]
call fcn.00403566
mov byte [esp + 0x40], 0
mov eax, dword [esp + 0x20]
jmp 0x466640
cmp eax, 2
jne 0x466584
or esi, ebx
jne 0x4664d5
mov esi, 0x144
jmp 0x46658e
call fcn.0040293f
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x5d4]
mov ebx, dword [eax + 0xc]
call fcn.00495765
mov ebx, dword [esp + 0x18]
mov esi, eax
mov dword [esp + 0x10], edx
call fcn.00402212
mov ebx, dword [esp + 0x10]
add esi, eax
mov eax, dword [0x4f7c54]
mov ecx, 0x4f7c54
adc ebx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
push ebx
lea eax, [esp + 0x20]
push esi
push eax
mov dword [esp + 0x44], 2
call fcn.004790a9
add esp, 0xc
mov esi, eax
push dword [esp + 0x28]
lea eax, [esp + 0x1c]
push dword [esp + 0x28]
mov byte [esp + 0x40], 3
push eax
call fcn.004790a9
add esp, 0xc
mov byte [esp + 0x38], 4
push dword [esi]
mov esi, 0x13f
push dword [eax]
call fcn.0041bdcd
push eax
lea eax, [esp + 0x18]
call fcn.00403566
mov eax, dword [esp + 0x24]
add esp, 0xc
add eax, 0xfffffff0
call fcn.0040113b
mov byte [esp + 0x38], 2
mov eax, dword [esp + 0x1c]
jmp 0x466642
cmp eax, 3
jne 0x4665a6
mov esi, 0x141
call fcn.0041bdcd
push eax
push 0x3e9
lea eax, [edi + 0x24]
call fcn.0046e16d
jmp 0x466664
cmp eax, 4
jne 0x466664
mov eax, dword [0x4f7c54]
mov ecx, 0x4f7c54
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 0x38], 5
call fcn.0040293f
mov ebx, eax
call fcn.00402661
mov esi, eax
mov dword [esp + 0x20], edx
call fcn.0040293f
mov ebx, eax
call fcn.00402576
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x5d4]
mov ebx, dword [eax + 0xc]
mov dword [esp + 0x28], edx
call fcn.00495970
add eax, dword [esp + 0x24]
adc edx, dword [esp + 0x28]
add eax, esi
adc edx, dword [esp + 0x20]
push edx
push eax
lea eax, [esp + 0x24]
push eax
call fcn.004790a9
add esp, 0xc
mov byte [esp + 0x38], 6
push dword [eax]
mov esi, 0x146
call fcn.0041bdcd
push eax
lea eax, [esp + 0x14]
call fcn.00403566
mov byte [esp + 0x40], 5
mov eax, dword [esp + 0x24]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.0040113b
mov esi, dword [esp + 0xc]
push esi
push 0x3e9
lea eax, [edi + 0x24]
call fcn.0046e16d
lea eax, [esi - 0x10]
call fcn.0040113b
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret