Function at 0x4a5890
Capabilities:
Accept command line arguments
Create thread
Get disk information
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55a2ef
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x5d0074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea ecx, [ebx + 0x1c]
mov dword [ebp - 0x40], 0
push 3
mov byte [ebp - 0x2d], 0
call fcn.004be280
or edi, 0xffffffff
mov dword [ebp - 0x2c], eax
mov ecx, ebx
test eax, eax
je 0x4a5a78
lea esi, [eax + 4]
call fcn.004aa990
mov edx, eax
mov ecx, esi
call fcn.0040b9a0
test al, al
je 0x4a5903
mov ecx, ebx
call fcn.004a9990
jmp 0x4a63ce
lea ecx, [ebx + 0x30]
push esi
call fcn.004ad870
mov edx, esi
lea ecx, [ebp - 0x34]
call fcn.00493c30
mov dword [ebp - 4], 0
mov edx, dword [eax]
mov esi, dword [0x5d65b4]
add esi, 0xfffffff0
lea ecx, [edx - 0x10]
cmp ecx, esi
je 0x4a5974
cmp dword [esi + 0xc], 0
jl 0x4a5966
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x4a5966
call fcn.0040be70
mov dword [ebp - 0x28], eax
lea edx, [esi + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4a595c
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x28]
add eax, 0x10
mov dword [0x5d65b4], eax
jmp 0x4a5974
push dword [edx - 0xc]
mov ecx, 0x5d65b4
push edx
call fcn.004143c0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a5995
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x5d65b4]
mov edx, dword [eax - 0xc]
test edx, edx
jle 0x4a59c7
lea esi, [edx - 1]
test esi, esi
js 0x4a6414
cmp esi, edx
jg 0x4a6414
cmp word [eax + esi*2], 0x5c
je 0x4a59c7
push 0x5c
mov ecx, 0x5d65b4
call fcn.00492e20
mov ecx, ebx
call fcn.004aa990
lea ecx, [ebp - 0x28]
push dword [eax]
call fcn.004144e0
mov dword [ebp - 4], 2
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebx + 0x130]
call fcn.004a3dd0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a5a0f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2c]
lea ecx, [ebx + 4]
mov esi, dword [ecx]
sub esi, 0x10
mov edx, dword [edx + 4]
lea eax, [edx - 0x10]
mov dword [ebp - 0x2c], eax
cmp eax, esi
je 0x4a5a6f
cmp dword [esi + 0xc], 0
jl 0x4a5a66
mov eax, dword [eax]
cmp eax, dword [esi]
jne 0x4a5a66
mov ecx, dword [ebp - 0x2c]
call fcn.0040be70
mov dword [ebp - 0x2c], eax
mov ecx, edi
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4a5a54
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x2c]
lea esi, [ebx + 0x30]
add eax, 0x10
mov byte [ebp - 0x2d], 1
mov dword [ebx + 4], eax
jmp 0x4a5a88
push dword [edx - 0xc]
push edx
call fcn.004143c0
mov byte [ebp - 0x2d], 1
lea esi, [ebx + 0x30]
jmp 0x4a5a88
lea esi, [ebx + 0x30]
call fcn.004aa990
push eax
mov ecx, esi
call fcn.004ad870
mov edx, dword [ebx + 0x28]
lea ecx, [esi + 0x74]
mov esi, dword [ecx]
sub esi, 0x10
lea eax, [edx - 0x10]
mov dword [ebp - 0x2c], eax
cmp eax, esi
je 0x4a5ae1
cmp dword [esi + 0xc], 0
jl 0x4a5ad8
mov eax, dword [eax]
cmp eax, dword [esi]
jne 0x4a5ad8
mov ecx, dword [ebp - 0x2c]
call fcn.0040be70
mov dword [ebp - 0x2c], eax
mov ecx, edi
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4a5aca
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x2c]
add eax, 0x10
mov dword [ebx + 0xa4], eax
jmp 0x4a5ae1
push dword [edx - 0xc]
push edx
call fcn.004143c0
cmp byte [0x5d65b0], 0
je 0x4a5c09
call fcn.00413cd0
mov ecx, eax
test ecx, ecx
je 0x4a63ec
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x28]
push 0x12
push str.Full_command_line:
call fcn.00418250
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
test edx, edx
je 0x4a5b49
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a5b30
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00418250
lea eax, [ebp - 0x28]
mov ecx, 0x5d657c
push eax
call fcn.004c8170
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a5b78
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [0x5d65b0], 0
je 0x4a5c09
call fcn.00413cd0
mov ecx, eax
test ecx, ecx
je 0x4a63f6
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0xb
lea ecx, [ebp - 0x28]
push 0x1c
push str.Command_line_to_pass_to_MSI:
call fcn.00418250
mov esi, dword [ebx + 0x28]
test esi, esi
je 0x4a5bda
mov edx, esi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4a5bc1
sub edx, ecx
lea ecx, [ebp - 0x28]
sar edx, 1
push edx
push esi
call fcn.00418250
lea eax, [ebp - 0x28]
mov ecx, 0x5d657c
push eax
call fcn.004c8170
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a5c09
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea esi, [ebx + 0x90]
lea ecx, [ebx + 0x178]
push esi
call fcn.004b46b0
mov edx, esi
lea ecx, [ebp - 0x2c]
call fcn.00493c30
mov dword [ebp - 4], 0xe
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a5c55
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebx + 0x30]
call fcn.004adfb0
mov dword [ebp - 0x28], eax
test eax, eax
je 0x4a5ccc
mov dword [ebp - 4], 0x10
mov ecx, dword [ebx + 0x104]
sub ecx, 0x10
call fcn.0040be70
lea esi, [eax + 0x10]
mov dword [ebp - 0x2c], esi
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x28]
mov ecx, ebx
mov dword [ebp - 0x40], 1
call fcn.004aa870
mov eax, 1
mov dword [ebp - 0x40], eax
and eax, 0xfffffffe
mov dword [ebp - 0x40], eax
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x4a5cc2
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
jmp 0x4a63ce
lea eax, [ebx + 0x30]
mov dword [ebp - 0x50], 0x58fd64
lea esi, [ebx + 0x1f4]
mov dword [ebp - 0x50], 0x58fec0
mov dword [esi + 0x70], eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 4], 0x15
test byte [ebx + 0x74], 2
je 0x4a5e00
push eax
mov ecx, ebx
call fcn.004a64e0
lea eax, [ebp - 0x50]
mov ecx, esi
push eax
call fcn.0049c0a0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x24]
push ecx
mov esi, esp
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x3c], esi
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.0040be70
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x17
mov byte [ebp - 4], 0x15
lea ecx, [ebx + 0x30]
call fcn.004ada50
lea esi, [ebx + 0x1f4]
mov ecx, esi
call fcn.0049bb00
push eax
lea ecx, [ebx + 0x30]
call fcn.004b2520
mov edx, dword [ebx + 0x250]
lea ecx, [edx - 0x10]
mov dword [ebp - 0x2c], ecx
lea eax, [edx - 0x10]
mov ecx, dword [ebx + 0x10c]
sub ecx, 0x10
mov dword [ebp - 0x34], ecx
cmp eax, ecx
je 0x4a5ddd
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x28], eax
jl 0x4a5dce
mov eax, dword [edx - 0x10]
cmp eax, dword [ecx]
jne 0x4a5dce
mov ecx, dword [ebp - 0x2c]
call fcn.0040be70
mov edx, dword [ebp - 0x28]
mov ecx, edi
mov dword [ebp - 0x2c], eax
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4a5dc3
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x2c]
add eax, 0x10
mov dword [ebx + 0x10c], eax
jmp 0x4a5ddd
push dword [edx - 0xc]
lea ecx, [ebx + 0x10c]
push edx
call fcn.004143c0
lea eax, [ebx + 0x23c]
mov ecx, ebx
push eax
call fcn.004a98a0
push 0x1a
lea ecx, [ebx + 0x1c]
call fcn.004be280
test eax, eax
je 0x4a5e00
mov byte [ebx + 0x128], 1
push 6
lea ecx, [ebx + 0x1c]
call fcn.004be280
mov dword [ebp - 0x28], eax
test eax, eax
je 0x4a5e1c
push 1
mov ecx, esi
call fcn.0049b700
jmp 0x4a5e54
push 7
lea ecx, [ebx + 0x1c]
call fcn.004be280
mov dword [ebp - 0x28], eax
test eax, eax
je 0x4a5e31
push 1
jmp 0x4a5e4d
push 8
lea ecx, [ebx + 0x1c]
call fcn.004be280
mov dword [ebp - 0x28], eax
test eax, eax
je 0x4a5e54
push 0
mov ecx, esi
call fcn.0049b700
push 0
mov ecx, esi
call fcn.0049b940
cmp byte [ebp + 8], 0
je 0x4a5e6b
mov dword [ebx + 0xc0], 3
xor ebx, ebx
jmp 0x4a63b0
mov ecx, esi
call fcn.0049b610
test al, al
mov byte [ebx + 0x1e8], al
mov ecx, ebx
sete byte [0x5d0b04]
call fcn.004a6660
call fcn.00413cd0
mov ecx, eax
test ecx, ecx
je 0x4a6400
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 0x1a
mov eax, str.Advinst_
lea ecx, [ebp - 0x34]
test eax, 0xffff0000
jne 0x4a5ec0
movzx eax, ax
push eax
call fcn.00414050
jmp 0x4a5ecc
push 8
push str.Advinst_
call fcn.004143c0
mov byte [ebp - 4], 0x1b
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebx + 0x30]
call fcn.004ae0d0
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x34]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.00418250
mov byte [ebp - 4], 0x1b
mov eax, edi
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a5f0c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x34]
push edi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [0x5d0ce4]
mov esi, eax
mov eax, ecx
cmp esi, ecx
je 0x4a5f42
mov edx, dword [0x5d0ce0]
mov ecx, 0x5d0ce0
call dword [edx + 4]
mov ecx, esi
mov eax, esi
mov dword [0x5d0ce4], ecx
test eax, eax
je 0x4a5f69
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x5d0ce4]
cmp eax, 0xb7
jne 0x4a5f69
push ecx
mov byte [0x5d0ce8], 1
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x4a5fbe
cmp byte [0x5d0ce8], 0
je 0x4a5f7b
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x4a5fbe
test ecx, ecx
je 0x4a5fbe
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
push 0
push 0x5d0cdc
push 0x4bf100
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
cmp esi, dword [0x5d0cf0]
je 0x4a5fbe
mov edx, dword [0x5d0cec]
mov ecx, 0x5d0cec
call dword [edx + 4]
mov dword [0x5d0cf0], esi
cmp dword [ebp - 0x28], 0
jne 0x4a5ff2
cmp byte [0x5d0ce8], 0
je 0x4a5ff2
mov dl, 1
mov dword [ebx + 0xc0], 3
mov ecx, 0xcc
call fcn.0049dc00
or esi, 0xffffffff
mov dword [ebp - 0x28], 1
jmp 0x4a6394
mov ecx, ebx
call fcn.004a8480
push ecx
push 0
push 0xdc
lea ecx, [ebx + 0x178]
call fcn.004b4910
test byte [ebx + 0x74], 2
je 0x4a602c
push 0xdc
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x58d618
push eax
mov ecx, ebx
mov dword [ebp - 0x14], ebx
call fcn.004a6ee0
cmp byte [ebx + 0x1cc], 0
jne 0x4a610d
push 0x12
lea ecx, [ebx + 0x1c]
call fcn.004be280
test eax, eax
jne 0x4a610d
call fcn.00413cd0
mov ecx, eax
test ecx, ecx
je 0x4a640a
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x2c], esi
mov byte [ebp - 4], 0x22
lea eax, [ebp - 0x2c]
push eax
push 0x12
lea ecx, [ebx + 0x1c]
call fcn.004be0e0
mov byte [ebp - 4], 0x1b
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a6095
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx + 0x20c]
mov dword [ebp - 0x28], 0x58d588
cmp dword [eax - 0xc], 0
je 0x4a6110
cmp byte [ebx + 0x1e8], 0
jne 0x4a6110
mov edx, 0x5d0ec0
lea ecx, [ebp - 0x28]
call fcn.004c0f90
test al, al
je 0x4a6110
lea eax, [ebx + 0x178]
mov dword [ebp - 0x24], 0x58d628
mov dword [ebp - 0x20], eax
mov ecx, ebx
lea eax, [ebx + 0x210]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], eax
lea eax, [ebx + 0x20c]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
push 0x101
push eax
call fcn.004a6ee0
cmp dword [ebp - 0x14], 1
jne 0x4a6110
mov dword [ebp - 0x28], 0
jmp 0x4a6394
or esi, 0xffffffff
test byte [ebx + 0x74], 4
je 0x4a6142
push 0x8a
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x58d620
push eax
mov ecx, ebx
mov dword [ebp - 0x18], ebx
call fcn.004a6ee0
cmp byte [ebp - 0x14], 0
je 0x4a6142
mov dword [ebp - 0x28], 1
jmp 0x4a6394
mov ecx, ebx
call fcn.004a6890
cmp byte [ebp - 0x2d], 0
jne 0x4a61f5
mov eax, dword [ebx + 0x74]
test al, 1
je 0x4a61f5
test eax, 0x2000
jne 0x4a61f5
mov ecx, ebx
call fcn.004aa990
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [eax - 0xc]
cmp ecx, 3
jl 0x4a61f5
test ecx, ecx
js 0x4a6414
cmp word [eax], 0x5c
jne 0x4a61aa
cmp ecx, 1
jl 0x4a641e
cmp word [eax + 2], 0x5c
jne 0x4a61aa
cmp ecx, 2
jl 0x4a6428
cmp word [eax + 4], 0x5c
jne 0x4a61f5
xor ecx, ecx
nop dword [eax]
test ecx, ecx
js 0x4a6414
mov eax, dword [edx]
cmp ecx, dword [eax - 0xc]
jg 0x4a6414
mov ax, word [eax + ecx*2]
mov word [ebp + ecx*2 - 0x18], ax
inc ecx
cmp ecx, 3
jl 0x4a61b0
xor eax, eax
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
je 0x4a61f5
mov ecx, ebx
call fcn.004a9990
mov ebx, eax
jmp 0x4a6397
mov ecx, ebx
call fcn.004a6a60
mov ecx, dword [ebx + 0x28]
sub ecx, 0x10
call fcn.0040be70
add eax, 0x10
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0x2e
mov eax, dword [ebp - 0x38]
cmp dword [eax - 0xc], 0
jne 0x4a6321
mov edx, dword [ebx + 0x204]
lea ecx, [edx - 0x10]
mov dword [ebp - 0x2c], ecx
lea ecx, [eax - 0x10]
lea eax, [edx - 0x10]
mov dword [ebp - 0x3c], ecx
cmp eax, ecx
je 0x4a6287
cmp dword [ecx + 0xc], 0
lea edi, [ecx + 0xc]
mov dword [ebp - 0x28], edi
mov edi, dword [ebp - 0x34]
jl 0x4a627b
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4a627b
mov ecx, dword [ebp - 0x2c]
call fcn.0040be70
mov dword [ebp - 0x2c], eax
mov ecx, esi
mov eax, dword [ebp - 0x28]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4a6270
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x2c]
add eax, 0x10
mov dword [ebp - 0x38], eax
jmp 0x4a6287
push dword [edx - 0xc]
lea ecx, [ebp - 0x38]
push edx
call fcn.004143c0
push 0
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x14]
call fcn.004b5b00
add esp, 4
mov byte [ebp - 4], 0x2f
mov edx, dword [eax]
lea ecx, [edx - 0x10]
mov dword [ebp - 0x3c], ecx
lea eax, [edx - 0x10]
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
mov dword [ebp - 0x28], ecx
cmp eax, ecx
je 0x4a6303
cmp dword [ecx + 0xc], 0
lea edi, [ecx + 0xc]
mov dword [ebp - 0x2c], edi
mov edi, dword [ebp - 0x34]
jl 0x4a62f7
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4a62f7
mov ecx, dword [ebp - 0x3c]
call fcn.0040be70
mov dword [ebp - 0x3c], eax
mov ecx, esi
mov eax, dword [ebp - 0x2c]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4a62ec
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x3c]
add eax, 0x10
mov dword [ebp - 0x38], eax
jmp 0x4a6303
push dword [edx - 0xc]
lea ecx, [ebp - 0x38]
push edx
call fcn.004143c0
mov byte [ebp - 4], 0x2e
mov eax, esi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a6321
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebx + 0x184]
call fcn.004b4350
mov eax, dword [ebx + 0x22c]
mov ecx, ebx
mov dword [ebx + 0xc0], eax
mov al, byte [ebx + 0x230]
mov byte [ebx + 0xc4], al
lea eax, [ebp - 0x38]
push eax
call fcn.004a6f30
mov ecx, ebx
mov dword [ebp - 0x28], eax
call fcn.004ab880
lea eax, [ebx + 0x30]
mov dword [ebp - 0x58], 0x58d610
mov dword [ebp - 0x54], eax
mov ecx, ebx
push 0x10a
lea eax, [ebp - 0x58]
push eax
call fcn.004a6ee0
mov byte [ebp - 4], 0x1b
mov eax, esi
mov edx, dword [ebp - 0x38]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a6394
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x28]
mov byte [ebp - 4], 0x15
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], esi
dec esi
test esi, esi
jg 0x4a63b0
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x50]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.004acba0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00520c02
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.004143a0
push 0x80004005
call fcn.004143a0
push 0x80004005
call fcn.004143a0
push 0x80004005
call fcn.004143a0
push 0x80070057
call fcn.004143a0
push 0x80070057
call fcn.004143a0
push 0x80070057
call fcn.004143a0
int3