Function at 0x546dfc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb6
push 0
push 0
dec ecx
jne 0x546e04
push esi
push edi
xor eax, eax
push ebp
push 0x54730a
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00552c38
mov eax, dword [0x56415c]
mov eax, dword [eax]
call fcn.004eb54c
cmp byte [0x563751], 0
je 0x546e3a
call fcn.00553430
push ebp
call fcn.005466a4
pop ecx
mov eax, dword [0x563bc0]
cmp dword [eax], 0
je 0x547007
mov eax, dword [0x563bc0]
cmp dword [eax], 0x1b
je 0x547007
lea edx, [ebp - 0x470]
mov eax, dword [0x563bc0]
mov eax, dword [eax]
call fcn.0042238c
mov edx, dword [ebp - 0x470]
lea eax, [ebp - 0x46c]
mov ecx, 0xff
call fcn.0040a390
lea edx, [ebp - 0x46c]
lea eax, [ebp - 0x36c]
mov ecx, 0
call fcn.00409d38
mov ecx, dword [ebp - 0x36c]
lea eax, [ebp - 0x368]
mov edx, 0x547324
call fcn.00409de0
mov edx, dword [ebp - 0x368]
lea eax, [ebp - 0x35c]
mov ecx, 0xff
call fcn.00409d64
mov eax, dword [0x563bc0]
mov eax, dword [eax]
add eax, 0xffffff9e
cmp eax, 5
ja case.default.0x546eda
jmp dword [eax*4 + 0x546ee1]
mov esi, 0x54733c
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.0x546eda
mov esi, 0x547380
lea edi, [ebp - 0x35c]
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
jmp case.default.0x546eda
mov esi, 0x5473ac
lea edi, [ebp - 0x35c]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
jmp case.default.0x546eda
lea eax, [ebp - 0x35c]
mov edx, 0x563643
call fcn.00409b8c
jmp case.default.0x546eda
mov esi, 0x5473d0
lea edi, [ebp - 0x35c]
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
jmp case.default.0x546eda
mov esi, 0x5473fc
lea edi, [ebp - 0x35c]
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x563bc0]
cmp dword [eax], 0x63
jne 0x546fca
lea eax, [ebp - 0x478]
lea edx, [ebp - 0x35c]
mov ecx, 0
call fcn.00409d38
push dword [ebp - 0x478]
push 0x54743c
push 0x54744c
lea eax, [ebp - 0x474]
mov edx, 3
call fcn.00409e64
mov edx, dword [ebp - 0x474]
lea eax, [ebp - 0x35c]
mov ecx, 0xff
call fcn.00409d64
mov eax, 0x547470
mov dword [ebp - 8], eax
lea eax, [ebp - 0x47c]
lea edx, [ebp - 0x35c]
call fcn.0040a3fc
mov edx, dword [ebp - 0x47c]
mov eax, dword [ebp - 8]
call fcn.004232c0
push 0x10
push 0x547474
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_GetActiveWindow
push eax
call sub.user32.dll_MessageBoxW
call fcn.00545168
cmp dword [0x563770], 0
jle 0x54711a
mov eax, dword [0x563770]
test eax, eax
jle 0x54711a
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 1
push 0x5474b4
lea edx, [ebp - 0x484]
mov eax, dword [ebp - 4]
call fcn.0042238c
push dword [ebp - 0x484]
push 0x5474d0
lea eax, [ebp - 0x480]
mov edx, 3
call fcn.0040a568
mov edx, dword [ebp - 0x480]
lea eax, [ebp - 0x25c]
call fcn.00405098
lea eax, [ebp - 0x25c]
call fcn.00405290
push 0x5474b4
lea edx, [ebp - 0x48c]
mov eax, dword [ebp - 4]
call fcn.0042238c
push dword [ebp - 0x48c]
push 0x5474e8
lea eax, [ebp - 0x488]
mov edx, 3
call fcn.0040a568
mov edx, dword [ebp - 0x488]
lea eax, [ebp - 0x25c]
call fcn.00405098
lea eax, [ebp - 0x25c]
call fcn.00405290
push 0x547500
lea edx, [ebp - 0x494]
mov eax, dword [ebp - 4]
call fcn.0042238c
push dword [ebp - 0x494]
push 0x5474d0
lea eax, [ebp - 0x490]
mov edx, 3
call fcn.0040a568
mov edx, dword [ebp - 0x490]
lea eax, [ebp - 0x25c]
call fcn.00405098
lea eax, [ebp - 0x25c]
call fcn.00405290
inc dword [ebp - 4]
dec dword [ebp - 0xc]
jne 0x547030
mov eax, dword [0x563c48]
mov edx, dword [0x56db20]
mov dword [eax], edx
call fcn.0040495c
cmp eax, 3
jle 0x547158
lea edx, [ebp - 0x498]
mov eax, 4
call fcn.004049bc
mov eax, dword [ebp - 0x498]
mov edx, 0x54751c
call fcn.0040a618
jne 0x547158
call fcn.004091f8
cmp byte [0x563b9f], 0
je 0x54716b
call fcn.004091f8
jmp 0x547290
lea edx, [ebp - 0x49c]
mov eax, 4
call fcn.004049bc
mov eax, dword [ebp - 0x49c]
mov edx, 0x54751c
call fcn.0040a618
jne 0x547197
call fcn.004091f8
jmp 0x54728b
push 0x54752c
lea edx, [ebp - 0x4a8]
mov eax, 2
call fcn.004049bc
mov edx, dword [ebp - 0x4a8]
lea eax, [ebp - 0x46c]
mov ecx, 0xff
call fcn.0040a390
lea edx, [ebp - 0x46c]
lea eax, [ebp - 0x4a4]
mov ecx, 0
call fcn.00409d38
push dword [ebp - 0x4a4]
push 0x54754c
lea edx, [ebp - 0x5b0]
mov eax, 4
call fcn.004049bc
lea eax, [ebp - 0x5b0]
mov edx, 0x54755c
call fcn.0040a488
mov edx, dword [ebp - 0x5b0]
lea eax, [ebp - 0x5ac]
mov ecx, 0xff
call fcn.0040a390
lea edx, [ebp - 0x5ac]
lea eax, [ebp - 0x4ac]
mov ecx, 0
call fcn.00409d38
push dword [ebp - 0x4ac]
lea eax, [ebp - 0x4a0]
mov edx, 4
call fcn.00409e64
mov edx, dword [ebp - 0x4a0]
lea eax, [ebp - 0x35c]
mov ecx, 0xff
call fcn.00409d64
mov eax, 0x190
call fcn.00528e48
mov eax, dword [0x56415c]
mov eax, dword [eax]
call fcn.004eb54c
push 1
lea eax, [ebp - 0x35b]
push eax
call sub.kernel32.dll_WinExec
call fcn.00528f4c
cmp eax, 0x1f4
jne 0x54727f
call fcn.004091f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x547311
lea eax, [ebp - 0x5b0]
call fcn.004094c8
lea eax, [ebp - 0x4ac]
call fcn.004094ec
lea eax, [ebp - 0x4a8]
call fcn.004094c8
lea eax, [ebp - 0x4a4]
mov edx, 2
call fcn.00409558
lea eax, [ebp - 0x49c]
mov edx, 9
call fcn.00409528
lea eax, [ebp - 0x478]
mov edx, 2
call fcn.00409558
lea eax, [ebp - 0x470]
call fcn.004094c8
lea eax, [ebp - 0x36c]
mov edx, 2
call fcn.00409558
ret