Function at 0x4ffe00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x1a
push 0
push 0
dec ecx
jne 0x4ffe08
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404d84
xor eax, eax
push ebp
push 0x50101a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.0040496c
lea eax, [ebp - 0x10]
mov edx, 0x501030
call fcn.0040496c
mov eax, dword [ebp - 0xc]
mov edx, 0x50103c
call fcn.00404ce0
jne 0x4ffeea
mov eax, dword [0x512a1c]
mov eax, dword [eax]
call fcn.0050bc84
mov edx, dword [0x513098]
movsx edx, word [edx]
mov eax, dword [0x5132b0]
mov eax, dword [eax]
call fcn.004d4024
mov eax, dword [0x512ff8]
mov eax, dword [eax]
mov ecx, 0x501048
mov edx, 1
call fcn.004e35f4
mov eax, dword [0x512ff8]
mov eax, dword [eax]
mov ecx, 0x501048
mov edx, 2
call fcn.004e35f4
mov eax, dword [0x512ff8]
mov eax, dword [eax]
mov ecx, 0x501058
mov edx, 1
call fcn.004e35f4
mov eax, dword [0x512ff8]
mov eax, dword [eax]
mov ecx, 0x501058
mov edx, 2
call fcn.004e35f4
mov eax, dword [0x512bf8]
mov eax, dword [eax]
mov cl, 1
mov edx, 0x501068
call fcn.004f5fdc
jmp 0x500fcd
mov eax, dword [ebp - 0xc]
mov edx, 0x501080
call fcn.00404ce0
jne 0x4fff1d
mov eax, dword [0x512a1c]
mov eax, dword [eax]
call fcn.0050cdb8
mov eax, dword [0x512bf8]
mov eax, dword [eax]
mov cl, 1
mov edx, 0x501090
call fcn.004f5fdc
jmp 0x500fcd
mov eax, dword [ebp - 0xc]
mov edx, 0x5010a8
call fcn.00404ce0
jne 0x4fff62
push 1
push 0
push 0
push 0x5010ac
push 0x5010cc
mov eax, dword [ebp - 4]
call fcn.004554d4
push eax
call sub.shell32.dll_ShellExecuteA
mov eax, dword [0x512bf8]
mov eax, dword [eax]
mov cl, 1
mov edx, 0x5010dc
call fcn.004f5fdc
jmp 0x500fcd
mov eax, dword [ebp - 0xc]
mov edx, 0x5010f4
call fcn.00404ce0
jne 0x4fff91
mov eax, dword [ebp - 4]
call fcn.0050191c
mov eax, dword [0x512bf8]
mov eax, dword [eax]
mov cl, 1
mov edx, 0x501100
call fcn.004f5fdc
jmp 0x500fcd
mov eax, dword [ebp - 0xc]
mov edx, 0x501120
call fcn.00404ce0
jne 0x4fffc4
push 0
push 0x501124
call sub.kernel32.dll_WinExec
mov eax, dword [0x512bf8]
mov eax, dword [eax]
mov cl, 1
mov edx, 0x501144
call fcn.004f5fdc
jmp 0x500fcd
mov eax, dword [ebp - 0xc]
mov edx, 0x501160
call fcn.00404ce0
jne 0x500058
lea eax, [ebp - 0x24]
mov edx, dword [0x5261cc]
call fcn.0040496c
mov dword [ebp - 0x30], 1
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x30]
mov dl, 0x2f
mov eax, dword [ebp - 0x24]
call fcn.004fe434
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x30]
mov dl, 0x2f
mov eax, dword [ebp - 0x24]
call fcn.004fe434
mov eax, dword [0x512a1c]
mov eax, dword [eax]
mov edx, dword [ebp - 0x28]
call fcn.0050d170
lea edx, [ebp - 0x2c]
call fcn.00408f50
push 0x501170
push dword [ebp - 0x28]
push 0x501194
push dword [ebp - 0x2c]
lea eax, [ebp - 0x34]
mov edx, 4
call fcn.00404c54
mov edx, dword [ebp - 0x34]
mov eax, dword [0x512bf8]
mov eax, dword [eax]
mov cl, 1
call fcn.004f5fdc
jmp 0x500fcd
mov eax, dword [ebp - 0xc]
mov edx, 0x5011a0
call fcn.00404ce0
jne 0x500111
mov eax, dword [0x512b90]
cmp byte [eax], 0
jne 0x5000b4
mov eax, dword [0x5131c4]
mov eax, dword [eax]
call fcn.004f3a78
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
lea edx, [ebp - 0x40]
xor ecx, ecx
mov eax, 0x5011b0
call fcn.00409db0
mov edx, dword [ebp - 0x38]
mov eax, dword [0x512bf8]
mov eax, dword [eax]
mov cl, 1
call fcn.004f5fdc
jmp 0x500fcd
mov eax, dword [0x512b90]
cmp byte [eax], 1
jne 0x500fcd
mov eax, dword [0x5131c4]
mov eax, dword [eax]
call fcn.004f3a0c
mov eax, dword [0x512bf8]
mov eax, dword [eax]
mov cl, 1
xor edx, edx
call fcn.004f5fdc
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
lea edx, [ebp - 0x40]
xor ecx, ecx
mov eax, 0x5011d4
call fcn.00409db0
mov edx, dword [ebp - 0x44]
mov eax, dword [0x512bf8]
mov eax, dword [eax]
mov cl, 1
call fcn.004f5fdc
jmp 0x500fcd
mov eax, dword [ebp - 0xc]
mov edx, 0x5011f8
call fcn.00404ce0
jne 0x50016b
mov eax, dword [0x512f08]
mov eax, dword [eax]
call fcn.004df0f8
mov eax, dword [0x5131c4]
mov eax, dword [eax]
call fcn.004f3a78
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
lea edx, [ebp - 0x40]
xor ecx, ecx
mov eax, 0x501204
call fcn.00409db0
mov edx, dword [ebp - 0x48]
mov eax, dword [0x512bf8]
mov eax, dword [eax]
mov cl, 1
call fcn.004f5fdc
jmp 0x500fcd
xor eax, eax
push ebp
push 0x500259
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x24]
mov edx, dword [0x5261cc]
call fcn.0040496c
mov dword [ebp - 0x30], 1
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x30]
mov dl, 0x2f
mov eax, dword [ebp - 0x24]
call fcn.004fe434
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x30]
mov dl, 0x2f
mov eax, dword [ebp - 0x24]
call fcn.004fe434
xor edx, edx
mov eax, dword [ebp - 0x1c]
call fcn.004090c8
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0x3fe00000
mov eax, dword [0x513254]
cmp dword [eax], 0
jne 0x5001eb
mov eax, dword [0x5131c4]
mov eax, dword [eax]
mov ecx, 0x3e8
mov edx, 0x3e8
call fcn.004f4a00
jmp 0x500239
mov eax, dword [0x513254]
cmp dword [eax], 1
jne 0x500239
mov eax, dword [0x5131c4]
mov eax, dword [eax]
mov edx, 0x501228
call fcn.004f2bb8
mov eax, dword [0x5131c4]
mov eax, dword [eax]
mov edx, 0x501228
call fcn.004f3178
mov eax, dword [0x5131c4]
mov eax, dword [eax]
mov edx, 0x501238
call fcn.004f2e98
mov eax, dword [0x5131c4]
mov eax, dword [eax]
mov edx, 0x501238
call fcn.004f3458
mov eax, dword [0x51295c]
mov eax, dword [eax]
mov ecx, 1
mov edx, 0x1c
call fcn.004c9e78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x500263
mov eax, dword [ebp - 0xc]
mov edx, 0x501244
call fcn.00404ce0
jne 0x500346
mov eax, dword [0x512f90]
cmp word [eax], 1
jne 0x50032e
mov eax, dword [0x51295c]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x1b
call fcn.004c9e78
mov eax, dword [0x51295c]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x1c
call fcn.004c9e78
mov eax, dword [0x51295c]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x1d
call fcn.004c9e78
mov eax, dword [0x51295c]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x1e
call fcn.004c9e78
lea edx, [ebp - 0x4c]
xor eax, eax
call fcn.00408f50
mov edx, dword [ebp - 0x4c]
mov eax, dword [0x5131c4]
mov eax, dword [eax]
call fcn.004ee610
lea edx, [ebp - 0x50]
xor eax, eax
call fcn.00408f50
mov edx, dword [ebp - 0x50]
mov eax, dword [0x5131c4]
mov eax, dword [eax]
call fcn.004eea70
mov eax, dword [0x512bf8]
mov eax, dword [eax]
mov cl, 1
mov edx, 0x501250
call fcn.004f5fdc
push 0x50126c
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004ff0b4
jmp 0x500fcd
push 0x501278
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004ff0b4
jmp 0x500fcd
mov eax, dword [ebp - 0xc]
mov edx, 0x501284
call fcn.00404ce0
jne 0x500449
mov eax, dword [0x512f90]
cmp word [eax], 1
jne 0x500431
mov eax, dword [0x51295c]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x1b
call fcn.004c9e78
mov eax, dword [0x51295c]
mov eax, dword [eax]
mov ecx, 1
mov edx, 0x1c
call fcn.004c9e78
mov eax, dword [0x51295c]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x1d
call fcn.004c9e78
mov eax, dword [0x51295c]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x1e
call fcn.004c9e78
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 0x20]
call fcn.00408f50
mov edx, dword [ebp - 0x54]
mov eax, dword [0x5131c4]
mov eax, dword [eax]
call fcn.004ee610
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0x20]
call fcn.00408f50
mov edx, dword [ebp - 0x58]
mov eax, dword [0x5131c4]
mov eax, dword [eax]
call fcn.004eea70
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
lea edx, [ebp - 0x40]
xor ecx, ecx
mov eax, 0x501290
call fcn.00409db0
mov edx, dword [ebp - 0x5c]
mov eax, dword [0x512bf8]
mov eax, dword [eax]
mov cl, 1
call fcn.004f5fdc
push 0x50126c
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004ff0b4
jmp 0x500fcd
push 0x501278
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004ff0b4
jmp 0x500fcd
mov eax, dword [ebp - 0xc]
mov edx, 0x5012ac
call fcn.00404ce0
jne 0x500512
mov eax, dword [0x512f90]
cmp word [eax], 1
jne 0x5004fa
lea edx, [ebp - 0x60]
mov ebx, dword [ebp - 0x20]
mov eax, ebx
neg ebx
mov eax, ebx
call fcn.00408f50
mov edx, dword [ebp - 0x60]
mov eax, dword [0x5131c4]
mov eax, dword [eax]
call fcn.004ee610
lea edx, [ebp - 0x64]
mov eax, ebx
call fcn.00408f50
mov edx, dword [ebp - 0x64]
mov eax, dword [0x5131c4]
mov eax, dword [eax]
call fcn.004eea70
mov eax, dword [0x512bf8]
mov eax, dword [eax]
mov cl, 1
xor edx, edx
call fcn.004f5fdc
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
lea edx, [ebp - 0x40]
xor ecx, ecx
mov eax, 0x5012b8
call fcn.00409db0
mov edx, dword [ebp - 0x68]
mov eax, dword [0x512bf8]
mov eax, dword [eax]
mov cl, 1
call fcn.004f5fdc
push 0x50126c
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004ff0b4
jmp 0x500fcd
push 0x501278
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004ff0b4
jmp 0x500fcd
mov eax, dword [ebp - 0xc]
mov edx, 0x5012d4
call fcn.00404ce0
jne 0x5005da
mov eax, dword [0x512f90]
cmp word [eax], 1
jne 0x5005c2
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 0x20]
mov ecx, eax
neg eax
call fcn.00408f50
mov edx, dword [ebp - 0x6c]
mov eax, dword [0x5131c4]
mov eax, dword [eax]
call fcn.004ee610
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 0x20]
call fcn.00408f50
mov edx, dword [ebp - 0x70]
mov eax, dword [0x5131c4]
mov eax, dword [eax]
call fcn.004eea70
mov eax, dword [0x512bf8]
mov eax, dword [eax]
mov cl, 1
xor edx, edx
call fcn.004f5fdc
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
lea edx, [ebp - 0x40]
xor ecx, ecx
mov eax, 0x5012e0
call fcn.00409db0
mov edx, dword [ebp - 0x74]
mov eax, dword [0x512bf8]
mov eax, dword [eax]
mov cl, 1
call fcn.004f5fdc
push 0x50126c
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004ff0b4
jmp 0x500fcd
push 0x501278
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004ff0b4
jmp 0x500fcd
mov eax, dword [ebp - 0xc]
mov edx, 0x5012fc
call fcn.00404ce0
jne 0x50068e
mov eax, dword [0x512f90]
cmp word [eax], 1
jne 0x500676
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 0x20]
call fcn.00408f50
mov edx, dword [ebp - 0x78]
mov eax, dword [0x5131c4]
mov eax, dword [eax]
call fcn.004ee610
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 0x20]
mov ecx, eax
neg eax
call fcn.00408f50
mov edx, dword [ebp - 0x7c]
mov eax, dword [0x5131c4]
mov eax, dword [eax]
call fcn.004eea70
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
lea edx, [ebp - 0x40]
xor ecx, ecx
mov eax, 0x501308
call fcn.00409db0
mov edx, dword [ebp - 0x80]
mov eax, dword [0x512bf8]
mov eax, dword [eax]
mov cl, 1
call fcn.004f5fdc
push 0x50126c
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004ff0b4
jmp 0x500fcd
push 0x501278
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004ff0b4
jmp 0x500fcd
mov eax, dword [ebp - 0xc]
mov edx, 0x501328
call fcn.00404ce0
jne 0x50075e
mov eax, dword [0x512f90]
cmp word [eax], 1
jne 0x500746
fild dword [ebp - 0x20]
fmul qword [ebp - 0x18]
call fcn.00402bb0
push edx
push eax
lea eax, [ebp - 0x84]
call fcn.0040903c
mov edx, dword [ebp - 0x84]
mov eax, dword [0x5131c4]
mov eax, dword [eax]
call fcn.004ee610
lea edx, [ebp - 0x88]
mov eax, dword [ebp - 0x20]
call fcn.00408f50
mov edx, dword [ebp - 0x88]
mov eax, dword [0x5131c4]
mov eax, dword [eax]
call fcn.004eea70
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
lea edx, [ebp - 0x40]
xor ecx, ecx
mov eax, 0x501334
call fcn.00409db0
mov edx, dword [ebp - 0x8c]
mov eax, dword [0x512bf8]
mov eax, dword [eax]
mov cl, 1
call fcn.004f5fdc
push 0x50126c
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004ff0b4
jmp 0x500fcd
push 0x501278
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004ff0b4
jmp 0x500fcd
mov eax, dword [ebp - 0xc]
mov edx, 0x501354
call fcn.00404ce0
jne 0x50082e
mov eax, dword [0x512f90]
cmp word [eax], 1
jne 0x500816
lea edx, [ebp - 0x90]
mov eax, dword [ebp - 0x20]
call fcn.00408f50
mov edx, dword [ebp - 0x90]
mov eax, dword [0x5131c4]
mov eax, dword [eax]
call fcn.004ee610
fild dword [ebp - 0x20]
fmul qword [ebp - 0x18]
call fcn.00402bb0
push edx
push eax
lea eax, [ebp - 0x94]
call fcn.0040903c
mov edx, dword [ebp - 0x94]
mov eax, dword [0x5131c4]
mov eax, dword [eax]
call fcn.004eea70
lea eax, [ebp - 0x98]
push eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
lea edx, [ebp - 0x40]
xor ecx, ecx
mov eax, 0x501360
call fcn.00409db0
mov edx, dword [ebp - 0x98]
mov eax, dword [0x512bf8]
mov eax, dword [eax]
mov cl, 1
call fcn.004f5fdc
push 0x50126c
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004ff0b4
jmp 0x500fcd
push 0x501278
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004ff0b4
jmp 0x500fcd
mov eax, dword [ebp - 0xc]
mov edx, 0x501380
call fcn.00404ce0
jne 0x50090b
mov eax, dword [0x512f90]
cmp word [eax], 1
jne 0x5008f3
push 0xffffffffffffffff
push 0xffffffffffffffff
fild dword [ebp - 0x20]
fmul qword [ebp - 0x18]
call fcn.00402bb0
call fcn.00405760
push edx
push eax
lea eax, [ebp - 0x9c]
call fcn.0040903c
mov edx, dword [ebp - 0x9c]
mov eax, dword [0x5131c4]
mov eax, dword [eax]
call fcn.004ee610
lea edx, [ebp - 0xa0]
mov eax, dword [ebp - 0x20]
mov ecx, eax
neg eax
call fcn.00408f50
mov edx, dword [ebp - 0xa0]
mov eax, dword [0x5131c4]
mov eax, dword [eax]
call fcn.004eea70
lea eax, [ebp - 0xa4]
push eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
lea edx, [ebp - 0x40]
xor ecx, ecx
mov eax, 0x50138c
call fcn.00409db0
mov edx, dword [ebp - 0xa4]
mov eax, dword [0x512bf8]
mov eax, dword [eax]
mov cl, 1
call fcn.004f5fdc
push 0x50126c
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004ff0b4
jmp 0x500fcd
push 0x501278
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004ff0b4
jmp 0x500fcd
mov eax, dword [ebp - 0xc]
mov edx, 0x5013ac
call fcn.00404ce0
jne 0x5009e8
mov eax, dword [0x512f90]
cmp word [eax], 1
jne 0x5009d0
lea edx, [ebp - 0xa8]
mov eax, dword [ebp - 0x20]
mov ecx, eax
neg eax
call fcn.00408f50
mov edx, dword [ebp - 0xa8]
mov eax, dword [0x5131c4]
mov eax, dword [eax]
call fcn.004ee610
push 0xffffffffffffffff
push 0xffffffffffffffff
fild dword [ebp - 0x20]
fmul qword [ebp - 0x18]
call fcn.00402bb0
call fcn.00405760
push edx
push eax
lea eax, [ebp - 0xac]
call fcn.0040903c
mov edx, dword [ebp - 0xac]
mov eax, dword [0x5131c4]
mov eax, dword [eax]
call fcn.004eea70
lea eax, [ebp - 0xb0]
push eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
lea edx, [ebp - 0x40]
xor ecx, ecx
mov eax, 0x5013b8
call fcn.00409db0
mov edx, dword [ebp - 0xb0]
mov eax, dword [0x512bf8]
mov eax, dword [eax]
mov cl, 1
call fcn.004f5fdc
push 0x50126c
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004ff0b4
jmp 0x500fcd
push 0x501278
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004ff0b4
jmp 0x500fcd
mov eax, dword [ebp - 0xc]
mov edx, 0x5013d8
call fcn.00404ce0
jne 0x500a5b
mov eax, dword [0x512f90]
cmp word [eax], 1
jne 0x500a43
mov eax, dword [0x512ff8]
mov eax, dword [eax]
mov ecx, 0xbb8
mov edx, 0x5a
call fcn.004e4744
mov eax, dword [0x512bf8]
mov eax, dword [eax]
mov cl, 1
mov edx, 0x5013e4
call fcn.004f5fdc
push 0x50126c
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004ff0b4
jmp 0x500fcd
push 0x501278
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004ff0b4
jmp 0x500fcd
mov eax, dword [ebp - 0xc]
mov edx, 0x501400
call fcn.00404ce0
jne 0x500acb
mov eax, dword [0x512f90]
cmp word [eax], 1
jne 0x500ab3
mov eax, dword [0x512ff8]
mov eax, dword [eax]
mov ecx, 0xbb8
xor edx, edx
call fcn.004e4744
mov eax, dword [0x512bf8]
mov eax, dword [eax]
mov cl, 1
mov edx, 0x50140c
call fcn.004f5fdc
push 0x50126c
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004ff0b4
jmp 0x500fcd
push 0x501278
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004ff0b4
jmp 0x500fcd
mov eax, dword [ebp - 0xc]
mov edx, 0x501428
call fcn.00404ce0
jne 0x500bef
mov eax, dword [0x512f90]
cmp word [eax], 1
jne 0x500bd7
mov eax, dword [0x5131c4]
mov eax, dword [eax]
mov edx, 0x501434
call fcn.004f2bb8
mov eax, dword [0x5131c4]
mov eax, dword [eax]
mov edx, 0x501434
call fcn.004f3178
mov eax, dword [0x5131c4]
mov eax, dword [eax]
mov edx, 0x501444
call fcn.004f2e98
mov eax, dword [0x5131c4]
mov eax, dword [eax]
mov edx, 0x501444
call fcn.004f3458
fild dword [ebp - 0x20]
add esp, 0xfffffff8
fstp qword [esp]
wait
push 0x40790000
push 0
push 0x501450
mov eax, dword [0x5131c4]
mov eax, dword [eax]
xor ecx, ecx
mov dl, 1
call fcn.004f2108
lea eax, [ebp - 0xb4]
push eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
lea edx, [ebp - 0x40]
xor ecx, ecx
mov eax, 0x50145c
call fcn.00409db0
mov edx, dword [ebp - 0xb4]
mov eax, dword [0x512bf8]
mov eax, dword [eax]
mov cl, 1
call fcn.004f5fdc
lea eax, [ebp - 0xb8]
push eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
lea edx, [ebp - 0x40]
xor ecx, ecx
mov eax, 0x501488
call fcn.00409db0
mov edx, dword [ebp - 0xb8]
mov eax, dword [0x512bf8]
mov eax, dword [eax]
mov cl, 1
call fcn.004f5fdc
push 0x50126c
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004ff0b4
jmp 0x500fcd
push 0x501278
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004ff0b4
jmp 0x500fcd
mov eax, dword [ebp - 0xc]
mov edx, 0x5014a0
call fcn.00404ce0
jne 0x500d13
mov eax, dword [0x512f90]
cmp word [eax], 1
jne 0x500cfb
mov eax, dword [0x5131c4]
mov eax, dword [eax]
mov edx, 0x501228
call fcn.004f2bb8
mov eax, dword [0x5131c4]
mov eax, dword [eax]
mov edx, 0x501228
call fcn.004f3178
mov eax, dword [0x5131c4]
mov eax, dword [eax]
mov edx, 0x5014ac
call fcn.004f2e98
mov eax, dword [0x5131c4]
mov eax, dword [eax]
mov edx, 0x5014ac
call fcn.004f3458
fild dword [ebp - 0x20]
add esp, 0xfffffff8
fstp qword [esp]
wait
push 0x40790000
push 0
push 0x501450
mov eax, dword [0x5131c4]
mov eax, dword [eax]
xor ecx, ecx
xor edx, edx
call fcn.004f2108
lea eax, [ebp - 0xbc]
push eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
lea edx, [ebp - 0x40]
xor ecx, ecx
mov eax, 0x5014bc
call fcn.00409db0
mov edx, dword [ebp - 0xbc]
mov eax, dword [0x512bf8]
mov eax, dword [eax]
mov cl, 1
call fcn.004f5fdc
lea eax, [ebp - 0xc0]
push eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
lea edx, [ebp - 0x40]
xor ecx, ecx
mov eax, 0x501488
call fcn.00409db0
mov edx, dword [ebp - 0xc0]
mov eax, dword [0x512bf8]
mov eax, dword [eax]
mov cl, 1
call fcn.004f5fdc
push 0x50126c
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004ff0b4
jmp 0x500fcd
push 0x501278
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004ff0b4
jmp 0x500fcd
mov eax, dword [ebp - 0xc]
mov edx, 0x5014e8
call fcn.00404ce0
jne 0x500db7
mov eax, dword [0x512f90]
cmp word [eax], 1
jne 0x500d9f
push 0x40490000
push 0
push 0x40490000
push 0
mov eax, dword [0x512ff8]
mov eax, dword [eax]
mov ecx, 0xbb8
mov edx, dword [ebp - 0x20]
call fcn.004e48a0
lea eax, [ebp - 0xc4]
push eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
lea edx, [ebp - 0x40]
xor ecx, ecx
mov eax, 0x501488
call fcn.00409db0
mov edx, dword [ebp - 0xc4]
mov eax, dword [0x512bf8]
mov eax, dword [eax]
mov cl, 1
call fcn.004f5fdc
push 0x50126c
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004ff0b4
jmp 0x500fcd
push 0x501278
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004ff0b4
jmp 0x500fcd
mov eax, dword [ebp - 0xc]
mov edx, 0x5014f4
call fcn.00404ce0
jne 0x500e6a
mov eax, dword [0x512f90]
cmp word [eax], 1
jne 0x500e52
push 0x40490000
push 0
push 0x40490000
push 0
mov eax, dword [0x512ff8]
mov eax, dword [eax]
mov ecx, 0xbb8
xor edx, edx
call fcn.004e47dc
mov eax, dword [0x512bf8]
mov eax, dword [eax]
mov cl, 1
xor edx, edx
call fcn.004f5fdc
lea eax, [ebp - 0xc8]
push eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
lea edx, [ebp - 0x40]
xor ecx, ecx
mov eax, 0x501500
call fcn.00409db0
mov edx, dword [ebp - 0xc8]
mov eax, dword [0x512bf8]
mov eax, dword [eax]
mov cl, 1
call fcn.004f5fdc
push 0x50126c
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004ff0b4
jmp 0x500fcd
push 0x501278
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004ff0b4
jmp 0x500fcd
mov eax, dword [ebp - 0xc]
mov edx, 0x50151c
call fcn.00404ce0
jne 0x500fcd
mov edx, dword [0x512f90]
cmp word [edx], 2
jne 0x500f1d
mov eax, dword [0x512f90]
mov ax, word [eax + 2]
cmp ax, 1
je 0x500ec0
mov edx, dword [0x512f90]
cmp ax, 6
je 0x500ec0
mov edx, dword [0x512f90]
cmp ax, 9
je 0x500ec0
mov edx, dword [0x512f90]
cmp ax, 0xa
jne 0x500f1d
mov eax, dword [0x512f08]
mov eax, dword [eax]
mov edx, 1
call fcn.004df130
lea eax, [ebp - 0xcc]
push eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
lea edx, [ebp - 0x40]
xor ecx, ecx
mov eax, 0x501528
call fcn.00409db0
mov edx, dword [ebp - 0xcc]
mov eax, dword [0x512bf8]
mov eax, dword [eax]
mov cl, 1
call fcn.004f5fdc
push 0x50126c
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004ff0b4
jmp 0x500fcd
mov edx, dword [0x512f90]
cmp word [edx], 1
jne 0x500fba
mov eax, dword [0x512f90]
mov ax, word [eax + 2]
cmp ax, 1
je 0x500f60
mov edx, dword [0x512f90]
cmp ax, 6
je 0x500f60
mov edx, dword [0x512f90]
cmp ax, 9
je 0x500f60
mov edx, dword [0x512f90]
cmp ax, 0xa
jne 0x500fba
mov eax, dword [0x512f08]
mov eax, dword [eax]
mov edx, 2
call fcn.004df130
lea eax, [ebp - 0xd0]
push eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
lea edx, [ebp - 0x40]
xor ecx, ecx
mov eax, 0x501550
call fcn.00409db0
mov edx, dword [ebp - 0xd0]
mov eax, dword [0x512bf8]
mov eax, dword [eax]
mov cl, 1
call fcn.004f5fdc
push 0x50126c
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004ff0b4
jmp 0x500fcd
push 0x501278
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004ff0b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x501021
lea eax, [ebp - 0xd0]
mov edx, 0x24
call fcn.004048f8
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.004048f8
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.004048f8
lea eax, [ebp - 0x1c]
call fcn.004048d4
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004048f8
ret