Function at 0x404f6f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45058e
mov eax, dword fs:[0]
push eax
sub esp, 0x178
push ebx
push esi
push edi
mov eax, dword [0x46b1f0]
xor eax, esp
push eax
lea eax, [esp + 0x188]
mov dword fs:[0], eax
and dword [esp + 0x20], 0
push str.LoadManifest
lea eax, [esp + 0x14]
push eax
mov dword [0x46fabc], 2
call fcn.00401421
and dword [esp + 0x190], 0
lea eax, [esp + 0x10]
push eax
mov eax, dword [0x46f9b8]
mov edi, 0x46f9b8
mov ecx, edi
call dword [eax]
mov esi, eax
call fcn.0041ea84
or dword [esp + 0x190], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.0040145e
push edi
lea eax, [esp + 0xf8]
push eax
call fcn.0040dd0f
mov dword [esp + 0x190], 1
mov ebx, dword [ebp + 8]
lea ecx, [esp + 0xf4]
call fcn.0040dc1c
mov byte [esp + 0x1a], al
test al, al
jne 0x4050bb
mov eax, dword [0x46f9b8]
mov ecx, edi
call dword [eax + 4]
lea ecx, [esp + 0x14]
mov edi, ebx
mov esi, eax
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 8]
mov byte [esp + 0x190], 2
mov eax, dword [eax]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 8]
mov byte [esp + 0x190], 1
lea ecx, [esp + 0x14]
call fcn.0040145e
mov eax, dword [edi]
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call dword [eax + 8]
mov byte [esp + 0x190], 3
lea ecx, [esp + 0x74]
push ecx
mov ebx, eax
call fcn.0041968f
mov byte [esp + 0x190], 4
push eax
mov eax, dword [0x46f9bc]
mov ecx, 0x46f9bc
call dword [eax + 0x14]
mov byte [esp + 0x190], 3
lea edi, [esp + 0x74]
call fcn.00418985
mov byte [esp + 0x190], 1
lea ecx, [esp + 0x14]
jmp 0x405dbe
push ebx
lea eax, [esp + 0xf8]
push eax
call fcn.0040e4b1
mov byte [esp + 0x1a], al
test al, al
jne 0x405111
mov eax, dword [ebx]
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
call dword [eax + 8]
mov byte [esp + 0x190], 6
lea ecx, [esp + 0x74]
push ecx
mov ebx, eax
call fcn.0041968f
mov byte [esp + 0x190], 7
push eax
mov eax, dword [0x46f9bc]
mov ecx, 0x46f9bc
call dword [eax + 0x14]
mov byte [esp + 0x190], 6
jmp 0x4050a1
push str.GetSecurityText
lea eax, [esp + 0x14]
push eax
call fcn.00401421
mov byte [esp + 0x190], 9
lea eax, [esp + 0x10]
push eax
mov eax, dword [0x46f9b8]
mov ecx, edi
call dword [eax]
mov esi, eax
call fcn.0041ea84
mov byte [esp + 0x190], 1
lea ecx, [esp + 0x10]
call fcn.0040145e
and dword [esp + 0x10], 0
lea edx, [esp + 0x10]
lea ecx, [esp + 0x1c]
call fcn.0042d53a
mov byte [esp + 0x190], 0xa
push dword [esp + 0x10]
lea ecx, [esp + 0x20]
call fcn.00406443
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004063aa
pop ecx
pop ecx
mov byte [esp + 0x190], 0xb
lea edi, [esp + 0x1c]
call fcn.00406c0b
mov byte [esp + 0x190], 0xa
lea ecx, [esp + 0x14]
call fcn.0040145e
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
lea edx, [esp + 0x14]
push edx
call dword [eax + 8]
mov byte [esp + 0x190], 0xc
mov ecx, edi
push ecx
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.004195dc
mov byte [esp + 0x190], 0xd
push eax
mov eax, dword [0x46f9bc]
mov ecx, 0x46f9bc
call dword [eax + 0x14]
mov byte [esp + 0x190], 0xc
lea edi, [esp + 0x74]
call fcn.00418985
mov byte [esp + 0x190], 0xa
lea ecx, [esp + 0x14]
call fcn.0040145e
push str.Signature
lea eax, [esp + 0x14]
push eax
call fcn.00401421
mov byte [esp + 0x190], 0xf
lea eax, [esp + 0x10]
push eax
mov eax, dword [0x46f9b8]
mov ebx, 0x46f9b8
mov ecx, ebx
call dword [eax]
mov esi, eax
call fcn.0041ea84
mov byte [esp + 0x190], 0xa
lea ecx, [esp + 0x10]
call fcn.0040145e
mov eax, ebx
lea edi, [esp + 0x74]
call fcn.0041cfa5
mov byte [esp + 0x190], 0x10
push str.MyModulePath
lea eax, [esp + 0x14]
push eax
call fcn.00401421
mov byte [esp + 0x190], 0x11
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
mov eax, dword [0x46f9b8]
mov ecx, ebx
call dword [eax]
mov ebx, eax
call fcn.004181a3
mov byte [esp + 0x190], 0x12
mov esi, dword [ebp + 8]
push esi
mov ecx, eax
call fcn.0041d39c
mov byte [esp + 0x1a], al
mov byte [esp + 0x190], 0x11
lea ecx, [esp + 0x14]
call fcn.0040145e
mov byte [esp + 0x190], 0x10
lea ecx, [esp + 0x10]
call fcn.0040145e
cmp byte [esp + 0x1a], 0
jne 0x405336
mov eax, dword [esi]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call dword [eax + 8]
mov byte [esp + 0x190], 0x13
lea ecx, [esp + 0xb4]
push ecx
mov ebx, eax
call fcn.00418cc1
mov byte [esp + 0x190], 0x14
push eax
mov eax, dword [0x46f9bc]
mov ecx, 0x46f9bc
call dword [eax + 0x14]
mov byte [esp + 0x190], 0x13
lea edi, [esp + 0xb4]
call fcn.00418985
mov byte [esp + 0x190], 0x10
lea ecx, [esp + 0x14]
call fcn.0040145e
mov esi, 0x46fad8
call fcn.0040121e
jmp 0x405da1
push str.NonStarters
lea eax, [esp + 0x14]
push eax
call fcn.00401421
mov byte [esp + 0x190], 0x16
lea eax, [esp + 0x10]
push eax
mov eax, dword [0x46f9b8]
mov edi, 0x46f9b8
mov ecx, edi
call dword [eax]
mov esi, eax
call fcn.0041ea84
mov byte [esp + 0x190], 0x10
lea ecx, [esp + 0x10]
call fcn.0040145e
push str._win32_winnt.4
lea eax, [esp + 0x28]
push eax
call fcn.00401421
mov byte [esp + 0x190], 0x17
push 0x4545d0
lea eax, [esp + 0x14]
push eax
call fcn.00401421
mov byte [esp + 0x190], 0x18
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
mov eax, dword [0x46f9b8]
mov ecx, edi
call dword [eax]
mov ebx, eax
call fcn.004181a3
mov byte [esp + 0x190], 0x19
lea eax, [esp + 0x24]
push eax
call fcn.0042cded
mov bl, al
neg bl
pop ecx
sbb bl, bl
mov byte [esp + 0x190], 0x18
lea ecx, [esp + 0x14]
call fcn.0040145e
mov byte [esp + 0x190], 0x17
lea ecx, [esp + 0x10]
call fcn.0040145e
inc bl
je 0x405445
lea eax, [esp + 0xb4]
push eax
call fcn.00418d22
mov byte [esp + 0x190], 0x1a
push eax
mov eax, dword [0x46f9bc]
mov ecx, 0x46f9bc
call dword [eax + 0x14]
mov byte [esp + 0x190], 0x17
lea edi, [esp + 0xb4]
call fcn.00418985
push 0x46fad8
call fcn.004012b4
jmp 0x405d90
call fcn.0042c159
test al, al
jne 0x405494
lea eax, [esp + 0xb4]
push eax
call fcn.00418d59
mov byte [esp + 0x190], 0x1c
push eax
mov eax, dword [0x46f9bc]
mov ecx, 0x46f9bc
call dword [eax + 0x14]
mov byte [esp + 0x190], 0x17
lea edi, [esp + 0xb4]
call fcn.00418985
push 0x46fad8
call fcn.004012f0
jmp 0x405d90
cmp byte [0x46fac1], 0
je 0x4054f8
push str.MyModulePath
lea eax, [esp + 0x14]
push eax
call fcn.00401421
mov byte [esp + 0x190], 0x1e
push ecx
mov eax, esp
mov dword [esp + 0x40], esp
lea ecx, [esp + 0x14]
push ecx
push eax
mov eax, dword [0x46f9b8]
mov ecx, edi
call dword [eax]
mov ebx, eax
call fcn.004181a3
mov byte [esp + 0x194], 0x1f
mov byte [esp + 0x194], 0x1e
call fcn.0042bc12
pop ecx
mov byte [esp + 0x190], 0x17
lea ecx, [esp + 0x10]
call fcn.0040145e
call fcn.00405f09
test al, al
jne 0x405510
push 0x46fad8
call fcn.0040132c
jmp 0x405d90
mov eax, dword [0x46f9b8]
mov ecx, edi
call dword [eax]
mov eax, dword [eax + 0xa0]
cmp eax, 3
je 0x40555d
cmp eax, 2
je 0x40555d
xor eax, eax
push eax
push 0x405edf
push eax
push 0x82
push eax
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamW]
push eax
mov dword [0x46fae8], eax
call dword [sym.imp.USER32.dll_BringWindowToTop]
push dword [0x46fae8]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0x4545dc
lea eax, [esp + 0x14]
push eax
call fcn.00401421
mov byte [esp + 0x190], 0x20
lea eax, [esp + 0x10]
push eax
mov eax, dword [0x46f9b8]
mov ecx, edi
call dword [eax]
mov esi, eax
call fcn.0041ea84
mov byte [esp + 0x190], 0x17
lea ecx, [esp + 0x10]
call fcn.0040145e
push dword [ebp + 8]
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], edi
call fcn.004174e5
mov byte [esp + 0x1a], al
test al, al
jne 0x4055bd
mov esi, 0x46fad8
call fcn.00401368
push str.b_sai_upgrade_url
lea eax, [esp + 0x34]
push eax
call fcn.00401421
mov byte [esp + 0x190], 0x21
push 0x453f84
push 0x454608
lea eax, [esp + 0x38]
push eax
call fcn.00406c91
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x30]
push eax
mov eax, dword [0x46f9b8]
mov ecx, edi
call dword [eax]
mov ebx, eax
call fcn.004181a3
mov byte [esp + 0x190], 0x22
xor ebx, ebx
cmp byte [0x46fac1], bl
jne 0x405654
mov eax, dword [esp + 0x2c]
cmp dword [eax - 0xc], ebx
je 0x405654
mov eax, dword [0x46f9b8]
push 4
mov ecx, edi
call dword [eax]
call fcn.0041e7ed
test al, al
je 0x4056dd
mov eax, dword [0x46f9b8]
mov ecx, edi
call dword [eax + 4]
mov edx, dword [eax]
push 0x45460c
mov ecx, eax
call dword [edx + 8]
lea esi, [esp + 0x2c]
call fcn.004014de
push str.PartnerSignature
lea eax, [esp + 0x14]
push eax
call fcn.00401421
mov byte [esp + 0x190], 0x25
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
mov eax, dword [0x46f9b8]
mov ecx, edi
mov dword [esp + 0x28], 1
call dword [eax]
mov ebx, eax
call fcn.004181a3
mov dword [esp + 0x190], 0x26
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
push 3
pop esi
mov dword [esp + 0x20], esi
jne 0x40575f
mov eax, dword [0x46f9b8]
mov ecx, edi
call dword [eax]
cmp dword [eax + 0xa0], 2
je 0x40575f
mov eax, dword [0x46f9b8]
mov ecx, edi
call dword [eax]
cmp dword [eax + 0xa0], esi
je 0x40575f
xor bl, bl
jmp 0x405761
push str.upgrade
lea eax, [esp + 0x14]
push eax
call fcn.00401421
mov byte [esp + 0x190], 0x23
lea eax, [esp + 0x10]
push eax
mov eax, dword [0x46f9b8]
mov ecx, edi
call dword [eax]
mov esi, eax
call fcn.0041ea84
mov byte [esp + 0x190], 0x22
lea ecx, [esp + 0x10]
call fcn.0040145e
mov eax, edi
lea edi, [esp + 0x68]
call fcn.00416ad2
mov byte [esp + 0x190], 0x24
push dword [ebp + 8]
mov ecx, edi
call fcn.00416aea
mov esi, 0x46f978
mov byte [esp + 0x1a], al
call fcn.00405eb6
mov dword [0x46fabc], ebx
mov byte [esp + 0x190], 0x22
mov eax, edi
call fcn.004136ba
jmp 0x405d6e
mov bl, 1
mov dword [esp + 0x190], 0x25
mov dword [esp + 0x20], esi
and dword [esp + 0x20], 0xfffffffd
lea ecx, [esp + 0x14]
call fcn.0040145e
mov dword [esp + 0x190], 0x22
test byte [esp + 0x20], 1
je 0x40579e
and dword [esp + 0x20], 0xfffffffe
lea ecx, [esp + 0x10]
call fcn.0040145e
test bl, bl
je 0x4057f6
push str.ValidatePartner
lea eax, [esp + 0x14]
push eax
call fcn.00401421
mov byte [esp + 0x190], 0x27
lea eax, [esp + 0x10]
push eax
mov eax, dword [0x46f9b8]
mov ecx, edi
call dword [eax]
mov esi, eax
call fcn.0041ea84
mov byte [esp + 0x190], 0x22
lea ecx, [esp + 0x10]
call fcn.0040145e
push dword [ebp + 8]
call fcn.00406082
mov byte [esp + 0x1a], al
test al, al
je 0x405d6e
push 3
pop esi
mov edi, 0x46fba0
call fcn.004136e0
lea eax, [esp + 0x3c]
call fcn.004013fe
mov byte [esp + 0x190], 0x28
lea eax, [esp + 0x58]
call fcn.004013fe
mov byte [esp + 0x190], 0x29
or dword [esp + 0x54], 0xffffffff
lea eax, [esp + 0x28]
call fcn.004013fe
mov byte [esp + 0x190], 0x2a
push 0x4546a0
lea eax, [esp + 0x14]
push eax
call fcn.00401421
mov byte [esp + 0x190], 0x2b
lea eax, [esp + 0x10]
push eax
mov eax, dword [0x46f9b8]
mov ebx, 0x46f9b8
mov ecx, ebx
call dword [eax]
mov ecx, eax
call fcn.00418452
mov byte [esp + 0x190], 0x2a
lea ecx, [esp + 0x10]
call fcn.0040145e
call fcn.00406945
mov eax, dword [0x46f9b8]
push 0x10
mov ecx, ebx
call dword [eax]
call fcn.0041e7ed
test al, al
jne 0x40595f
mov eax, dword [0x46f9b8]
mov ecx, ebx
call dword [eax]
mov eax, dword [eax + 0xa0]
cmp eax, 1
je 0x4058cb
jle 0x40595f
cmp eax, esi
jle 0x405c63
cmp eax, 4
je 0x405af0
cmp eax, 5
jne 0x40595f
lea eax, [esp + 0x5c]
call fcn.004013fe
mov byte [esp + 0x190], 0x35
push dword [ebp + 8]
push ecx
mov eax, esp
mov dword [esp + 0x6c], esp
push eax
mov eax, edi
call fcn.004136c5
mov byte [esp + 0x198], 0x36
push dword [0x46fae8]
lea eax, [esp + 0x6c]
push dword [0x46fbfc]
push eax
mov byte [esp + 0x1a4], 0x35
mov ecx, 0x46faec
call fcn.004146ee
mov byte [esp + 0x190], 0x37
lea edi, [esp + 0x28]
call fcn.00406c0b
mov byte [esp + 0x190], 0x35
lea ecx, [esp + 0x60]
call fcn.0040145e
cmp dword [0x46fbfc], 0
jne 0x40594e
mov eax, dword [0x46fb04]
mov dword [0x46fbfc], eax
mov byte [esp + 0x190], 0x2a
lea ecx, [esp + 0x5c]
call fcn.0040145e
push 0x454720
lea eax, [esp + 0x18]
push eax
call fcn.00401421
mov byte [esp + 0x190], 0x38
lea eax, [esp + 0x14]
push eax
mov eax, dword [0x46f9b8]
mov ebx, 0x46f9b8
mov ecx, ebx
call dword [eax]
mov esi, eax
call fcn.0041ea84
mov byte [esp + 0x190], 0x2a
lea ecx, [esp + 0x14]
call fcn.0040145e
mov esi, 0x46f978
call fcn.00405eb6
push str.Arguments.v.sel
lea eax, [esp + 0x18]
push eax
call fcn.00401421
mov byte [esp + 0x190], 0x39
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x18]
push eax
mov eax, dword [0x46f9b8]
mov ecx, ebx
call dword [eax]
mov esi, eax
call fcn.0041833c
mov byte [esp + 0x190], 0x2a
lea ecx, [esp + 0x14]
call fcn.0040145e
mov edi, dword [ebp + 8]
and dword [0x46fabc], 0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
test eax, eax
lea eax, [esp + 0x14]
jne 0x405cf0
push str.DistributeSoftware
push eax
call fcn.00401421
mov byte [esp + 0x190], 0x3a
lea eax, [esp + 0x14]
push eax
mov eax, dword [0x46f9b8]
mov ecx, ebx
call dword [eax]
mov esi, eax
call fcn.0041ea84
mov byte [esp + 0x190], 0x2a
lea ecx, [esp + 0x14]
call fcn.0040145e
lea eax, [esp + 0x54]
push eax
push dword [0x46fb58]
mov ecx, edi
mov edx, 0x46fba0
call fcn.00411f43
push str.WaitForUIClose
lea eax, [esp + 0x18]
push eax
call fcn.00401421
mov byte [esp + 0x190], 0x3b
lea eax, [esp + 0x14]
push eax
mov eax, dword [0x46f9b8]
mov ecx, ebx
call dword [eax]
mov esi, eax
call fcn.0041ea84
mov byte [esp + 0x190], 0x2a
lea ecx, [esp + 0x14]
call fcn.0040145e
mov eax, dword [0x46fb24]
test eax, eax
je 0x405aa9
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push str.OnInstallComplete
lea eax, [esp + 0x18]
push eax
call fcn.00401421
mov byte [esp + 0x190], 0x3c
lea eax, [esp + 0x14]
push eax
mov eax, dword [0x46f9b8]
mov ecx, ebx
call dword [eax]
mov esi, eax
call fcn.0041ea84
mov byte [esp + 0x190], 0x2a
lea ecx, [esp + 0x14]
call fcn.0040145e
call fcn.0040634e
jmp 0x405d3b
push str.Arguments.v.sel
lea eax, [esp + 0x14]
push eax
call fcn.00401421
mov byte [esp + 0x190], 0x2c
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x4c]
push eax
mov eax, dword [0x46f9b8]
mov ecx, ebx
call dword [eax]
mov ebx, eax
call fcn.004181a3
mov byte [esp + 0x190], 0x2d
lea edi, [esp + 0x28]
call fcn.00406c0b
mov byte [esp + 0x190], 0x2c
lea ecx, [esp + 0x48]
call fcn.0040145e
mov byte [esp + 0x190], 0x2a
lea ecx, [esp + 0x10]
call fcn.0040145e
mov esi, str.InstallerUI.Kind
push esi
lea eax, [esp + 0x48]
push eax
call fcn.00401421
mov byte [esp + 0x190], 0x2e
push str.None
lea eax, [esp + 0x38]
push eax
call fcn.00401421
mov byte [esp + 0x190], 0x2f
lea eax, [esp + 0x1b]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x54]
push eax
mov eax, dword [0x46f9b8]
mov ecx, 0x46f9b8
call dword [eax]
mov ebx, eax
call fcn.004181c1
mov byte [esp + 0x190], 0x30
push dword [eax]
lea eax, [esp + 0x38]
push eax
call fcn.00406c6a
mov ebx, eax
neg ebx
sbb bl, bl
mov byte [esp + 0x190], 0x2f
lea ecx, [esp + 0x4c]
call fcn.0040145e
mov byte [esp + 0x190], 0x2e
lea ecx, [esp + 0x34]
call fcn.0040145e
mov byte [esp + 0x190], 0x2a
lea ecx, [esp + 0x44]
call fcn.0040145e
inc bl
je 0x40595f
push str.CenterDesktopLoc
lea eax, [esp + 0x3c]
push eax
call fcn.00401421
mov byte [esp + 0x190], 0x31
push esi
lea eax, [esp + 0x44]
push eax
call fcn.00401421
mov byte [esp + 0x190], 0x32
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x44]
push eax
mov eax, dword [0x46f9b8]
mov ecx, 0x46f9b8
call dword [eax]
mov esi, eax
call fcn.0041833c
mov byte [esp + 0x190], 0x31
lea ecx, [esp + 0x40]
call fcn.0040145e
mov byte [esp + 0x190], 0x2a
lea ecx, [esp + 0x38]
jmp 0x40595a
push str.select
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x23], 0
call fcn.00401421
mov byte [esp + 0x190], 0x33
lea eax, [esp + 0x1b]
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x58]
push eax
mov eax, dword [0x46f9b8]
mov ecx, ebx
call dword [eax]
mov ebx, eax
call fcn.004181c1
mov byte [esp + 0x190], 0x34
lea edi, [esp + 0x28]
call fcn.00406c0b
mov byte [esp + 0x190], 0x33
lea ecx, [esp + 0x50]
call fcn.0040145e
mov byte [esp + 0x190], 0x2a
lea ecx, [esp + 0x14]
call fcn.0040145e
cmp byte [esp + 0x1b], 0
jne 0x40595f
xor ebx, ebx
push 0x45471c
inc ebx
mov eax, edi
call fcn.0040159d
jmp 0x40595f
push str.WaitForUIClose
push eax
call fcn.00401421
mov byte [esp + 0x190], 0x3d
lea eax, [esp + 0x14]
push eax
mov eax, dword [0x46f9b8]
mov ecx, ebx
call dword [eax]
mov esi, eax
call fcn.0041ea84
mov byte [esp + 0x190], 0x2a
lea ecx, [esp + 0x14]
call fcn.0040145e
mov eax, dword [0x46fb24]
test eax, eax
je 0x405d3b
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov byte [esp + 0x190], 0x29
lea ecx, [esp + 0x28]
call fcn.0040145e
mov byte [esp + 0x190], 0x28
lea ecx, [esp + 0x58]
call fcn.0040145e
mov byte [esp + 0x190], 0x22
lea ecx, [esp + 0x3c]
call fcn.0040145e
mov byte [esp + 0x190], 0x21
lea ecx, [esp + 0x2c]
call fcn.0040145e
mov byte [esp + 0x190], 0x17
lea ecx, [esp + 0x30]
call fcn.0040145e
mov byte [esp + 0x190], 0x10
lea ecx, [esp + 0x24]
call fcn.0040145e
mov byte [esp + 0x190], 0xa
lea edi, [esp + 0x74]
call fcn.0041cfda
mov byte [esp + 0x190], 1
lea ecx, [esp + 0x1c]
call fcn.0040145e
or dword [esp + 0x190], 0xffffffff
lea ecx, [esp + 0xf4]
call fcn.0040dba0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
call dword [eax + 4]
test eax, eax
jne 0x405e26
mov eax, dword [0x46f9b8]
mov ecx, 0x46f9b8
call dword [eax + 4]
mov esi, eax
lea eax, [esp + 0xb4]
push eax
call fcn.00419ac2
mov dword [esp + 0x190], 0x3e
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x14]
or dword [esp + 0x190], 0xffffffff
lea edi, [esp + 0xb4]
call fcn.00418985
mov al, byte [esp + 0x1a]
mov ecx, dword [esp + 0x188]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4