Function at 0x4d6744
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x2b
push 0
push 0
dec ecx
jne 0x4d674d
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4d7593
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
lea eax, [ebp - 0x3c]
call fcn.004048ec
lea eax, [ebp - 0x40]
call fcn.004048ec
lea eax, [ebp - 0x44]
call fcn.004048ec
lea eax, [ebp - 0x48]
call fcn.004048ec
lea eax, [ebp - 0x4c]
call fcn.004048ec
lea eax, [ebp - 0x50]
call fcn.004048ec
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [ebp - 0x38], eax
xor edx, edx
push ebp
push 0x4d7532
push dword fs:[edx]
mov dword fs:[edx], esp
sub ebx, 1
jb 0x4d67f7
je 0x4d6b14
dec ebx
je 0x4d7041
jmp 0x4d71f0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x22c]
call fcn.004561a8
mov esi, eax
dec esi
test esi, esi
jl 0x4d6966
inc esi
xor ebx, ebx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.004561d8
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x64]
mov edx, 6
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x64]
mov edx, 0x4d75b0
call fcn.00404d08
jne 0x4d686d
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.004561d8
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x68]
mov edx, 3
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x68]
call fcn.00409e00
add dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.004561d8
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x6c]
mov edx, 6
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x6c]
mov edx, 0x4d75c0
call fcn.00404d08
jne 0x4d68c7
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.004561d8
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x70]
mov edx, 3
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x70]
call fcn.00409e00
add dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.004561d8
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x74]
mov edx, 6
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x74]
mov edx, 0x4d75d0
call fcn.00404d08
jne 0x4d6921
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.004561d8
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x78]
mov edx, 3
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x78]
call fcn.00409e00
add dword [ebp - 0x2c], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.004561d8
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x7c]
mov edx, 4
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x7c]
call fcn.0040b7e4
fmul dword [0x4d75d8]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.00436de4
add dword [ebp - 0x10], eax
inc ebx
dec esi
jne 0x4d6813
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x22c]
call fcn.004561a8
test eax, eax
jle 0x4d71f0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x22c]
call fcn.004561a8
mov esi, eax
dec esi
test esi, esi
jl 0x4d71f0
inc esi
xor ebx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.004561d8
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x80]
mov edx, 6
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x80]
mov edx, 0x4d75b0
call fcn.00404d08
jne 0x4d69f8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.004561d8
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x84]
mov edx, 3
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x84]
call fcn.00409e00
add dword [ebp - 0x30], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.004561d8
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x88]
mov edx, 6
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x88]
mov edx, 0x4d75c0
call fcn.00404d08
jne 0x4d6a5e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.004561d8
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x8c]
mov edx, 3
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x8c]
call fcn.00409e00
add dword [ebp - 0x34], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.004561d8
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x90]
mov edx, 6
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x90]
mov edx, 0x4d75d0
call fcn.00404d08
jne 0x4d6ac4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.004561d8
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x94]
mov edx, 3
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x94]
call fcn.00409e00
add dword [ebp - 0x38], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.004561d8
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x98]
mov edx, 4
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x98]
call fcn.0040b7e4
fmul dword [0x4d75d8]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.00436de4
add dword [ebp - 0x20], eax
inc ebx
dec esi
jne 0x4d6998
jmp 0x4d71f0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x22c]
call fcn.004561a8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x22c]
call fcn.004561a8
mov esi, eax
dec esi
test esi, esi
jl 0x4d6b64
inc esi
xor ebx, ebx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.004561d8
mov edx, 3
call fcn.00455ccc
test al, al
je 0x4d6b60
mov dword [ebp - 0x1c], ebx
jmp 0x4d6b64
inc ebx
dec esi
jne 0x4d6b3d
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x22c]
call fcn.004561a8
mov esi, eax
dec esi
test esi, esi
jl 0x4d6cfd
inc esi
xor ebx, ebx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.004561d8
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x9c]
mov edx, 6
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x9c]
mov edx, 0x4d75b0
call fcn.00404d08
jne 0x4d6be6
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.004561d8
mov eax, dword [eax + 8]
lea ecx, [ebp - 0xa0]
mov edx, 3
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xa0]
call fcn.00409e00
add dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.004561d8
mov eax, dword [eax + 8]
lea ecx, [ebp - 0xa4]
mov edx, 6
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xa4]
mov edx, 0x4d75c0
call fcn.00404d08
jne 0x4d6c4c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.004561d8
mov eax, dword [eax + 8]
lea ecx, [ebp - 0xa8]
mov edx, 3
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xa8]
call fcn.00409e00
add dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.004561d8
mov eax, dword [eax + 8]
lea ecx, [ebp - 0xac]
mov edx, 6
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xac]
mov edx, 0x4d75d0
call fcn.00404d08
jne 0x4d6cb2
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.004561d8
mov eax, dword [eax + 8]
lea ecx, [ebp - 0xb0]
mov edx, 3
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xb0]
call fcn.00409e00
add dword [ebp - 0x2c], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.004561d8
mov eax, dword [eax + 8]
lea ecx, [ebp - 0xb4]
mov edx, 4
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xb4]
call fcn.0040b7e4
fmul dword [0x4d75d8]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.00436de4
add dword [ebp - 0x10], eax
inc ebx
dec esi
jne 0x4d6b80
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x1c]
add esi, dword [ebp - 0x18]
dec esi
sub esi, ebx
jl 0x4d6e8d
inc esi
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.004561d8
mov eax, dword [eax + 8]
lea ecx, [ebp - 0xb8]
mov edx, 6
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xb8]
mov edx, 0x4d75b0
call fcn.00404d08
jne 0x4d6d76
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.004561d8
mov eax, dword [eax + 8]
lea ecx, [ebp - 0xbc]
mov edx, 3
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xbc]
call fcn.00409e00
sub dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.004561d8
mov eax, dword [eax + 8]
lea ecx, [ebp - 0xc0]
mov edx, 6
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xc0]
mov edx, 0x4d75c0
call fcn.00404d08
jne 0x4d6ddc
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.004561d8
mov eax, dword [eax + 8]
lea ecx, [ebp - 0xc4]
mov edx, 3
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xc4]
call fcn.00409e00
sub dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.004561d8
mov eax, dword [eax + 8]
lea ecx, [ebp - 0xc8]
mov edx, 6
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xc8]
mov edx, 0x4d75d0
call fcn.00404d08
jne 0x4d6e42
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.004561d8
mov eax, dword [eax + 8]
lea ecx, [ebp - 0xcc]
mov edx, 3
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xcc]
call fcn.00409e00
sub dword [ebp - 0x2c], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.004561d8
mov eax, dword [eax + 8]
lea ecx, [ebp - 0xd0]
mov edx, 4
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xd0]
call fcn.0040b7e4
fmul dword [0x4d75d8]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.00436de4
sub dword [ebp - 0x10], eax
inc ebx
dec esi
jne 0x4d6d10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x22c]
call fcn.004561a8
test eax, eax
jle 0x4d71f0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x22c]
call fcn.004561a8
mov esi, eax
dec esi
test esi, esi
jl 0x4d71f0
inc esi
xor ebx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.004561d8
mov eax, dword [eax + 8]
lea ecx, [ebp - 0xd4]
mov edx, 6
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xd4]
mov edx, 0x4d75b0
call fcn.00404d08
jne 0x4d6f25
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.004561d8
mov eax, dword [eax + 8]
lea ecx, [ebp - 0xd8]
mov edx, 3
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xd8]
call fcn.00409e00
add dword [ebp - 0x30], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.004561d8
mov eax, dword [eax + 8]
lea ecx, [ebp - 0xdc]
mov edx, 6
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xdc]
mov edx, 0x4d75c0
call fcn.00404d08
jne 0x4d6f8b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.004561d8
mov eax, dword [eax + 8]
lea ecx, [ebp - 0xe0]
mov edx, 3
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xe0]
call fcn.00409e00
add dword [ebp - 0x34], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.004561d8
mov eax, dword [eax + 8]
lea ecx, [ebp - 0xe4]
mov edx, 6
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xe4]
mov edx, 0x4d75d0
call fcn.00404d08
jne 0x4d6ff1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.004561d8
mov eax, dword [eax + 8]
lea ecx, [ebp - 0xe8]
mov edx, 3
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xe8]
call fcn.00409e00
add dword [ebp - 0x38], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.004561d8
mov eax, dword [eax + 8]
lea ecx, [ebp - 0xec]
mov edx, 4
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xec]
call fcn.0040b7e4
fmul dword [0x4d75d8]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.00436de4
add dword [ebp - 0x20], eax
inc ebx
dec esi
jne 0x4d6ebf
jmp 0x4d71f0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x22c]
call fcn.004561a8
test eax, eax
jle 0x4d71f0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x22c]
call fcn.004561a8
mov esi, eax
dec esi
test esi, esi
jl 0x4d71f0
inc esi
xor ebx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.004561d8
mov eax, dword [eax + 8]
lea ecx, [ebp - 0xf0]
mov edx, 6
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xf0]
mov edx, 0x4d75b0
call fcn.00404d08
jne 0x4d70d9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.004561d8
mov eax, dword [eax + 8]
lea ecx, [ebp - 0xf4]
mov edx, 3
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xf4]
call fcn.00409e00
add dword [ebp - 0x30], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.004561d8
mov eax, dword [eax + 8]
lea ecx, [ebp - 0xf8]
mov edx, 6
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xf8]
mov edx, 0x4d75c0
call fcn.00404d08
jne 0x4d713f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.004561d8
mov eax, dword [eax + 8]
lea ecx, [ebp - 0xfc]
mov edx, 3
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xfc]
call fcn.00409e00
add dword [ebp - 0x34], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.004561d8
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x100]
mov edx, 6
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x100]
mov edx, 0x4d75d0
call fcn.00404d08
jne 0x4d71a5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.004561d8
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x104]
mov edx, 3
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x104]
call fcn.00409e00
add dword [ebp - 0x38], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.004561d8
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x108]
mov edx, 4
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x108]
call fcn.0040b7e4
fmul dword [0x4d75d8]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.00436de4
add dword [ebp - 0x20], eax
inc ebx
dec esi
jne 0x4d7073
mov eax, dword [ebp - 0x30]
add dword [ebp - 0x24], eax
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0x110]
mov edx, 4
mov eax, dword [ebp - 0x24]
call fcn.00409da8
mov eax, dword [ebp - 0x110]
mov ecx, 2
xor edx, edx
call fcn.00404e1c
mov eax, dword [ebp - 0x10c]
push eax
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x118]
mov edx, 4
mov eax, dword [ebp - 0x24]
call fcn.00409da8
mov eax, dword [ebp - 0x118]
mov ecx, 2
mov edx, 3
call fcn.00404e1c
mov edx, dword [ebp - 0x114]
lea eax, [ebp - 0x40]
pop ecx
call fcn.00404c08
mov eax, dword [ebp - 0x34]
add dword [ebp - 0x28], eax
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x120]
mov edx, 4
mov eax, dword [ebp - 0x28]
call fcn.00409da8
mov eax, dword [ebp - 0x120]
mov ecx, 2
xor edx, edx
call fcn.00404e1c
mov eax, dword [ebp - 0x11c]
push eax
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x128]
mov edx, 4
mov eax, dword [ebp - 0x28]
call fcn.00409da8
mov eax, dword [ebp - 0x128]
mov ecx, 2
mov edx, 3
call fcn.00404e1c
mov edx, dword [ebp - 0x124]
lea eax, [ebp - 0x44]
pop ecx
call fcn.00404c08
mov eax, dword [ebp - 0x38]
add dword [ebp - 0x2c], eax
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x130]
mov edx, 4
mov eax, dword [ebp - 0x2c]
call fcn.00409da8
mov eax, dword [ebp - 0x130]
mov ecx, 2
xor edx, edx
call fcn.00404e1c
mov eax, dword [ebp - 0x12c]
push eax
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x138]
mov edx, 4
mov eax, dword [ebp - 0x2c]
call fcn.00409da8
mov eax, dword [ebp - 0x138]
mov ecx, 2
mov edx, 3
call fcn.00404e1c
mov edx, dword [ebp - 0x134]
lea eax, [ebp - 0x48]
pop ecx
call fcn.00404c08
mov ebx, dword [ebp - 0x24]
add ebx, dword [ebp - 0x28]
add ebx, dword [ebp - 0x2c]
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x140]
mov edx, 4
mov eax, ebx
call fcn.00409da8
mov eax, dword [ebp - 0x140]
mov ecx, 2
xor edx, edx
call fcn.00404e1c
mov eax, dword [ebp - 0x13c]
push eax
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x148]
mov edx, 4
mov eax, ebx
call fcn.00409da8
mov eax, dword [ebp - 0x148]
mov ecx, 2
mov edx, 3
call fcn.00404e1c
mov edx, dword [ebp - 0x144]
lea eax, [ebp - 0x4c]
pop ecx
call fcn.00404c08
mov ebx, dword [ebp - 0x10]
add ebx, dword [ebp - 0x20]
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ebp - 0x150]
mov edx, 4
mov eax, ebx
call fcn.00409da8
mov eax, dword [ebp - 0x150]
mov ecx, 2
xor edx, edx
call fcn.00404e1c
mov eax, dword [ebp - 0x14c]
push eax
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x158]
mov edx, 4
mov eax, ebx
call fcn.00409da8
mov eax, dword [ebp - 0x158]
mov ecx, 2
mov edx, 3
call fcn.00404e1c
mov edx, dword [ebp - 0x154]
lea eax, [ebp - 0x50]
pop ecx
call fcn.00404c08
push dword [ebp - 0x4c]
push dword [ebp - 0x40]
push 0x4d75e4
push dword [ebp - 0x44]
push dword [ebp - 0x48]
push dword [ebp - 0x50]
lea eax, [ebp - 0x3c]
mov edx, 6
call fcn.00404c7c
mov eax, dword [ebp - 0x3c]
call fcn.00404bbc
mov esi, eax
sar esi, 1
jns 0x4d7474
adc esi, 0
dec esi
test esi, esi
jl 0x4d74c7
inc esi
xor edi, edi
lea ebx, [ebp - 0x5f]
lea eax, [ebp - 0x160]
push eax
mov edx, edi
add edx, edx
inc edx
mov ecx, 2
mov eax, dword [ebp - 0x3c]
call fcn.00404e1c
mov ecx, dword [ebp - 0x160]
lea eax, [ebp - 0x15c]
mov edx, 0x4d75f8
call fcn.00404c08
mov eax, dword [ebp - 0x15c]
call fcn.00409e00
mov byte [ebx], al
xor eax, eax
mov al, byte [ebx]
add dword [ebp - 0x14], eax
inc edi
inc ebx
dec esi
jne 0x4d747f
mov eax, dword [ebp - 0x14]
and eax, 0xff
add eax, 0x25
and eax, 0xff
mov dword [ebp - 0x14], eax
mov al, byte [ebp - 0x14]
mov byte [ebp - 0x51], al
mov edi, 0xf
lea eax, [ebp - 0x5f]
mov dl, byte [ebp + 8]
xor byte [eax], dl
inc eax
dec edi
jne 0x4d74e8
lea eax, [ebp - 0x5f]
push eax
push 0xf
push 0x48
mov eax, dword [0x7444dc]
push eax
call sub.GENFUNCTION.DLL_swr_24c64
mov word [0x7444d8], ax
cmp word [0x7444d8], 0
jne 0x4d751a
mov byte [ebp - 9], 1
jmp 0x4d7528
mov byte [ebp - 9], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d7568
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d7568
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d759a
lea eax, [ebp - 0x160]
mov edx, 0x40
call fcn.00404910
lea eax, [ebp - 0x50]
mov edx, 6
call fcn.00404910
ret