Function at 0x4041d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5057dd
mov eax, dword fs:[0]
push eax
sub esp, 0x368
mov eax, dword [0x565680]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x354], edi
mov eax, dword [edi + 0x78]
mov dword [ebp - 0x370], edi
cmp dword [eax - 0xc], 0
je 0x404d7a
add eax, 0xfffffff0
push eax
call fcn.004053a0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x340], eax
mov esi, dword [0x566ac0]
mov dword [ebp - 4], 0
lea ecx, [esi + 1]
lea eax, [esi + 2]
imul eax, ecx
imul eax, esi
cdq
mov ecx, 0x18
idiv ecx
cmp edx, 9
jne 0x4042be
test esi, esi
je 0x4042be
jmp 0x404260
mov ecx, esi
and ecx, 0x80000001
jns 0x40426f
dec ecx
or ecx, 0xfffffffe
inc ecx
jne 0x40427c
mov eax, esi
cdq
sub eax, edx
mov esi, eax
sar esi, 1
jmp 0x404283
lea esi, [esi*2 + 1]
mov eax, 0x55555556
imul esi
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, esi
lea eax, [eax + eax*2]
sub ecx, eax
mov dword [0x566ac0], esi
sub ecx, 0
je 0x4042ad
sub ecx, 2
je 0x4042b0
dec ecx
je 0x4042b1
jmp 0x4042ba
add esi, 2
inc esi
add esi, 2
mov dword [0x566ac0], esi
test esi, esi
jne 0x404260
push dword [edi + 0x4c]
push ecx
mov ecx, esp
push str.e5dddfd3cec1d7dae3
call fcn.00401ba0
lea eax, [ebp - 0x32c]
push eax
call fcn.0048cba0
add esp, 8
push dword [eax]
lea ecx, [ebp - 0x340]
mov byte [ebp - 4], 1
call fcn.00407680
mov edx, dword [ebp - 0x32c]
add edx, 0xfffffff0
or ebx, 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [edx + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x404314
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [0x566ac0]
mov eax, esi
imul eax, esi
cdq
mov ecx, 0x16
idiv ecx
mov dword [ebp - 0x350], ecx
cmp edx, 0x15
jne 0x404395
mov eax, 0x4bda12f7
imul esi
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, ecx, 0xd8
mov eax, esi
sub eax, ecx
xor edi, edi
cmp eax, 0xe1
je 0x404389
mov eax, esi
or eax, 0xffffffcb
add esi, eax
mov eax, esi
imul eax, esi
inc edi
cmp edi, eax
jg 0x404389
mov eax, 0x4bda12f7
imul esi
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, ecx, 0xd8
mov eax, esi
sub eax, ecx
cmp eax, 0xe1
jne 0x404356
mov dword [0x566ac0], edi
mov edi, dword [ebp - 0x354]
lea eax, [ebp - 0x33c]
push eax
call fcn.0048c5b0
add esp, 4
mov esi, eax
push 0x519780
lea ecx, [ebp - 0x334]
mov byte [ebp - 4], 2
call fcn.00401ba0
push 0x519778
push eax
lea eax, [ebp - 0x330]
push eax
mov byte [ebp - 4], 3
call fcn.00402ae0
push esi
push eax
lea eax, [ebp - 0x32c]
push eax
mov byte [ebp - 4], 4
call fcn.00402a20
add esp, 0x18
mov eax, dword [eax]
lea ecx, [ebp - 0x340]
push dword [eax - 0xc]
mov byte [ebp - 4], 5
push eax
call fcn.00402de0
mov edx, dword [ebp - 0x32c]
add edx, 0xfffffff0
mov byte [ebp - 4], 4
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40441d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x330]
add edx, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x404440
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x334]
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x404463
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x33c]
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x404486
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x5651b8]
mov ecx, 0x5651b8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x348], eax
lea eax, [ebp - 0x348]
push eax
lea eax, [ebp - 0x340]
push eax
lea eax, [ebp - 0x344]
push eax
mov byte [ebp - 4], 6
call fcn.0040fc60
lea eax, [ebp - 0x32c]
push eax
mov byte [ebp - 4], 7
call fcn.0040d6f0
push eax
lea eax, [ebp - 0x344]
push eax
call fcn.00402900
mov esi, dword [ebp - 0x32c]
add esi, 0xfffffff0
add esp, 0x18
mov byte [ebp - 0x349], al
lea ecx, [esi + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404505
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov al, byte [ebp - 0x349]
test al, al
je 0x404712
call fcn.0040a330
test al, al
jne 0x404594
mov edi, dword [0x566ac0]
mov eax, edi
cdq
xor ecx, ecx
sub eax, edx
sar eax, 1
mov esi, 0x4b
mov dword [ebp - 0x33c], ecx
mov dword [ebp - 0x334], eax
test eax, eax
jle 0x404589
mov eax, edi
cdq
and edx, 3
lea edi, [edx + eax]
mov eax, dword [ebp - 0x334]
sar edi, 2
xor edx, edx
mov dword [ebp - 0x330], eax
test edi, edi
jle 0x404572
mov eax, edx
mov ecx, edi
lea esp, [esp]
add esi, eax
dec eax
dec ecx
jne 0x404560
mov eax, dword [ebp - 0x330]
mov ecx, dword [ebp - 0x33c]
add edx, ecx
dec eax
mov dword [ebp - 0x330], eax
jne 0x404554
mov eax, dword [ebp - 0x334]
mov edi, dword [0x566ac0]
inc ecx
mov dword [ebp - 0x33c], ecx
cmp ecx, esi
jl 0x404536
lea eax, [ebp - 0x348]
push eax
push ecx
mov ecx, esp
push str.ddf6fbfdf5dfebeaf1cbeefaffeafbcbecf2c1d6eaeaeeccfbefebfbedeac1
call fcn.00401ba0
lea eax, [ebp - 0x33c]
push eax
call fcn.0048cba0
add esp, 8
mov esi, eax
mov edx, dword [0x5651b8]
mov ecx, 0x5651b8
mov byte [ebp - 4], 8
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x330], eax
push esi
lea eax, [ebp - 0x330]
push eax
lea eax, [ebp - 0x334]
push eax
mov byte [ebp - 4], 9
call fcn.00465370
add esp, 0xc
push eax
lea eax, [ebp - 0x32c]
push eax
mov byte [ebp - 4], 0xa
call fcn.00465370
add esp, 0xc
mov ecx, dword [ebp - 0x354]
push eax
mov byte [ebp - 4], 0xb
call fcn.004092d0
mov edx, dword [ebp - 0x32c]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xa
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x404636
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x334]
add edx, 0xfffffff0
mov byte [ebp - 4], 9
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x404659
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x330]
add edx, 0xfffffff0
mov byte [ebp - 4], 8
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40467c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x33c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
mov byte [ebp - 4], 7
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40469f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x344]
add edx, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4046c2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x348]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
mov byte [ebp - 4], 0
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4046e5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x340]
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x404d7a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x404d7a
mov ecx, dword [ebp - 0x344]
cmp dword [ecx - 0xc], 0
jne 0x4047d3
push ecx
mov ecx, esp
push str.ddf6fbfdf5dfebeaf1cbeefaffeafbcbecf2c1edeaecd4edf1f0c1fbf3eeeae7
call fcn.00401ba0
lea eax, [ebp - 0x334]
push eax
call fcn.0048cba0
add esp, 8
mov esi, eax
mov edx, dword [0x5651b8]
mov ecx, 0x5651b8
mov byte [ebp - 4], 0xc
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x330], eax
push esi
lea eax, [ebp - 0x330]
push eax
lea eax, [ebp - 0x32c]
push eax
mov byte [ebp - 4], 0xd
call fcn.00465370
add esp, 0xc
push eax
mov ecx, edi
mov byte [ebp - 4], 0xe
call fcn.004092d0
mov edx, dword [ebp - 0x32c]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xd
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4047a5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x330]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xc
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4047c8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x334]
jmp 0x404682
mov esi, dword [0x566ac0]
mov byte [ebp - 4], 0xf
lea edx, [esi + 1]
lea eax, [esi + 2]
imul eax, edx
imul eax, esi
cdq
idiv dword [ebp - 0x350]
cmp edx, 8
jne 0x404840
xor edx, edx
jmp 0x404800
mov eax, dword [ebp + edx*4 - 0x194]
add eax, dword [ebp + edx*4 - 0x180]
add edx, 6
add eax, dword [ebp + edx*4 - 0x19c]
add eax, dword [ebp + edx*4 - 0x1a0]
add eax, dword [ebp + edx*4 - 0x1a4]
add eax, dword [ebp + edx*4 - 0x1a8]
imul eax, eax, 0x15
add esi, eax
mov dword [0x566ac0], esi
cmp edx, 0x180
jb 0x404800
push 3
lea eax, [ebp - 0x2b4]
push ecx
lea ecx, [ebp - 0x2b8]
mov dword [ebp - 0x2b8], eax
call fcn.00407190
mov edx, dword [ebp - 0x2b8]
mov dword [ebp - 0x220], 0xf
mov dword [ebp - 0x224], 0
mov byte [ebp - 0x234], 0
cmp byte [edx], 0
mov byte [ebp - 4], 0x10
jne 0x404888
xor ecx, ecx
jmp 0x404899
mov ecx, edx
lea esi, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x404890
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x234]
call fcn.00401460
lea ecx, [ebp - 0x328]
mov byte [ebp - 4], 0x11
call fcn.00465e70
push 0
lea ecx, [ebp - 0x36c]
mov byte [ebp - 4], 0x12
call fcn.00469310
push 1
lea eax, [ebp - 0x36c]
push eax
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x328]
mov byte [ebp - 4], 0x13
call fcn.00467650
test al, al
jne 0x404a6e
call fcn.0040a5d0
test al, al
jne 0x404937
mov esi, dword [0x566ac0]
mov eax, 0x51eb851f
imul esi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, ecx, 0x64
sub esi, ecx
xor ecx, ecx
lea eax, [esi + 0x7b]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004e3d44
add esp, 4
push eax
call fcn.004e5e73
add esp, 4
push ecx
mov ecx, esp
push str.ddf6fbfdf5dfebeaf1cbeefaffeafbcbecf2c1eeffecedfbc1fbececf1ec
call fcn.00401ba0
lea eax, [ebp - 0x358]
push eax
call fcn.0048cba0
add esp, 8
mov esi, eax
mov edx, dword [0x5651b8]
mov ecx, 0x5651b8
mov byte [ebp - 4], 0x14
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x330], eax
push esi
lea eax, [ebp - 0x330]
push eax
lea eax, [ebp - 0x32c]
push eax
mov byte [ebp - 4], 0x15
call fcn.00465370
add esp, 0xc
push eax
mov ecx, edi
mov byte [ebp - 4], 0x16
call fcn.004092d0
mov edx, dword [ebp - 0x32c]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x15
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4049ba
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x330]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x14
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4049dd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x358]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x13
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x404a00
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x36c]
mov byte [ebp - 4], 0x12
call fcn.004695b0
lea ecx, [ebp - 0x328]
call fcn.00402630
cmp dword [ebp - 0x220], 0x10
jb 0x404a31
push dword [ebp - 0x234]
call fcn.004e4aa8
add esp, 4
mov eax, dword [ebp - 0x2b8]
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 0x234], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0xf
cmp eax, ecx
je 0x40469f
push eax
call fcn.004e5db5
add esp, 4
jmp 0x40469f
push str._L_update_low_ver
lea ecx, [ebp - 0x330]
call fcn.00401b10
lea eax, [ebp - 0x330]
push eax
lea eax, [ebp - 0x32c]
push eax
mov byte [ebp - 4], 0x17
call fcn.0048e880
add esp, 8
push dword [eax]
lea ecx, [ebp - 0x358]
mov byte [ebp - 4], 0x18
call fcn.00401a80
push dword [eax]
lea ecx, [ebp - 0x36c]
mov byte [ebp - 4], 0x19
call fcn.00469840
mov ecx, eax
call fcn.0046a890
mov edx, dword [ebp - 0x358]
test al, al
sete byte [ebp - 0x349]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x18
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x404aed
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x32c]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x17
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x404b10
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x330]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x13
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x404b33
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x349], 0
jne 0x404a00
push str._L_update_low_ver
lea ecx, [ebp - 0x330]
call fcn.00401b10
lea eax, [ebp - 0x330]
push eax
lea eax, [ebp - 0x32c]
push eax
mov byte [ebp - 4], 0x1a
call fcn.0048e880
add esp, 8
push dword [eax]
lea ecx, [ebp - 0x358]
mov byte [ebp - 4], 0x1b
call fcn.00401a80
push dword [eax]
lea ecx, [ebp - 0x36c]
mov byte [ebp - 4], 0x1c
call fcn.00469840
mov ecx, eax
call fcn.0041c840
push eax
lea ecx, [ebp - 0x350]
call fcn.00401b10
mov edx, dword [ebp - 0x358]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x1e
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x404bc2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x32c]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x1f
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x404be5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x330]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x20
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x404c06
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x350]
cmp dword [eax - 0xc], 0
jne 0x404c5b
mov edx, dword [0x566ac0]
lea ecx, [edx + 1]
lea eax, [edx + 2]
imul eax, ecx
imul eax, edx
cdq
mov ecx, 0x18
idiv ecx
cmp edx, 0xf
jne 0x404d10
push 4
call fcn.004e4ad7
add esp, 4
mov esi, eax
call fcn.004e5d44
mov dword [esi], eax
push esi
mov dword [0x566ac0], eax
call fcn.004e4aa8
add esp, 4
jmp 0x404d10
push str.update_high_ver
lea ecx, [ebp - 0x36c]
call fcn.00469840
mov ecx, eax
call fcn.0046a890
test al, al
je 0x404d10
push str.update_high_ver
lea ecx, [ebp - 0x36c]
call fcn.00469840
mov ecx, eax
call fcn.0041c840
push eax
lea ecx, [ebp - 0x33c]
call fcn.00401b10
mov eax, dword [ebp - 0x33c]
mov byte [ebp - 4], 0x21
cmp dword [eax - 0xc], 0
jne 0x404d96
mov esi, dword [0x566ac0]
mov ecx, 0x12
lea eax, [esi + 1]
imul eax, esi
cdq
idiv ecx
cmp edx, 0x10
jne 0x404d05
mov eax, 0x51eb851f
imul esi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, ecx, 0x64
sub esi, ecx
xor ecx, ecx
lea eax, [esi + 0x63]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004e3d44
add esp, 4
push eax
call fcn.004e5e73
add esp, 4
lea ecx, [ebp - 0x33c]
call fcn.00401fd0
lea ecx, [ebp - 0x350]
call fcn.00401fd0
lea ecx, [ebp - 0x36c]
mov byte [ebp - 4], 0x12
call fcn.004695b0
lea ecx, [ebp - 0x328]
call fcn.00402630
lea ecx, [ebp - 0x234]
call fcn.00401060
mov eax, dword [ebp - 0x2b8]
lea ecx, [ebp - 0x2b4]
cmp eax, ecx
je 0x404d59
push eax
call fcn.004e5db5
add esp, 4
lea ecx, [ebp - 0x344]
call fcn.00401fd0
lea ecx, [ebp - 0x348]
call fcn.00401fd0
lea ecx, [ebp - 0x340]
call fcn.00401fd0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004e52a4
mov esp, ebp
pop ebp
ret
push str._L_download_url
lea ecx, [ebp - 0x330]
call fcn.00401b10
lea eax, [ebp - 0x330]
push eax
lea eax, [ebp - 0x32c]
push eax
mov byte [ebp - 4], 0x22
call fcn.0048e880
add esp, 8
push dword [eax]
lea ecx, [ebp - 0x358]
mov byte [ebp - 4], 0x23
call fcn.00401a80
push dword [eax]
lea ecx, [ebp - 0x36c]
mov byte [ebp - 4], 0x24
call fcn.00469840
mov ecx, eax
call fcn.0046a890
test al, al
lea ecx, [ebp - 0x358]
sete bl
call fcn.00401fd0
lea ecx, [ebp - 0x32c]
call fcn.00401fd0
lea ecx, [ebp - 0x330]
mov byte [ebp - 4], 0x21
call fcn.00401fd0
test bl, bl
je 0x404e55
call fcn.0040a4e0
test al, al
jne 0x404d05
push 0x28
call fcn.004e3d44
add esp, 4
mov edi, eax
xor esi, esi
call fcn.004e5d44
add eax, dword [0x566ac0]
inc esi
mov dword [edi + esi*4 - 4], eax
cmp esi, 0xa
jl 0x404e32
mov eax, dword [edi + 0x24]
mov dword [0x566ac0], eax
push edi
jmp 0x404cfd
push str._L_download_url
lea ecx, [ebp - 0x330]
call fcn.00401b10
lea eax, [ebp - 0x330]
push eax
lea eax, [ebp - 0x374]
push eax
mov byte [ebp - 4], 0x25
call fcn.0048e880
add esp, 8
push dword [eax]
lea ecx, [ebp - 0x358]
mov byte [ebp - 4], 0x26
call fcn.00401a80
push dword [eax]
lea ecx, [ebp - 0x36c]
mov byte [ebp - 4], 0x27
call fcn.00469840
mov ecx, eax
call fcn.0041c840
push eax
lea ecx, [ebp - 0x354]
call fcn.00401b10
lea ecx, [ebp - 0x358]
call fcn.00401fd0
lea ecx, [ebp - 0x374]
call fcn.00401fd0
lea ecx, [ebp - 0x330]
mov byte [ebp - 4], 0x2b
call fcn.00401fd0
mov eax, dword [ebp - 0x354]
cmp dword [eax - 0xc], 0
je 0x405214
mov eax, dword [ebp - 0x33c]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x338], esp
mov esi, esp
push eax
call fcn.004053a0
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov eax, dword [ebp - 0x350]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
mov byte [ebp - 4], 0x2c
call fcn.004053a0
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov ecx, edi
mov byte [ebp - 4], 0x2b
call fcn.00409a00
test al, al
je 0x405214
lea eax, [ebp - 0x354]
push 0x519944
push eax
call fcn.00402960
add esp, 8
test al, al
jne 0x405224
lea eax, [ebp - 0x354]
push 0x51994c
push eax
call fcn.00402960
add esp, 8
test al, al
jne 0x405224
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call fcn.004e67c0
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x40503b
push ecx
mov ecx, esp
push str.ddf6fbfdf5dfebeaf1cbeefaffeafbcbecf2c1d9fbeacafbf3eeceffeaf6c1
call fcn.00401ba0
lea eax, [ebp - 0x338]
push eax
call fcn.0048cba0
add esp, 8
mov esi, eax
mov edx, dword [0x5651b8]
mov ecx, 0x5651b8
mov byte [ebp - 4], 0x30
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x32c], eax
push esi
lea eax, [ebp - 0x32c]
push eax
lea eax, [ebp - 0x35c]
push eax
mov byte [ebp - 4], 0x31
call fcn.00465370
add esp, 0xc
push eax
mov ecx, edi
mov byte [ebp - 4], 0x32
call fcn.004092d0
lea ecx, [ebp - 0x35c]
call fcn.00401fd0
lea ecx, [ebp - 0x32c]
call fcn.00401fd0
lea ecx, [ebp - 0x338]
call fcn.00401fd0
lea ecx, [ebp - 0x354]
call fcn.00401fd0
jmp 0x404d05
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x334]
call fcn.00401ba0
mov eax, dword [ebp - 0x334]
lea ecx, [ebp - 0x334]
mov eax, dword [eax - 0xc]
dec eax
push eax
mov byte [ebp - 4], 0x33
call fcn.00405730
movzx eax, ax
cmp eax, 0x5c
je 0x4050c8
push str._L__
lea ecx, [ebp - 0x32c]
call fcn.00401ba0
lea eax, [ebp - 0x32c]
push eax
lea eax, [ebp - 0x338]
push eax
mov byte [ebp - 4], 0x34
call fcn.0048e880
add esp, 8
mov eax, dword [eax]
lea ecx, [ebp - 0x334]
push dword [eax - 0xc]
mov byte [ebp - 4], 0x35
push eax
call fcn.00402de0
lea ecx, [ebp - 0x338]
call fcn.00401fd0
lea ecx, [ebp - 0x32c]
mov byte [ebp - 4], 0x33
call fcn.00401fd0
mov eax, dword [ebp - 0x334]
add eax, 0xfffffff0
push eax
call fcn.004053a0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x330], eax
lea eax, [ebp - 0x338]
push eax
mov byte [ebp - 4], 0x36
call fcn.0048c5b0
add esp, 4
mov eax, dword [eax]
lea ecx, [ebp - 0x334]
push dword [eax - 0xc]
mov byte [ebp - 4], 0x37
push eax
call fcn.00402de0
lea ecx, [ebp - 0x338]
mov byte [ebp - 4], 0x36
call fcn.00401fd0
call fcn.0040a510
test al, al
jne 0x405148
mov eax, 0x77
mov esi, 0x8c
lea ecx, [ecx]
test esi, esi
je 0x405141
cdq
idiv esi
mov ecx, esi
mov eax, ecx
mov esi, edx
test ecx, ecx
jne 0x405130
add eax, esi
mov dword [0x566ac0], eax
lea eax, [ebp - 0x334]
push eax
lea eax, [ebp - 0x354]
push eax
call fcn.00412ac0
add esp, 8
test al, al
jne 0x4051e9
push ecx
mov ecx, esp
push str.ddf6fbfdf5dfebeaf1cbeefaffeafbcbecf2c1d6eaeaeecaf1dcf7f0ffece7d8f7f2fbccfbefebfbedea
call fcn.00401ba0
lea eax, [ebp - 0x35c]
push eax
call fcn.0048cba0
add esp, 8
mov esi, eax
mov edx, dword [0x5651b8]
mov ecx, 0x5651b8
mov byte [ebp - 4], 0x38
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x32c], eax
push esi
lea eax, [ebp - 0x32c]
push eax
lea eax, [ebp - 0x338]
push eax
mov byte [ebp - 4], 0x39
call fcn.00465370
add esp, 0xc
push eax
mov ecx, edi
mov byte [ebp - 4], 0x3a
call fcn.004092d0
lea ecx, [ebp - 0x338]
call fcn.00401fd0
lea ecx, [ebp - 0x32c]
call fcn.00401fd0
lea ecx, [ebp - 0x35c]
call fcn.00401fd0
jmp 0x4051fe
lea eax, [ebp - 0x330]
push eax
lea eax, [ebp - 0x334]
push eax
mov ecx, edi
call fcn.004078c0
lea ecx, [ebp - 0x330]
call fcn.00401fd0
lea ecx, [ebp - 0x334]
call fcn.00401fd0
lea ecx, [ebp - 0x354]
call fcn.00401fd0
jmp 0x404d05
call fcn.0040a330
test al, al
jne 0x405284
movd xmm4, dword [0x566ac0]
movsd xmm3, qword [0x519ef8]
movsd xmm6, qword [0x519f00]
movsd xmm5, qword [0x519ef0]
xorps xmm2, xmm2
cvtdq2pd xmm4, xmm4
addsd xmm2, xmm3
movapd xmm0, xmm2
mulsd xmm0, xmm2
comisd xmm0, xmm4
jbe 0x40526e
subsd xmm2, xmm3
divsd xmm3, xmm6
movapd xmm1, xmm2
mulsd xmm1, xmm2
movapd xmm0, xmm4
subsd xmm0, xmm1
comisd xmm0, xmm5
ja 0x405254
push ecx
mov ecx, esp
push str.ddf6fbfdf5dfebeaf1cbeefaffeafbcbecf2c1ebecf2c1f0ffc1f8f1ecc1ebeefaffeafb
call fcn.00401ba0
lea eax, [ebp - 0x35c]
push eax
call fcn.0048cba0
add esp, 8
mov esi, eax
mov edx, dword [0x5651b8]
mov ecx, 0x5651b8
mov byte [ebp - 4], 0x2d
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x32c], eax
push esi
lea eax, [ebp - 0x32c]
push eax
lea eax, [ebp - 0x338]
push eax
mov byte [ebp - 4], 0x2e
call fcn.00465370
add esp, 0xc
push eax
mov ecx, edi
mov byte [ebp - 4], 0x2f
call fcn.004092d0
lea ecx, [ebp - 0x338]
call fcn.00401fd0
lea ecx, [ebp - 0x32c]
call fcn.00401fd0
lea ecx, [ebp - 0x35c]
call fcn.00401fd0
lea ecx, [ebp - 0x354]
call fcn.00401fd0
jmp 0x404d05