Function at 0x4de720
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ea263
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x51b08c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x520e3c]
mov edi, dword [ebp + 8]
test eax, eax
jne 0x4de793
push 0x1c8
call fcn.00499a63
mov esi, eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
push 0x1c8
push 0
push esi
call fcn.004a35f0
add esp, 0x10
mov ecx, esi
call fcn.004c8530
mov dword [ebp - 4], 0xffffffff
mov dword [0x520e3c], eax
mov edx, dword [eax]
mov ecx, eax
push 1
push edi
call dword [edx + 4]
mov eax, dword [0x520e3c]
test eax, eax
jne 0x4de7df
push 0x1c8
call fcn.00499a63
mov esi, eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 1
push 0x1c8
push 0
push esi
call fcn.004a35f0
add esp, 0x10
mov ecx, esi
call fcn.004c8530
mov dword [ebp - 4], 0xffffffff
mov dword [0x520e3c], eax
mov ecx, eax
call fcn.0049bcb9
mov edx, eax
mov dword [ebp - 0x50], 0
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x4c], 7
mov dword [ebp - 0x50], 0
mov word [ebp - 0x60], ax
cmp word [edx], ax
jne 0x4de813
xor ecx, ecx
jmp 0x4de82f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4de820
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x60]
call fcn.00403330
mov dword [ebp - 4], 2
mov eax, dword [0x520e3c]
test eax, eax
jne 0x4de87c
push 0x1c8
call fcn.00499a63
mov esi, eax
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 3
push 0x1c8
push 0
push esi
call fcn.004a35f0
add esp, 0x10
mov ecx, esi
call fcn.004c8530
mov byte [ebp - 4], 2
mov dword [0x520e3c], eax
mov ecx, eax
call fcn.0049bcc5
mov edx, eax
mov dword [ebp - 0x38], 0
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
cmp word [edx], ax
jne 0x4de8b0
xor ecx, ecx
jmp 0x4de8c4
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4de8b5
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x48]
call fcn.00403330
mov byte [ebp - 4], 4
lea edi, [ebp - 0x48]
cmp dword [ebp - 0x34], 8
lea ebx, [ebp - 0x60]
mov eax, dword [0x520e48]
cmovae edi, dword [ebp - 0x48]
cmp dword [ebp - 0x4c], 8
cmovae ebx, dword [ebp - 0x60]
test eax, eax
jne 0x4de924
push 0xbc
call fcn.00499a63
mov esi, eax
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 5
push 0xbc
push 0
push esi
call fcn.004a35f0
add esp, 0x10
mov ecx, esi
call fcn.004e1580
mov byte [ebp - 4], 4
mov dword [0x520e48], eax
push edi
push ebx
mov ecx, eax
call fcn.004e1230
mov esi, dword [0x520e48]
test esi, esi
jne 0x4de96d
push 0xbc
call fcn.00499a63
mov esi, eax
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 6
push 0xbc
push 0
push esi
call fcn.004a35f0
add esp, 0x10
mov ecx, esi
call fcn.004e1580
mov esi, eax
mov byte [ebp - 4], 4
mov dword [0x520e48], esi
mov ecx, dword [esi + 0x1c]
mov dword [ebp - 0x14], 0x5f
test ecx, ecx
je 0x4de9a1
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], 0
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00414c40
mov ecx, dword [esi + 0x1c]
mov eax, dword [ebp - 0x18]
cmp eax, dword [ecx]
je 0x4de9a1
mov eax, dword [eax + 0x14]
mov edx, dword [eax + 8]
jmp 0x4de9a3
xor edx, edx
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
cmp word [edx], ax
jne 0x4de9ce
xor ecx, ecx
jmp 0x4de9e2
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4de9d3
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.00403330
mov byte [ebp - 4], 7
cmp dword [ebp - 0x20], 0
ja 0x4deb0b
cmp dword [0x520e50], 0
jne 0x4dea30
push 0x50
call fcn.00499a63
mov esi, eax
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 8
push 0x50
push 0
push esi
call fcn.004a35f0
add esp, 0x10
mov ecx, esi
call fcn.004c1e40
mov byte [ebp - 4], 7
mov dword [0x520e50], eax
lea eax, [ebp - 0xf4]
push eax
call fcn.004c0300
mov esi, eax
mov byte [ebp - 4], 9
lea eax, [ebp - 0x30]
cmp eax, esi
je 0x4dea7b
mov eax, dword [ebp - 0x1c]
cmp eax, 8
jb 0x4dea5e
inc eax
lea ecx, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
call fcn.00403800
xor eax, eax
mov dword [ebp - 0x1c], 7
push esi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
call fcn.00403bc0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0xe0]
cmp eax, 8
jb 0x4dea9d
inc eax
lea ecx, [ebp - 0xf4]
push eax
push dword [ebp - 0xf4]
call fcn.00403800
xor eax, eax
mov dword [ebp - 0xe0], 7
cmp dword [ebp - 0x1c], 8
lea edi, [ebp - 0x30]
mov word [ebp - 0xf4], ax
cmovae edi, dword [ebp - 0x30]
mov eax, dword [0x520e48]
mov dword [ebp - 0xe4], 0
test eax, eax
jne 0x4deb01
push 0xbc
call fcn.00499a63
mov esi, eax
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 0xa
push 0xbc
push 0
push esi
call fcn.004a35f0
add esp, 0x10
mov ecx, esi
call fcn.004e1580
mov byte [ebp - 4], 7
mov dword [0x520e48], eax
push edi
push 0x5f
mov ecx, eax
call fcn.004e1510
cmp dword [ebp - 0x1c], 8
lea edx, [ebp - 0x30]
cmovae edx, dword [ebp - 0x30]
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x14], esp
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [edx], ax
jne 0x4deb3a
xor ecx, ecx
jmp 0x4deb4f
mov ecx, edx
lea edi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4deb40
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.00403330
mov byte [ebp - 4], 0xb
mov eax, dword [0x520e50]
test eax, eax
jne 0x4deb92
push 0x50
call fcn.00499a63
mov esi, eax
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 0xc
push 0x50
push 0
push esi
call fcn.004a35f0
add esp, 0x10
mov ecx, esi
call fcn.004c1e40
mov byte [ebp - 4], 0xb
mov dword [0x520e50], eax
mov byte [ebp - 4], 7
mov ecx, eax
call fcn.004c1390
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x84]
mov dword [ebp - 0x7c], 0
push eax
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x84], 1
push eax
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x64], 1
mov dword [ebp - 0x7c], 1
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
cmp byte [ebp - 0x64], 0
je 0x4debf5
lea eax, [ebp - 0x68]
push eax
call dword [ebp - 0x74]
mov byte [ebp - 4], 0xe
call fcn.0049ee7a
push 0x58
lea eax, [ebp - 0xdc]
push 0
push eax
call fcn.004a35f0
add esp, 0xc
mov dword [ebp - 0xdc], 0x5021bc
lea eax, [ebp - 0xc8]
mov dword [ebp - 0xd0], 0
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0xcc], eax
call fcn.004072c0
mov byte [ebp - 4], 0x10
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0xdc]
call fcn.00494180
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
call fcn.004d1150
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xdc]
mov esi, dword [ebp - 0x18]
push esi
call fcn.00494570
mov byte [ebp - 4], 0x10
test esi, esi
je 0x4dec8e
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xdc]
call fcn.004940b0
mov byte [ebp - 4], 0xd
cmp byte [ebp - 0x64], 0
je 0x4decad
push dword [ebp - 0x68]
call dword [ebp - 0x70]
push dword [ebp - 0x6c]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov byte [ebp - 4], 7
call dword [sym.imp.ole32.dll_OleUninitialize]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1c]
cmp eax, 8
jb 0x4decd9
inc eax
lea ecx, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
call fcn.00403800
xor eax, eax
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x34]
cmp eax, 8
jb 0x4ded06
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.00403800
xor eax, eax
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x4c]
cmp eax, 8
jb 0x4ded36
inc eax
lea ecx, [ebp - 0x60]
push eax
push dword [ebp - 0x60]
call fcn.00403800
xor eax, eax
mov dword [ebp - 0x4c], 7
mov dword [ebp - 0x50], 0
mov word [ebp - 0x60], ax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00499a52
mov esp, ebp
pop ebp
ret 0x10