Function at 0x408f50
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eea71
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x535a40]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x48], eax
mov al, byte [ebp + 0x14]
mov dword [ebp - 0x64], esi
mov byte [ebp - 0x35], al
mov byte [ebp - 0x64], al
mov dword [ebp - 0x78], 0
mov eax, dword [edx + 8]
mov ecx, dword [edx + 4]
sub eax, ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x4c], edx
cmp eax, 4
jae 0x408fd2
push str._bad_command_
mov dword [esi], 0
call fcn.004c8d00
push 0
mov dword [esi], eax
call fcn.004c8d5f
add esp, 8
mov eax, esi
jmp 0x409c00
mov eax, dword [ecx]
mov esi, 0x4f9d20
test eax, eax
mov ecx, esi
cmovne ecx, eax
push ecx
call fcn.004c8d00
push 0
mov dword [ebp - 0x58], eax
call fcn.004c8d5f
push 2
mov dword [ebp - 4], 0
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0x1c], eax
mov word [eax], cx
push 2
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0x20], eax
mov word [eax], cx
push 2
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0x54], eax
mov word [eax], cx
push 2
call fcn.004c8d7a
mov edi, eax
add esp, 0x18
xor eax, eax
mov dword [ebp - 0x3c], edi
mov word [edi], ax
push dword [0x539fd0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, esi
cmp eax, 0x200
jne 0x409054
mov eax, dword [0x53a404]
jmp 0x40905c
mov eax, dword [0x53a400]
mov dword [ebp - 0x3c], edi
test eax, eax
cmovne ecx, eax
push ecx
call fcn.004c8d00
add esp, 4
mov edi, eax
mov dword [ebp - 0x74], edi
push dword [ebp - 0x3c]
call fcn.004c8d5f
mov eax, dword [ebp - 0x4c]
mov ecx, esi
mov eax, dword [eax + 4]
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
call fcn.004c8d00
push 0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x3c], eax
call fcn.004c8d5f
mov ecx, dword [ebp - 0x30]
mov eax, esi
test ecx, ecx
mov dword [ebp - 0x24], 0
cmovne eax, ecx
push eax
call fcn.004c8d00
push 0
mov dword [ebp - 0x24], eax
call fcn.004c8d5f
push dword [ebp - 0x24]
call fcn.004c9a7c
add esp, 0x18
cmp byte [ebp + 0x18], 0
je 0x409150
push 4
push 0x4fa4f4
push dword [ebp - 0x24]
call fcn.004c936a
add esp, 0xc
test eax, eax
jne 0x4090ed
mov ecx, dword [ebp - 0x30]
add ecx, 8
jmp 0x40915b
push 0xc
push str.SYSTEMROOT_
push dword [ebp - 0x24]
call fcn.004c936a
add esp, 0xc
test eax, eax
jne 0x409150
mov esi, dword [ebp - 0x1c]
push 0x539720
call fcn.004c8d00
push esi
mov dword [ebp - 0x1c], eax
call fcn.004c8d5f
add esp, 8
lea ecx, [ebp - 0x1c]
push 0x4f9dfc
call fcn.004050e0
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x1c]
add eax, 0x18
push eax
call fcn.004050e0
mov eax, dword [ebp - 0x1c]
mov esi, 0x4f9d20
mov ecx, dword [ebp - 0x20]
test eax, eax
mov dword [ebp - 0x20], ecx
mov ecx, esi
cmovne ecx, eax
push ecx
jmp 0x409161
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x30]
test ecx, ecx
mov dword [ebp - 0x20], eax
mov eax, esi
cmovne eax, ecx
push eax
call fcn.004c8d00
add esp, 4
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x20]
call fcn.004c8d5f
mov ecx, dword [ebp - 0x2c]
mov eax, esi
test ecx, ecx
cmovne eax, ecx
push eax
call fcn.004c8d00
mov esi, eax
push 0
mov dword [ebp - 0x50], esi
call fcn.004c8d5f
push esi
mov byte [ebp - 4], 7
call fcn.004c9a7c
add esp, 0x10
push dword [0x539fd0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 0x100
jne 0x409212
push str._PROGRAMFILES_
push esi
call fcn.004c580a
add esp, 8
test eax, eax
je 0x409212
push str._PROGRAMFILES_
push esi
call fcn.004c580a
mov edx, dword [ebp - 0x2c]
sub eax, esi
movups xmm0, xmmword [str._ProgramW6432_]
sar eax, 1
add esp, 8
lea ecx, [eax + eax]
movups xmmword [ecx + edx], xmm0
movq xmm0, qword [0x4fa2ac]
movq qword [ecx + edx + 0x10], xmm0
mov eax, dword [0x4fa2b4]
mov dword [ecx + edx + 0x18], eax
add ecx, 0x1c
add ecx, edx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ecx - 2], ax
test ax, ax
jne 0x409201
jmp 0x409215
mov edx, dword [ebp - 0x2c]
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.00414b20
mov esi, dword [ebp - 0x1c]
mov ecx, 0x4f9d20
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
call fcn.004c8d00
push esi
mov dword [ebp - 0x1c], eax
call fcn.004c8d5f
push dword [ebp - 0x40]
call fcn.004c8d5f
push 2
call fcn.004c8d7a
mov esi, eax
add esp, 0x18
xor eax, eax
mov dword [ebp - 0x28], esi
mov word [esi], ax
mov eax, dword [ebp - 0x1c]
mov edx, esi
mov byte [ebp - 4], 8
cmp word [eax], 0
je 0x409a28
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths_
call fcn.004c8d00
push 0
mov dword [ebp - 0x44], eax
call fcn.004c8d5f
add esp, 8
push dword [ebp - 0x30]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 9
call fcn.004050e0
push dword [0x539fd0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea ecx, [ebp - 0x68]
or eax, 0x20019
push ecx
push eax
push 0
push dword [ebp - 0x44]
push dword [0x52ea0c]
call fcn.004086c0
add esp, 0x14
test eax, eax
jne 0x409349
lea eax, [ebp - 0x1c]
push eax
push 0
push dword [ebp - 0x68]
call fcn.00415220
add esp, 0xc
push dword [ebp - 0x68]
test eax, eax
jne 0x409343
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x1c]
push eax
call fcn.004047c0
mov eax, dword [ebp - 0x44]
push eax
call fcn.004c8d5f
push esi
call fcn.004c8d5f
push dword [ebp - 0x50]
call fcn.004c8d5f
push dword [ebp - 0x24]
call fcn.004c8d5f
push dword [ebp - 0x30]
call fcn.004c8d5f
push edi
call fcn.004c8d5f
push dword [ebp - 0x54]
call fcn.004c8d5f
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004c8d5f
push dword [ebp - 0x1c]
call fcn.004c8d5f
push dword [ebp - 0x58]
call fcn.004c8d5f
add esp, 0x28
jmp 0x409bfd
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x1c]
mov ecx, 0x4f9d20
test eax, eax
cmovne ecx, eax
push ecx
call fcn.004c8d00
push esi
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x28], eax
call fcn.004c8d5f
add esp, 8
cmp byte [ebp - 0x35], 0
jne 0x409587
cmp byte [0x538aa6], 0
jne 0x409587
mov eax, dword [ebp - 0x1c]
mov ecx, 0x4f9d20
test eax, eax
cmovne ecx, eax
push ecx
call fcn.004c8d00
mov esi, eax
push 0
mov dword [ebp - 0x20], esi
call fcn.004c8d5f
push 0x4fa58c
push dword [ebp - 0x1c]
mov byte [ebp - 4], 0xa
call fcn.004c580a
add esp, 0x10
test eax, eax
je 0x409409
push 0
push 0
push 0
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov dword [ebp - 0x60], eax
test eax, eax
je 0x409409
lea eax, [eax*2 + 2]
push eax
push esi
mov dword [ebp - 0x40], eax
call fcn.004c8d85
mov esi, eax
add esp, 8
mov dword [ebp - 0x20], esi
test esi, esi
je 0x4093fa
push dword [ebp - 0x40]
push 0
push esi
call fcn.004c53a0
add esp, 0xc
push 0
push esi
push dword [ebp - 0x60]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
cmp byte [0x538aa6], 0
jne 0x40982b
lea eax, [ebp - 0x24]
push eax
push esi
push edi
push dword [ebp - 0x48]
call fcn.00414d40
add esp, 0x10
test al, al
jne 0x40980f
push 0x2f
push esi
call fcn.004c56b8
add esp, 8
test eax, eax
jne 0x40982b
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409447
sub ecx, edx
sar ecx, 1
cmp ecx, 3
jbe 0x40982b
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409464
sub ecx, edx
sar ecx, 1
cmp word [esi + ecx*2 - 8], 0x2e
je 0x40982b
mov ecx, dword [ebp - 0x20]
mov eax, 0x4f9d20
mov esi, dword [ebp - 0x24]
test ecx, ecx
cmovne eax, ecx
push eax
call fcn.004c8d00
push esi
mov dword [ebp - 0x24], eax
call fcn.004c8d5f
add esp, 8
lea ecx, [ebp - 0x24]
push str..com
call fcn.004050e0
cmp byte [0x538aa6], 0
jne 0x40957c
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x24]
push edi
push dword [ebp - 0x48]
call fcn.00414d40
add esp, 0x10
test al, al
jne 0x40957c
mov ecx, dword [ebp - 0x20]
mov eax, 0x4f9d20
mov esi, dword [ebp - 0x24]
test ecx, ecx
cmovne eax, ecx
push eax
call fcn.004c8d00
push esi
mov dword [ebp - 0x24], eax
call fcn.004c8d5f
add esp, 8
lea ecx, [ebp - 0x24]
push 0x4fa5a0
call fcn.004050e0
cmp byte [0x538aa6], 0
jne 0x40957c
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x24]
push edi
push dword [ebp - 0x48]
call fcn.00414d40
add esp, 0x10
test al, al
jne 0x40957c
mov ecx, dword [ebp - 0x20]
mov eax, 0x4f9d20
mov esi, dword [ebp - 0x24]
test ecx, ecx
cmovne eax, ecx
push eax
call fcn.004c8d00
push esi
mov dword [ebp - 0x24], eax
call fcn.004c8d5f
add esp, 8
lea ecx, [ebp - 0x24]
push 0x4fa5ac
call fcn.004050e0
cmp byte [0x538aa6], 0
jne 0x40982b
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x24]
push edi
push dword [ebp - 0x48]
call fcn.00414d40
add esp, 0x10
test al, al
je 0x40982b
push dword [ebp - 0x20]
call fcn.004c8d5f
add esp, 4
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5c
jne 0x40960e
cmp word [ecx + 2], 0x5c
je 0x40960e
push 2
push 0x539720
lea eax, [ebp - 0x18]
push 3
push eax
call fcn.004c935f
lea eax, [ebp - 0x18]
push eax
call fcn.004c8d00
push 0
mov esi, eax
call fcn.004c8d5f
test esi, esi
mov ecx, 0x4f9d20
cmovne ecx, esi
push ecx
call fcn.004c8d00
push 0
mov dword [ebp - 0x20], eax
call fcn.004c8d5f
add esp, 0x20
lea ecx, [ebp - 0x20]
push dword [ebp - 0x1c]
call fcn.004050e0
push esi
call fcn.004c8d5f
add esp, 4
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x1c]
push eax
call fcn.00404e30
push dword [ebp - 0x20]
call fcn.004c8d5f
mov ecx, dword [ebp - 0x1c]
add esp, 4
mov esi, 0x4f9d20
test ecx, ecx
mov eax, esi
cmovne eax, ecx
push eax
call fcn.004c8d00
mov edx, eax
push 0
mov dword [ebp - 0x20], edx
call fcn.004c8d5f
mov eax, esi
mov esi, dword [ebp - 0x20]
test esi, esi
cmovne eax, esi
push eax
call fcn.004c8d00
push 0
mov dword [ebp - 0x6c], eax
call fcn.004c8d5f
add esp, 0x10
mov dword [ebp - 0x78], 2
cmp word [esi], 0
je 0x409793
cmp dword [0x53a3f0], 0
je 0x409793
push 0x4f9dfc
call fcn.004c8d00
push 0
mov esi, eax
call fcn.004c8d5f
push 0x539928
call fcn.004c8d00
push 0
mov dword [ebp - 0x5c], eax
call fcn.004c8d5f
mov eax, dword [ebp - 0x5c]
mov ecx, 0x4f9d20
test eax, eax
cmovne ecx, eax
push ecx
call fcn.004c8d00
push 0
mov dword [ebp - 0x40], eax
call fcn.004c8d5f
add esp, 0x18
lea ecx, [ebp - 0x40]
push esi
call fcn.004050e0
mov eax, dword [ebp - 0x5c]
push eax
call fcn.004c8d5f
push esi
mov byte [ebp - 4], 0xd
call fcn.004c8d5f
mov eax, dword [0x53a3f0]
lea ecx, [ebp - 0x60]
add esp, 8
push ecx
call eax
test eax, eax
je 0x40977c
cmp dword [ebp - 0x60], 0
jne 0x40977c
mov ecx, 0x539fe0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4096f2
mov esi, dword [ebp - 0x20]
sub ecx, edx
sar ecx, 1
push ecx
push 0x539fe0
push esi
call fcn.004c95b0
add esp, 0xc
test eax, eax
jne 0x40977f
mov ecx, 0x539fe0
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409720
sub ecx, edx
sar ecx, 1
push 0x53a1e8
mov dword [ebp - 0x5c], ecx
call fcn.004c8d00
mov esi, eax
push 0
mov dword [ebp - 0x7c], esi
call fcn.004c8d5f
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x20]
lea eax, [edx + ecx*2]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00404ec0
add esp, 0x14
lea ecx, [ebp - 0x6c]
push eax
call fcn.00404e30
push dword [ebp - 0x18]
call fcn.004c8d5f
push esi
call fcn.004c8d5f
add esp, 8
mov esi, dword [ebp - 0x20]
push dword [ebp - 0x60]
call dword [0x53a3f4]
push dword [ebp - 0x40]
call fcn.004c8d5f
add esp, 4
push esi
call fcn.004c8d5f
mov ecx, dword [ebp - 0x6c]
mov eax, 0x4f9d20
mov esi, dword [ebp - 0x1c]
test ecx, ecx
cmovne eax, ecx
push eax
call fcn.004c8d00
push esi
mov dword [ebp - 0x1c], eax
call fcn.004c8d5f
push dword [ebp - 0x6c]
mov byte [ebp - 4], 9
call fcn.004c8d5f
add esp, 0x10
cmp byte [0x538aa6], 0
jne 0x4099ed
push dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
push eax
call fcn.00407400
mov ecx, 0x4f9d20
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
call fcn.004c8d00
push dword [ebp - 0x70]
mov esi, eax
mov dword [ebp - 0x28], esi
call fcn.004c8d5f
push dword [ebp - 0x18]
call fcn.004c8d5f
add esp, 0x14
jmp 0x409a10
cmp byte [0x538aa6], 0
jne 0x40982b
push dword [ebp - 0x24]
call fcn.00414c20
add esp, 4
test al, 0x10
je 0x40989c
mov eax, dword [ebp - 0x1c]
mov ecx, eax
cmp word [eax], 0x20
jne 0x40983f
add ecx, 2
cmp word [ecx], 0x20
je 0x409836
cmp byte [0x538aa6], 0
jne 0x40985e
push 0x20
push ecx
call fcn.004c56b8
add esp, 8
test eax, eax
je 0x4098cb
mov eax, dword [ebp - 0x1c]
push 0x20
push eax
call fcn.004c5767
add esp, 8
test eax, eax
je 0x40987f
push 0x20
push dword [ebp - 0x1c]
call fcn.004c5767
add esp, 8
xor ecx, ecx
mov word [eax], cx
push dword [ebp - 0x20]
call fcn.004c8d5f
add esp, 4
cmp byte [0x538aa6], 0
je 0x409382
jmp 0x409587
mov eax, dword [ebp - 0x24]
mov ecx, 0x4f9d20
mov esi, dword [ebp - 0x1c]
test eax, eax
cmovne ecx, eax
push ecx
call fcn.004c8d00
push esi
mov dword [ebp - 0x1c], eax
call fcn.004c8d5f
push dword [ebp - 0x20]
call fcn.004c8d5f
add esp, 0xc
jmp 0x409587
mov esi, dword [ebp - 0x1c]
push str.File_not_found:
call fcn.004c8d00
push esi
mov dword [ebp - 0x1c], eax
call fcn.004c8d5f
add esp, 8
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x70]
call fcn.004050e0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x28]
call fcn.00404e30
mov esi, dword [ebp - 0x4c]
mov eax, dword [esi + 4]
push dword [eax]
call fcn.00414c20
add esp, 4
cmp eax, 0xffffffff
je 0x409929
mov eax, dword [esi + 4]
push dword [eax]
call fcn.00414c20
add esp, 4
test al, 0x10
je 0x409929
push dword [esi + 4]
jmp 0x4099c0
cmp byte [0x538aa6], 0
jne 0x4099c8
mov eax, dword [esi + 4]
push 2
push 0x4fa5b8
push dword [eax]
call fcn.004c936a
add esp, 0xc
test eax, eax
jne 0x4099c8
mov eax, dword [esi + 4]
mov eax, dword [eax]
add eax, 4
push eax
call fcn.00414c20
add esp, 4
cmp eax, 0xffffffff
je 0x40998f
mov eax, dword [esi + 4]
mov ecx, 0x4f9d20
mov esi, dword [ebp - 0x28]
mov eax, dword [eax]
add eax, 4
cmovne ecx, eax
push ecx
call fcn.004c8d00
push esi
mov dword [ebp - 0x28], eax
call fcn.004c8d5f
add esp, 8
jmp 0x4099c8
mov esi, dword [ebp - 0x1c]
push str.File_not_found:
call fcn.004c8d00
push esi
mov dword [ebp - 0x1c], eax
call fcn.004c8d5f
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x1c]
add esp, 8
mov eax, dword [eax + 4]
mov eax, dword [eax]
add eax, 4
push eax
call fcn.004050e0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x28]
call fcn.00404e30
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x28]
push eax
call fcn.004047c0
push dword [ebp - 0x20]
call fcn.004c8d5f
mov eax, dword [ebp - 0x44]
push eax
call fcn.004c8d5f
push dword [ebp - 0x28]
jmp 0x409bb6
mov eax, dword [ebp - 0x1c]
mov ecx, 0x4f9d20
test eax, eax
cmovne ecx, eax
push ecx
call fcn.004c8d00
push dword [ebp - 0x70]
mov esi, eax
mov dword [ebp - 0x28], esi
call fcn.004c8d5f
add esp, 8
push esi
call fcn.004c9848
mov eax, dword [ebp - 0x44]
push eax
mov byte [ebp - 4], 8
call fcn.004c8d5f
add esp, 8
mov edx, esi
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x18], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409a30
sub ecx, dword [ebp - 0x18]
sar ecx, 1
je 0x409b96
push dword [ebp - 0x4c]
test edx, edx
mov eax, 0x4f9d20
push ecx
mov edi, esp
cmovne eax, edx
push eax
mov dword [edi], 0
call fcn.004c8d00
push 0
mov dword [edi], eax
call fcn.004c8d5f
add esp, 8
lea eax, [ebp - 0x18]
push eax
call fcn.00406e10
mov ecx, 0x4f9d20
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
call fcn.004c8d00
push dword [ebp - 0x30]
mov edi, eax
mov dword [ebp - 0x3c], edi
call fcn.004c8d5f
push dword [ebp - 0x18]
call fcn.004c8d5f
mov ecx, edi
add esp, 0x18
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409aa6
sub ecx, edx
sar ecx, 1
je 0x409b4e
push 2
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0x8c], eax
add esp, 4
mov word [eax], cx
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x80], ecx
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0xe
push eax
push ecx
lea ecx, [ebp - 0x88]
call fcn.00404490
push 0
push dword [ebp - 0x64]
lea eax, [ebp - 0x8c]
push eax
push dword [ebp - 0x48]
lea eax, [ebp - 0x64]
push eax
call fcn.00408f50
mov ecx, 0x4f9d20
mov edi, esi
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
call fcn.004c8d00
push edi
mov esi, eax
call fcn.004c8d5f
push dword [ebp - 0x64]
call fcn.004c8d5f
add esp, 0x20
lea ecx, [ebp - 0x88]
call fcn.004028a0
push dword [ebp - 0x8c]
call fcn.004c8d5f
mov edi, dword [ebp - 0x3c]
add esp, 4
mov eax, dword [ebp - 0x34]
mov ecx, esi
test ecx, ecx
mov dword [eax], 0
mov eax, 0x4f9d20
cmovne eax, ecx
push eax
call fcn.004c8d00
mov ecx, dword [ebp - 0x34]
push 0
mov dword [ecx], eax
call fcn.004c8d5f
push esi
call fcn.004c8d5f
push dword [ebp - 0x50]
call fcn.004c8d5f
push dword [ebp - 0x24]
call fcn.004c8d5f
push edi
call fcn.004c8d5f
push dword [ebp - 0x74]
jmp 0x409bd4
mov eax, dword [ebp - 0x34]
push 0x4f9d20
mov dword [eax], 0
call fcn.004c8d00
mov ecx, dword [ebp - 0x34]
push 0
mov dword [ecx], eax
call fcn.004c8d5f
push esi
call fcn.004c8d5f
push dword [ebp - 0x50]
call fcn.004c8d5f
push dword [ebp - 0x24]
call fcn.004c8d5f
push dword [ebp - 0x30]
call fcn.004c8d5f
push edi
call fcn.004c8d5f
push dword [ebp - 0x54]
call fcn.004c8d5f
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004c8d5f
push dword [ebp - 0x1c]
call fcn.004c8d5f
push dword [ebp - 0x58]
call fcn.004c8d5f
add esp, 0x2c
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c34b7
mov esp, ebp
pop ebp
ret