Function at 0x51bfc8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x16
push 0
push 0
dec ecx
jne 0x51bfd1
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov ebx, ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x51d593
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 6], 0
mov byte [ebp - 0x29], 0
cmp byte [ebp - 5], 0
je case.0x51c014.0
xor eax, eax
mov al, byte [ebp - 5]
cmp eax, 0x1c
ja case.0x51c014.0
jmp dword [eax*4 + 0x51c01b]
mov edx, ebx
mov eax, 0x51d5b0
call fcn.00404a38
test eax, eax
je 0x51c0b0
push ebp
mov eax, ebx
call fcn.0051bd68
pop ecx
mov byte [ebp - 6], al
jmp 0x51d38e
lea eax, [ebp - 0xc]
mov edx, 0x51d5bc
call fcn.004044cc
lea eax, [ebp - 0x20]
mov edx, ebx
call fcn.004044cc
cmp dword [ebp - 0x20], 0
je 0x51c0e5
mov eax, dword [ebp - 0x20]
cmp byte [eax], 0x5c
je 0x51c0e5
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
mov edx, 0x51d5cc
call fcn.00404740
mov edx, dword [0x5a3304]
mov edx, dword [edx]
lea eax, [ebp - 0x10]
mov ecx, ebx
call fcn.00404740
lea eax, [ebp - 0x14]
mov edx, dword [ebp + 0x14]
call fcn.004044cc
lea eax, [ebp - 0x20]
mov edx, dword [ebp + 0x10]
call fcn.004044cc
cmp dword [ebp - 0x20], 0
je 0x51c12b
mov eax, dword [ebp - 0x20]
cmp byte [eax], 0x5c
je 0x51c12b
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
mov edx, 0x51d5cc
call fcn.00404740
mov edx, dword [0x5a3304]
mov edx, dword [edx]
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
call fcn.00404740
mov byte [ebp - 0x29], 1
jmp 0x51d38e
lea eax, [ebp - 0xc]
mov edx, 0x51d5bc
call fcn.004044cc
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.004044cc
lea eax, [ebp - 0x14]
call fcn.00404434
lea eax, [ebp - 0x18]
call fcn.00404434
mov byte [ebp - 0x29], 1
jmp 0x51d38e
lea eax, [ebp - 0xc]
mov edx, 0x51d5bc
call fcn.004044cc
lea eax, [ebp - 0x10]
mov ecx, ebx
mov edx, 0x51d5d8
call fcn.00404740
lea eax, [ebp - 0x14]
mov edx, dword [ebp + 0x14]
call fcn.004044cc
lea eax, [ebp - 0x18]
call fcn.00404434
mov byte [ebp - 0x29], 1
jmp 0x51d38e
lea eax, [ebp - 0x20]
mov edx, ebx
call fcn.004044cc
cmp dword [ebp - 0x20], 0
je 0x51c1d7
mov eax, dword [ebp - 0x20]
cmp byte [eax], 0x5c
je 0x51c1d7
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
mov edx, 0x51d5cc
call fcn.00404740
mov edx, dword [0x5a3304]
mov edx, dword [edx]
lea eax, [ebp - 0x38]
mov ecx, dword [ebp - 0x20]
call fcn.00404740
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.0051dbe8
mov byte [ebp - 6], al
jmp 0x51d38e
lea eax, [ebp - 0xc]
mov edx, 0x51d5e8
call fcn.004044cc
lea eax, [ebp - 0x20]
mov edx, ebx
call fcn.004044cc
cmp dword [ebp - 0x20], 0
je 0x51c232
mov eax, dword [ebp - 0x20]
cmp byte [eax], 0x5c
je 0x51c232
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
mov edx, 0x51d5cc
call fcn.00404740
mov edx, dword [0x5a3304]
mov edx, dword [edx]
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
call fcn.00404740
lea eax, [ebp - 0x14]
mov edx, dword [ebp + 0x14]
call fcn.004044cc
lea eax, [ebp - 0x18]
call fcn.00404434
mov byte [ebp - 0x29], 1
jmp 0x51d38e
lea eax, [ebp - 0xc]
mov edx, 0x51d5f8
call fcn.004044cc
lea eax, [ebp - 0x10]
mov edx, dword [0x5a3304]
mov edx, dword [edx]
call fcn.004044cc
lea eax, [ebp - 0x20]
mov edx, ebx
call fcn.004044cc
cmp dword [ebp - 0x20], 0
je 0x51c2a6
mov eax, dword [ebp - 0x20]
cmp byte [eax], 0x5c
je 0x51c2a6
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
mov edx, 0x51d5cc
call fcn.00404740
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x20]
call fcn.004046fc
lea eax, [ebp - 0x14]
mov edx, dword [ebp + 0x14]
call fcn.004044cc
lea eax, [ebp - 0x18]
call fcn.00404434
mov byte [ebp - 0x29], 1
jmp 0x51d38e
cmp byte [0x5a554c], 0
jne 0x51c301
xor ecx, ecx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00519db0
test al, al
je 0x51d38e
mov eax, dword [ebp - 4]
mov byte [eax + 0x3b5], 1
mov eax, dword [ebp - 4]
call fcn.0049f3dc
jmp 0x51d38e
push 0x40
mov ecx, 0x51d600
mov edx, 0x51d610
mov eax, dword [0x5a311c]
mov eax, dword [eax]
call fcn.004a2dfc
jmp 0x51d38e
cmp byte [0x5a554c], 0
jne 0x51c355
mov eax, dword [ebp - 4]
mov byte [eax + 0x355], 1
mov eax, dword [ebp - 4]
add eax, 0x358
mov edx, ebx
call fcn.00404488
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov dl, 1
call fcn.0043bcb8
jmp case.0x51c014.0
push 0x40
mov ecx, 0x51d600
mov edx, 0x51d610
mov eax, dword [0x5a311c]
mov eax, dword [eax]
call fcn.004a2dfc
jmp 0x51d38e
mov eax, dword [ebp - 4]
mov byte [eax + 0x3b5], 0
mov byte [ebp - 6], 1
mov eax, dword [ebp - 4]
call fcn.0049f3dc
jmp 0x51d38e
mov eax, dword [ebp - 4]
mov byte [eax + 0x3b5], 1
mov byte [ebp - 6], 1
mov eax, dword [ebp - 4]
call fcn.0049f3dc
jmp 0x51d38e
mov eax, dword [0x5a311c]
mov eax, dword [eax]
call fcn.004a2594
mov byte [ebp - 6], 1
jmp 0x51d38e
push 0x40
lea edx, [ebp - 0x3c]
mov eax, dword [0x5a311c]
mov eax, dword [eax]
call fcn.004a2780
mov eax, dword [ebp - 0x3c]
call fcn.004048f4
push eax
mov eax, ebx
call fcn.004048f4
mov edx, eax
mov eax, dword [0x5a311c]
mov eax, dword [eax]
pop ecx
call fcn.004a2dfc
mov byte [ebp - 6], 1
jmp 0x51d38e
xor eax, eax
push ebp
push 0x51c42e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x304]
call fcn.00504ccc
cmp al, 2
jne 0x51c424
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x304]
call fcn.00503f60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x51c442
mov byte [ebp - 6], 1
jmp 0x51d38e
xor eax, eax
push ebp
push 0x51c54e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x390], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x304]
call fcn.00504ccc
cmp al, 2
jne 0x51c483
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x304]
call fcn.00503f60
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
call fcn.00504ccc
cmp al, 2
jne 0x51c4a3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
call fcn.00503f60
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x318]
call fcn.00504ccc
cmp al, 2
jne 0x51c4c3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x318]
call fcn.00503f60
cmp dword [0x5a5578], 0
je 0x51c544
mov eax, dword [0x5a5578]
mov byte [eax + 0x390], 0
mov eax, dword [0x5a5578]
mov eax, dword [eax + 0x304]
call fcn.00504ccc
cmp al, 2
jne 0x51c4fc
mov eax, dword [0x5a5578]
mov eax, dword [eax + 0x304]
call fcn.00503f60
mov eax, dword [0x5a5578]
mov eax, dword [eax + 0x310]
call fcn.00504ccc
cmp al, 2
jne 0x51c520
mov eax, dword [0x5a5578]
mov eax, dword [eax + 0x310]
call fcn.00503f60
mov eax, dword [0x5a5578]
mov eax, dword [eax + 0x318]
call fcn.00504ccc
cmp al, 2
jne 0x51c544
mov eax, dword [0x5a5578]
mov eax, dword [eax + 0x318]
call fcn.00503f60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x51c562
mov byte [ebp - 6], 1
jmp 0x51d38e
mov dl, byte [ebp - 5]
mov eax, ebx
call fcn.00514f78
mov byte [ebp - 6], al
jmp 0x51d38e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x428]
call fcn.004054dc
dec eax
test eax, eax
jl 0x51c6db
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x428]
mov edx, dword [ebp - 0x28]
mov esi, dword [eax + edx*4]
cmp byte [esi], 0xc
jne case.default.0x51c5d0
mov eax, dword [esi + 0x40]
mov edx, ebx
call fcn.00404840
jne case.default.0x51c5d0
xor eax, eax
mov al, byte [ebp - 5]
add eax, 0xffffffed
cmp eax, 6
ja case.default.0x51c5d0
jmp dword [eax*4 + 0x51c5d7]
mov eax, dword [esi + 4]
call fcn.005371dc
jmp case.default.0x51c5d0
mov eax, dword [esi + 4]
call fcn.005371e8
jmp case.default.0x51c5d0
mov eax, dword [esi + 4]
call fcn.00537200
jmp case.default.0x51c5d0
mov eax, dword [esi + 4]
call fcn.0053720c
jmp case.default.0x51c5d0
mov eax, dword [esi + 4]
call fcn.00537218
jmp case.default.0x51c5d0
mov eax, dword [esi + 4]
call fcn.00537224
jmp case.default.0x51c5d0
mov eax, dword [esi + 4]
call fcn.00537230
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x428]
mov edx, dword [ebp - 0x28]
mov esi, dword [eax + edx*4]
cmp byte [esi], 0xd
jne case.default.0x51c668
mov eax, dword [esi + 0x40]
mov edx, ebx
call fcn.00404840
jne case.default.0x51c668
xor eax, eax
mov al, byte [ebp - 5]
add eax, 0xffffffed
cmp eax, 6
ja case.default.0x51c668
jmp dword [eax*4 + 0x51c66f]
mov eax, dword [esi + 4]
call fcn.0053554c
jmp case.default.0x51c668
mov eax, dword [esi + 4]
call fcn.00535554
jmp case.default.0x51c668
mov eax, dword [esi + 4]
call fcn.0053555c
jmp case.default.0x51c668
mov eax, dword [esi + 4]
call fcn.00535564
jmp case.default.0x51c668
mov eax, dword [esi + 4]
call fcn.00535570
jmp case.default.0x51c668
mov eax, dword [esi + 4]
call fcn.0053557c
jmp case.default.0x51c668
mov eax, dword [esi + 4]
call fcn.00535588
inc dword [ebp - 0x28]
dec dword [ebp - 0x34]
jne 0x51c59f
mov byte [ebp - 6], 1
jmp 0x51d38e
test ebx, ebx
je case.0x51c014.0
lea eax, [ebp - 0x20]
mov edx, ebx
call fcn.004044cc
mov edx, dword [ebp - 0x20]
mov eax, 0x51d644
call fcn.00404a38
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je case.0x51c014.0
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x28]
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x20]
call fcn.00404954
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x14]
call fcn.00408b50
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
mov edx, 1
call fcn.00404994
mov edx, dword [ebp - 0x20]
mov eax, 0x51d644
call fcn.00404a38
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je case.0x51c014.0
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x28]
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x20]
call fcn.00404954
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x10]
call fcn.00408b50
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
mov edx, 1
call fcn.00404994
cmp dword [ebp - 0x14], 0
je case.0x51c014.0
cmp dword [ebp - 0x10], 0
je case.0x51c014.0
mov eax, dword [ebp - 0x10]
cmp byte [eax], 0x5c
je 0x51c7b6
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov edx, 0x51d5cc
call fcn.00404740
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x428]
call fcn.004054dc
dec eax
test eax, eax
jl 0x51cac9
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x428]
mov edx, dword [ebp - 0x28]
mov esi, dword [eax + edx*4]
mov eax, dword [esi + 0x40]
mov edx, dword [ebp - 0x14]
call fcn.00404840
jne case.0x51c805.0
xor eax, eax
mov al, byte [esi]
cmp eax, 0x12
ja case.0x51c805.0
jmp dword [eax*4 + 0x51c80c]
mov edx, dword [0x5a3304]
mov edx, dword [edx]
lea eax, [ebp - 0x48]
mov ecx, dword [ebp - 0x10]
call fcn.00404740
mov edx, dword [ebp - 0x48]
mov eax, dword [esi + 4]
call fcn.0053c0bc
jmp case.0x51c805.0
mov edx, dword [0x5a3304]
mov edx, dword [edx]
lea eax, [ebp - 0x4c]
mov ecx, dword [ebp - 0x10]
call fcn.00404740
mov edx, dword [ebp - 0x4c]
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x1d0]
mov eax, dword [eax + 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x68]
jmp case.0x51c805.0
mov edx, dword [0x5a3304]
mov edx, dword [edx]
lea eax, [ebp - 0x50]
mov ecx, dword [ebp - 0x10]
call fcn.00404740
mov edx, dword [ebp - 0x50]
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x1e4]
mov eax, dword [eax + 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x68]
jmp case.0x51c805.0
mov edx, dword [0x5a3304]
mov edx, dword [edx]
lea eax, [ebp - 0x54]
mov ecx, dword [ebp - 0x10]
call fcn.00404740
mov edx, dword [ebp - 0x54]
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x220]
mov ecx, dword [eax]
call dword [ecx + 0x68]
jmp case.0x51c805.0
mov edx, dword [0x5a3304]
mov edx, dword [edx]
lea eax, [ebp - 0x58]
mov ecx, dword [ebp - 0x10]
call fcn.00404740
mov edx, dword [ebp - 0x58]
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x248]
mov ecx, dword [eax]
call dword [ecx + 0x68]
jmp case.0x51c805.0
mov edx, dword [0x5a3304]
mov edx, dword [edx]
lea eax, [ebp - 0x5c]
mov ecx, dword [ebp - 0x10]
call fcn.00404740
mov edx, dword [ebp - 0x5c]
mov eax, dword [esi + 4]
call fcn.00464184
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x428]
mov edx, dword [ebp - 0x28]
mov eax, dword [eax + edx*4]
mov eax, dword [eax + 4]
mov dl, 1
call fcn.0046429c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x428]
mov edx, dword [ebp - 0x28]
mov eax, dword [eax + edx*4]
mov eax, dword [eax + 4]
mov dl, 1
call fcn.004640bc
jmp case.0x51c805.0
mov ebx, dword [esi + 4]
mov byte [ebx + 0x300], 2
lea eax, [ebx + 0x304]
mov edx, dword [ebp - 0x10]
call fcn.00404488
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x428]
mov edx, dword [ebp - 0x28]
mov eax, dword [eax + edx*4]
mov eax, dword [eax + 4]
mov edx, dword [0x5a3304]
mov edx, dword [edx]
call fcn.00538170
jmp case.0x51c805.0
mov edx, dword [0x5a3304]
mov edx, dword [edx]
lea eax, [ebp - 0x60]
mov ecx, dword [ebp - 0x10]
call fcn.00404740
mov edx, dword [ebp - 0x60]
mov eax, dword [esi + 4]
call fcn.00537bec
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x428]
mov edx, dword [ebp - 0x28]
mov eax, dword [eax + edx*4]
mov eax, dword [eax + 4]
call fcn.005378f4
jmp case.0x51c805.0
mov eax, dword [esi + 4]
add eax, 0x22c
mov edx, dword [ebp - 0x10]
call fcn.00404488
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x428]
mov edx, dword [ebp - 0x28]
mov eax, dword [eax + edx*4]
mov eax, dword [eax + 4]
mov edx, dword [0x5a3304]
mov edx, dword [edx]
call fcn.00535f58
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x428]
mov edx, dword [ebp - 0x28]
mov eax, dword [eax + edx*4]
mov eax, dword [eax + 4]
mov byte [eax + 0x296], 1
call fcn.00535540
jmp case.0x51c805.0
mov dl, 1
mov eax, dword [0x41a74c]
call fcn.004035d0
mov dword [ebp - 0x30], eax
mov edx, dword [0x5a3304]
mov edx, dword [edx]
lea eax, [ebp - 0x64]
mov ecx, dword [ebp - 0x10]
call fcn.00404740
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x68]
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x428]
mov ecx, dword [ebp - 0x28]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 4]
call fcn.00481858
mov eax, dword [ebp - 0x30]
call fcn.00403600
jmp case.0x51c805.0
mov eax, dword [esi + 4]
mov edx, dword [ebp - 0x10]
call fcn.00532fd4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x428]
mov edx, dword [ebp - 0x28]
mov eax, dword [eax + edx*4]
mov eax, dword [eax + 4]
call fcn.00532d78
inc dword [ebp - 0x28]
dec dword [ebp - 0x34]
jne 0x51c7d8
mov byte [ebp - 6], 1
jmp 0x51d38e
test ebx, ebx
je case.0x51c014.0
lea eax, [ebp - 0x20]
mov edx, ebx
call fcn.004044cc
mov dl, 1
mov eax, dword [0x41a74c]
call fcn.004035d0
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x20]
mov eax, 0x51d644
call fcn.00404a38
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x51cb16
mov eax, dword [ebp - 0x30]
call fcn.00403600
jmp case.0x51c014.0
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 0x28]
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x20]
call fcn.00404954
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
mov edx, 1
call fcn.00404994
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x51cbbe
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x428]
call fcn.004054dc
mov esi, eax
dec esi
test esi, esi
jl 0x51cbb6
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x70]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x30]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x428]
mov eax, dword [eax + ebx*4]
mov eax, dword [eax + 0x68]
call fcn.00404840
jne 0x51cbb2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x428]
mov eax, dword [eax + ebx*4]
mov byte [eax + 0x66], 1
call fcn.0051e924
inc ebx
dec esi
jne 0x51cb76
inc dword [ebp - 0x28]
dec dword [ebp - 0x34]
jne 0x51cb5e
mov edx, dword [ebp - 0x20]
mov eax, 0x51d644
call fcn.00404a38
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x51cbe1
mov eax, dword [ebp - 0x30]
call fcn.00403600
jmp case.0x51c014.0
lea eax, [ebp - 0x74]
push eax
mov ecx, dword [ebp - 0x28]
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x20]
call fcn.00404954
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
mov edx, 1
call fcn.00404994
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x51cc89
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x428]
call fcn.004054dc
mov esi, eax
dec esi
test esi, esi
jl 0x51cc81
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x78]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x30]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x428]
mov eax, dword [eax + ebx*4]
mov eax, dword [eax + 0x68]
call fcn.00404840
jne 0x51cc7d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x428]
mov eax, dword [eax + ebx*4]
mov byte [eax + 0x66], 0
call fcn.0051e924
inc ebx
dec esi
jne 0x51cc41
inc dword [ebp - 0x28]
dec dword [ebp - 0x34]
jne 0x51cc29
mov edx, dword [ebp - 0x20]
mov eax, 0x51d644
call fcn.00404a38
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x51ccac
mov eax, dword [ebp - 0x30]
call fcn.00403600
jmp case.0x51c014.0
lea eax, [ebp - 0x7c]
push eax
mov ecx, dword [ebp - 0x28]
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x20]
call fcn.00404954
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
mov edx, 1
call fcn.00404994
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x51cd54
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x428]
call fcn.004054dc
mov esi, eax
dec esi
test esi, esi
jl 0x51cd4c
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x80]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x30]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x428]
mov eax, dword [eax + ebx*4]
mov eax, dword [eax + 0x68]
call fcn.00404840
jne 0x51cd48
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x428]
mov eax, dword [eax + ebx*4]
mov byte [eax + 0x65], 1
call fcn.0051e93c
inc ebx
dec esi
jne 0x51cd0c
inc dword [ebp - 0x28]
dec dword [ebp - 0x34]
jne 0x51ccf4
mov edx, dword [ebp - 0x20]
mov eax, 0x51d644
call fcn.00404a38
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x51cd77
mov eax, dword [ebp - 0x30]
call fcn.00403600
jmp case.0x51c014.0
lea eax, [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0x28]
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x20]
call fcn.00404954
mov edx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
mov edx, 1
call fcn.00404994
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x51ce2b
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x428]
call fcn.004054dc
mov esi, eax
dec esi
test esi, esi
jl 0x51ce23
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x88]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x30]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x88]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x428]
mov eax, dword [eax + ebx*4]
mov eax, dword [eax + 0x68]
call fcn.00404840
jne 0x51ce1f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x428]
mov eax, dword [eax + ebx*4]
mov byte [eax + 0x65], 0
call fcn.0051e93c
inc ebx
dec esi
jne 0x51cddd
inc dword [ebp - 0x28]
dec dword [ebp - 0x34]
jne 0x51cdc5
mov edx, dword [ebp - 0x20]
mov eax, 0x51d644
call fcn.00404a38
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x51ce4e
mov eax, dword [ebp - 0x30]
call fcn.00403600
jmp case.0x51c014.0
lea eax, [ebp - 0x8c]
push eax
mov ecx, dword [ebp - 0x28]
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x20]
call fcn.00404954
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
mov edx, 1
call fcn.00404994
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x51cf02
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x428]
call fcn.004054dc
mov esi, eax
dec esi
test esi, esi
jl 0x51cefa
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x90]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x30]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x90]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x428]
mov eax, dword [eax + ebx*4]
mov eax, dword [eax + 0x40]
call fcn.00404840
jne 0x51cef6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x428]
mov eax, dword [eax + ebx*4]
mov byte [eax + 0x66], 1
call fcn.0051e924
inc ebx
dec esi
jne 0x51ceb4
inc dword [ebp - 0x28]
dec dword [ebp - 0x34]
jne 0x51ce9c
mov edx, dword [ebp - 0x20]
mov eax, 0x51d644
call fcn.00404a38
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x51cf25
mov eax, dword [ebp - 0x30]
call fcn.00403600
jmp case.0x51c014.0
lea eax, [ebp - 0x94]
push eax
mov ecx, dword [ebp - 0x28]
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x20]
call fcn.00404954
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
mov edx, 1
call fcn.00404994
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x51cfd9
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x428]
call fcn.004054dc
mov esi, eax
dec esi
test esi, esi
jl 0x51cfd1
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x98]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x30]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x428]
mov eax, dword [eax + ebx*4]
mov eax, dword [eax + 0x40]
call fcn.00404840
jne 0x51cfcd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x428]
mov eax, dword [eax + ebx*4]
mov byte [eax + 0x66], 0
call fcn.0051e924
inc ebx
dec esi
jne 0x51cf8b
inc dword [ebp - 0x28]
dec dword [ebp - 0x34]
jne 0x51cf73
mov edx, dword [ebp - 0x20]
mov eax, 0x51d644
call fcn.00404a38
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x51cffc
mov eax, dword [ebp - 0x30]
call fcn.00403600
jmp case.0x51c014.0
lea eax, [ebp - 0x9c]
push eax
mov ecx, dword [ebp - 0x28]
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x20]
call fcn.00404954
mov edx, dword [ebp - 0x9c]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
mov edx, 1
call fcn.00404994
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x51d0b0
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x428]
call fcn.004054dc
mov esi, eax
dec esi
test esi, esi
jl 0x51d0a8
inc esi
xor ebx, ebx
lea ecx, [ebp - 0xa0]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x30]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0xa0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x428]
mov eax, dword [eax + ebx*4]
mov eax, dword [eax + 0x40]
call fcn.00404840
jne 0x51d0a4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x428]
mov eax, dword [eax + ebx*4]
mov byte [eax + 0x65], 1
call fcn.0051e93c
inc ebx
dec esi
jne 0x51d062
inc dword [ebp - 0x28]
dec dword [ebp - 0x34]
jne 0x51d04a
mov edx, dword [ebp - 0x20]
mov eax, 0x51d644
call fcn.00404a38
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x51d0d3
mov eax, dword [ebp - 0x30]
call fcn.00403600
jmp case.0x51c014.0
lea eax, [ebp - 0xa4]
push eax
mov ecx, dword [ebp - 0x28]
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x20]
call fcn.00404954
mov edx, dword [ebp - 0xa4]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
mov edx, 1
call fcn.00404994
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x51d187
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x428]
call fcn.004054dc
mov esi, eax
dec esi
test esi, esi
jl 0x51d17f
inc esi
xor ebx, ebx
lea ecx, [ebp - 0xa8]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x30]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0xa8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x428]
mov eax, dword [eax + ebx*4]
mov eax, dword [eax + 0x40]
call fcn.00404840
jne 0x51d17b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x428]
mov eax, dword [eax + ebx*4]
mov byte [eax + 0x65], 0
call fcn.0051e93c
inc ebx
dec esi
jne 0x51d139
inc dword [ebp - 0x28]
dec dword [ebp - 0x34]
jne 0x51d121
mov byte [ebp - 6], 1
jmp 0x51d38e
test ebx, ebx
je case.0x51c014.0
mov edx, dword [0x528638]
mov eax, 0x68
call fcn.00405208
mov esi, eax
lea eax, [ebp - 0x20]
mov edx, ebx
call fcn.004044cc
mov edx, dword [ebp - 0x20]
mov eax, 0x51d650
call fcn.00404a38
mov ebx, eax
test ebx, ebx
je case.0x51c014.0
lea eax, [ebp - 0x24]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x20]
call fcn.00404954
lea eax, [ebp - 0x20]
mov ecx, ebx
mov edx, 1
call fcn.00404994
mov edx, dword [ebp - 0x24]
mov eax, 0x51d65c
call fcn.00404a38
mov ebx, eax
lea eax, [ebp - 0xac]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x24]
call fcn.00404954
mov eax, dword [ebp - 0xac]
call fcn.00408ef4
mov byte [esi + 4], al
lea eax, [ebp - 0x24]
mov ecx, ebx
mov edx, 1
call fcn.00404994
mov edx, dword [ebp - 0x24]
mov eax, 0x51d65c
call fcn.00404a38
mov ebx, eax
lea eax, [ebp - 0xb0]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x24]
call fcn.00404954
mov eax, dword [ebp - 0xb0]
call fcn.00408ef4
mov dword [esi + 8], eax
lea eax, [ebp - 0x24]
mov ecx, ebx
mov edx, 1
call fcn.00404994
mov edx, dword [ebp - 0x24]
mov eax, 0x51d65c
call fcn.00404a38
mov ebx, eax
lea eax, [esi + 0xc]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x24]
call fcn.00404954
lea eax, [ebp - 0x24]
mov ecx, ebx
mov edx, 1
call fcn.00404994
mov edx, dword [ebp - 0x24]
mov eax, 0x51d65c
call fcn.00404a38
mov ebx, eax
lea eax, [esi + 0x10]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x24]
call fcn.00404954
lea eax, [ebp - 0x24]
mov ecx, ebx
mov edx, 1
call fcn.00404994
mov edx, dword [ebp - 0x24]
mov eax, 0x51d65c
call fcn.00404a38
mov ebx, eax
lea eax, [esi + 0x14]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x24]
call fcn.00404954
lea eax, [ebp - 0x24]
mov ecx, ebx
mov edx, 1
call fcn.00404994
mov edx, dword [ebp - 0x24]
mov eax, 0x51d65c
call fcn.00404a38
mov ebx, eax
lea eax, [ebp - 0xb4]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x24]
call fcn.00404954
mov eax, dword [ebp - 0xb4]
mov edx, 0x51d668
call fcn.00404840
sete al
mov byte [esi + 0x18], al
lea eax, [ebp - 0x24]
mov ecx, ebx
mov edx, 1
call fcn.00404994
mov eax, dword [esi + 0x10]
push eax
mov eax, dword [esi + 0x14]
push eax
mov eax, dword [esi + 8]
push eax
mov al, byte [esi + 0x18]
push eax
mov ecx, dword [esi + 0xc]
mov dl, byte [esi + 4]
mov eax, dword [ebp - 4]
call fcn.0051bfc8
jmp 0x51d1b4
cmp byte [ebp - 0x29], 0
je 0x51d548
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0x18]
call fcn.004048f4
push eax
mov eax, dword [ebp - 0x14]
call fcn.004048f4
push eax
mov eax, dword [ebp - 0x10]
call fcn.004048f4
push eax
mov eax, dword [ebp - 0xc]
call fcn.004048f4
push eax
mov eax, dword [ebp - 4]
call fcn.00488250
push eax
call sub.shell32.dll_ShellExecuteA
mov ebx, eax
cmp ebx, 0x20
jg 0x51d544
cmp byte [ebp - 5], 3
jne 0x51d3f1
lea eax, [ebp - 0x1c]
mov edx, 0x51d674
call fcn.004044cc
jmp case.0x51d40d.0
lea eax, [ebp - 0x1c]
mov edx, 0x51d6ac
call fcn.004044cc
cmp ebx, 0x20
ja case.0x51d40d.0
mov bl, byte [ebx + 0x51d414]
jmp dword [ebx*4 + 0x51d435]
lea eax, [ebp - 0x1c]
mov edx, 0x51d6c4
call fcn.004044cc
jmp case.0x51d40d.0
lea eax, [ebp - 0x1c]
mov edx, 0x51d700
call fcn.004044cc
jmp case.0x51d40d.0
lea eax, [ebp - 0x1c]
mov edx, 0x51d72c
call fcn.004044cc
jmp case.0x51d40d.0
lea eax, [ebp - 0x1c]
mov edx, 0x51d758
call fcn.004044cc
jmp case.0x51d40d.0
lea eax, [ebp - 0x1c]
mov edx, 0x51d7a4
call fcn.004044cc
jmp case.0x51d40d.0
lea eax, [ebp - 0x1c]
mov edx, 0x51d7e8
call fcn.004044cc
jmp case.0x51d40d.0
lea eax, [ebp - 0x1c]
mov edx, 0x51d824
call fcn.004044cc
jmp case.0x51d40d.0
lea eax, [ebp - 0x1c]
mov edx, 0x51d88c
call fcn.004044cc
jmp case.0x51d40d.0
lea eax, [ebp - 0x1c]
mov edx, 0x51d8b0
call fcn.004044cc
jmp case.0x51d40d.0
lea eax, [ebp - 0x1c]
mov edx, 0x51d904
call fcn.004044cc
jmp case.0x51d40d.0
lea eax, [ebp - 0x1c]
mov edx, 0x51d940
call fcn.004044cc
jmp case.0x51d40d.0
lea eax, [ebp - 0x1c]
mov edx, 0x51d990
call fcn.004044cc
jmp case.0x51d40d.0
lea eax, [ebp - 0x1c]
mov edx, 0x51d9d0
call fcn.004044cc
mov eax, dword [ebp - 0x1c]
call fcn.0053d3d4
jmp 0x51d548
mov byte [ebp - 6], 1
cmp byte [ebp - 6], 0
je case.0x51c014.0
mov al, byte [ebp - 5]
call fcn.0052c550
test al, al
je case.0x51c014.0
cmp byte [ebp + 8], 0
je case.0x51c014.0
mov eax, dword [ebp - 4]
call fcn.0049f3dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51d59a
lea eax, [ebp - 0xb4]
mov edx, 0x20
call fcn.00404458
lea eax, [ebp - 0x24]
mov edx, 7
call fcn.00404458
ret