Function at 0x1100287a
Capabilities:
Accept command line arguments
Check for time delay via gettickcount
Encode data using xor
Generate random numbers using the delphi lcg
Get file size
Read file via mapping
Resolve function by parsing pe exports
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x88c
xor ecx, ecx
push ebx
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x54], ecx
call fcn.11002322
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
and eax, 0x11
mov dword [esp + 0x3c], 3
cmp eax, 0x111
je 0x110028f0
call esi
mov dword [0x11006040], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], eax
jmp 0x110029c1
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], eax
mov esi, ebx
push 4
push 0x1000
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
call fcn.11003526
mov ecx, eax
sub ecx, dword [0x11006040]
xor edx, edx
mov eax, ecx
div dword [esp + 0x3c]
test ecx, 0xffff8000
je 0x1100294c
test edx, edx
je 0x11003128
cmp edx, 1
je 0x110029c1
mov ecx, dword [esp + 0x18]
jmp 0x1100290a
mov eax, dword [esp + 0x30]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x60]
mov dword [esp + 0x70], eax
mov dword [esp + 0x6c], edi
call fcn.11003800
cmp eax, 1
jne 0x11003198
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.11003526
mov ecx, eax
sub ecx, dword [0x11006040]
xor edx, edx
mov eax, ecx
div dword [esp + 0x3c]
test ecx, 0xffff8000
je 0x110030da
test edx, edx
je 0x11003128
mov ecx, dword [esp + 0x18]
cmp edx, 1
jne 0x1100290a
mov esi, dword [esp + 0x1c]
push 3
pop edi
call fcn.11003526
mov ecx, eax
sub ecx, dword [0x11006040]
xor edx, edx
mov eax, ecx
div edi
test ecx, 0xffff8000
jne 0x11002e75
push ecx
call fcn.110024e2
call fcn.11003526
mov ecx, eax
sub ecx, dword [0x11006040]
xor edx, edx
mov eax, ecx
div edi
test ecx, 0xffff8000
jne 0x11002e75
call fcn.1100348a
mov edi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0x11001378
lea esi, [eax + 0xfe0]
call edi
push eax
call dword [0x11006008]
test eax, eax
setne al
pop ecx
pop ecx
mov byte [esp + 0x2b], al
test al, al
je 0x11002a66
push 0x11001234
call edi
push eax
call dword [0x11006008]
pop ecx
pop ecx
test eax, eax
je 0x11002a66
mov ecx, esi
mov byte [esp + 0x17], 1
call fcn.110031d7
test al, al
je 0x110031a3
xor ecx, ecx
jmp 0x11002a7f
xor ecx, ecx
cmp dword [esi], 0x696d7678
mov byte [esp + 0x17], cl
jne 0x11002a7d
cmp dword [esi + 4], 0x74636a6e
je 0x11002a7f
mov esi, ecx
test esi, esi
je 0x11002cc9
mov ebx, dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push ecx
push ecx
push ecx
push 6
push dword [esi + 0x18]
call ebx
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
je 0x11003026
xor eax, eax
push eax
push eax
push eax
push 6
push dword [edi + 0x1c]
call ebx
mov ebx, eax
mov dword [esp + 0x4c], ebx
test ebx, ebx
je 0x1100301b
mov ecx, dword [ebx + 0x48]
cmp ecx, 0x3fc
jae 0x11003006
mov eax, dword [ebx + 0x4c]
add ecx, ecx
push ecx
add eax, ebx
push eax
lea eax, [esp + 0xa8]
push eax
call dword [0x11006020]
mov eax, dword [ebx + 0x48]
xor ecx, ecx
mov word [esp + eax*2 + 0xac], cx
mov eax, dword [edi + 0x40]
xor esi, esi
add esp, 0xc
xor ebx, ebx
mov dword [esp + 0x38], esi
test eax, eax
je 0x11002b30
cmp dword [edi + 0x44], ecx
je 0x11002b30
lea eax, [eax*2 + 2]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
jne 0x11002b3a
push ecx
push 0x11001404
jmp 0x1100319e
cmp byte [esp + 0x17], cl
jne 0x11002ffb
mov eax, dword [edi + 0x50]
test eax, eax
je 0x11002b72
cmp dword [edi + 0x54], esi
je 0x11002b72
lea eax, [eax*2 + 2]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
mov dword [esp + 0x38], esi
test esi, esi
jne 0x11002b7d
push ecx
push 0x1100142c
jmp 0x1100319e
cmp byte [esp + 0x2b], 0
jne 0x11002ff0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov edi, dword [eax + 0x10]
test ebx, ebx
je 0x11002bbf
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x40]
add eax, eax
push eax
mov eax, dword [ecx + 0x44]
add eax, ecx
push eax
push ebx
call dword [0x11006020]
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov eax, dword [eax + 0x40]
xor ecx, ecx
mov word [ebx + eax*2], cx
push ebx
lea eax, [edi + 0x38]
push eax
call dword [0x11006030]
test esi, esi
je 0x11002c4f
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x50]
add eax, eax
push eax
mov eax, dword [ecx + 0x54]
add eax, ecx
push eax
push esi
call dword [0x11006020]
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov eax, dword [eax + 0x50]
push esi
xor ecx, ecx
add edi, 0x40
push edi
mov word [esi + eax*2], cx
call dword [0x11006030]
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [section..data]
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
test esi, esi
je 0x11002c4b
push 8
lea eax, [esp + 0x5c]
push 0
push eax
call dword [0x1100601c]
add esp, 0xc
lea eax, [esp + 0x58]
push 1
push edi
push eax
call dword [0x1100602c]
test eax, eax
js 0x11002c48
push dword [esp + 0x5c]
push esi
call dword [0x11006010]
pop ecx
pop ecx
jmp 0x11002c4b
mov byte [esi], 0
mov esi, dword [esp + 0x38]
call fcn.110034cb
test al, al
je 0x11002cf1
call fcn.1100348a
mov ecx, dword [eax + 0x20]
xor edx, edx
cmp dword [eax + 0x24], edx
ja 0x11002cf1
jb 0x11002c79
cmp ecx, 0x7fff0000
jae 0x11002cf1
test ebx, ebx
je 0x11002ca1
mov dword [ecx + 0x68], ebx
mov ebx, dword [esp + 0x10]
mov dword [ecx + 0x6c], edx
mov ax, word [ebx + 0x40]
add ax, ax
mov word [ecx + 0x60], ax
mov ax, word [ebx + 0x40]
inc ax
add ax, ax
mov word [ecx + 0x62], ax
jmp 0x11002ca5
mov ebx, dword [esp + 0x10]
test esi, esi
je 0x11002cf5
mov dword [ecx + 0x78], esi
mov dword [ecx + 0x7c], edx
mov ax, word [ebx + 0x50]
add ax, ax
mov word [ecx + 0x70], ax
mov ax, word [ebx + 0x50]
inc ax
add ax, ax
mov word [ecx + 0x72], ax
jmp 0x11002cf5
mov esi, 0x3fc
push esi
lea eax, [esp + 0xa4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x11002ce6
cmp eax, esi
jne 0x11002cf5
push ecx
push 0x11001454
jmp 0x11003147
mov ebx, dword [esp + 0x10]
push 0x5c
pop eax
cmp word [esp + 0xa0], ax
jne 0x11002d15
cmp word [esp + 0xa2], ax
jne 0x11002d15
lea esi, [esp + 0xa0]
jmp 0x11002d34
push 8
lea eax, [esp + 0x9c]
push 0x11001678
push eax
call dword [0x11006020]
add esp, 0xc
lea esi, [esp + 0x98]
call fcn.11003526
mov ecx, eax
sub ecx, dword [0x11006040]
push 3
xor edx, edx
mov eax, ecx
pop edi
div edi
test ecx, 0xffff8000
je 0x11002d6c
test edx, edx
je 0x11003128
mov esi, dword [esp + 0x1c]
cmp edx, 1
jne 0x11002946
jmp 0x110029c8
push ecx
push esi
call fcn.1100249a
push ecx
push 0x11001468
call fcn.1100249a
xor eax, eax
push eax
push eax
push edi
push eax
push 7
push 0x80000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [esp + 0x34], edi
cmp edi, 0xffffffff
je 0x110030d2
call fcn.11003547
mov esi, dword [esp + 0x1c]
test eax, eax
jne 0x110029c5
xor eax, eax
push eax
push eax
push eax
push 2
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x110030ca
push 0x1000
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
je 0x110030c2
mov ecx, edi
call fcn.11002537
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x38]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x110030b7
xor eax, eax
push eax
mov ecx, esi
add ecx, 0x1000
pop edx
adc eax, edx
cmp dword [esp + 0x44], eax
jl 0x11003089
jg 0x11002e34
cmp dword [esp + 0x40], ecx
jbe 0x11003089
lea eax, [esi + 0x1000]
push eax
push edx
push edx
push 4
push dword [esp + 0x3c]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
mov dword [esp + 0x1c], esi
test esi, esi
je 0x1100307e
call fcn.11003526
mov ecx, eax
sub ecx, dword [0x11006040]
push 3
xor edx, edx
mov eax, ecx
pop edi
div edi
test ecx, 0xffff8000
je 0x11002e8b
test edx, edx
je 0x11003128
cmp edx, 1
je 0x110029c8
jmp 0x11002946
mov ecx, esi
call fcn.11002537
mov esi, eax
add esi, dword [esp + 0x1c]
push 4
pop ebx
mov ecx, dword [esi]
add esi, ebx
cmp ecx, 0x6d7678
jne 0x11003073
mov ecx, dword [esi]
add esi, ebx
cmp ecx, edi
jne 0x11003068
mov edx, dword [esi]
mov edi, edx
imul edi, edi, 0x8088405
add esi, ebx
inc edi
mov ecx, dword [esi]
mov eax, edi
xor eax, edx
add esi, ebx
cmp eax, ecx
jne 0x1100305d
mov ecx, dword [esi]
mov edx, edi
imul edx, edx, 0x8088405
inc edx
mov eax, edx
xor eax, edi
add esi, ebx
cmp eax, ecx
jne 0x11003052
mov eax, dword [esi]
imul edx, edx, 0x8088405
inc edx
xor eax, edx
imul edx, edx, 0x8088405
add esi, ebx
inc edx
mov ecx, dword [esi]
xor ecx, edx
imul edx, edx, 0x2b9ad7e7
mov dword [esp + 0x24], 0x8088406
sub dword [esp + 0x24], edx
mov edx, dword [esp + 0x24]
xor edx, dword [esi + 8]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
lea ebx, [esi + 8]
sub ebx, eax
add ebx, 4
add edx, ebx
add edx, ecx
push eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x28], edx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
push eax
push eax
push eax
push 8
push eax
push dword [esp + 0x48]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ecx, eax
mov dword [esp + 0x2c], ecx
test ecx, ecx
je 0x11003047
mov eax, dword [esp + 0x30]
add eax, ebx
push eax
push 0
push 0
push 1
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
mov dword [esp + 0x1c], esi
test esi, esi
je 0x1100303c
lea eax, [ebx + esi]
mov dword [esp + 0x50], eax
mov ecx, eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x11002fb7
mov edx, eax
imul edi, edi, 0x343fd
add edi, 0x269ec3
mov eax, edi
shr eax, 0x10
xor byte [ecx], al
inc ecx
dec edx
jne 0x11002fa0
xor eax, eax
push ecx
push ecx
lea ecx, [esp + 0x68]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], eax
call fcn.110036e0
pop ecx
pop ecx
test eax, eax
jne 0x11003031
mov ebx, dword [esp + 0x10]
jmp 0x11002946
push ecx
push 0x11001440
jmp 0x1100319e
push ecx
push 0x11001418
jmp 0x1100319e
push ecx
push 0x110013f0
call fcn.1100249a
push 0xa
push dword [ebx + 0x48]
jmp 0x11003155
push ecx
push 0x110013dc
jmp 0x11003147
push ecx
push 0x110013c8
jmp 0x11003147
push ecx
push 0x11001588
jmp 0x1100319e
push ecx
push 0x11001574
jmp 0x11003147
push ecx
push 0x11001560
jmp 0x11003147
push ecx
push 0x11001550
jmp 0x1100319e
push ecx
push 0x11001540
jmp 0x1100319e
push ecx
push 0x11001530
jmp 0x1100319e
push ecx
push 0x11001520
jmp 0x1100319e
push ecx
push 0x1100150c
jmp 0x11003147
push ecx
push 0x110014f8
call fcn.1100249a
push 0xa
push dword [esp + 0x44]
mov ecx, 0x11006048
call fcn.11002433
push ecx
push 0x11001468
call fcn.1100249a
push 0xa
push esi
jmp 0x11003155
push ecx
push 0x110014e4
jmp 0x11003147
push ecx
push 0x110014d0
jmp 0x11003147
push ecx
push 0x110014bc
jmp 0x11003147
push ecx
push 0x11001470
jmp 0x11003147
mov ecx, edi
call fcn.11002617
push 0x8000
push dword [esp + 0x1c]
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
test esi, esi
je 0x110031a3
mov ecx, esi
call fcn.110034ee
mov ecx, esi
call fcn.1100258e
mov dword [esp + 0x20], eax
test eax, eax
jne 0x1100311c
push ecx
push 0x110015b0
jmp 0x1100319e
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [esp + 0x54], eax
mov edi, dword [esp + 0x34]
xor eax, eax
push eax
push eax
push eax
push 2
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov esi, eax
test esi, esi
jne 0x11003161
push ecx
push 0x110015c0
call fcn.1100249a
push 0xa
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, 0x11006048
call fcn.11002433
jmp 0x110031a3
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x28]
push ebx
add eax, 0xffff
and eax, 0xffff0000
push eax
push dword [esp + 0x50]
push dword [esp + 0x50]
push esi
push dword [esp + 0x6c]
call dword [esp + 0x3c]
add esp, 0x1c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ecx
push 0x11001598
call fcn.1100249a
push 0x110015d4
push 0x110015e0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10
push 0x110015f8
push 0x11006048
push 0
call eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]