Function at 0x43a54b
Capabilities:
Accept command line arguments
Check for time delay via gettickcount

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0x10c
push ebx
push esi
push edi
lea ecx, [ebp + 0x78]
call fcn.0041edaf
mov byte [0x51d32d], 1
call fcn.004217f7
mov dword [ebp + 0x24], eax
movzx ax, al
xor ecx, ecx
mov ch, al
xor ebx, ebx
mov dword [ebp + 0x54], ebx
or ecx, eax
mov dword [ebp + 0x34], ecx
lea ecx, [ebp + 0x48]
call fcn.00449480
push str.PeExe
push 0xffffffffffffffff
mov edi, 0x51d2a0
push edi
call fcn.0044bf50
add esp, 0xc
lea ecx, [ebp + 0x28]
call fcn.0041ed47
push ebx
lea eax, [ebp + 0x28]
push eax
push str.SCRIPTINIT
push 0x64
push dword [0x51d1cc]
call fcn.00423fea
lea eax, [ebp + 0x28]
push 1
push eax
call fcn.004a7430
mov edx, dword [ebp + 0x28]
add esp, 0x1c
lea ecx, [ebp + 0x5c]
mov dword [ebp + 0x5c], edx
call fcn.0041edaf
cmp dword [ebp + 0x2c], 4
mov eax, dword [ebp + 0x5c]
jg 0x43a5e9
mov word [edx], bx
mov word [eax], bx
cmp word [eax], bx
mov esi, 0x51d2a0
je 0x43a6a6
push 0x40
push 0x4f758c
mov ecx, esi
call fcn.0042829a
mov eax, dword [ebp + 0x28]
mov dword [ebp + 0x5c], eax
mov al, byte [0x5192f0]
mov dword [ebp + 0x28], ebx
mov byte [ebp + 0x5b], al
mov byte [0x5192f0], 1
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp + 0x44]
call fcn.00456550
push 0x4efd50
push dword [ebp + 0x44]
mov ecx, esi
push dword [ebp + 0x5c]
call fcn.0049f2e0
mov al, byte [ebp + 0x5b]
push 0xffffffffffffffff
push ebx
push str.__Autoapp
mov ecx, esi
mov byte [0x5192f0], al
call fcn.0041ff6a
cmp eax, ebx
je 0x43a67a
add eax, 4
cmp eax, ebx
je 0x43a67a
mov eax, dword [eax]
xor ecx, ecx
mov cx, word [eax]
cmp cx, bx
je 0x43a671
inc eax
mov dword [ebp + 0x54], ecx
inc eax
push eax
lea ecx, [ebp + 0x48]
call fcn.004566f0
push 0xffffffffffffffff
push ebx
push str.__bInitWin
mov ecx, esi
call fcn.0041ff6a
cmp eax, ebx
jne 0x43a691
xor eax, eax
jmp 0x43a694
add eax, 4
cmp eax, ebx
setne al
lea ecx, [ebp + 0x44]
mov byte [0x51d260], al
call fcn.00443880
push dword [ebp + 0x28]
call fcn.00443810
pop ecx
lea ecx, [ebp + 0x28]
call fcn.00416732
push str.PeExe
push 1
push edi
call fcn.0044bf50
add esp, 0xc
lea ecx, [ebp + 0x18]
call fcn.0041ed47
movzx eax, word [ebp + 0x34]
shl eax, 0x10
cmp word [ebp + 0x54], 0x2a
mov dword [ebp + 0x40], eax
mov dword [ebp + 0x5c], ebx
je 0x43a791
cmp word [ebp + 0x54], 0x24
je 0x43a791
mov eax, dword [ebp + 0x48]
cmp word [eax], bx
jne 0x43a791
lea eax, [ebp + 0x40]
push eax
lea eax, [ebp + 0x18]
push eax
mov al, byte [0x51d261]
neg al
push str.SCRIPT
sbb eax, eax
and eax, 0xc8
add eax, 0x65
push eax
push dword [0x51d1cc]
call fcn.00423fea
mov eax, dword [ebp + 0x40]
or eax, 1
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.004a7430
mov eax, dword [ebp + 0x18]
add esp, 0x1c
cmp dword [ebp + 0x1c], 4
mov dword [ebp + 0x5c], eax
jg 0x43a753
mov dword [ebp + 0x24], ebx
mov dword [ebp + 0x34], ebx
mov dword [ebp + 0x40], ebx
mov dword [ebp + 0x5c], ebx
push 8
pop ecx
lea eax, [ebp - 0xc]
push 0x51d2a0
mov esi, str.MBSTLOAD_101
lea edi, [ebp - 0xc]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00419edb
push 0x14
pop ecx
lea eax, [ebp - 0x5c]
push 0x51d2a0
mov esi, str.MBSTGUITEAM_SET_::MBSRGui1_EXIT_FILE
lea edi, [ebp - 0x5c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00419edb
add esp, 0x10
mov esi, 0x51d2a0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, eax
cmp edi, ebx
mov dword [ebp + 0x14], edi
je 0x43a7be
push 0x11
lea eax, [ebp + 0x14]
push eax
push str.PECMDpecmd_cmd
call fcn.00443910
add esp, 0xc
test eax, eax
mov byte [0x51d140], 1
jne 0x43a7c4
mov byte [0x51d140], bl
push 4
push dword [ebp + 0x78]
push str.MAIN
call fcn.004449d0
add esp, 0xc
test al, al
je 0x43a7e0
mov byte [0x51c752], bl
mov al, byte [0x51d140]
cmp al, bl
mov byte [ebp + 0x67], al
jne 0x43a89b
cmp word [ebp + 0x54], 0x2d
jne 0x43a7fb
or byte [ebp + 0x67], 2
cmp word [ebp + 0x54], 0x2a
jne 0x43a824
push 0x51d2cc
mov byte [0x5192f0], 1
call fcn.004a37d0
mov eax, dword [ebp + 0x48]
pop ecx
add eax, 8
push eax
mov ecx, esi
call fcn.00439fba
jmp 0x43a893
cmp word [ebp + 0x54], 0x24
jne 0x43a841
push ebx
push ebx
push ebx
push dword [ebp + 0x48]
mov ecx, esi
mov byte [0x5192f0], 1
call fcn.00437b3d
jmp 0x43a893
mov eax, dword [ebp + 0x48]
cmp word [eax], bx
je 0x43a879
cmp dword [ebp + 0x5c], ebx
jne 0x43a879
push 0x4f3f00
lea ecx, [ebp + 0x48]
mov byte [0x5192f0], 1
call fcn.00449510
push dword [ebp + 0x78]
lea ecx, [ebp + 0x48]
call fcn.00449510
push dword [ebp + 0x48]
mov ecx, esi
call fcn.00433888
jmp 0x43a893
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
jne 0x43a89b
cmp dword [ebp + 0x5c], ebx
jne 0x43a89b
push ebx
push 0x4efd50
mov ecx, esi
call fcn.00432ce4
mov dword [ebp + 0x5c], eax
jmp 0x43ad3b
lea ecx, [ebp + 0x54]
call fcn.00449480
cmp edi, ebx
jne 0x43a8b7
lea ecx, [ebp + 0x54]
call fcn.00443880
or esi, 0xffffffff
jmp 0x43ad79
lea eax, [ebp + 0x54]
push eax
push edi
call fcn.0042b07f
mov eax, dword [ebp + 0x54]
mov dword [ebp + 0x60], eax
push 1
lea eax, [ebp + 0x44]
push eax
lea eax, [ebp + 0x60]
push eax
mov dword [ebp + 0x44], ebx
call fcn.00428699
add esp, 0x14
lea ecx, [ebp + 0x60]
mov dword [ebp + 0x60], eax
call fcn.0041edaf
mov edi, dword [ebp + 0x60]
mov eax, edi
sub eax, dword [ebp + 0x54]
sar eax, 1
cmp dword [ebp + 0x5c], ebx
mov dword [ebp + 0x44], eax
je 0x43a902
cmp byte [ebp + 0x67], bl
mov byte [ebp + 0x53], 1
je 0x43a905
mov byte [ebp + 0x53], bl
push dword [0x51d34c]
lea ecx, [ebp + 0x28]
mov byte [ebp + 0x67], 0x10
call fcn.004165e9
cmp byte [ebp + 0x53], bl
mov byte [ebp + 0x5b], 1
je 0x43a932
lea edi, [ebp + 0x18]
mov byte [0x5192f0], 1
mov byte [ebp + 0x5b], bl
jmp 0x43ab1c
push dword [ebp + 0x18]
call fcn.00443810
pop ecx
lea ecx, [ebp + 0x18]
call fcn.00443880
cmp word [edi], 0x2f
mov dword [ebp + 0x24], ebx
mov dword [ebp + 0x34], ebx
mov dword [ebp + 0x40], ebx
mov byte [ebp + 0x5a], bl
jne 0x43a976
mov ax, word [edi + 2]
or ax, 0x20
cmp ax, 0x6c
jne 0x43a976
mov ax, word [edi + 4]
call fcn.0041ed7f
test al, al
je 0x43a976
mov al, byte [edi + 2]
mov byte [ebp + 0x5a], al
cmp byte [ebp + 0x5a], bl
mov dword [ebp + 0x5c], ebx
je 0x43a99f
mov word [edi + 2], 0x20
mov word [edi], 0x20
add edi, 4
lea ecx, [ebp + 0x60]
mov dword [ebp + 0x60], edi
call fcn.0041edaf
mov edi, dword [ebp + 0x60]
jmp 0x43aa43
cmp word [edi], 0x22
push ebx
lea eax, [ebp + 0x4c]
push eax
lea eax, [ebp + 0x60]
push eax
sete byte [ebp + 0x3b]
mov dword [ebp + 0x4c], ebx
mov dword [ebp + 0x60], edi
call fcn.00428699
sub eax, dword [ebp + 0x60]
add esp, 0xc
sar eax, 1
push eax
push dword [ebp + 0x60]
lea ecx, [ebp + 0x3c]
call fcn.004565a0
push dword [ebp + 0x3c]
call fcn.004b0cb0
cmp byte [ebp + 0x3b], bl
pop ecx
mov dword [ebp + 0x4c], eax
je 0x43a9fa
cmp eax, ebx
je 0x43a9f1
mov ax, word [edi + 2]
call fcn.0041ed7f
test al, al
je 0x43a9fa
push edi
call fcn.00422077
pop ecx
mov edi, eax
cmp dword [ebp + 0x4c], ebx
je 0x43aa3b
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
mov dword [ebp + 0x4c], eax
add eax, 0xa
push eax
lea ecx, [ebp + 0x5c]
call fcn.004494e0
push 0xc
push str.LOAD
push dword [ebp + 0x5c]
call fcn.004b4dd0
push dword [ebp + 0x4c]
mov eax, dword [ebp + 0x5c]
add eax, 0xa
push edi
push eax
call fcn.00417dcd
mov edi, dword [ebp + 0x5c]
add esp, 0x18
lea ecx, [ebp + 0x3c]
call fcn.00443880
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp + 0x3c], eax
add eax, 3
push eax
lea ecx, [ebp + 0x28]
call fcn.004494e0
mov eax, dword [ebp + 0x3c]
inc eax
push eax
push edi
push dword [ebp + 0x28]
call fcn.00417dcd
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x3c]
add esp, 0xc
cmp byte [ebp + 0x5a], bl
mov word [eax + ecx*2 + 2], bx
je 0x43ab0d
push dword [ebp + 0x28]
mov byte [ebp + 0x67], bl
call fcn.004462b0
mov eax, dword [ebp + 0x28]
mov dword [ebp + 0x60], eax
pop ecx
lea eax, [ebp + 0x60]
call fcn.00417e09
mov edi, dword [ebp + 0x60]
sub edi, dword [ebp + 0x28]
mov eax, dword [ebp + 0x44]
sar edi, 1
add eax, edi
mov dword [ebp + 0x4c], eax
inc eax
push eax
lea ecx, [ebp + 0x54]
call fcn.004494e0
cmp edi, ebx
jle 0x43ab0d
mov eax, dword [ebp + 0x54]
mov ecx, dword [ebp + 0x44]
push edi
push dword [ebp + 0x28]
lea eax, [eax + ecx*2]
push eax
call fcn.00417dcd
mov eax, dword [ebp + 0x54]
mov ecx, dword [ebp + 0x4c]
add esp, 0xc
cmp byte [ebp + 0x5a], 0x4c
mov word [eax + ecx*2], bx
jne 0x43ab0d
push dword [ebp + 0x60]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
add eax, eax
push eax
push dword [ebp + 0x60]
mov dword [ebp + 0x4c], eax
push dword [ebp + 0x28]
call fcn.004b3b10
mov ecx, dword [ebp + 0x4c]
lea eax, [edi + edi]
push eax
mov eax, dword [ebp + 0x28]
add ecx, eax
push ebx
push ecx
call fcn.004b4840
add esp, 0x18
or byte [ebp + 0x67], 1
lea ecx, [ebp + 0x5c]
lea edi, [ebp + 0x28]
call fcn.00443880
mov eax, dword [edi]
push 1
push dword [ebp + 0x54]
mov ecx, 0x51d2a0
mov dword [ebp + 0x60], eax
call fcn.0045b8a0
cmp byte [ebp + 0x53], bl
je 0x43ab4c
cmp byte [0x51d261], bl
mov eax, str.301
jne 0x43ab47
mov eax, str.101
push 0x40
push eax
jmp 0x43ab82
lea ecx, [ebp + 0x60]
call fcn.0041edaf
push dword [ebp + 0x60]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [ebp + 0x60]
lea ecx, [edx + eax*2 - 2]
jmp 0x43ab77
mov ax, word [ecx]
call fcn.0041ed7f
test al, al
je 0x43ab7b
mov word [ecx], bx
dec ecx
dec ecx
cmp ecx, edx
jae 0x43ab66
push 0x40
push str.cmdline
mov ecx, esi
call fcn.0042829a
mov esi, dword [edi]
mov eax, dword [ebp + 0x60]
sub eax, esi
test eax, 0xfffffffe
jle 0x43abb1
push dword [ebp + 0x60]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 0x60]
push esi
call fcn.004b3b10
add esp, 0xc
mov esi, dword [edi]
push 0x4f74a4
lea ecx, [ebp + 0x3c]
call fcn.00456550
push ebx
push 0x51d2a0
lea ecx, [ebp - 0xa4]
call fcn.00432f6c
movzx eax, word [ebp + 0x34]
push eax
lea ecx, [ebp - 0xa4]
mov dword [ebp + 0x44], eax
call fcn.004480a0
mov ax, word [ebp + 0x34]
mov ecx, esi
push ebx
lea esi, [ebp - 0xa4]
mov word [ebp - 0x9c], ax
call fcn.004283ff
push dword [ebp + 0x34]
push dword [edi]
call fcn.004217de
mov ecx, esi
push ecx
lea ecx, [ebp + 0x3c]
push ecx
mov ecx, dword [ebp + 0x40]
push eax
push ebx
push edi
mov dword [ebp + 0x4c], eax
call fcn.00430a75
movzx esi, word [ebp + 0x24]
movzx eax, ax
or dword [ebp + 0x40], eax
mov eax, dword [ebp + 0x4c]
inc eax
push eax
mov eax, esi
xor eax, dword [ebp + 0x44]
push eax
push dword [edi]
call fcn.00421852
mov eax, dword [ebp + 0x40]
and eax, 2
shl esi, 0x10
add esp, 0x2c
lea ecx, [ebp - 0xa4]
or esi, eax
call fcn.004334a7
lea ecx, [ebp + 0x3c]
call fcn.00443880
movsx eax, byte [ebp + 0x5b]
push str.PeExe
push eax
push 0x51d2a0
call fcn.0044bf50
mov ecx, dword [edi]
xor eax, eax
mov al, byte [ebp + 0x67]
add esp, 0xc
push ebx
push ebx
mov dword [edi], ebx
and eax, 1
or eax, esi
or eax, 0x80
push eax
push ebx
push dword [ebp + 0x54]
push ecx
mov ecx, 0x51d2a0
call fcn.0049f430
mov dword [ebp + 0x5c], eax
call fcn.0042b0c2
mov byte [0x51d262], al
call fcn.00449d10
cmp dword [0x51d590], ebx
jle 0x43acb6
mov byte [0x519300], 0xff
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov edi, eax
sub edi, 0x14
call esi
jmp 0x43ad1e
call esi
mov dword [ebp + 0x4c], eax
sub eax, edi
cmp eax, 1
jb 0x43acdd
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov edi, dword [ebp + 0x4c]
push 0x4bf
push 0xa
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
jmp 0x43ad16
push 1
push ebx
push ebx
push ebx
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x43ad1e
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [0x51d590], ebx
jg 0x43acef
cmp dword [0x51d590], ebx
jg 0x43acc7
lea ecx, [ebp + 0x28]
call fcn.00416732
lea ecx, [ebp + 0x54]
call fcn.00443880
mov esi, 0x51d2a0
push dword [ebp + 0x18]
call fcn.00443810
pop ecx
mov ecx, 0x519378
call fcn.00443d20
mov ecx, 0x519730
call fcn.00443d50
push 0x51d2cc
call fcn.004a37d0
pop ecx
call fcn.00422014
mov eax, 0x4efd50
push eax
push eax
mov ecx, esi
call fcn.0042a983
mov esi, dword [ebp + 0x5c]
lea ecx, [ebp + 0x18]
call fcn.00416732
lea ecx, [ebp + 0x48]
call fcn.00443880
pop edi
mov eax, esi
pop esi
pop ebx
add ebp, 0x68
leave
ret