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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c6b26
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x4f06b4]
xor eax, esp
mov dword [esp + 0xc8], eax
push ebx
push esi
push edi
mov eax, dword [0x4f06b4]
xor eax, esp
push eax
lea eax, [esp + 0xe0]
mov dword fs:[0], eax
push 7
mov ebx, ecx
pop eax
xor esi, esi
xor ecx, ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], esi
mov word [esp + 0x30], cx
mov dword [esp + 0xe8], esi
mov dword [esp + 0x7c], eax
xor eax, eax
mov dword [esp + 0x78], esi
mov word [esp + 0x68], ax
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x34]
mov byte [esp + 0xec], 1
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x1d0]
cmp dword [esp + 0x40], esi
je 0x4946f1
lea edx, [esp + 0x30]
mov ecx, ebx
call fcn.0048f926
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
lea eax, [esp + 0x84]
push 0x4cb648
push eax
lea edi, [esp + 0x38]
mov byte [esp + 0xf0], 2
call fcn.00408817
lea edx, [ebx + 0x80]
push edx
lea ecx, [esp + 0x58]
push ecx
mov ecx, eax
mov byte [esp + 0xf8], 3
mov dword [esp + 0x3c], edx
call fcn.00408ce7
mov ecx, 0xfde9
push ecx
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x100], 4
call fcn.0047a1b8
add esp, 0x18
push 1
xor edi, edi
lea esi, [esp + 0x50]
call fcn.0040a3ed
push 1
lea esi, [esp + 0x88]
mov byte [esp + 0xec], 2
call fcn.0040a3ed
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x1c]
push 0x38
cdq
pop ecx
idiv ecx
and dword [esp + 0x18], edi
or esi, 0xffffffff
mov edi, eax
test edi, edi
je 0x494570
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
jmp 0x494541
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x14], 8
jb 0x494549
mov eax, dword [eax]
push 0xf
push str.UpgradePrepared
push eax
call fcn.004a6c39
add esp, 0xc
test eax, eax
jne 0x494561
mov esi, dword [esp + 0x18]
inc dword [esp + 0x18]
add dword [esp + 0x14], 0x38
cmp dword [esp + 0x18], edi
jb 0x49453d
lea ecx, [ebx + 0x3d4]
lea edi, [esp + 0x14]
call fcn.00495273
test al, al
jne 0x4946a8
xor edi, edi
xor eax, eax
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], edi
mov word [esp + 0x4c], ax
lea ecx, [esp + 0x4c]
push ecx
mov byte [esp + 0xec], 5
mov eax, dword [ebx]
push edi
mov ecx, ebx
call dword [eax + 0x84]
cmp esi, 0xffffffff
jne 0x494621
push str.UpgradePrepared
lea eax, [esp + 0xa4]
call fcn.00409d45
lea eax, [esp + 0x4c]
push eax
lea esi, [esp + 0xc0]
mov byte [esp + 0xec], 6
call fcn.00409de0
lea eax, [esp + 0xa0]
lea esi, [esp + 0x1c]
mov byte [esp + 0xe8], 7
call fcn.00494e2e
push 1
lea esi, [esp + 0xc0]
mov byte [esp + 0xec], 5
call fcn.0040a3ed
push 1
lea esi, [esp + 0xa4]
call fcn.0040a3ed
jmp 0x494638
mov eax, dword [esp + 0x1c]
imul esi, esi, 0x38
push 0xffffffffffffffff
lea ecx, [esi + eax + 0x1c]
push edi
lea eax, [esp + 0x54]
call fcn.0040a347
lea eax, [esp + 0xa0]
push 0x4cb648
push eax
lea edi, [esp + 0x38]
call fcn.00408817
push dword [esp + 0x34]
lea ecx, [esp + 0x90]
push ecx
mov ecx, eax
mov byte [esp + 0xf8], 8
call fcn.00408ce7
add esp, 0x10
lea edx, [esp + 0x1c]
mov ecx, eax
mov byte [esp + 0xe8], 9
call fcn.0047a421
push 1
xor edi, edi
lea esi, [esp + 0x88]
call fcn.0040a3ed
push 1
lea esi, [esp + 0xa4]
call fcn.0040a3ed
push 1
lea esi, [esp + 0x50]
call fcn.0040a3ed
lea esi, [esp + 0x1c]
call fcn.0048c7ea
mov bl, 1
push 1
xor edi, edi
lea esi, [esp + 0x6c]
call fcn.0040a3ed
push 1
lea esi, [esp + 0x34]
call fcn.0040a3ed
mov al, bl
mov ecx, dword [esp + 0xe0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.004a545d
mov esp, ebp
pop ebp
ret
xor bl, bl
jmp 0x4946b3