Function at 0x545c34
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb6
push 0
push 0
dec ecx
jne 0x545c3c
push esi
push edi
xor eax, eax
push ebp
push 0x546142
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.005518a4
mov eax, dword [0x563894]
mov eax, dword [eax]
call fcn.004eb67c
cmp byte [0x562ea9], 0
je 0x545c72
call fcn.005525ac
push ebp
call fcn.00544f24
pop ecx
mov eax, dword [0x563404]
cmp dword [eax], 0
je 0x545e3f
mov eax, dword [0x563404]
cmp dword [eax], 0x1b
je 0x545e3f
lea edx, [ebp - 0x470]
mov eax, dword [0x563404]
mov eax, dword [eax]
call fcn.004224bc
mov edx, dword [ebp - 0x470]
lea eax, [ebp - 0x46c]
mov ecx, 0xff
call fcn.0040a370
lea edx, [ebp - 0x46c]
lea eax, [ebp - 0x36c]
mov ecx, 0
call fcn.00409d18
mov ecx, dword [ebp - 0x36c]
lea eax, [ebp - 0x368]
mov edx, 0x54615c
call fcn.00409dc0
mov edx, dword [ebp - 0x368]
lea eax, [ebp - 0x35c]
mov ecx, 0xff
call fcn.00409d44
mov eax, dword [0x563404]
mov eax, dword [eax]
add eax, 0xffffff9e
cmp eax, 5
ja case.default.0x545d12
jmp dword [eax*4 + 0x545d19]
mov esi, 0x546174
lea edi, [ebp - 0x35c]
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
jmp case.default.0x545d12
mov esi, 0x5461b8
lea edi, [ebp - 0x35c]
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
jmp case.default.0x545d12
mov esi, 0x5461e4
lea edi, [ebp - 0x35c]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
jmp case.default.0x545d12
lea eax, [ebp - 0x35c]
mov edx, 0x562d9b
call fcn.00409b6c
jmp case.default.0x545d12
mov esi, 0x546208
lea edi, [ebp - 0x35c]
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
jmp case.default.0x545d12
mov esi, 0x546234
lea edi, [ebp - 0x35c]
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x563404]
cmp dword [eax], 0x63
jne 0x545e02
lea eax, [ebp - 0x478]
lea edx, [ebp - 0x35c]
mov ecx, 0
call fcn.00409d18
push dword [ebp - 0x478]
push 0x546274
push 0x546284
lea eax, [ebp - 0x474]
mov edx, 3
call fcn.00409e44
mov edx, dword [ebp - 0x474]
lea eax, [ebp - 0x35c]
mov ecx, 0xff
call fcn.00409d44
mov eax, 0x5462a8
mov dword [ebp - 8], eax
lea eax, [ebp - 0x47c]
lea edx, [ebp - 0x35c]
call fcn.0040a3dc
mov edx, dword [ebp - 0x47c]
mov eax, dword [ebp - 8]
call fcn.004233f0
push 0x10
push 0x5462ac
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_GetActiveWindow
push eax
call sub.user32.dll_MessageBoxW
call fcn.005439d0
cmp dword [0x562fc8], 0
jle 0x545f52
mov eax, dword [0x562fc8]
test eax, eax
jle 0x545f52
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 1
push 0x5462ec
lea edx, [ebp - 0x484]
mov eax, dword [ebp - 4]
call fcn.004224bc
push dword [ebp - 0x484]
push 0x546308
lea eax, [ebp - 0x480]
mov edx, 3
call fcn.0040a548
mov edx, dword [ebp - 0x480]
lea eax, [ebp - 0x25c]
call fcn.00405078
lea eax, [ebp - 0x25c]
call fcn.00405270
push 0x5462ec
lea edx, [ebp - 0x48c]
mov eax, dword [ebp - 4]
call fcn.004224bc
push dword [ebp - 0x48c]
push 0x546320
lea eax, [ebp - 0x488]
mov edx, 3
call fcn.0040a548
mov edx, dword [ebp - 0x488]
lea eax, [ebp - 0x25c]
call fcn.00405078
lea eax, [ebp - 0x25c]
call fcn.00405270
push 0x546338
lea edx, [ebp - 0x494]
mov eax, dword [ebp - 4]
call fcn.004224bc
push dword [ebp - 0x494]
push 0x546308
lea eax, [ebp - 0x490]
mov edx, 3
call fcn.0040a548
mov edx, dword [ebp - 0x490]
lea eax, [ebp - 0x25c]
call fcn.00405078
lea eax, [ebp - 0x25c]
call fcn.00405270
inc dword [ebp - 4]
dec dword [ebp - 0xc]
jne 0x545e68
mov eax, dword [0x56347c]
mov edx, dword [0x372bc70]
mov dword [eax], edx
call fcn.0040495c
cmp eax, 3
jle 0x545f90
lea edx, [ebp - 0x498]
mov eax, 4
call fcn.004049bc
mov eax, dword [ebp - 0x498]
mov edx, 0x546354
call fcn.0040a5f8
jne 0x545f90
call fcn.004091d8
cmp byte [0x5633f7], 0
je 0x545fa3
call fcn.004091d8
jmp 0x5460c8
lea edx, [ebp - 0x49c]
mov eax, 4
call fcn.004049bc
mov eax, dword [ebp - 0x49c]
mov edx, 0x546354
call fcn.0040a5f8
jne 0x545fcf
call fcn.004091d8
jmp 0x5460c3
push 0x546364
lea edx, [ebp - 0x4a8]
mov eax, 2
call fcn.004049bc
mov edx, dword [ebp - 0x4a8]
lea eax, [ebp - 0x46c]
mov ecx, 0xff
call fcn.0040a370
lea edx, [ebp - 0x46c]
lea eax, [ebp - 0x4a4]
mov ecx, 0
call fcn.00409d18
push dword [ebp - 0x4a4]
push 0x546384
lea edx, [ebp - 0x5b0]
mov eax, 4
call fcn.004049bc
lea eax, [ebp - 0x5b0]
mov edx, 0x546394
call fcn.0040a468
mov edx, dword [ebp - 0x5b0]
lea eax, [ebp - 0x5ac]
mov ecx, 0xff
call fcn.0040a370
lea edx, [ebp - 0x5ac]
lea eax, [ebp - 0x4ac]
mov ecx, 0
call fcn.00409d18
push dword [ebp - 0x4ac]
lea eax, [ebp - 0x4a0]
mov edx, 4
call fcn.00409e44
mov edx, dword [ebp - 0x4a0]
lea eax, [ebp - 0x35c]
mov ecx, 0xff
call fcn.00409d44
mov eax, 0x190
call fcn.00529f94
mov eax, dword [0x563894]
mov eax, dword [eax]
call fcn.004eb67c
push 1
lea eax, [ebp - 0x35b]
push eax
call sub.kernel32.dll_WinExec
call fcn.0052a098
cmp eax, 0x1f4
jne 0x5460b7
call fcn.004091d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x546149
lea eax, [ebp - 0x5b0]
call fcn.004094a8
lea eax, [ebp - 0x4ac]
call fcn.004094cc
lea eax, [ebp - 0x4a8]
call fcn.004094a8
lea eax, [ebp - 0x4a4]
mov edx, 2
call fcn.00409538
lea eax, [ebp - 0x49c]
mov edx, 9
call fcn.00409508
lea eax, [ebp - 0x478]
mov edx, 2
call fcn.00409538
lea eax, [ebp - 0x470]
call fcn.004094a8
lea eax, [ebp - 0x36c]
mov edx, 2
call fcn.00409538
ret