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

Disassembly:
sub esp, 0x450
push esi
mov esi, dword [esp + 0x458]
push edi
push esi
push str.cl:__s_n
call fcn.0048dc10
add esp, 8
lea eax, [esp + 0x348]
push eax
call fcn.0051ec40
lea ecx, [esp + 0x18]
push ecx
call fcn.0051ec40
push 0xac
call fcn.004a2340
push 0xac
mov edi, eax
push 0
push edi
call fcn.00545659
mov eax, dword [esp + 0x46c]
add esp, 0xc
test eax, eax
lea edx, [esp + 0x18]
mov dword [edi + 0x58], 1
mov dword [edi + 0x6c], 0xffffffff
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 0
je 0x404e8d
push eax
lea eax, [esp + 0x34c]
push eax
call fcn.0051f570
jmp 0x404e9a
lea ecx, [esp + 0x348]
push ecx
call fcn.004aad30
lea edx, [esp + 0xc]
push edx
call fcn.00404530
test eax, eax
je 0x405adf
push ebx
push ebp
mov edi, edi
cmp dword [esp + 0x46c], 0
jne 0x404eca
mov dword [esp + 0x46c], 1
jmp 0x4059a1
cmp dword [esp + 0x18], 0
mov edx, dword [esp + 0x28]
jne 0x405954
mov al, byte [edx]
cmp al, 0x2d
je 0x404ee7
cmp al, 0x2f
jne 0x405954
cmp byte [edx + 1], 0x2d
lea ecx, [edx + 1]
jne 0x404ef3
add ecx, 1
mov al, byte [ecx]
test al, al
je 0x404f18
lea esp, [esp]
cmp al, 0x5f
jne 0x404f09
mov byte [edx], 0x2d
jmp 0x404f0b
mov byte [edx], al
mov al, byte [ecx + 1]
add ecx, 1
add edx, 1
test al, al
jne 0x404f00
mov byte [edx], 0
mov esi, dword [esp + 0x28]
push esi
call fcn.004044d0
mov ebp, eax
cmp ebp, 0xffffffff
je 0x405861
lea ebx, [ebp + ebp*2]
add ebx, ebx
movzx eax, byte [ebx + ebx + 0x57e058]
add ebx, ebx
cmp eax, 0xd
ja case.0x404f49.2
jmp dword [eax*4 + 0x405b04]
mov eax, dword [ebx + 0x57e060]
or dword [edi + 4], eax
mov ecx, dword [ebx + 0x57e060]
not ecx
and dword [edi + 8], ecx
jmp 0x4059a1
mov edx, dword [ebx + 0x57e060]
or dword [edi], edx
jmp 0x4059a1
mov eax, dword [ebx + 0x57e060]
mov dword [edi + 0x60], eax
jmp 0x4059a1
mov dword [edi + 0x68], 1
jmp 0x4059a1
mov dword [edi + 0x68], 0xffffffff
jmp 0x4059a1
mov ecx, dword [ebx + 0x57e060]
mov dword [edi + 0x64], ecx
jmp 0x4059a1
mov ebx, dword [ebx + 0x57e060]
cmp ebx, 0xe
ja case.0x404f49.2
jmp dword [ebx*4 + 0x405b3c]
mov dword [edi + 0x78], 1
jmp 0x4059a1
mov dword [edi + 0x78], 2
jmp 0x4059a1
mov dword [edi + 0x78], 3
jmp 0x4059a1
mov dword [edi + 0x78], 4
jmp 0x4059a1
mov dword [edi + 0x78], 5
jmp 0x4059a1
mov esi, edi
call fcn.00404610
or dword [edi], 0x400
jmp 0x4059a1
mov edx, dword [edi]
and edx, 0xffefffff
or edx, 0x80000
mov dword [edi], edx
jmp 0x4059a1
mov eax, dword [edi]
and eax, 0xfff7ffff
or eax, 0x100000
mov dword [edi], eax
jmp 0x4059a1
or dword [edi + 4], 0x4000000
and dword [edi + 8], 0xfbffffff
jmp 0x4059a1
or dword [edi + 8], 0x4000000
and dword [edi + 4], 0xfbffffff
jmp 0x4059a1
lea ecx, [esp + 0x240]
push ecx
call fcn.0051ec40
push 0
lea edx, [esp + 0x244]
push edx
call fcn.004aaa50
mov eax, dword [esp + 0x248]
push eax
call fcn.005182d0
mov ecx, dword [esp + 0x248]
mov byte [eax + ecx], 0
mov edx, dword [esp + 0x248]
mov eax, dword [edi + 0xc]
push edx
push eax
call fcn.0051e5f0
lea ecx, [esp + 0x240]
push ecx
mov dword [edi + 0xc], eax
call fcn.00522920
jmp 0x4059a1
lea edx, [esp + 0x130]
push edx
call fcn.0051ec40
lea eax, [esp + 0x130]
push eax
call fcn.00520930
mov ecx, dword [esp + 0x138]
mov edx, dword [edi + 0xc]
push ecx
push edx
call fcn.0051e5f0
mov dword [edi + 0xc], eax
lea eax, [esp + 0x130]
push eax
call fcn.00522920
jmp 0x4059a1
mov ecx, dword [ebx + 0x57e060]
mov dword [edi + 0x58], ecx
jmp 0x4059a1
lea edx, [esp + 0x14]
push edx
call fcn.00404530
test eax, eax
je 0x405ab0
mov eax, dword [esp + 0x358]
mov ecx, dword [esp + 0x28]
mov edx, dword [edi + 0x8c]
push eax
push ecx
push edx
call fcn.00404640
mov dword [edi + 0x8c], eax
lea eax, [esp + 0x14]
push eax
call fcn.00404530
test eax, eax
je 0x405ab0
mov ecx, dword [esp + 0x358]
mov edx, dword [esp + 0x28]
mov eax, dword [edi + 0x90]
push ecx
push edx
push eax
call fcn.00404640
mov dword [edi + 0x90], eax
jmp 0x4059a1
lea ecx, [esp + 0x14]
push ecx
call fcn.00404530
test eax, eax
je 0x405a71
mov edx, dword [esp + 0x28]
push 0
push edx
call fcn.00404930
mov esi, eax
lea eax, [esp + 0x14]
push eax
call fcn.00404530
test eax, eax
je 0x405a86
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00518cb0
lea edx, [esp + 0x14]
push edx
mov dword [esi + 0xc], eax
call fcn.00404530
test eax, eax
je 0x405a9b
mov eax, dword [esp + 0x28]
push eax
call fcn.00518cb0
mov dword [esi + 0x10], eax
mov dword [esi + 4], 1
jmp 0x4059a1
lea ecx, [esp + 0x14]
push ecx
call fcn.00404530
test eax, eax
jne 0x405230
cmp dword [ebx + 0x57e060], 0x11
jne 0x405ab0
lea edx, [esp + 0x130]
push edx
call fcn.0051ec40
lea eax, [esp + 0x130]
push eax
call fcn.0051fd30
mov ecx, dword [esp + 0x138]
mov edx, dword [edi + 0x30]
push ecx
push edx
call fcn.0051e5f0
mov dword [edi + 0x30], eax
lea eax, [esp + 0x130]
push eax
call fcn.00522920
jmp 0x4059a1
mov eax, dword [ebx + 0x57e060]
cmp eax, 0x23
ja case.0x40523f.9
jmp dword [eax*4 + 0x405b78]
mov esi, edi
call fcn.00404610
mov ecx, dword [esp + 0x358]
mov edx, dword [esp + 0x28]
mov eax, dword [edi + 0x18]
push ecx
push edx
push eax
call fcn.00404640
mov dword [edi + 0x18], eax
jmp 0x4059a1
mov ecx, dword [esp + 0x358]
mov edx, dword [esp + 0x28]
mov eax, dword [edi + 0x1c]
push ecx
push edx
push eax
call fcn.00404640
mov dword [edi + 0x1c], eax
jmp 0x4059a1
mov ecx, dword [esp + 0x358]
mov edx, dword [esp + 0x28]
mov eax, dword [edi + 0x14]
push ecx
push edx
push eax
call fcn.00404640
mov dword [edi + 0x14], eax
jmp 0x4059a1
mov ecx, dword [esp + 0x358]
mov edx, dword [esp + 0x28]
mov eax, dword [edi + 0x10]
push ecx
push edx
push eax
call fcn.00404640
mov dword [edi + 0x10], eax
jmp 0x4059a1
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00518cb0
mov dword [edi + 0x54], eax
jmp 0x4059a1
mov esi, edi
call fcn.00404610
mov edx, dword [esp + 0x28]
push edx
call fcn.00517e60
mov dword [edi + 0x34], eax
jmp 0x4059a1
mov eax, dword [esp + 0x28]
mov ecx, dword [edi + 0xc]
push eax
push ecx
call fcn.0051e5f0
mov dword [edi + 0xc], eax
jmp 0x4059a1
lea eax, [esp + 0x240]
push eax
call fcn.0051ec40
lea ecx, [esp + 0x130]
push ecx
call fcn.0051ec40
mov edx, dword [esp + 0x358]
mov eax, dword [esp + 0x28]
push edx
push eax
lea ecx, [esp + 0x138]
push ecx
call fcn.0051fe60
mov edx, dword [esp + 0x138]
push edx
lea eax, [esp + 0x244]
push eax
call fcn.004d3010
mov ecx, dword [esp + 0x248]
push ecx
mov ebx, 4
call fcn.00404990
lea edx, [esp + 0x130]
push edx
call fcn.00522920
lea eax, [esp + 0x240]
push eax
call fcn.00522920
jmp 0x4059a1
mov ecx, dword [esp + 0x28]
mov edx, dword [edi + 0x3c]
push ecx
push edx
call fcn.0051e5f0
mov dword [edi + 0x3c], eax
jmp 0x4059a1
mov eax, dword [esp + 0x28]
mov ecx, dword [edi + 0x48]
push eax
push ecx
call fcn.0051e5f0
mov dword [edi + 0x48], eax
jmp 0x4059a1
mov edx, dword [esp + 0x28]
mov eax, dword [edi + 0x4c]
push edx
push eax
call fcn.0051e5f0
mov dword [edi + 0x4c], eax
jmp 0x4059a1
mov ecx, dword [esp + 0x28]
mov edx, dword [edi + 0x40]
push ecx
push edx
call fcn.0051e5f0
mov dword [edi + 0x40], eax
jmp 0x4059a1
mov eax, dword [esp + 0x28]
mov ecx, dword [edi + 0x44]
push eax
push ecx
call fcn.0051e5f0
mov dword [edi + 0x44], eax
jmp 0x4059a1
mov edx, dword [esp + 0x28]
mov eax, dword [edi + 0x20]
push edx
push eax
call fcn.0051e5f0
mov dword [edi + 0x20], eax
jmp 0x4059a1
mov ecx, dword [esp + 0x28]
mov edx, dword [edi + 0x24]
push ecx
push edx
call fcn.0051e5f0
mov dword [edi + 0x24], eax
jmp 0x4059a1
mov ebx, dword [esp + 0x28]
mov al, byte [ebx]
cmp al, 0x45
mov esi, ebx
je 0x40542a
cmp al, 0x65
jne 0x40543e
mov al, byte [ebx + 1]
cmp al, 0x53
je 0x405435
cmp al, 0x73
jne 0x40543e
cmp byte [ebx + 2], 0x3a
jne 0x40543e
lea esi, [ebx + 3]
mov al, byte [esi]
test al, al
je 0x40549e
cmp al, 0x25
jne 0x40548e
movzx eax, byte [esi + 1]
push eax
call fcn.00518610
test eax, eax
jl 0x40548e
movzx ecx, byte [esi + 2]
push ecx
call fcn.00518610
test eax, eax
jl 0x40548e
movzx edx, byte [esi + 1]
push edx
call fcn.00518610
shl al, 4
mov byte [esp + 0x13], al
movzx eax, byte [esi + 2]
push eax
call fcn.00518610
or al, byte [esp + 0x13]
add ebx, 1
mov byte [ebx - 1], al
add esi, 3
jmp 0x405498
mov cl, byte [esi]
mov byte [ebx], cl
add ebx, 1
add esi, 1
mov al, byte [esi]
test al, al
jne 0x405444
mov byte [ebx], 0
mov edx, dword [esp + 0x28]
push edx
xor ebx, ebx
call fcn.00404990
jmp 0x4059a1
mov eax, dword [esp + 0x28]
push eax
call fcn.005186c0
mov dword [edi + 0x5c], eax
jmp 0x4059a1
mov ecx, dword [esp + 0x28]
push ecx
call fcn.005186c0
mov dword [edi + 0x70], eax
jmp 0x4059a1
mov edx, dword [esp + 0x28]
push 2
push edx
call fcn.00404930
jmp 0x4059a1
mov eax, dword [esp + 0x28]
push eax
call fcn.005186c0
mov dword [edi + 0x58], eax
jmp 0x4059a1
mov ecx, str._ascending
lea eax, [esp + 0x20]
call fcn.00404a20
test eax, eax
jne 0x40554a
mov ecx, str.ascending
lea eax, [esp + 0x20]
call fcn.00404a20
test eax, eax
jne 0x40554a
mov ecx, str._descending
lea eax, [esp + 0x20]
call fcn.00404a20
test eax, eax
jne 0x405541
mov ecx, str.descending
lea eax, [esp + 0x20]
call fcn.00404a20
test eax, eax
je 0x405551
mov dword [edi + 0x68], 0xffffffff
jmp 0x405551
mov dword [edi + 0x68], 1
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004c0960
cmp eax, 0xffffffff
mov dword [edi + 0x6c], eax
jne 0x4059a1
mov dword [edi + 0x6c], 0
jmp 0x4059a1
lea edx, [esp + 0x240]
push edx
call fcn.0051ec40
mov edx, dword [esp + 0x28]
cmp byte [edx], 0x3a
mov eax, edx
mov esi, str.::20D04FE0_3AEA_1069_A2D8_08002B30309D
jne 0x4055a3
mov cl, 0x3a
test cl, cl
je 0x4055ad
mov cl, byte [eax + 1]
add eax, 1
add esi, 1
cmp cl, byte [esi]
je 0x405592
movzx eax, byte [eax]
movzx ecx, byte [esi]
sub eax, ecx
jne 0x4055bc
lea edx, [esp + 0x240]
push edx
call fcn.0051f690
jmp 0x4055d2
mov eax, dword [esp + 0x358]
push eax
push edx
lea ecx, [esp + 0x248]
push ecx
call fcn.0051fe60
cmp dword [ebx + 0x57e060], 7
jne 0x4055f3
mov edx, dword [esp + 0x248]
push edx
call fcn.005182d0
mov ecx, dword [esp + 0x248]
mov byte [eax + ecx], 0
mov edx, dword [esp + 0x248]
cmp byte [edx], 0
je 0x405667
lea eax, [esp + 0x130]
push eax
call fcn.0051ec40
mov ecx, dword [esp + 0x248]
push ecx
lea edx, [esp + 0x134]
push edx
call fcn.004aac20
cmp dword [ebx + 0x57e060], 5
jne 0x40563b
mov eax, dword [esp + 0x138]
push eax
call fcn.004a9980
test eax, eax
je 0x405648
lea ecx, [esp + 0x130]
push ecx
call fcn.0051f3f0
mov edx, dword [esp + 0x138]
push edx
mov ebx, 1
call fcn.00404990
lea eax, [esp + 0x130]
push eax
call fcn.00522920
lea ecx, [esp + 0x240]
push ecx
call fcn.00522920
jmp 0x4059a1
mov edx, dword [esp + 0x28]
push edx
call fcn.00519530
push eax
mov ebx, 3
call fcn.00404990
jmp 0x4059a1
lea eax, [esp + 0x130]
push eax
call fcn.0051ec40
mov esi, dword [esp + 0x28]
cmp byte [esi], 0x3a
mov eax, esi
mov ecx, str.::20D04FE0_3AEA_1069_A2D8_08002B30309D
jne 0x4056c3
mov dl, 0x3a
test dl, dl
je 0x4056cd
mov dl, byte [eax + 1]
add eax, 1
add ecx, 1
cmp dl, byte [ecx]
je 0x4056b2
movzx ecx, byte [ecx]
movzx eax, byte [eax]
sub eax, ecx
jne 0x4056dc
lea edx, [esp + 0x130]
push edx
call fcn.0051f690
jmp 0x4056f2
mov eax, dword [esp + 0x358]
push eax
push esi
lea ecx, [esp + 0x138]
push ecx
call fcn.0051fe60
mov edx, dword [esp + 0x138]
cmp byte [edx], 0
je 0x40575e
lea eax, [esp + 0x240]
push eax
call fcn.0051ec40
mov ecx, dword [esp + 0x138]
push ecx
lea edx, [esp + 0x244]
push edx
call fcn.004aac20
lea eax, [esp + 0x240]
push eax
call fcn.0051f360
mov ecx, dword [esp + 0x248]
push ecx
mov ebx, 2
call fcn.00404990
lea edx, [esp + 0x240]
push edx
call fcn.00522920
lea eax, [esp + 0x130]
push eax
call fcn.00522920
jmp 0x4059a1
push 0x5465b6
mov ebx, 2
call fcn.00404990
lea eax, [esp + 0x130]
push eax
call fcn.00522920
jmp 0x4059a1
mov ecx, dword [esp + 0x358]
mov edx, dword [esp + 0x28]
mov eax, dword [edi + 0x28]
push ecx
push edx
push eax
call fcn.00404640
mov dword [edi + 0x28], eax
jmp 0x4059a1
mov ecx, dword [esp + 0x358]
mov edx, dword [esp + 0x28]
mov eax, dword [edi + 0x38]
push ecx
push edx
push eax
call fcn.00404640
mov dword [edi + 0x38], eax
jmp 0x4059a1
mov ecx, dword [esp + 0x358]
mov edx, dword [esp + 0x28]
mov eax, dword [edi + 0x30]
push ecx
push edx
push eax
call fcn.00404640
mov dword [edi + 0x30], eax
jmp 0x4059a1
mov ecx, dword [esp + 0x28]
mov edx, dword [edi + 0x2c]
push ecx
push edx
call fcn.0051e5f0
mov dword [edi + 0x2c], eax
jmp 0x4059a1
mov eax, dword [esp + 0x358]
mov ecx, dword [esp + 0x28]
mov edx, dword [edi + 0x50]
push eax
push ecx
push edx
call fcn.00404640
mov dword [edi + 0x50], eax
jmp 0x4059a1
mov eax, dword [esp + 0x28]
mov ecx, dword [edi + 0x94]
push eax
push ecx
call fcn.0051e5f0
mov dword [edi + 0x94], eax
jmp 0x4059a1
mov edx, dword [esp + 0x28]
mov eax, dword [edi + 0x98]
push edx
push eax
call fcn.0051e5f0
mov dword [edi + 0x98], eax
jmp 0x4059a1
mov ecx, dword [esp + 0x28]
mov edx, dword [edi + 0x9c]
push ecx
push edx
call fcn.0051e5f0
mov dword [edi + 0x9c], eax
jmp 0x4059a1
push 1
mov ecx, esi
mov eax, 0x546ed0
call fcn.00404db0
cmp eax, 0xffffffff
je 0x405892
lea eax, [eax + eax*2]
mov ecx, dword [eax*4 + 0x57e060]
or dword [edi + 8], ecx
mov edx, dword [eax*4 + 0x57e060]
not edx
and dword [edi + 4], edx
jmp 0x4059a1
push 2
mov ecx, esi
mov eax, str.install_
call fcn.00404db0
cmp eax, 0xffffffff
je 0x4058c3
lea eax, [eax + eax*2]
mov ecx, dword [eax*4 + 0x57e060]
or dword [edi + 4], ecx
mov edx, dword [eax*4 + 0x57e060]
not edx
and dword [edi + 8], edx
jmp 0x4059a1
push 2
mov ecx, esi
mov eax, str.uninstall_
call fcn.00404db0
cmp eax, 0xffffffff
je 0x4058f4
lea eax, [eax + eax*2]
mov ecx, dword [eax*4 + 0x57e060]
or dword [edi + 8], ecx
mov edx, dword [eax*4 + 0x57e060]
not edx
and dword [edi + 4], edx
jmp 0x4059a1
push 3
mov ecx, esi
mov eax, str.enable_
call fcn.00404db0
cmp eax, 0xffffffff
je 0x405922
lea eax, [eax + eax*2]
mov ecx, dword [eax*4 + 0x57e060]
or dword [edi + 4], ecx
mov edx, dword [eax*4 + 0x57e060]
not edx
and dword [edi + 8], edx
jmp 0x4059a1
push 3
mov ecx, esi
mov eax, str.disable_
call fcn.00404db0
cmp eax, 0xffffffff
je case.0x404f49.2
lea eax, [eax + eax*2]
mov ecx, dword [eax*4 + 0x57e060]
or dword [edi + 8], ecx
mov edx, dword [eax*4 + 0x57e060]
not edx
and dword [edi + 4], edx
jmp 0x4059a1
cmp byte [edx], 0
je 0x4059a1
mov esi, dword [esp + 0x358]
mov ebp, dword [edi + 0x18]
lea eax, [esp + 0x130]
push eax
mov ebx, edx
call fcn.0051ec40
push esi
push ebx
lea ecx, [esp + 0x138]
push ecx
call fcn.0051fe60
mov edx, dword [esp + 0x138]
push edx
push ebp
call fcn.0051e5f0
mov esi, eax
lea eax, [esp + 0x130]
push eax
call fcn.00522920
mov dword [edi + 0x18], esi
lea ecx, [esp + 0x14]
push ecx
call fcn.00404530
test eax, eax
jne 0x404eb0
jmp 0x405add
lea edx, [esp + 0x130]
push edx
call fcn.0051ec40
lea eax, [esp + 0x14]
push eax
call fcn.00404530
test eax, eax
je 0x405a0f
mov esi, dword [esp + 0x468]
lea ebx, [ebx]
mov ecx, dword [esp + 0x28]
push esi
push ecx
lea edx, [esp + 0x138]
push edx
call fcn.0051fe60
mov eax, dword [esp + 0x138]
push eax
push edi
call fcn.00404a70
lea ecx, [esp + 0x14]
push ecx
call fcn.00404530
test eax, eax
jne 0x4059e0
lea edx, [ebp + ebp*2]
mov eax, dword [edx*4 + 0x57e060]
sub eax, 3
je 0x405a5b
sub eax, 1
je 0x405a42
sub eax, 1
jne 0x405a62
lea eax, [esp + 0x130]
push eax
mov dword [edi + 0x74], 2
call fcn.00522920
jmp 0x405add
lea eax, [esp + 0x130]
push eax
mov dword [edi + 0x74], 3
call fcn.00522920
jmp 0x405add
mov dword [edi + 0x74], 1
lea eax, [esp + 0x130]
push eax
call fcn.00522920
jmp 0x405add
or dword [edi], 0x800
push str.expected_volume_n
call fcn.0048dc10
add esp, 4
jmp 0x405add
or dword [edi], 0x800
push str.expected_max_size_n
call fcn.0048dc10
add esp, 4
jmp 0x405add
or dword [edi], 0x800
push str.expected_allocation_delta_n
call fcn.0048dc10
add esp, 4
jmp 0x405add
or dword [edi], 0x800
push str.expected_argument_for_switch_n
call fcn.0048dc10
add esp, 4
jmp 0x405add
mov esi, dword [esp + 0x28]
push esi
push str.unknown_command_line_switch__s_n
call fcn.0048dc10
add esp, 8
or dword [edi], 0x800
pop ebp
pop ebx
lea ecx, [esp + 0x18]
push ecx
call fcn.00522920
lea edx, [esp + 0x348]
push edx
call fcn.00522920
mov eax, edi
pop edi
pop esi
add esp, 0x450
ret 0xc