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

Disassembly:
sub esp, 0x458
mov eax, dword [0x593ee8]
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.0048e370
add esp, 8
lea eax, [esp + 0x350]
push eax
call fcn.00401210
lea ecx, [esp + 0x20]
push ecx
call fcn.00401210
push 0xac
call fcn.004a3070
push 0xac
mov esi, eax
push 0
push esi
call fcn.00547b30
add esp, 0xc
test ebx, ebx
lea edx, [esp + 0x20]
mov dword [esi + 0x58], 1
mov dword [esi + 0x6c], 0xffffffff
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], 0
je 0x404fc0
push ebx
lea eax, [esp + 0x354]
push eax
call fcn.00521ae0
jmp 0x404fcd
lea ecx, [esp + 0x350]
push ecx
call fcn.004ac320
lea edx, [esp + 0x10]
push edx
call fcn.00404620
test eax, eax
je 0x405bae
push ebp
cmp dword [esp + 0x474], 0
jne 0x404ffa
mov dword [esp + 0x474], 1
jmp 0x405a76
cmp dword [esp + 0x18], 0
mov ecx, dword [esp + 0x2c]
jne 0x405a5d
mov al, byte [ecx]
cmp al, 0x2d
je 0x405017
cmp al, 0x2f
jne 0x405a5d
mov edx, ecx
add ecx, 1
cmp byte [ecx], 0x2d
jne 0x405024
add ecx, 1
mov al, byte [ecx]
test al, al
je 0x405048
lea ebx, [ebx]
cmp al, 0x5f
jne 0x405039
mov byte [edx], 0x2d
jmp 0x40503b
mov byte [edx], al
mov al, byte [ecx + 1]
add ecx, 1
add edx, 1
test al, al
jne 0x405030
mov byte [edx], 0
mov edi, dword [esp + 0x2c]
push edi
call fcn.004045c0
mov ebp, eax
cmp ebp, 0xffffffff
je 0x40596d
lea ebx, [ebp + ebp*2]
add ebx, ebx
movzx eax, byte [ebx + ebx + 0x587048]
add ebx, ebx
cmp eax, 0xd
ja case.0x405079.2
jmp dword [eax*4 + 0x405be4]
mov eax, dword [ebx + 0x587050]
or dword [esi + 4], eax
mov ecx, dword [ebx + 0x587050]
not ecx
and dword [esi + 8], ecx
jmp 0x405a76
mov edx, dword [ebx + 0x587050]
or dword [esi], edx
jmp 0x405a76
mov eax, dword [ebx + 0x587050]
mov dword [esi + 0x60], eax
jmp 0x405a76
mov dword [esi + 0x68], 1
jmp 0x405a76
mov dword [esi + 0x68], 0xffffffff
jmp 0x405a76
mov ecx, dword [ebx + 0x587050]
mov dword [esi + 0x64], ecx
jmp 0x405a76
mov ebx, dword [ebx + 0x587050]
cmp ebx, 0xe
ja case.0x405079.2
jmp dword [ebx*4 + 0x405c1c]
mov dword [esi + 0x78], 1
jmp 0x405a76
mov dword [esi + 0x78], 2
jmp 0x405a76
mov dword [esi + 0x78], 3
jmp 0x405a76
mov dword [esi + 0x78], 4
jmp 0x405a76
mov dword [esi + 0x78], 5
jmp 0x405a76
call fcn.00404700
or dword [esi], 0x400
jmp 0x405a76
mov edx, dword [esi]
and edx, 0xffefffff
or edx, 0x80000
mov dword [esi], edx
jmp 0x405a76
mov eax, dword [esi]
and eax, 0xfff7ffff
or eax, 0x100000
mov dword [esi], eax
jmp 0x405a76
or dword [esi + 4], 0x4000000
and dword [esi + 8], 0xfbffffff
jmp 0x405a76
or dword [esi + 8], 0x4000000
and dword [esi + 4], 0xfbffffff
jmp 0x405a76
lea ecx, [esp + 0x244]
push ecx
call fcn.00401210
push 0
lea edx, [esp + 0x248]
push edx
call fcn.004abfc0
mov eax, dword [esp + 0x24c]
push eax
call fcn.0051a5c0
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.00520b60
lea ecx, [esp + 0x244]
push ecx
mov dword [esi + 0xc], eax
call fcn.005211b0
jmp 0x405a76
lea edx, [esp + 0x134]
push edx
call fcn.00401210
lea eax, [esp + 0x134]
push eax
call fcn.00522f80
mov ecx, dword [esp + 0x13c]
mov edx, dword [esi + 0xc]
push ecx
push edx
call fcn.00520b60
mov dword [esi + 0xc], eax
lea eax, [esp + 0x134]
push eax
call fcn.005211b0
jmp 0x405a76
mov ecx, dword [ebx + 0x587050]
mov dword [esi + 0x58], ecx
jmp 0x405a76
lea edx, [esp + 0x14]
push edx
call fcn.00404620
test eax, eax
je 0x405b80
mov ebx, dword [esp + 0x35c]
mov edi, dword [esp + 0x2c]
mov ecx, dword [esi + 0x8c]
call fcn.00404730
mov dword [esi + 0x8c], eax
lea eax, [esp + 0x14]
push eax
call fcn.00404620
test eax, eax
je 0x405b80
mov ebx, dword [esp + 0x35c]
mov edi, dword [esp + 0x2c]
mov ecx, dword [esi + 0x90]
call fcn.00404730
mov dword [esi + 0x90], eax
jmp 0x405a76
lea ecx, [esp + 0x14]
push ecx
call fcn.00404620
test eax, eax
je 0x405b41
mov edx, dword [esp + 0x2c]
push 0
push edx
mov edi, esi
call fcn.00404a40
mov edi, eax
lea eax, [esp + 0x14]
push eax
call fcn.00404620
test eax, eax
je 0x405b56
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0051afa0
lea edx, [esp + 0x14]
push edx
mov dword [edi + 0xc], eax
call fcn.00404620
test eax, eax
je 0x405b6b
mov eax, dword [esp + 0x2c]
push eax
call fcn.0051afa0
mov dword [edi + 0x10], eax
mov dword [edi + 4], 1
jmp 0x405a76
lea ecx, [esp + 0x14]
push ecx
call fcn.00404620
test eax, eax
jne 0x40535a
cmp dword [ebx + 0x587050], 0x11
jne 0x405b80
lea edx, [esp + 0x134]
push edx
call fcn.00401210
lea eax, [esp + 0x134]
push eax
call fcn.00522340
mov ecx, dword [esp + 0x13c]
mov edx, dword [esi + 0x30]
push ecx
push edx
call fcn.00520b60
mov dword [esi + 0x30], eax
lea eax, [esp + 0x134]
push eax
call fcn.005211b0
jmp 0x405a76
mov eax, dword [ebx + 0x587050]
cmp eax, 0x23
ja case.0x405369.9
jmp dword [eax*4 + 0x405c58]
call fcn.00404700
mov edi, dword [esp + 0x2c]
jmp 0x405a64
mov ebx, dword [esp + 0x35c]
mov edi, dword [esp + 0x2c]
mov ecx, dword [esi + 0x1c]
call fcn.00404730
mov dword [esi + 0x1c], eax
jmp 0x405a76
mov ebx, dword [esp + 0x35c]
mov edi, dword [esp + 0x2c]
mov ecx, dword [esi + 0x14]
call fcn.00404730
mov dword [esi + 0x14], eax
jmp 0x405a76
mov ebx, dword [esp + 0x35c]
mov edi, dword [esp + 0x2c]
mov ecx, dword [esi + 0x10]
call fcn.00404730
mov dword [esi + 0x10], eax
jmp 0x405a76
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0051afa0
mov dword [esi + 0x54], eax
jmp 0x405a76
call fcn.00404700
mov edx, dword [esp + 0x2c]
push edx
call fcn.0051a150
mov dword [esi + 0x34], eax
jmp 0x405a76
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi + 0xc]
push eax
push ecx
call fcn.00520b60
mov dword [esi + 0xc], eax
jmp 0x405a76
lea eax, [esp + 0x244]
push eax
call fcn.00401210
lea ecx, [esp + 0x134]
push ecx
call fcn.00401210
mov edx, dword [esp + 0x35c]
mov eax, dword [esp + 0x2c]
push edx
push eax
lea ecx, [esp + 0x13c]
push ecx
call fcn.00522460
mov edx, dword [esp + 0x13c]
push edx
lea eax, [esp + 0x248]
push eax
call 0x4d4c40
mov ecx, dword [esp + 0x24c]
push ecx
mov ebx, 4
mov edi, esi
call fcn.00404aa0
lea edx, [esp + 0x134]
push edx
call fcn.005211b0
lea eax, [esp + 0x244]
push eax
call fcn.005211b0
jmp 0x405a76
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi + 0x3c]
push ecx
push edx
call fcn.00520b60
mov dword [esi + 0x3c], eax
jmp 0x405a76
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi + 0x48]
push eax
push ecx
call fcn.00520b60
mov dword [esi + 0x48], eax
jmp 0x405a76
mov edx, dword [esp + 0x2c]
mov eax, dword [esi + 0x4c]
push edx
push eax
call fcn.00520b60
mov dword [esi + 0x4c], eax
jmp 0x405a76
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi + 0x40]
push ecx
push edx
call fcn.00520b60
mov dword [esi + 0x40], eax
jmp 0x405a76
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi + 0x44]
push eax
push ecx
call fcn.00520b60
mov dword [esi + 0x44], eax
jmp 0x405a76
mov edx, dword [esp + 0x2c]
mov eax, dword [esi + 0x20]
push edx
push eax
call fcn.00520b60
mov dword [esi + 0x20], eax
jmp 0x405a76
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi + 0x24]
push ecx
push edx
call fcn.00520b60
mov dword [esi + 0x24], eax
jmp 0x405a76
mov ebx, dword [esp + 0x2c]
mov al, byte [ebx]
cmp al, 0x45
mov edi, ebx
je 0x405534
cmp al, 0x65
jne 0x405548
mov al, byte [ebx + 1]
cmp al, 0x53
je 0x40553f
cmp al, 0x73
jne 0x405548
cmp byte [ebx + 2], 0x3a
jne 0x405548
lea edi, [ebx + 3]
mov al, byte [edi]
test al, al
je 0x4055aa
mov edi, edi
cmp al, 0x25
jne 0x40559a
movzx eax, byte [edi + 1]
push eax
call fcn.0051a900
test eax, eax
jl 0x40559a
movzx ecx, byte [edi + 2]
push ecx
call fcn.0051a900
test eax, eax
jl 0x40559a
movzx edx, byte [edi + 1]
push edx
call fcn.0051a900
shl al, 4
mov byte [esp + 0x13], al
movzx eax, byte [edi + 2]
push eax
call fcn.0051a900
or al, byte [esp + 0x13]
add ebx, 1
mov byte [ebx - 1], al
add edi, 3
jmp 0x4055a4
mov cl, byte [edi]
mov byte [ebx], cl
add ebx, 1
add edi, 1
mov al, byte [edi]
test al, al
jne 0x405550
mov byte [ebx], 0
mov edx, dword [esp + 0x2c]
push edx
xor ebx, ebx
mov edi, esi
call fcn.00404aa0
jmp 0x405a76
mov eax, dword [esp + 0x2c]
push eax
call fcn.0051a9b0
mov dword [esi + 0x5c], eax
jmp 0x405a76
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0051a9b0
mov dword [esi + 0x70], eax
jmp 0x405a76
mov edx, dword [esp + 0x2c]
push 2
push edx
mov edi, esi
call fcn.00404a40
jmp 0x405a76
mov eax, dword [esp + 0x2c]
push eax
call fcn.0051a9b0
mov dword [esi + 0x58], eax
jmp 0x405a76
mov ecx, str._ascending
lea eax, [esp + 0x24]
call fcn.00404b30
test eax, eax
jne 0x40565a
mov ecx, str.ascending
lea eax, [esp + 0x24]
call fcn.00404b30
test eax, eax
jne 0x40565a
mov ecx, str._descending
lea eax, [esp + 0x24]
call fcn.00404b30
test eax, eax
jne 0x405651
mov ecx, str.descending
lea eax, [esp + 0x24]
call fcn.00404b30
test eax, eax
je 0x405661
mov dword [esi + 0x68], 0xffffffff
jmp 0x405661
mov dword [esi + 0x68], 1
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004c26e0
cmp eax, 0xffffffff
mov dword [esi + 0x6c], eax
jne 0x405a76
mov dword [esi + 0x6c], 0
jmp 0x405a76
lea edx, [esp + 0x244]
push edx
call fcn.00401210
mov edx, dword [esp + 0x2c]
cmp byte [edx], 0x3a
mov eax, edx
mov edi, str.::20D04FE0_3AEA_1069_A2D8_08002B30309D
jne 0x4056b3
mov cl, 0x3a
test cl, cl
je 0x4056bd
mov cl, byte [eax + 1]
add eax, 1
add edi, 1
cmp cl, byte [edi]
je 0x4056a2
movzx ecx, byte [edi]
movzx eax, byte [eax]
sub eax, ecx
jne 0x4056cc
lea edx, [esp + 0x244]
push edx
call fcn.00521c20
jmp 0x4056e2
mov eax, dword [esp + 0x35c]
push eax
push edx
lea ecx, [esp + 0x24c]
push ecx
call fcn.00522460
cmp dword [ebx + 0x587050], 7
jne 0x405703
mov edx, dword [esp + 0x24c]
push edx
call fcn.0051a5c0
mov ecx, dword [esp + 0x24c]
mov byte [eax + ecx], 0
mov edx, dword [esp + 0x24c]
cmp byte [edx], 0
je 0x405779
lea eax, [esp + 0x134]
push eax
call fcn.00401210
mov ecx, dword [esp + 0x24c]
push ecx
lea edx, [esp + 0x138]
push edx
call fcn.004ac1c0
cmp dword [ebx + 0x587050], 5
jne 0x40574b
mov eax, dword [esp + 0x13c]
push eax
call fcn.004aaed0
test eax, eax
je 0x405758
lea ecx, [esp + 0x134]
push ecx
call fcn.00521960
mov edx, dword [esp + 0x13c]
push edx
mov ebx, 1
mov edi, esi
call fcn.00404aa0
lea eax, [esp + 0x134]
push eax
call fcn.005211b0
lea ecx, [esp + 0x244]
push ecx
call fcn.005211b0
jmp 0x405a76
mov edx, dword [esp + 0x2c]
push edx
call fcn.0051b820
push eax
mov ebx, 3
mov edi, esi
call fcn.00404aa0
jmp 0x405a76
lea eax, [esp + 0x134]
push eax
call fcn.00401210
mov edi, dword [esp + 0x2c]
cmp byte [edi], 0x3a
mov eax, edi
mov ecx, str.::20D04FE0_3AEA_1069_A2D8_08002B30309D
jne 0x4057d7
mov dl, 0x3a
test dl, dl
je 0x4057e1
mov dl, byte [eax + 1]
add eax, 1
add ecx, 1
cmp dl, byte [ecx]
je 0x4057c6
movzx ecx, byte [ecx]
movzx eax, byte [eax]
sub eax, ecx
jne 0x4057f0
lea edx, [esp + 0x134]
push edx
call fcn.00521c20
jmp 0x405806
mov eax, dword [esp + 0x35c]
push eax
push edi
lea ecx, [esp + 0x13c]
push ecx
call fcn.00522460
mov edx, dword [esp + 0x13c]
cmp byte [edx], 0
je 0x405874
lea eax, [esp + 0x244]
push eax
call fcn.00401210
mov ecx, dword [esp + 0x13c]
push ecx
lea edx, [esp + 0x248]
push edx
call fcn.004ac1c0
lea eax, [esp + 0x244]
push eax
call fcn.005218d0
mov ecx, dword [esp + 0x24c]
push ecx
mov ebx, 2
mov edi, esi
call fcn.00404aa0
lea edx, [esp + 0x244]
push edx
call fcn.005211b0
lea eax, [esp + 0x134]
push eax
call fcn.005211b0
jmp 0x405a76
push 0x54e67a
mov ebx, 2
mov edi, esi
call fcn.00404aa0
lea eax, [esp + 0x134]
push eax
call fcn.005211b0
jmp 0x405a76
mov ebx, dword [esp + 0x35c]
mov edi, dword [esp + 0x2c]
mov ecx, dword [esi + 0x28]
call fcn.00404730
mov dword [esi + 0x28], eax
jmp 0x405a76
mov ebx, dword [esp + 0x35c]
mov edi, dword [esp + 0x2c]
mov ecx, dword [esi + 0x38]
call fcn.00404730
mov dword [esi + 0x38], eax
jmp 0x405a76
mov ebx, dword [esp + 0x35c]
mov edi, dword [esp + 0x2c]
mov ecx, dword [esi + 0x30]
call fcn.00404730
mov dword [esi + 0x30], eax
jmp 0x405a76
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi + 0x2c]
push ecx
push edx
call fcn.00520b60
mov dword [esi + 0x2c], eax
jmp 0x405a76
mov ebx, dword [esp + 0x35c]
mov edi, dword [esp + 0x2c]
mov ecx, dword [esi + 0x50]
call fcn.00404730
mov dword [esi + 0x50], eax
jmp 0x405a76
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi + 0x94]
push eax
push ecx
call fcn.00520b60
mov dword [esi + 0x94], eax
jmp 0x405a76
mov edx, dword [esp + 0x2c]
mov eax, dword [esi + 0x98]
push edx
push eax
call fcn.00520b60
mov dword [esi + 0x98], eax
jmp 0x405a76
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi + 0x9c]
push ecx
push edx
call fcn.00520b60
mov dword [esi + 0x9c], eax
jmp 0x405a76
push 1
mov ecx, edi
mov eax, 0x54ef98
call fcn.00404ed0
cmp eax, 0xffffffff
je 0x40599e
lea eax, [eax + eax*2]
mov ecx, dword [eax*4 + 0x587050]
or dword [esi + 8], ecx
mov edx, dword [eax*4 + 0x587050]
not edx
and dword [esi + 4], edx
jmp 0x405a76
push 2
mov ecx, edi
mov eax, str.install_
call fcn.00404ed0
cmp eax, 0xffffffff
je 0x4059cf
lea eax, [eax + eax*2]
mov ecx, dword [eax*4 + 0x587050]
or dword [esi + 4], ecx
mov edx, dword [eax*4 + 0x587050]
not edx
and dword [esi + 8], edx
jmp 0x405a76
push 2
mov ecx, edi
mov eax, str.uninstall_
call fcn.00404ed0
cmp eax, 0xffffffff
je 0x4059fd
lea eax, [eax + eax*2]
mov ecx, dword [eax*4 + 0x587050]
or dword [esi + 8], ecx
mov edx, dword [eax*4 + 0x587050]
not edx
and dword [esi + 4], edx
jmp 0x405a76
push 3
mov ecx, edi
mov eax, str.enable_
call fcn.00404ed0
cmp eax, 0xffffffff
je 0x405a2b
lea eax, [eax + eax*2]
mov ecx, dword [eax*4 + 0x587050]
or dword [esi + 4], ecx
mov edx, dword [eax*4 + 0x587050]
not edx
and dword [esi + 8], edx
jmp 0x405a76
push 3
mov ecx, edi
mov eax, str.disable_
call fcn.00404ed0
cmp eax, 0xffffffff
je case.0x405079.2
lea eax, [eax + eax*2]
mov ecx, dword [eax*4 + 0x587050]
or dword [esi + 8], ecx
mov edx, dword [eax*4 + 0x587050]
not edx
and dword [esi + 4], edx
jmp 0x405a76
cmp byte [ecx], 0
je 0x405a76
mov edi, ecx
mov ebx, dword [esp + 0x35c]
mov ecx, dword [esi + 0x18]
call fcn.00404730
mov dword [esi + 0x18], eax
lea eax, [esp + 0x14]
push eax
call fcn.00404620
test eax, eax
jne 0x404fe0
jmp 0x405bad
lea ecx, [esp + 0x134]
push ecx
call fcn.00401210
lea edx, [esp + 0x14]
push edx
call fcn.00404620
test eax, eax
je 0x405adf
mov edi, dword [esp + 0x20]
lea esp, [esp]
mov eax, dword [esp + 0x2c]
push edi
push eax
lea ecx, [esp + 0x13c]
push ecx
call fcn.00522460
mov edx, dword [esp + 0x13c]
push edx
push esi
call fcn.00404b80
lea eax, [esp + 0x14]
push eax
call fcn.00404620
test eax, eax
jne 0x405ab0
lea ecx, [ebp + ebp*2]
mov eax, dword [ecx*4 + 0x587050]
sub eax, 3
je 0x405b2b
sub eax, 1
je 0x405b12
sub eax, 1
jne 0x405b32
lea edx, [esp + 0x134]
push edx
mov dword [esi + 0x74], 2
call fcn.005211b0
jmp 0x405bad
lea edx, [esp + 0x134]
push edx
mov dword [esi + 0x74], 3
call fcn.005211b0
jmp 0x405bad
mov dword [esi + 0x74], 1
lea edx, [esp + 0x134]
push edx
call fcn.005211b0
jmp 0x405bad
or dword [esi], 0x800
push str.expected_volume_n
call fcn.0048e370
add esp, 4
jmp 0x405bad
or dword [esi], 0x800
push str.expected_max_size_n
call fcn.0048e370
add esp, 4
jmp 0x405bad
or dword [esi], 0x800
push str.expected_allocation_delta_n
call fcn.0048e370
add esp, 4
jmp 0x405bad
or dword [esi], 0x800
push str.expected_argument_for_switch_n
call fcn.0048e370
add esp, 4
jmp 0x405bad
mov edi, dword [esp + 0x2c]
push edi
push str.unknown_command_line_switch__s_n
call fcn.0048e370
add esp, 8
or dword [esi], 0x800
pop ebp
lea eax, [esp + 0x20]
push eax
call fcn.005211b0
lea ecx, [esp + 0x350]
push ecx
call fcn.005211b0
mov ecx, dword [esp + 0x460]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.0054743a
add esp, 0x458
ret 0xc