Function at 0x4225bc
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x11
push 0
push 0
dec ecx
jne 0x4225c5
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00404660
mov eax, dword [ebp - 8]
call fcn.00404660
mov eax, dword [ebp - 0xc]
call fcn.00404660
mov eax, dword [ebp + 0xc]
call fcn.00404660
xor eax, eax
push ebp
push 0x422b80
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x41976c]
call fcn.00419f50
mov esi, eax
mov byte [ebp - 0x25], 1
mov eax, esi
call fcn.0041a1a0
test al, al
je 0x42263f
push 5
mov eax, dword [0x42ada8]
mov eax, dword [eax]
push eax
call sub.user32.dll_ShowWindow
mov eax, esi
call fcn.0041a784
push eax
mov eax, esi
call fcn.0041a70c
push eax
lea eax, [ebp - 0x40]
push eax
mov ecx, 0x422b9c
mov edx, 0x422bb8
mov eax, esi
call fcn.0041a600
mov eax, dword [ebp - 0x40]
push eax
lea edx, [ebp - 0x44]
mov eax, esi
call fcn.0041a804
mov ecx, dword [ebp - 0x44]
mov eax, dword [0x42aec8]
mov eax, dword [eax]
pop edx
call fcn.0041f600
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00421f5c
test al, al
jne 0x4226a2
call fcn.0041f930
test al, al
je 0x4226a2
lea eax, [ebp - 4]
call fcn.0041f874
mov eax, dword [0x42adb4]
mov edx, 0x422bc4
call fcn.0040488c
mov edx, ebx
call fcn.00403044
mov edx, 0x422be4
call fcn.0040488c
call fcn.004030f4
test bl, bl
je 0x4226db
mov ecx, esi
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00422000
mov byte [ebp - 0x25], al
cmp byte [ebp - 0x25], 0
je 0x422b2e
lea eax, [ebp - 0x2c]
push eax
mov ecx, 0x422bf8
mov edx, 0x422c40
mov eax, esi
call fcn.0041a600
lea eax, [ebp - 0x30]
push eax
mov ecx, 0x422c4c
mov edx, 0x422c4c
mov eax, esi
call fcn.0041a600
lea eax, [ebp - 0x34]
push eax
mov ecx, 0x422c60
mov edx, 0x422c98
mov eax, esi
call fcn.0041a600
mov eax, esi
call fcn.0041a70c
mov edi, eax
test bl, bl
je 0x422740
push 5
mov eax, dword [0x42ad88]
mov eax, dword [eax]
push eax
call sub.user32.dll_ShowWindow
push 0
push 0x3e8
mov eax, 1
call fcn.0040f22c
lea eax, [ebp - 0x26]
push eax
push fcn.0041612c
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x34]
push eax
push edi
call fcn.00421e8c
push eax
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.0041ec64
push 0
push 0x3e8
xor eax, eax
call fcn.0040f22c
cmp dword [ebp - 0x18], 0
je 0x422abc
call fcn.00419824
test al, al
jne 0x422abc
cmp byte [ebp - 0x26], 0
je 0x422abc
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
call fcn.00404264
mov edx, dword [ebp - 0x18]
mov eax, 0x422ca8
call fcn.004047b4
mov edi, eax
test edi, edi
jle 0x42283d
lea eax, [ebp - 0x48]
push eax
mov ecx, edi
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x18]
call fcn.004046d0
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x1c]
call fcn.00407098
push dword [ebp + 0xc]
push 0x422cb4
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x18]
call fcn.00404470
mov ecx, eax
lea edx, [edi + 1]
mov eax, dword [ebp - 0x18]
call fcn.004046d0
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
call fcn.00407098
push dword [ebp - 0x54]
lea eax, [ebp - 0x50]
mov edx, 3
call fcn.00404530
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0x4c]
call fcn.00407098
mov edx, dword [ebp - 0x4c]
lea eax, [ebp + 0xc]
call fcn.00404264
lea ecx, [ebp - 0x5c]
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0041034c
mov edx, dword [ebp - 0x5c]
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
call fcn.004044bc
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x18]
call fcn.00404264
cmp dword [ebp + 0xc], 0
je 0x422881
push dword [ebp - 0x14]
push 0x422cb4
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404530
call sub.kernel32.dll_GetCurrentThreadId_1
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x60]
call fcn.00407220
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0x38]
mov edx, 0x422cc0
call fcn.004044bc
push dword [ebp - 0x14]
push 0x422ccc
push dword [ebp - 0x38]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404530
mov edx, dword [ebp - 0x14]
mov eax, 0x422ce0
call fcn.004047b4
test eax, eax
jne 0x4228f2
push dword [ebp - 0x14]
push 0x422cf4
lea edx, [ebp - 0x64]
xor eax, eax
call fcn.004103f0
push dword [ebp - 0x64]
push 0x422d0c
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00404530
mov eax, dword [0x42ae5c]
cmp byte [eax], 0
je 0x422909
lea eax, [ebp - 0x14]
mov edx, 0x422d18
call fcn.00404478
lea eax, [ebp - 0x20]
call fcn.00420130
lea eax, [ebp - 0x24]
call fcn.004201ac
lea ecx, [ebp - 0x68]
mov edx, 0x422d34
mov eax, dword [ebp - 0x14]
call fcn.00422528
mov edx, dword [ebp - 0x68]
lea eax, [ebp - 0x14]
call fcn.00404264
lea ecx, [ebp - 0x6c]
mov edx, 0x422d48
mov eax, dword [ebp - 0x14]
call fcn.00422528
mov edx, dword [ebp - 0x6c]
lea eax, [ebp - 0x14]
call fcn.00404264
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
mov eax, dword [0x42adb4]
call fcn.00405014
mov edx, 0x422d64
call fcn.0040488c
mov edx, dword [ebp - 0x14]
call fcn.0040488c
mov edx, 0x422d8c
call fcn.0040488c
call fcn.004030f4
lea eax, [ebp - 0x70]
mov ecx, dword [ebp - 0x38]
mov edx, 0x422d98
call fcn.004044bc
mov eax, dword [ebp - 0x70]
call fcn.00404670
mov edi, eax
push edi
call sub.kernel32.dll_GlobalAddAtomA
test bl, bl
je 0x4229ca
mov eax, dword [ebp - 0x14]
call fcn.00404670
mov edx, eax
lea eax, [ebp - 0x74]
call fcn.004043a8
mov eax, dword [ebp - 0x74]
mov edx, 5
call fcn.0042245c
mov ebx, eax
jmp 0x4229e8
mov eax, dword [ebp - 0x14]
call fcn.00404670
mov edx, eax
lea eax, [ebp - 0x78]
call fcn.004043a8
mov eax, dword [ebp - 0x78]
xor edx, edx
call fcn.0042245c
mov ebx, eax
push 0
mov eax, dword [0x42ad88]
mov eax, dword [eax]
push eax
call sub.user32.dll_ShowWindow
push 0
push 0x3e8
xor eax, eax
call fcn.0040f22c
mov eax, ebx
call fcn.004224f8
lea eax, [ebp - 0x3c]
push eax
push ebx
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [0x42ad38]
mov edx, dword [ebp - 0x3c]
mov dword [eax], edx
lea eax, [ebp - 0x7c]
mov ecx, dword [ebp - 0x38]
mov edx, 0x422dbc
call fcn.004044bc
mov eax, dword [ebp - 0x7c]
call fcn.00404670
xor edx, edx
call fcn.0040df48
push 0
push 0x3e8
xor eax, eax
call fcn.0040f22c
mov edx, 0x422d98
lea eax, [ebp - 0x80]
mov ecx, dword [ebp - 0x38]
call fcn.004044bc
push edi
call sub.kernel32.dll_GlobalFindAtomA
test ax, ax
sete byte [ebp - 0xd]
push eax
call sub.kernel32.dll_GlobalDeleteAtom
cmp byte [ebp - 0xd], 0
je 0x422abc
call fcn.004218d8
test al, al
je 0x422a99
cmp dword [ebp - 0x20], 0
je 0x422a99
mov eax, dword [ebp - 0x20]
call fcn.00407418
test al, al
je 0x422a99
mov eax, dword [ebp - 0x20]
call fcn.00407680
call fcn.00421998
test al, al
je 0x422abc
cmp dword [ebp - 0x24], 0
je 0x422abc
mov eax, dword [ebp - 0x24]
call fcn.00407418
test al, al
je 0x422abc
mov eax, dword [ebp - 0x24]
call fcn.00407680
cmp byte [ebp - 0x26], 0
jne 0x422b2e
lea eax, [ebp - 0x84]
push eax
mov ecx, 0x422c60
mov edx, 0x422c98
mov eax, esi
call fcn.0041a600
mov eax, dword [ebp - 0x84]
push eax
mov eax, esi
call fcn.0041a70c
push eax
lea eax, [ebp - 0x88]
push eax
mov ecx, 0x422ddc
mov edx, 0x422ddc
mov eax, esi
call fcn.0041a600
mov eax, dword [ebp - 0x88]
push eax
lea eax, [ebp - 0x8c]
push eax
mov ecx, 0x422dec
mov edx, 0x422e3c
mov eax, esi
call fcn.0041a600
mov edx, dword [ebp - 0x8c]
xor eax, eax
pop ecx
call fcn.0040f63c
call fcn.0041fb80
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x422b87
lea eax, [ebp - 0x8c]
mov edx, 0x14
call fcn.004041f0
lea eax, [ebp - 0x38]
mov edx, 4
call fcn.004041f0
lea eax, [ebp - 0x24]
mov edx, 5
call fcn.004041f0
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004041f0
lea eax, [ebp + 0xc]
call fcn.004041cc
ret