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

Disassembly:
sub esp, 0x458
mov eax, dword [0x596f48]
xor eax, esp
mov dword [esp + 0x454], eax
push ebx
mov ebx, dword [esp + 0x464]
push esi
push edi
mov edi, dword [esp + 0x468]
push edi
push str.cl:__s_n
mov dword [esp + 0x24], ebx
call fcn.0048f0a0
add esp, 8
lea eax, [esp + 0x350]
push eax
call fcn.00522730
lea ecx, [esp + 0x20]
push ecx
call fcn.00522730
push 0xac
call fcn.004a3fd0
push 0xac
mov esi, eax
push 0
push esi
call fcn.00549090
add esp, 0xc
test ebx, ebx
lea edx, [esp + 0x20]
mov dword [esi + 0x58], 1
mov dword [esi + 0x6c], 0xffffffff
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], 0
je 0x405010
push ebx
lea eax, [esp + 0x354]
push eax
call fcn.00523040
jmp 0x40501d
lea ecx, [esp + 0x350]
push ecx
call fcn.004ad200
lea edx, [esp + 0xc]
push edx
call fcn.00404670
test eax, eax
je 0x405c44
push ebp
cmp dword [esp + 0x474], 0
jne 0x40504a
mov dword [esp + 0x474], 1
jmp 0x405b10
cmp dword [esp + 0x14], 0
mov ecx, dword [esp + 0x2c]
jne 0x405af7
mov al, byte [ecx]
cmp al, 0x2d
je 0x405067
cmp al, 0x2f
jne 0x405af7
mov edx, ecx
add ecx, 1
cmp byte [ecx], 0x2d
jne 0x405074
add ecx, 1
mov al, byte [ecx]
test al, al
je 0x405098
lea ebx, [ebx]
cmp al, 0x5f
jne 0x405089
mov byte [edx], 0x2d
jmp 0x40508b
mov byte [edx], al
mov al, byte [ecx + 1]
add ecx, 1
add edx, 1
test al, al
jne 0x405080
mov byte [edx], 0
mov edi, dword [esp + 0x2c]
push edi
call fcn.00404610
mov ebp, eax
cmp ebp, 0xffffffff
je 0x405a07
lea ebx, [ebp + ebp*2]
add ebx, ebx
movzx eax, byte [ebx + ebx + 0x58a048]
add ebx, ebx
cmp eax, 0xd
ja case.0x4050c9.2
jmp dword [eax*4 + 0x405c78]
mov eax, dword [ebx + 0x58a050]
or dword [esi + 4], eax
mov ecx, dword [ebx + 0x58a050]
not ecx
and dword [esi + 8], ecx
jmp 0x405b10
mov edx, dword [ebx + 0x58a050]
or dword [esi], edx
jmp 0x405b10
mov eax, dword [ebx + 0x58a050]
mov dword [esi + 0x60], eax
jmp 0x405b10
mov dword [esi + 0x68], 1
jmp 0x405b10
mov dword [esi + 0x68], 0xffffffff
jmp 0x405b10
mov ecx, dword [ebx + 0x58a050]
mov dword [esi + 0x64], ecx
jmp 0x405b10
mov ebx, dword [ebx + 0x58a050]
cmp ebx, 0xe
ja case.0x4050c9.2
jmp dword [ebx*4 + 0x405cb0]
mov dword [esi + 0x78], 1
jmp 0x405b10
mov dword [esi + 0x78], 2
jmp 0x405b10
mov dword [esi + 0x78], 3
jmp 0x405b10
mov dword [esi + 0x78], 4
jmp 0x405b10
mov dword [esi + 0x78], 5
jmp 0x405b10
call fcn.00404750
or dword [esi], 0x400
jmp 0x405b10
mov edx, dword [esi]
and edx, 0xffefffff
or edx, 0x80000
mov dword [esi], edx
jmp 0x405b10
mov eax, dword [esi]
and eax, 0xfff7ffff
or eax, 0x100000
mov dword [esi], eax
jmp 0x405b10
or dword [esi + 4], 0x4000000
and dword [esi + 8], 0xfbffffff
jmp 0x405b10
or dword [esi + 8], 0x4000000
and dword [esi + 4], 0xfbffffff
jmp 0x405b10
lea ecx, [esp + 0x244]
push ecx
call fcn.00522730
push 0
lea edx, [esp + 0x248]
push edx
call fcn.004acea0
mov eax, dword [esp + 0x24c]
push eax
call fcn.0051bb30
mov ecx, dword [esp + 0x24c]
mov byte [eax + ecx], 0
mov edx, dword [esp + 0x24c]
mov eax, dword [esi + 0xc]
push edx
push eax
call fcn.005220d0
lea ecx, [esp + 0x244]
push ecx
mov dword [esi + 0xc], eax
call fcn.00401260
jmp 0x405b10
lea edx, [esp + 0x134]
push edx
call fcn.00522730
lea eax, [esp + 0x134]
push eax
call fcn.005244e0
mov ecx, dword [esp + 0x13c]
mov edx, dword [esi + 0xc]
push ecx
push edx
call fcn.005220d0
mov dword [esi + 0xc], eax
lea eax, [esp + 0x134]
push eax
call fcn.00401260
jmp 0x405b10
mov ecx, dword [ebx + 0x58a050]
mov dword [esi + 0x58], ecx
jmp 0x405b10
lea edx, [esp + 0x10]
push edx
call fcn.00404670
test eax, eax
je 0x405c16
mov ebx, dword [esp + 0x35c]
mov edi, dword [esp + 0x2c]
mov ecx, dword [esi + 0x8c]
call fcn.00404780
mov dword [esi + 0x8c], eax
lea eax, [esp + 0x10]
push eax
call fcn.00404670
test eax, eax
je 0x405c16
mov ebx, dword [esp + 0x35c]
mov edi, dword [esp + 0x2c]
mov ecx, dword [esi + 0x90]
call fcn.00404780
mov dword [esi + 0x90], eax
jmp 0x405b10
lea ecx, [esp + 0x10]
push ecx
call fcn.00404670
test eax, eax
je 0x405bd7
mov edx, dword [esp + 0x2c]
push 0
push edx
mov edi, esi
call fcn.00404a90
mov edi, eax
lea eax, [esp + 0x10]
push eax
call fcn.00404670
test eax, eax
je 0x405bec
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0051c510
lea edx, [esp + 0x10]
push edx
mov dword [edi + 0xc], eax
call fcn.00404670
test eax, eax
je 0x405c01
mov eax, dword [esp + 0x2c]
push eax
call fcn.0051c510
mov dword [edi + 0x10], eax
mov dword [edi + 4], 1
jmp 0x405b10
lea ecx, [esp + 0x10]
push ecx
call fcn.00404670
test eax, eax
jne 0x4053aa
cmp dword [ebx + 0x58a050], 0x11
jne 0x405c16
lea edx, [esp + 0x134]
push edx
call fcn.00522730
lea eax, [esp + 0x134]
push eax
call fcn.005238a0
mov ecx, dword [esp + 0x13c]
mov edx, dword [esi + 0x30]
push ecx
push edx
call fcn.005220d0
mov dword [esi + 0x30], eax
lea eax, [esp + 0x134]
push eax
call fcn.00401260
jmp 0x405b10
mov eax, dword [ebx + 0x58a050]
cmp eax, 0x23
ja case.0x4053b9.9
jmp dword [eax*4 + 0x405cec]
call fcn.00404750
mov edi, dword [esp + 0x2c]
jmp 0x405afe
mov ebx, dword [esp + 0x35c]
mov edi, dword [esp + 0x2c]
mov ecx, dword [esi + 0x1c]
call fcn.00404780
mov dword [esi + 0x1c], eax
jmp 0x405b10
mov ebx, dword [esp + 0x35c]
mov edi, dword [esp + 0x2c]
mov ecx, dword [esi + 0x14]
call fcn.00404780
mov dword [esi + 0x14], eax
jmp 0x405b10
mov ebx, dword [esp + 0x35c]
mov edi, dword [esp + 0x2c]
mov ecx, dword [esi + 0x10]
call fcn.00404780
mov dword [esi + 0x10], eax
jmp 0x405b10
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0051c510
mov dword [esi + 0x54], eax
jmp 0x405b10
call fcn.00404750
mov edx, dword [esp + 0x2c]
push edx
call fcn.0051b6c0
mov dword [esi + 0x34], eax
jmp 0x405b10
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi + 0xc]
push eax
push ecx
call fcn.005220d0
mov dword [esi + 0xc], eax
jmp 0x405b10
lea eax, [esp + 0x244]
push eax
call fcn.00522730
lea ecx, [esp + 0x134]
push ecx
call fcn.00522730
mov edx, dword [esp + 0x35c]
mov eax, dword [esp + 0x2c]
push edx
push eax
lea ecx, [esp + 0x13c]
push ecx
call fcn.005239c0
mov edx, dword [esp + 0x13c]
push edx
lea eax, [esp + 0x248]
push eax
call fcn.004d5f10
mov ecx, dword [esp + 0x24c]
push ecx
mov ebx, 4
mov edi, esi
call fcn.00404af0
lea edx, [esp + 0x134]
push edx
call fcn.00401260
lea eax, [esp + 0x244]
push eax
call fcn.00401260
jmp 0x405b10
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi + 0x3c]
push ecx
push edx
call fcn.005220d0
mov dword [esi + 0x3c], eax
jmp 0x405b10
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi + 0x48]
push eax
push ecx
call fcn.005220d0
mov dword [esi + 0x48], eax
jmp 0x405b10
mov edx, dword [esp + 0x2c]
mov eax, dword [esi + 0x4c]
push edx
push eax
call fcn.005220d0
mov dword [esi + 0x4c], eax
jmp 0x405b10
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi + 0x40]
push ecx
push edx
call fcn.005220d0
mov dword [esi + 0x40], eax
jmp 0x405b10
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi + 0x44]
push eax
push ecx
call fcn.005220d0
mov dword [esi + 0x44], eax
jmp 0x405b10
mov edx, dword [esp + 0x2c]
mov eax, dword [esi + 0x20]
push edx
push eax
call fcn.005220d0
mov dword [esi + 0x20], eax
jmp 0x405b10
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi + 0x24]
push ecx
push edx
call fcn.005220d0
mov dword [esi + 0x24], eax
jmp 0x405b10
mov eax, dword [esp + 0x2c]
mov cl, byte [eax]
cmp cl, 0x45
mov edi, eax
mov dword [esp + 0x1c], 0
je 0x40558e
cmp cl, 0x65
jne 0x4055bb
mov cl, byte [eax + 1]
cmp cl, 0x53
je 0x40559b
cmp cl, 0x73
jne 0x4055bb
cmp byte [eax + 2], 0x3a
jne 0x4055bb
cmp byte [eax + 3], 0x2f
lea edi, [eax + 3]
jne 0x4055bb
cmp byte [edi + 1], 0x2f
jne 0x4055bb
add edi, 2
mov dword [esp + 0x1c], 1
mov cl, byte [edi]
test cl, cl
mov ebp, eax
je 0x40563e
cmp dword [esp + 0x1c], 0
je 0x4055e6
cmp cl, 0x2f
jne 0x4055e6
mov al, byte [edi + 1]
test al, al
mov dword [esp + 0x1c], 0
je 0x405635
cmp al, 0x23
je 0x405635
cmp al, 0x3f
je 0x405635
cmp cl, 0x25
jne 0x40562d
movzx eax, byte [edi + 1]
push eax
call fcn.0051be70
test eax, eax
jl 0x40562d
movzx ecx, byte [edi + 2]
push ecx
call fcn.0051be70
test eax, eax
jl 0x40562d
movzx edx, byte [edi + 1]
push edx
call fcn.0051be70
mov bl, al
movzx eax, byte [edi + 2]
push eax
shl bl, 4
call fcn.0051be70
or al, bl
mov byte [ebp], al
add ebp, 1
add edi, 3
jmp 0x405638
mov cl, byte [edi]
mov byte [ebp], cl
add ebp, 1
add edi, 1
mov cl, byte [edi]
test cl, cl
jne 0x4055c3
mov byte [ebp], 0
mov edx, dword [esp + 0x2c]
push edx
xor ebx, ebx
mov edi, esi
call fcn.00404af0
jmp 0x405b10
mov eax, dword [esp + 0x2c]
push eax
call fcn.0051bf20
mov dword [esi + 0x5c], eax
jmp 0x405b10
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0051bf20
mov dword [esi + 0x70], eax
jmp 0x405b10
mov edx, dword [esp + 0x2c]
push 2
push edx
mov edi, esi
call fcn.00404a90
jmp 0x405b10
mov eax, dword [esp + 0x2c]
push eax
call fcn.0051bf20
mov dword [esi + 0x58], eax
jmp 0x405b10
mov ecx, str._ascending
lea eax, [esp + 0x24]
call fcn.00404b80
test eax, eax
jne 0x4056ef
mov ecx, str.ascending
lea eax, [esp + 0x24]
call fcn.00404b80
test eax, eax
jne 0x4056ef
mov ecx, str._descending
lea eax, [esp + 0x24]
call fcn.00404b80
test eax, eax
jne 0x4056e6
mov ecx, str.descending
lea eax, [esp + 0x24]
call fcn.00404b80
test eax, eax
je 0x4056f6
mov dword [esi + 0x68], 0xffffffff
jmp 0x4056f6
mov dword [esi + 0x68], 1
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004c37a0
cmp eax, 0xffffffff
mov dword [esi + 0x6c], eax
jne 0x405b10
mov dword [esi + 0x6c], 0
jmp 0x405b10
lea edx, [esp + 0x244]
push edx
call fcn.00522730
mov edx, dword [esp + 0x2c]
cmp byte [edx], 0x3a
mov eax, edx
mov edi, str.::20D04FE0_3AEA_1069_A2D8_08002B30309D
jne 0x405748
mov cl, 0x3a
test cl, cl
je 0x405752
mov cl, byte [eax + 1]
add eax, 1
add edi, 1
cmp cl, byte [edi]
je 0x405737
movzx ecx, byte [edi]
movzx eax, byte [eax]
sub eax, ecx
jne 0x405761
lea edx, [esp + 0x244]
push edx
call fcn.00523180
jmp 0x405777
mov eax, dword [esp + 0x35c]
push eax
push edx
lea ecx, [esp + 0x24c]
push ecx
call fcn.005239c0
cmp dword [ebx + 0x58a050], 7
jne 0x405798
mov edx, dword [esp + 0x24c]
push edx
call fcn.0051bb30
mov ecx, dword [esp + 0x24c]
mov byte [eax + ecx], 0
mov edx, dword [esp + 0x24c]
cmp byte [edx], 0
je 0x40580e
lea eax, [esp + 0x134]
push eax
call fcn.00522730
mov ecx, dword [esp + 0x24c]
push ecx
lea edx, [esp + 0x138]
push edx
call fcn.004ad0a0
cmp dword [ebx + 0x58a050], 5
jne 0x4057e0
mov eax, dword [esp + 0x13c]
push eax
call fcn.004abdb0
test eax, eax
je 0x4057ed
lea ecx, [esp + 0x134]
push ecx
call fcn.00522ec0
mov edx, dword [esp + 0x13c]
push edx
mov ebx, 1
mov edi, esi
call fcn.00404af0
lea eax, [esp + 0x134]
push eax
call fcn.00401260
lea ecx, [esp + 0x244]
push ecx
call fcn.00401260
jmp 0x405b10
mov edx, dword [esp + 0x2c]
push edx
call fcn.0051cd90
push eax
mov ebx, 3
mov edi, esi
call fcn.00404af0
jmp 0x405b10
lea eax, [esp + 0x134]
push eax
call fcn.00522730
mov edi, dword [esp + 0x2c]
cmp byte [edi], 0x3a
mov eax, edi
mov ecx, str.::20D04FE0_3AEA_1069_A2D8_08002B30309D
jne 0x405871
mov dl, 0x3a
jmp 0x405860
test dl, dl
je 0x40587b
mov dl, byte [eax + 1]
add eax, 1
add ecx, 1
cmp dl, byte [ecx]
je 0x405860
movzx ecx, byte [ecx]
movzx eax, byte [eax]
sub eax, ecx
jne 0x40588a
lea edx, [esp + 0x134]
push edx
call fcn.00523180
jmp 0x4058a0
mov eax, dword [esp + 0x35c]
push eax
push edi
lea ecx, [esp + 0x13c]
push ecx
call fcn.005239c0
mov edx, dword [esp + 0x13c]
cmp byte [edx], 0
je 0x40590e
lea eax, [esp + 0x244]
push eax
call fcn.00522730
mov ecx, dword [esp + 0x13c]
push ecx
lea edx, [esp + 0x248]
push edx
call fcn.004ad0a0
lea eax, [esp + 0x244]
push eax
call fcn.00522e30
mov ecx, dword [esp + 0x24c]
push ecx
mov ebx, 2
mov edi, esi
call fcn.00404af0
lea edx, [esp + 0x244]
push edx
call fcn.00401260
lea eax, [esp + 0x134]
push eax
call fcn.00401260
jmp 0x405b10
push 0x55068a
mov ebx, 2
mov edi, esi
call fcn.00404af0
lea eax, [esp + 0x134]
push eax
call fcn.00401260
jmp 0x405b10
mov ebx, dword [esp + 0x35c]
mov edi, dword [esp + 0x2c]
mov ecx, dword [esi + 0x28]
call fcn.00404780
mov dword [esi + 0x28], eax
jmp 0x405b10
mov ebx, dword [esp + 0x35c]
mov edi, dword [esp + 0x2c]
mov ecx, dword [esi + 0x38]
call fcn.00404780
mov dword [esi + 0x38], eax
jmp 0x405b10
mov ebx, dword [esp + 0x35c]
mov edi, dword [esp + 0x2c]
mov ecx, dword [esi + 0x30]
call fcn.00404780
mov dword [esi + 0x30], eax
jmp 0x405b10
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi + 0x2c]
push ecx
push edx
call fcn.005220d0
mov dword [esi + 0x2c], eax
jmp 0x405b10
mov ebx, dword [esp + 0x35c]
mov edi, dword [esp + 0x2c]
mov ecx, dword [esi + 0x50]
call fcn.00404780
mov dword [esi + 0x50], eax
jmp 0x405b10
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi + 0x94]
push eax
push ecx
call fcn.005220d0
mov dword [esi + 0x94], eax
jmp 0x405b10
mov edx, dword [esp + 0x2c]
mov eax, dword [esi + 0x98]
push edx
push eax
call fcn.005220d0
mov dword [esi + 0x98], eax
jmp 0x405b10
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi + 0x9c]
push ecx
push edx
call fcn.005220d0
mov dword [esi + 0x9c], eax
jmp 0x405b10
push 1
mov ecx, edi
mov eax, 0x550fa8
call fcn.00404f20
cmp eax, 0xffffffff
je 0x405a38
lea eax, [eax + eax*2]
mov ecx, dword [eax*4 + 0x58a050]
or dword [esi + 8], ecx
mov edx, dword [eax*4 + 0x58a050]
not edx
and dword [esi + 4], edx
jmp 0x405b10
push 2
mov ecx, edi
mov eax, str.install_
call fcn.00404f20
cmp eax, 0xffffffff
je 0x405a69
lea eax, [eax + eax*2]
mov ecx, dword [eax*4 + 0x58a050]
or dword [esi + 4], ecx
mov edx, dword [eax*4 + 0x58a050]
not edx
and dword [esi + 8], edx
jmp 0x405b10
push 2
mov ecx, edi
mov eax, str.uninstall_
call fcn.00404f20
cmp eax, 0xffffffff
je 0x405a97
lea eax, [eax + eax*2]
mov ecx, dword [eax*4 + 0x58a050]
or dword [esi + 8], ecx
mov edx, dword [eax*4 + 0x58a050]
not edx
and dword [esi + 4], edx
jmp 0x405b10
push 3
mov ecx, edi
mov eax, str.enable_
call fcn.00404f20
cmp eax, 0xffffffff
je 0x405ac5
lea eax, [eax + eax*2]
mov ecx, dword [eax*4 + 0x58a050]
or dword [esi + 4], ecx
mov edx, dword [eax*4 + 0x58a050]
not edx
and dword [esi + 8], edx
jmp 0x405b10
push 3
mov ecx, edi
mov eax, str.disable_
call fcn.00404f20
cmp eax, 0xffffffff
je case.0x4050c9.2
lea eax, [eax + eax*2]
mov ecx, dword [eax*4 + 0x58a050]
or dword [esi + 8], ecx
mov edx, dword [eax*4 + 0x58a050]
not edx
and dword [esi + 4], edx
jmp 0x405b10
cmp byte [ecx], 0
je 0x405b10
mov edi, ecx
mov ebx, dword [esp + 0x35c]
mov ecx, dword [esi + 0x18]
call fcn.00404780
mov dword [esi + 0x18], eax
lea eax, [esp + 0x10]
push eax
call fcn.00404670
test eax, eax
jne 0x405030
jmp 0x405c43
lea ecx, [esp + 0x134]
push ecx
call fcn.00522730
lea edx, [esp + 0x10]
push edx
call fcn.00404670
test eax, eax
je 0x405b75
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
push edi
push eax
lea ecx, [esp + 0x13c]
push ecx
call fcn.005239c0
mov edx, dword [esp + 0x13c]
push edx
push esi
call fcn.00404bd0
lea eax, [esp + 0x10]
push eax
call fcn.00404670
test eax, eax
jne 0x405b46
lea ecx, [ebp + ebp*2]
mov eax, dword [ecx*4 + 0x58a050]
sub eax, 3
je 0x405bc1
sub eax, 1
je 0x405ba8
sub eax, 1
jne 0x405bc8
lea edx, [esp + 0x134]
push edx
mov dword [esi + 0x74], 2
call fcn.00401260
jmp 0x405c43
lea edx, [esp + 0x134]
push edx
mov dword [esi + 0x74], 3
call fcn.00401260
jmp 0x405c43
mov dword [esi + 0x74], 1
lea edx, [esp + 0x134]
push edx
call fcn.00401260
jmp 0x405c43
or dword [esi], 0x800
push str.expected_volume_n
call fcn.0048f0a0
add esp, 4
jmp 0x405c43
or dword [esi], 0x800
push str.expected_max_size_n
call fcn.0048f0a0
add esp, 4
jmp 0x405c43
or dword [esi], 0x800
push str.expected_allocation_delta_n
call fcn.0048f0a0
add esp, 4
jmp 0x405c43
or dword [esi], 0x800
push str.expected_argument_for_switch_n
call fcn.0048f0a0
add esp, 4
jmp 0x405c43
mov edi, dword [esp + 0x2c]
push edi
push str.unknown_command_line_switch__s_n
call fcn.0048f0a0
add esp, 8
or dword [esi], 0x800
pop ebp
lea eax, [esp + 0x20]
push eax
call fcn.00401260
lea ecx, [esp + 0x350]
push ecx
call fcn.00401260
mov ecx, dword [esp + 0x460]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.0054899c
add esp, 0x458
ret 0xc