Function at 0x403ac0
Capabilities:
Accept command line arguments
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x42631e
mov eax, dword fs:[0]
push eax
sub esp, 0x310
mov eax, dword [0x4eacec]
xor eax, esp
mov dword [esp + 0x30c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4eacec]
xor eax, esp
push eax
lea eax, [esp + 0x324]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x338]
mov ebx, 1
cmp dword [esp + 0x334], ebx
mov dword [esp + 0x28], ebp
jle 0x403b46
mov edx, dword [ebp + 4]
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x403b20
sub eax, esi
cmp eax, ebx
jne 0x403b46
push edx
call dword [0x4341e0]
add esp, 4
test eax, eax
setne al
test al, al
je 0x4040f2
mov edi, dword [0x43458c]
push 0xffffffffffffffff
push str.C2CAAB82_65C0_41b1_9807_AD515C5B9E4B
call edi
add esp, 8
mov dword [esp + 0x48], eax
push ebx
push ebp
lea eax, [esp + 0x33c]
push eax
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x98]
mov dword [esp + 0x33c], 0
call fcn.00419750
mov edx, dword [esp + 0x48]
mov byte [esp + 0x32c], 2
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x403ba5
mov ecx, dword [esp + 0x48]
push ecx
call dword [0x4345a4]
add esp, 4
lea edx, [esp + 0x2c]
push edx
call dword [0x434528]
add esp, 4
mov eax, dword [0x434580]
mov dword [esp + 0x30], eax
mov ecx, ebx
lock xadd dword [eax], ecx
cmp dword [esp + 0x334], ebx
mov byte [esp + 0x32c], 4
mov esi, ebx
jle 0x403c2b
mov bl, 5
mov eax, dword [ebp + esi*4]
push 0xffffffffffffffff
push eax
call edi
add esp, 8
mov dword [esp + 0x40], eax
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x34]
mov byte [esp + 0x330], bl
call fcn.00402f60
mov eax, dword [esp + 0x40]
mov byte [esp + 0x32c], 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x403c1f
mov edx, dword [esp + 0x40]
push edx
call dword [0x4345a4]
add esp, 4
add esi, 1
cmp esi, dword [esp + 0x334]
jl 0x403bd7
push 0x4c4b40
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x90]
call fcn.0041a260
test al, al
je 0x403cf5
mov eax, dword [esp + 0x30]
test eax, eax
mov edi, dword [0x4345a0]
mov byte [esp + 0x32c], 3
je 0x403c93
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x403c93
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 0xc]
lea ecx, [eax + edx*4 + 0x14]
mov edx, dword [eax + 8]
mov esi, eax
push ecx
lea eax, [eax + edx*4 + 0x14]
push eax
lea ecx, [esp + 0x38]
call fcn.00402980
mov ecx, dword [esi]
test ecx, ecx
jne 0x403c93
push esi
call edi
add esp, 4
mov eax, dword [esp + 0x2c]
test eax, eax
mov byte [esp + 0x32c], 2
je 0x403cd7
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x403cd7
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0xc]
lea edx, [eax + ecx*4 + 0x14]
mov ecx, dword [eax + 8]
push edx
lea edx, [eax + ecx*4 + 0x14]
push edx
lea ecx, [esp + 0x34]
mov esi, eax
call fcn.00402980
mov eax, dword [esi]
test eax, eax
jne 0x403cd7
push esi
call edi
add esp, 4
lea ecx, [esp + 0x88]
mov dword [esp + 0x32c], 0xffffffff
call fcn.00419800
xor eax, eax
jmp 0x404715
push 1
lea ecx, [esp + 0x8c]
call fcn.00419fb0
mov esi, dword [0x43452c]
push 0
lea ecx, [esp + 0x84]
call esi
push 0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x330], 6
call esi
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0x84]
push edx
mov byte [esp + 0x334], 7
call fcn.004023b0
add esp, 8
push 1
lea ecx, [esp + 0xf8]
call fcn.0040e170
lea ecx, [esp + 0xf4]
mov byte [esp + 0x32c], 8
call dword [0x435058]
cmp dword [esp + 0x334], 2
jl 0x403ff1
mov eax, dword [0x434580]
mov dword [esp + 0x3c], eax
mov ecx, 1
lock xadd dword [eax], ecx
mov eax, dword [esp + 0x2c]
mov esi, dword [eax + 0xc]
sub esi, dword [eax + 8]
lea edx, [esp + 0x34]
push edx
mov byte [esp + 0x330], 9
mov dword [esp + 0x24], esi
call dword [0x434530]
push eax
mov byte [esp + 0x334], 0xa
call dword [0x434534]
mov eax, dword [esp + 0x3c]
add esp, 8
mov byte [esp + 0x32c], 9
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x403dda
mov edx, dword [esp + 0x34]
push edx
call dword [0x4345a4]
add esp, 4
mov ebp, 1
cmp esi, ebp
jle 0x403ede
mov ebx, dword [0x434538]
lea ecx, [ecx]
push 0xffffffffffffffff
push 0x435e94
call dword [0x43458c]
add esp, 8
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 8]
add ecx, ebp
lea edx, [eax + ecx*4 + 0x14]
push edx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x330], 0xb
call dword [0x4345b4]
lea ecx, [esp + 0x38]
call dword [0x43453c]
mov eax, dword [esp + 0x38]
mov esi, dword [eax + 8]
test esi, esi
mov edi, dword [eax + 0xc]
je 0x403e6c
lea esp, [esp]
push 0x5c
lea ecx, [esp + 0x4a]
sub esi, 1
call ebx
mov ax, word [edi]
cmp ax, word [esp + 0x46]
jne 0x403e65
push 0x2f
lea ecx, [esp + 0x5a]
call ebx
mov ax, word [esp + 0x56]
mov word [edi], ax
add edi, 2
test esi, esi
jne 0x403e40
lea ecx, [esp + 0x50]
call dword [0x434540]
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x54]
mov byte [esp + 0x330], 0xc
call dword [0x434544]
lea edx, [esp + 0x50]
push edx
push ebp
lea ecx, [esp + 0x44]
call fcn.00403920
lea ecx, [esp + 0x50]
add ebp, 1
mov byte [esp + 0x32c], 0xb
call dword [0x434578]
mov eax, dword [esp + 0x38]
mov byte [esp + 0x32c], 9
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x403ed4
mov edx, dword [esp + 0x38]
push edx
call dword [0x4345a4]
add esp, 4
cmp ebp, dword [esp + 0x20]
jl 0x403df0
push 8
call fcn.00424f4a
mov edi, eax
add esp, 4
mov dword [esp + 0x20], edi
test edi, edi
mov byte [esp + 0x32c], 0xd
je 0x403f0a
mov ecx, edi
call dword [0x434548]
mov dword [edi], vtable.QMimeData.0
jmp 0x403f0c
xor edi, edi
lea eax, [esp + 0x3c]
push eax
mov ecx, edi
mov byte [esp + 0x330], 9
call dword [0x43454c]
xor ebx, ebx
push 0x34
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
call fcn.00424f4a
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
cmp esi, ebx
mov byte [esp + 0x32c], 0xe
je 0x403f8c
push 0x3f
push ecx
mov eax, esp
mov dword [esp + 0x30], esp
push ecx
mov dword [eax], ebx
mov eax, esp
mov dword [esp + 0x34], esp
push edi
push ecx
mov dword [eax], 1
mov eax, esp
lea ecx, [esp + 0x84]
mov dword [esp + 0x3c], esp
push ecx
mov ecx, esi
mov dword [eax], 1
call dword [0x43505c]
mov dword [esi], vtable.QDropEvent.1.0
mov dword [esi + 0xc], vtable.QDropEvent.0
jmp 0x403f8e
xor esi, esi
mov edx, dword [esp + 0xf4]
mov eax, dword [edx + 0x90]
push esi
lea ecx, [esp + 0xf8]
mov byte [esp + 0x330], 9
call eax
cmp edi, ebx
je 0x403fbc
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
push 1
mov ecx, edi
call eax
cmp esi, ebx
je 0x403fca
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov eax, dword [esp + 0x3c]
cmp eax, ebx
mov byte [esp + 0x32c], 8
je 0x403ff1
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x403ff1
mov edx, dword [esp + 0x3c]
push edx
lea ecx, [esp + 0x40]
call fcn.00402c90
lea eax, [esp + 0xf4]
push eax
lea ecx, [esp + 0x8c]
call fcn.00419740
call dword [0x435060]
lea ecx, [esp + 0xf4]
mov edi, eax
mov byte [esp + 0x32c], 7
call fcn.0040aac0
mov esi, dword [0x434550]
lea ecx, [esp + 0x78]
mov byte [esp + 0x32c], 6
call esi
lea ecx, [esp + 0x80]
mov byte [esp + 0x32c], 4
call esi
mov eax, dword [esp + 0x30]
test eax, eax
mov ebx, dword [0x4345a0]
mov byte [esp + 0x32c], 3
je 0x404090
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x404090
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 0xc]
lea ecx, [eax + edx*4 + 0x14]
mov edx, dword [eax + 8]
mov esi, eax
push ecx
lea eax, [eax + edx*4 + 0x14]
push eax
lea ecx, [esp + 0x38]
call fcn.00402980
mov ecx, dword [esi]
test ecx, ecx
jne 0x404090
push esi
call ebx
add esp, 4
mov eax, dword [esp + 0x2c]
test eax, eax
mov byte [esp + 0x32c], 2
je 0x4040d4
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x4040d4
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0xc]
lea edx, [eax + ecx*4 + 0x14]
mov ecx, dword [eax + 8]
push edx
lea edx, [eax + ecx*4 + 0x14]
push edx
lea ecx, [esp + 0x34]
mov esi, eax
call fcn.00402980
mov eax, dword [esi]
test eax, eax
jne 0x4040d4
push esi
call ebx
add esp, 4
lea ecx, [esp + 0x88]
mov dword [esp + 0x32c], 0xffffffff
call fcn.00419800
mov eax, edi
jmp 0x404715
lea ecx, [esp + 0x9c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test eax, eax
mov dword [esp + 0x34], eax
je 0x40415a
push 0x40503
push ebp
lea edx, [esp + 0x33c]
push edx
lea ecx, [esp + 0x68]
call dword [0x435064]
mov eax, dword [ebp + 8]
mov dword [esp + 0x32c], 0xf
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x404138
sub eax, edx
jne 0x404161
lea ecx, [esp + 0x5c]
mov dword [esp + 0x32c], 0xffffffff
call dword [0x435068]
mov eax, ebx
jmp 0x404715
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 8]
mov ebp, dword [0x434554]
push 0xffffffffffffffff
push ecx
lea edx, [esp + 0x1c]
push edx
call ebp
add esp, 0xc
lea ecx, [esp + 0x14]
mov byte [esp + 0x32c], 0x10
call dword [0x434558]
mov esi, eax
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 8]
test edi, edi
je 0x4041cc
mov ebx, dword [0x434538]
push 0x5c
lea ecx, [esp + 0x5e]
sub edi, 1
call ebx
mov ax, word [esi]
cmp ax, word [esp + 0x5a]
jne 0x4041c5
push 0x2f
lea ecx, [esp + 0x5c]
call ebx
mov cx, word [esp + 0x58]
mov word [esi], cx
add esi, 2
test edi, edi
jne 0x4041a0
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0xc]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4041d6
sub eax, edx
jne 0x40420c
mov eax, dword [esp + 0x14]
mov byte [esp + 0x32c], 0xf
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4046fb
mov edx, dword [esp + 0x14]
push edx
call dword [0x4345a4]
jmp 0x4046f8
mov edi, dword [esp + 0x34]
mov eax, dword [edi + 0xc]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x20]
push ecx
call ebp
add esp, 0xc
lea ecx, [esp + 0x64]
mov byte [esp + 0x32c], 0x11
call fcn.00403a90
sub esp, 0x1c
mov edx, esp
mov dword [esp + 0x3c], esp
push edx
lea ecx, [esp + 0x38]
mov byte [esp + 0x34c], 0x12
call dword [0x43455c]
lea ecx, [esp + 0x80]
call fcn.004035f0
lea ecx, [esp + 0x304]
call dword [0x43409c]
mov eax, dword [0x434590]
mov dword [esp + 0x24], eax
mov ecx, 1
lock xadd dword [eax], ecx
push str.name
lea ecx, [esp + 0xdc]
mov byte [esp + 0x330], 0x14
call dword [0x434110]
lea edx, [esp + 0x304]
push edx
lea eax, [esp + 0xdc]
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x334], 0x15
call fcn.00403570
lea ecx, [esp + 0xd8]
mov bl, al
mov byte [esp + 0x32c], 0x14
call dword [0x434090]
test bl, bl
mov esi, dword [0x434560]
je 0x40431c
lea ecx, [esp + 0x304]
push ecx
lea edx, [esp + 0x50]
push edx
call dword [0x434564]
add esp, 8
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x330], 0x16
call esi
mov eax, dword [esp + 0x4c]
mov byte [esp + 0x32c], 0x14
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x40431c
mov edx, dword [esp + 0x4c]
push edx
call dword [0x4345a4]
add esp, 4
mov eax, dword [0x434590]
mov dword [esp + 0x1c], eax
mov ecx, 1
lock xadd dword [eax], ecx
push str.outputfilepath
lea ecx, [esp + 0xa4]
mov byte [esp + 0x330], 0x17
call dword [0x434110]
lea edx, [esp + 0x304]
push edx
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x334], 0x18
call fcn.00403570
lea ecx, [esp + 0xa0]
mov bl, al
mov byte [esp + 0x32c], 0x17
call dword [0x434090]
test bl, bl
je 0x4043c4
lea ecx, [esp + 0x304]
push ecx
lea edx, [esp + 0x2c]
push edx
call dword [0x434564]
add esp, 8
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x330], 0x19
call esi
mov eax, dword [esp + 0x28]
mov byte [esp + 0x32c], 0x17
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x404433
mov edx, dword [esp + 0x28]
jmp 0x404429
cmp dword [esp + 0x334], 5
jl 0x404653
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x10]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4043e0
sub eax, edx
je 0x404653
mov ecx, dword [edi + 0x10]
push 0xffffffffffffffff
push ecx
lea edx, [esp + 0x28]
push edx
call ebp
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x330], 0x1a
call esi
mov eax, dword [esp + 0x20]
mov byte [esp + 0x32c], 0x17
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x404433
mov edx, dword [esp + 0x20]
push edx
call dword [0x4345a4]
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push str.outdoctype
lea ecx, [esp + 0xc0]
call dword [0x434110]
lea eax, [esp + 0x304]
push eax
lea ecx, [esp + 0xc0]
push ecx
lea ecx, [esp + 0x6c]
mov byte [esp + 0x334], 0x1b
call fcn.00403570
lea ecx, [esp + 0xbc]
mov byte [esp + 0x32c], 0x17
call dword [0x434090]
push 0x435df0
lea ecx, [esp + 0x308]
call dword [0x434114]
test eax, eax
jne 0x40449d
lea esi, [eax + 1]
jmp 0x4044d5
push 0x435de8
lea ecx, [esp + 0x308]
call dword [0x434114]
test eax, eax
jne 0x4044b8
lea esi, [eax + 2]
jmp 0x4044d5
push str.word
lea ecx, [esp + 0x308]
call dword [0x434114]
test eax, eax
jne 0x404653
lea esi, [eax + 4]
push str._DontProduceMetadataON_
lea ecx, [esp + 0x1c]
call dword [0x434568]
push 0
lea ecx, [esp + 0x200]
call fcn.0040e170
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x24], esp
mov bl, 0x1c
push edx
mov byte [esp + 0x334], bl
call dword [0x4345b0]
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
mov byte [esp + 0x338], 0x1d
call dword [0x4345b0]
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x58], esp
push edx
mov byte [esp + 0x33c], 0x1e
call dword [0x4345b0]
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
mov byte [esp + 0x340], 0x1f
call dword [0x4345b0]
push esi
lea ecx, [esp + 0x210]
mov byte [esp + 0x340], bl
call fcn.00402220
mov ecx, dword [esp + 0x210]
call fcn.00413250
lea ecx, [esp + 0x1fc]
mov byte [esp + 0x32c], 0x17
call fcn.0040aac0
mov ecx, dword [esp + 0x1c]
mov esi, dword [0x4345a4]
mov byte [esp + 0x32c], 0x14
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4045b4
mov eax, dword [esp + 0x1c]
push eax
call esi
add esp, 4
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x32c], 0x13
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4045d3
mov eax, dword [esp + 0x24]
push eax
call esi
add esp, 4
lea ecx, [esp + 0x304]
mov byte [esp + 0x32c], 0x12
call dword [0x434090]
lea ecx, [esp + 0x64]
mov byte [esp + 0x32c], 0x11
call fcn.004039f0
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x32c], 0x10
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x404618
mov eax, dword [esp + 0x18]
push eax
call esi
add esp, 4
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x32c], 0xf
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x404637
mov eax, dword [esp + 0x14]
push eax
call esi
add esp, 4
lea ecx, [esp + 0x5c]
mov dword [esp + 0x32c], 0xffffffff
call dword [0x435068]
xor eax, eax
jmp 0x404715
mov esi, dword [0x4345a4]
mov ecx, dword [esp + 0x1c]
or edx, 0xffffffff
mov byte [esp + 0x32c], 0x14
lock xadd dword [ecx], edx
jne 0x404678
mov eax, dword [esp + 0x1c]
push eax
call esi
add esp, 4
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x32c], 0x13
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x404697
mov eax, dword [esp + 0x24]
push eax
call esi
add esp, 4
lea ecx, [esp + 0x304]
mov byte [esp + 0x32c], 0x12
call dword [0x434090]
lea ecx, [esp + 0x64]
mov byte [esp + 0x32c], 0x11
call fcn.004039f0
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x32c], 0x10
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4046dc
mov eax, dword [esp + 0x18]
push eax
call esi
add esp, 4
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x32c], 0xf
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4046fb
mov eax, dword [esp + 0x14]
push eax
call esi
add esp, 4
lea ecx, [esp + 0x5c]
mov dword [esp + 0x32c], 0xffffffff
call dword [0x435068]
mov eax, 1
mov ecx, dword [esp + 0x324]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30c]
xor ecx, esp
call fcn.00424ee4
add esp, 0x31c
ret