Function at 0x408d54
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x478
mov cl, 1
test cl, 1
mov dword [ebp - 0x17c], eax
jne 0x408d73
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x180], eax
call sym.a1runscanner.exe__Cmdutils_ParamCount_qqrv
lea ecx, [ebp - 0x44]
lea edx, [0x780834]
mov dword [ebp - 0x28], edx
mov edx, 0x792ff8
mov dword [ebp - 0x24], edx
mov edx, ebp
mov dword [ebp - 0x20], edx
mov edx, esp
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x20], 0x40b502
mov dword [ebp - 0x184], eax
mov eax, ecx
call fcn.007811a9
mov eax, dword [ebp - 0x184]
cmp eax, 0
jne 0x408dcc
jmp 0x40b49f
mov dword [ebp - 0x60], 0
mov eax, esp
lea ecx, [ebp - 0x60]
mov dword [eax], ecx
mov dword [ebp - 0x188], ecx
call fcn.00404c44
mov dword [ebp - 0x3c], 0xffffffff
mov eax, 1
mov edx, dword [ebp - 0x188]
call fcn.004a3eb4
mov dword [ebp - 0x3c], 1
mov eax, esp
mov ecx, dword [ebp - 0x188]
mov dword [eax], ecx
call fcn.0040ba50
mov byte [ebp - 0x189], al
jmp 0x408e1a
mov al, byte [ebp - 0x189]
test al, 1
jne 0x408e26
jmp 0x408e4f
mov dword [ebp - 0x6c], 1
jmp 0x40b483
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x3c], 2
mov eax, esp
lea ecx, [ebp - 0x70]
mov dword [eax], ecx
call fcn.00404c44
jmp 0x408e6b
lea eax, [ebp - 0x60]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x58], 1
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x3c], 3
mov esi, esp
mov dword [esi + 0xc], edx
mov dword [esi + 8], ecx
mov dword [esi + 4], eax
lea eax, [ebp - 0x70]
mov dword [esi], eax
call fcn.007866b0
jmp 0x408ea6
jmp 0x408ea8
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x3c], 4
mov eax, esp
lea ecx, [ebp - 0x74]
mov dword [eax], ecx
mov dword [eax + 4], 0x791b25
call fcn.00785588
jmp 0x408ecb
mov dword [ebp - 0x3c], 5
mov eax, esp
lea ecx, [ebp - 0x74]
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x70]
mov dword [eax], ecx
call fcn.00785fbc
mov byte [ebp - 0x195], al
jmp 0x408eec
lea eax, [ebp - 0x74]
mov dword [esp], eax
call fcn.0078556c
lea eax, [ebp - 0x70]
mov dword [esp], eax
call fcn.0078556c
mov cl, byte [ebp - 0x195]
test cl, 1
jne 0x408f12
jmp 0x4096cc
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x3c], 6
mov eax, esp
lea ecx, [ebp - 0x78]
mov dword [eax], ecx
call fcn.00404c44
jmp 0x408f2e
mov dword [ebp - 0x3c], 7
lea edx, [ebp - 0x78]
mov eax, 2
call fcn.004a3eb4
jmp 0x408f44
mov dword [ebp - 0x3c], 8
mov eax, esp
lea ecx, [ebp - 0x78]
mov dword [eax], ecx
call fcn.0040ba50
mov byte [ebp - 0x196], al
jmp 0x408f5f
mov al, byte [ebp - 0x196]
test al, 1
jne 0x4096a5
jmp 0x408f6f
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x3c], 9
mov eax, esp
lea ecx, [ebp - 0x7c]
mov dword [eax], ecx
call fcn.00404c44
jmp 0x408f8b
mov dword [ebp - 0x3c], 0xa
lea edx, [ebp - 0x7c]
mov eax, 3
call fcn.004a3eb4
jmp 0x408fa1
mov dword [ebp - 0x3c], 0xb
mov eax, esp
lea ecx, [ebp - 0x7c]
mov dword [eax + 4], ecx
mov dword [eax], 0x7b84cc
call fcn.00785cc0
mov dword [ebp - 0x19c], eax
jmp 0x408fc3
mov eax, esp
lea ecx, [ebp - 0x7c]
mov dword [eax], ecx
call fcn.0078556c
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x3c], 0xc
mov eax, esp
lea ecx, [ebp - 0x80]
mov dword [eax], ecx
call fcn.00404c44
jmp 0x408feb
mov eax, dword [0x7b84cc]
mov dword [ebp - 0x3c], 0xd
lea edx, [ebp - 0x80]
call fcn.004c1358
jmp 0x409001
mov dword [ebp - 0x3c], 0xe
mov eax, esp
lea ecx, [ebp - 0x80]
mov dword [eax], ecx
call fcn.0040ba50
mov byte [ebp - 0x19d], al
jmp 0x40901c
lea eax, [ebp - 0x80]
mov dword [esp], eax
call fcn.0078556c
mov cl, byte [ebp - 0x19d]
test cl, 1
jne 0x409037
jmp 0x4091fd
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x3c], 0xf
mov eax, esp
lea ecx, [ebp - 0x88]
mov dword [eax], ecx
mov dword [eax + 4], str..EXE
call fcn.00785588
jmp 0x409060
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x3c], 0x10
mov eax, esp
lea ecx, [ebp - 0x84]
mov dword [eax], ecx
call fcn.00404c44
jmp 0x409082
mov dword [ebp - 0x3c], 0x11
mov eax, esp
lea ecx, [ebp - 0x88]
mov dword [eax + 8], ecx
lea ecx, [ebp - 0x84]
mov dword [eax], ecx
mov dword [eax + 4], 0x7b84cc
call fcn.00785ebc
jmp 0x4090aa
mov dword [ebp - 0x3c], 0x12
mov eax, esp
lea ecx, [ebp - 0x84]
mov dword [eax + 4], ecx
mov dword [eax], 0x7b84cc
call fcn.00785cc0
mov dword [ebp - 0x1a4], eax
jmp 0x4090cf
lea eax, [ebp - 0x84]
mov dword [esp], eax
call fcn.0078556c
lea eax, [ebp - 0x88]
mov dword [esp], eax
call fcn.0078556c
jmp 0x4091fd
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x3c], 0x13
mov eax, esp
lea ecx, [ebp - 0x8c]
mov dword [eax], ecx
call fcn.00404c44
jmp 0x40921f
mov dword [ebp - 0x3c], 0x14
lea edx, [ebp - 0x8c]
mov eax, 4
call sym.a1runscanner.exe__Cmdutils_ParamsStartingFrom_qqrxi
jmp 0x409238
mov dword [ebp - 0x3c], 0x15
mov eax, esp
lea ecx, [ebp - 0x8c]
mov dword [eax + 4], ecx
mov dword [eax], 0x7b84d0
call fcn.00785cc0
mov dword [ebp - 0x1e0], eax
jmp 0x40925d
mov eax, esp
lea ecx, [ebp - 0x8c]
mov dword [eax], ecx
call fcn.0078556c
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x3c], 0x16
mov eax, esp
lea ecx, [ebp - 0x94]
mov dword [eax], ecx
call fcn.00404c44
jmp 0x40928e
mov dword [ebp - 0x3c], 0x17
lea edx, [ebp - 0x94]
xor eax, eax
call fcn.004a3eb4
jmp 0x4092a4
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x3c], 0x18
mov eax, esp
lea ecx, [ebp - 0x90]
mov dword [eax], ecx
call fcn.00404c44
jmp 0x4092c6
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x3c], 0x19
lea edx, [ebp - 0x90]
call fcn.004c11dc
jmp 0x4092e0
mov eax, esp
lea ecx, [ebp - 0x94]
mov dword [eax], ecx
call fcn.0078556c
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x3c], 0x1a
mov eax, esp
lea ecx, [ebp - 0xa0]
mov dword [eax], ecx
mov dword [eax + 4], str._avdebug.log
call fcn.00785588
jmp 0x409318
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x3c], 0x1b
mov eax, esp
lea ecx, [ebp - 0x9c]
mov dword [eax], ecx
call fcn.00404c44
jmp 0x40933a
mov dword [ebp - 0x3c], 0x1c
mov eax, esp
lea ecx, [ebp - 0xa0]
mov dword [eax + 8], ecx
lea ecx, [ebp - 0x90]
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x9c]
mov dword [eax], ecx
call fcn.00785ebc
jmp 0x409364
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x3c], 0x1d
mov eax, esp
lea ecx, [ebp - 0x9c]
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x98]
mov dword [eax], ecx
call fcn.004077c0
jmp 0x40938f
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x3c], 0x1e
mov ecx, esp
mov dword [ecx], eax
call fcn.00439f5c
jmp 0x4093a7
mov eax, esp
lea ecx, [ebp - 0x98]
mov dword [eax], ecx
call fcn.0040782c
mov eax, esp
lea ecx, [ebp - 0x9c]
mov dword [eax], ecx
call fcn.0078556c
mov eax, esp
lea ecx, [ebp - 0xa0]
mov dword [eax], ecx
call fcn.0078556c
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0x3c], 0x1f
mov eax, esp
lea ecx, [ebp - 0xa8]
mov dword [eax], ecx
call fcn.00404c44
jmp 0x4093f6
mov dword [ebp - 0x3c], 0x20
mov eax, esp
lea ecx, [ebp - 0x78]
mov dword [eax + 8], ecx
lea ecx, [ebp - 0x90]
mov dword [eax + 4], ecx
lea ecx, [ebp - 0xa8]
mov dword [eax], ecx
call fcn.00785ebc
jmp 0x40941d
mov eax, dword [0x7b84cc]
mov ecx, dword [0x7b84d0]
mov edx, dword [0x7b84dc]
mov esi, dword [ebp - 0xa8]
mov dword [ebp - 0x3c], 0x21
mov edi, esp
mov dword [edi + 0xc], esi
mov dword [edi + 8], edx
mov dword [edi + 4], ecx
mov dword [edi], eax
call fcn.0043ae6c
mov dword [ebp - 0x1e4], eax
jmp 0x409455
lea eax, [ebp - 0xa8]
mov dword [esp], eax
call fcn.0078556c
mov eax, dword [ebp - 0x1e4]
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0xffffffff
jne 0x409610
mov dword [ebp - 0xac], 0
mov dword [ebp - 0x3c], 0x22
mov eax, esp
lea ecx, [ebp - 0xac]
mov dword [eax], ecx
mov dword [eax + 4], str.Detected_
call fcn.00785588
jmp 0x4094a5
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x3c], 0x23
call fcn.0068cec0
jmp 0x4094b9
lea eax, [ebp - 0xac]
mov dword [esp], eax
call fcn.0078556c
jmp 0x409685
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0x3c], 0x24
mov eax, esp
lea ecx, [ebp - 0xb0]
mov dword [eax], ecx
mov dword [eax + 4], str.Not_found_:__
jns 0x409632