Function at 0x4c1e00
Capabilities:
Check http status code
Check if file exists
Copy file
Delete file
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x608730
mov eax, dword fs:[0]
push eax
sub esp, 0x208
push ebx
push esi
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x218]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push eax
push edi
push ecx
xor ebx, ebx
push str.CPhraseSyncModule::OnDownloadComplete___s___d___d
mov ecx, esi
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
call fcn.004c6880
add esp, 0x10
cmp edi, ebx
je 0x4c1e9f
push edi
push 0x633154
mov ecx, esi
call fcn.004c6880
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
add esp, 8
mov ecx, esi
call eax
fld1
fstp dword [esi + 0xc]
mov dword [esi + 0x14], edi
mov dword [esi + 8], 1
mov ecx, dword [esp + 0x218]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 0x14]
cmp eax, 0xc8
je 0x4c1efa
cmp eax, 0x194
je 0x4c1ed5
mov edi, eax
add edi, 0x2710
call fcn.004c5d60
mov ecx, dword [esp + 0x218]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
test byte [esi + 0x10], 2
jne 0x4c1efa
xor edi, edi
call fcn.004c5d60
mov ecx, dword [esp + 0x218]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push ebx
lea eax, [esp + 0x30]
push eax
call edx
mov dword [esp + 0x220], ebx
mov edx, dword [esp + 0x2c]
mov eax, dword [edx - 0xc]
cmp eax, ebx
jle 0x4c1f44
lea ecx, [eax - 1]
cmp ecx, ebx
jl 0x4c212b
cmp ecx, eax
jg 0x4c212b
movzx eax, word [edx + ecx*2]
cmp ax, 0x5c
je 0x4c1f44
push 0x5c
lea edi, [esp + 0x30]
call fcn.0040af90
lea esi, [esp + 0x20]
call fcn.004c0770
mov byte [esp + 0x220], 1
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea eax, [esp + 0x34]
push eax
call fcn.0040aee0
mov byte [esp + 0x220], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c1f8d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push 1
lea eax, [esp + 0x20]
push eax
call edx
mov byte [esp + 0x220], 2
mov edx, dword [esp + 0x1c]
mov eax, dword [edx - 0xc]
cmp eax, ebx
jle 0x4c1fdd
lea ecx, [eax - 1]
cmp ecx, ebx
jl 0x4c212b
cmp ecx, eax
jg 0x4c212b
movzx eax, word [edx + ecx*2]
cmp ax, 0x5c
je 0x4c1fdd
push 0x5c
lea edi, [esp + 0x20]
call fcn.0040af90
push 0xa
push str.phrase.ini
lea eax, [esp + 0x24]
push eax
call fcn.0040aee0
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push 3
lea eax, [esp + 0x2c]
push eax
call edx
mov byte [esp + 0x220], 3
mov edx, dword [esp + 0x28]
mov eax, dword [edx - 0xc]
cmp eax, ebx
jle 0x4c203e
lea ecx, [eax - 1]
cmp ecx, ebx
jl 0x4c212b
cmp ecx, eax
jg 0x4c212b
movzx eax, word [edx + ecx*2]
cmp ax, 0x5c
je 0x4c203e
push 0x5c
lea edi, [esp + 0x2c]
call fcn.0040af90
mov esi, 0xa
push esi
push str.phrase.ini
lea eax, [esp + 0x30]
push eax
call fcn.0040aee0
mov ecx, dword [esp + 0x18]
cmp dword [ecx + 0x10], 1
jne 0x4c2135
cmp dword [ebp + 0x14], 0xc8
jne 0x4c2135
mov edi, dword [ebp + 0xc]
push edi
push edi
call fcn.004c62b0
add esp, 8
cmp eax, ebx
jl 0x4c20ed
lea edx, [esp + 0xfc]
push edx
call fcn.0050f180
push 0x6291fc
push str.Properties
lea eax, [esp + 0x104]
push eax
mov byte [esp + 0x22c], 4
call fcn.0050fb90
cmp eax, ebx
jne 0x4c20bb
mov ecx, dword [esp + 0x18]
push ebx
push edi
push ecx
call fcn.004c0b10
mov edx, dword [esp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push ebx
push edx
push edi
call esi
mov eax, dword [esp + 0x28]
push ebx
push eax
push edi
call esi
call fcn.004c3730
lea ecx, [esp + 0xfc]
push ecx
mov byte [esp + 0x224], 3
call fcn.0050f250
mov esi, dword [esp + 0x18]
xor edi, edi
call fcn.004c5d60
lea ecx, [esp + 0x28]
call fcn.00403870
lea ecx, [esp + 0x1c]
call fcn.00403870
lea ecx, [esp + 0x2c]
call fcn.00403870
mov ecx, dword [esp + 0x218]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x80070057
call fcn.00403650
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xec], esi
mov dword [esp + 0xf0], ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xd4], esi
mov dword [esp + 0xd8], ebx
mov byte [esp + 0x220], 6
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0xdc]
push edx
push eax
call fcn.004c0270
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4c21c1
mov edx, dword [esp + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [0x677600]
mov edx, dword [eax + 0xc]
mov ecx, 0x677600
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x220], 7
mov eax, dword [esp + 0x1c]
lea esi, [esp + 0xf4]
call fcn.004c0200
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0x1a4]
push eax
call fcn.0050f180
lea ecx, [esp + 0x134]
mov byte [esp + 0x220], 8
mov edi, dword [esp + 0x1c]
push ecx
call fcn.0050f180
lea edx, [esp + 0x16c]
mov byte [esp + 0x220], 9
mov edi, dword [esp + 0x28]
push edx
call fcn.0050f180
cmp dword [ebp + 0x14], 0xc8
mov byte [esp + 0x220], 0xa
jne 0x4c22b1
mov edi, dword [ebp + 0xc]
push edi
push edi
call fcn.004c62b0
add esp, 8
cmp eax, ebx
jl 0x4c22ae
lea eax, [esp + 0xfc]
push eax
call fcn.0050f180
push 0x6291fc
push str.Properties
lea ecx, [esp + 0x104]
push ecx
mov byte [esp + 0x22c], 0xb
call fcn.0050fb90
cmp eax, ebx
jne 0x4c2297
mov esi, dword [esp + 0x18]
push edi
push esi
call fcn.004c1350
push ebx
push edi
push esi
call fcn.004c0b10
lea edx, [esp + 0xfc]
push edx
mov byte [esp + 0x224], 0xa
call fcn.0050f250
jmp 0x4c22b1
mov dword [ebp + 0xc], ebx
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4c2305
push 0x6291fc
push str.Properties
lea ecx, [esp + 0x13c]
push ecx
call fcn.0050fb90
cmp eax, ebx
jne 0x4c2330
lea esi, [esp + 0x134]
call fcn.0050f880
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push 1
push edx
push eax
call fcn.004c0b10
mov ecx, dword [esp + 0x1c]
mov edx, esi
call fcn.0050f300
jmp 0x4c2330
cmp dword [ebp + 0xc], ebx
je 0x4c2330
mov ecx, dword [esp + 0x18]
test byte [ecx + 0x10], 2
je 0x4c2330
push 0x628b9c
push 0x6291fc
push str.Properties
lea edx, [esp + 0x140]
push edx
call fcn.0050ffa0
push str.DefaultVersion
push str.Properties
lea eax, [esp + 0x13c]
push eax
call fcn.0050fb90
mov edx, dword [0x677600]
mov dword [esp + 0x30], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x677600
call eax
add eax, 0x10
mov dword [esp + 0xbc], eax
cmp dword [ebp + 0xc], ebx
mov byte [esp + 0x220], 0xc
je 0x4c2b7e
mov edi, dword [ebp + 0xc]
lea ecx, [esp + 0xfc]
push ecx
call fcn.0050f180
mov esi, 0xa
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa0], ebx
push ebx
lea edx, [esp + 0x90]
push edx
lea eax, [esp + 0x3c]
push eax
push str.Custom
lea ecx, [esp + 0x17c]
push ecx
lea edx, [esp + 0x148]
push edx
mov byte [esp + 0x238], 0xf
call fcn.004c1bb0
add esp, 0x18
lea eax, [esp + 0x64]
push eax
push str.Custom
lea ecx, [esp + 0x104]
push ecx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x7c], ebx
call fcn.0050f980
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], esi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x220], 0x11
mov esi, dword [esp + 0x70]
cmp esi, ebx
je 0x4c24c1
cmp esi, dword [esp + 0x6c]
je 0x4c24c1
mov eax, esi
mov esi, dword [esi]
add eax, 8
lea edi, [esp + 0x14]
call fcn.0040ab90
mov edx, dword [esp + 0x14]
push edx
lea ecx, [esp + 0x90]
call fcn.004c39a0
test eax, eax
jne 0x4c246c
mov edi, dword [esp + 0x14]
push edi
lea ecx, [esp + 0x50]
call fcn.004c39a0
cmp eax, ebx
jne 0x4c24bc
mov eax, edi
lea ebx, [esp + 0x4c]
call fcn.004c37c0
xor ebx, ebx
jmp 0x4c246c
mov byte [eax + 4], bl
jmp 0x4c246c
lea ecx, [esp + 0x34]
mov dword [esp + 0x70], esi
call fcn.004c3790
mov edi, eax
cmp edi, ebx
je 0x4c250a
lea eax, [esp + 0x34]
push eax
mov eax, edi
mov esi, edi
call fcn.004c5840
mov esi, dword [esi]
push esi
lea ecx, [esp + 0x50]
mov edi, eax
call fcn.004c39a0
cmp eax, ebx
jne 0x4c2503
mov eax, esi
lea ebx, [esp + 0x4c]
call fcn.004c37c0
xor ebx, ebx
jmp 0x4c2506
mov byte [eax + 4], bl
cmp edi, ebx
jne 0x4c24d4
lea ecx, [esp + 0x4c]
call fcn.004c3790
mov edi, eax
cmp edi, ebx
je 0x4c255d
lea esp, [esp]
lea ecx, [esp + 0x4c]
push ecx
mov eax, edi
mov esi, edi
call fcn.004c5840
mov edx, dword [esp + 0x78]
mov esi, dword [esi]
push ebx
push edx
push esi
lea ecx, [esp + 0x80]
mov edi, eax
call fcn.0045f2d0
mov ecx, dword [esp + 0x78]
cmp ecx, ebx
je 0x4c2551
mov dword [ecx], eax
jmp 0x4c2555
mov dword [esp + 0x74], eax
cmp edi, ebx
mov dword [esp + 0x78], eax
jne 0x4c2520
lea edi, [esp + 0x4c]
mov byte [esp + 0x220], 0x10
call fcn.004c6cd0
mov eax, dword [esp + 0x60]
cmp eax, ebx
je 0x4c257f
push eax
call fcn.005d27e0
add esp, 4
mov esi, dword [esp + 0x18]
test byte [esi + 0x10], 1
je 0x4c25b2
lea eax, [esp + 0x74]
push eax
push str.Custom
lea ecx, [esp + 0x13c]
push ecx
call fcn.0050fc90
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x170]
push eax
call fcn.0050fe10
test byte [esi + 0x10], 2
je 0x4c25cf
lea ecx, [esp + 0x74]
push ecx
push str.Custom
lea edx, [esp + 0x104]
push edx
call fcn.0050fc90
lea ecx, [esp + 0x74]
call fcn.0045f230
lea edi, [esp + 0x8c]
call fcn.004c6cd0
mov eax, dword [esp + 0xa0]
cmp eax, ebx
je 0x4c25f8
push eax
call fcn.005d27e0
add esp, 4
lea edi, [esp + 0x34]
call fcn.004c6cd0
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0x4c2612
push eax
call fcn.005d27e0
add esp, 4
mov esi, 0xa
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb8], ebx
push fcn.004c1b00
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0x94]
push ecx
push str.Default
lea edx, [esp + 0x17c]
push edx
lea eax, [esp + 0x148]
push eax
mov byte [esp + 0x238], 0x13
call fcn.004c1bb0
add esp, 0x18
push str.DefaultVersion
push str.Properties
lea ecx, [esp + 0x104]
push ecx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x7c], ebx
call fcn.0050fb90
lea edx, [esp + 0x64]
push edx
mov dword [esp + 0x24], eax
push str.Default
lea eax, [esp + 0x104]
push eax
call fcn.0050f980
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x220], 0x14
mov esi, dword [esp + 0x70]
cmp esi, ebx
je 0x4c276f
cmp esi, dword [esp + 0x6c]
je 0x4c276f
mov eax, esi
mov esi, dword [esi]
add eax, 8
lea edi, [esp + 0x14]
call fcn.0040ab90
mov ecx, edi
push ecx
call fcn.004c1b00
add esp, 4
test eax, eax
jne 0x4c270b
mov edx, dword [esp + 0x14]
push edx
lea ecx, [esp + 0xa8]
call fcn.004c39a0
test eax, eax
jne 0x4c270b
mov edi, dword [esp + 0x14]
push edi
lea ecx, [esp + 0x50]
call fcn.004c39a0
cmp eax, ebx
jne 0x4c276a
mov eax, edi
lea ebx, [esp + 0x4c]
call fcn.004c37c0
xor ebx, ebx
jmp 0x4c270b
mov byte [eax + 4], bl
jmp 0x4c270b
lea ecx, [esp + 0x8c]
mov dword [esp + 0x70], esi
call fcn.004c3790
mov edi, eax
cmp edi, ebx
je 0x4c27be
lea eax, [esp + 0x8c]
push eax
mov eax, edi
mov esi, edi
call fcn.004c5840
mov esi, dword [esi]
push esi
lea ecx, [esp + 0x50]
mov edi, eax
call fcn.004c39a0
cmp eax, ebx
jne 0x4c27b7
mov eax, esi
lea ebx, [esp + 0x4c]
call fcn.004c37c0
xor ebx, ebx
jmp 0x4c27ba
mov byte [eax + 4], bl
cmp edi, ebx
jne 0x4c2785
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], 0xa
mov ecx, dword [esp + 0x30]
mov byte [esp + 0x220], 0x15
mov eax, dword [esp + 0x20]
cmp eax, ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x40], ebx
jbe 0x4c281c
cmp eax, 0x454
jbe 0x4c281c
lea esi, [esp + 0x64]
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], esi
jmp 0x4c2861
cmp ecx, 0x454
lea esi, [esp + 0x34]
mov dword [esp + 0x30], esi
jbe 0x4c2842
mov dword [esp + 0x24], ecx
mov ecx, esi
push ecx
push str.Default
lea edx, [esp + 0x13c]
push edx
jmp 0x4c285c
lea eax, [esp + 0x34]
push eax
push str.Default
lea ecx, [esp + 0x1ac]
mov dword [esp + 0x2c], 0x454
push ecx
call fcn.0050f980
cmp dword [esi], ebx
je 0x4c2889
mov eax, dword [esi + 4]
cmp eax, ebx
mov dword [esi + 0xc], eax
je 0x4c2889
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4c2884
push 0x80004005
call fcn.00403650
mov edx, dword [eax]
mov dword [esi + 0xc], edx
mov esi, dword [esp + 0x30]
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x4c2965
cmp eax, dword [esi + 8]
je 0x4c2965
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x4c287a
mov ecx, dword [eax]
add eax, 8
lea edi, [esp + 0x14]
mov dword [esi + 0xc], ecx
call fcn.0040ab90
mov edx, dword [esp + 0x14]
push 4
push str.__D:
push edx
call fcn.005d5260
add esp, 0xc
test eax, eax
jne 0x4c2918
lea ecx, [eax + 4]
lea esi, [esp + 0x20]
mov edx, edi
call fcn.00409f40
mov byte [esp + 0x220], 0x16
call fcn.0040ab90
mov byte [esp + 0x220], 0x15
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c2918
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x50]
call fcn.004c39a0
test eax, eax
jne 0x4c2889
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x14]
push ebx
push edx
push eax
lea ecx, [esp + 0x80]
call fcn.0045f2d0
mov ecx, dword [esp + 0x78]
cmp ecx, ebx
je 0x4c2958
mov dword [ecx], eax
mov dword [esp + 0x78], eax
jmp 0x4c2889
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
jmp 0x4c2889
lea ecx, [esp + 0x4c]
call fcn.004c3790
mov esi, eax
cmp esi, ebx
je 0x4c29e6
jmp 0x4c2980
push str.__D:
mov ebx, 4
lea eax, [esp + 0x18]
call fcn.004037a0
lea ecx, [esp + 0x4c]
push ecx
mov eax, esi
mov edi, esi
call fcn.004c5840
mov esi, eax
mov eax, dword [edi]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea edx, [esp + 0x1c]
push edx
call fcn.0040aee0
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x14]
push 0
push eax
push ecx
lea ecx, [esp + 0x80]
call fcn.0045f2d0
mov ecx, dword [esp + 0x78]
test ecx, ecx
je 0x4c29d8
mov dword [ecx], eax
jmp 0x4c29dc
mov dword [esp + 0x74], eax
test esi, esi
mov dword [esp + 0x78], eax
jne 0x4c2980
xor ebx, ebx
mov edx, dword [esp + 0x18]
test byte [edx + 0x10], 1
je 0x4c2add
lea eax, [esp + 0x74]
push eax
push str.Default
lea ecx, [esp + 0x13c]
push ecx
call fcn.0050fc90
mov ecx, dword [esp + 0x24]
lea esi, [esp + 0x134]
call fcn.00510210
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], 0xa
mov byte [esp + 0x220], 0x17
cmp dword [esp + 0x64], ebx
je 0x4c2a51
mov esi, dword [esp + 0x68]
cmp esi, ebx
je 0x4c2ab5
mov esi, dword [esi]
jmp 0x4c2a55
mov esi, dword [esp + 0x70]
cmp esi, ebx
je 0x4c2ab5
cmp esi, dword [esp + 0x6c]
je 0x4c2ab5
mov eax, esi
mov esi, dword [esi]
add eax, 8
lea edi, [esp + 0x14]
call fcn.0040ab90
mov edx, dword [esp + 0x14]
push 4
push str.__D:
push edx
call fcn.005d5260
add esp, 0xc
test eax, eax
jne 0x4c2a55
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x14]
push ebx
push eax
push ecx
lea ecx, [esp + 0x40]
call fcn.0045f2d0
mov ecx, dword [esp + 0x38]
cmp ecx, ebx
je 0x4c2aab
mov dword [ecx], eax
mov dword [esp + 0x38], eax
jmp 0x4c2a55
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
jmp 0x4c2a55
lea edx, [esp + 0x34]
push edx
push str.Default
lea eax, [esp + 0x174]
push eax
call fcn.0050fc90
lea ecx, [esp + 0x34]
mov byte [esp + 0x220], 0x15
call fcn.0045f230
mov ecx, dword [esp + 0x18]
test byte [ecx + 0x10], 2
je 0x4c2b0e
lea edx, [esp + 0x74]
push edx
push str.Default
lea eax, [esp + 0x104]
push eax
call fcn.0050fc90
mov ecx, dword [esp + 0x24]
lea esi, [esp + 0xfc]
call fcn.00510210
lea ecx, [esp + 0x74]
call fcn.0045f230
lea edi, [esp + 0x4c]
call fcn.004c6cd0
mov eax, dword [esp + 0x60]
cmp eax, ebx
je 0x4c2b31
push eax
call fcn.005d27e0
add esp, 4
lea edi, [esp + 0xa4]
call fcn.004c6cd0
mov eax, dword [esp + 0xb8]
cmp eax, ebx
je 0x4c2b51
push eax
call fcn.005d27e0
add esp, 4
lea edi, [esp + 0x8c]
call fcn.004c6cd0
mov eax, dword [esp + 0xa0]
cmp eax, ebx
je 0x4c2b71
push eax
call fcn.005d27e0
add esp, 4
lea ecx, [esp + 0xfc]
push ecx
jmp 0x4c306f
mov edx, dword [esp + 0x18]
test byte [edx + 0x10], 2
mov esi, edx
je 0x4c2c1d
mov ecx, dword [esi + 4]
push 0x629260
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.004c5f50
lea edi, [esp + 0xbc]
mov byte [esp + 0x220], 0x18
call fcn.0040ab90
lea ecx, [esp + 0x20]
mov byte [esp + 0x220], 0xc
call fcn.00403870
mov edi, dword [esp + 0xbc]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edx, [esp + 0x1dc]
push edx
mov dword [ebp + 0xc], edi
call fcn.0050f180
push 0x628b9c
push 0x6291fc
push str.Properties
lea eax, [esp + 0x1e8]
push eax
mov byte [esp + 0x230], 0x19
call fcn.0050ffa0
lea ecx, [esp + 0x1dc]
push ecx
mov byte [esp + 0x224], 0xc
call fcn.0050f250
mov edi, dword [ebp + 0xc]
lea edx, [esp + 0xfc]
push edx
call fcn.0050f180
mov byte [esp + 0x220], 0x1a
test byte [esi + 0x10], 1
je 0x4c2c9f
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], 0xa
lea eax, [esp + 0xa4]
push eax
push str.Custom
lea ecx, [esp + 0x174]
push ecx
mov byte [esp + 0x22c], 0x1b
call fcn.0050fc90
lea ecx, [esp + 0xa4]
mov byte [esp + 0x220], 0x1a
call fcn.0045f230
test byte [esi + 0x10], 2
je 0x4c2cde
lea edx, [esp + 0x34]
push edx
push str.Custom
lea eax, [esp + 0x13c]
push eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x4c], ebx
call fcn.0050f980
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x100]
push edx
call fcn.0050fe10
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], 0xa
mov dword [esp + 0xa0], ebx
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x224], 0x1c
push str.Default
lea ecx, [esp + 0x13c]
push ecx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x4c], ebx
call fcn.0050f980
mov esi, dword [esp + 0x40]
cmp esi, ebx
je 0x4c2d94
cmp esi, dword [esp + 0x3c]
je 0x4c2d94
mov eax, esi
mov esi, dword [esi]
add eax, 8
lea edi, [esp + 0x14]
call fcn.0040ab90
mov edx, edi
push edx
call fcn.004c1b00
add esp, 4
test eax, eax
jne 0x4c2d3f
mov edi, dword [esp + 0x14]
push edi
lea ecx, [esp + 0x90]
call fcn.004c39a0
cmp eax, ebx
jne 0x4c2d8f
mov eax, edi
lea ebx, [esp + 0x8c]
call fcn.004c37c0
xor ebx, ebx
jmp 0x4c2d3f
mov byte [eax + 4], bl
jmp 0x4c2d3f
mov dword [esp + 0x40], esi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], 0xa
mov eax, dword [esp + 0x30]
cmp eax, 0x454
mov byte [esp + 0x220], 0x1d
mov dword [esp + 0x74], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x80], ebx
jbe 0x4c2de8
lea edi, [esp + 0x34]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], edi
jmp 0x4c2e0d
lea edi, [esp + 0x74]
mov eax, edi
push eax
push str.Default
lea ecx, [esp + 0x1ac]
push ecx
mov dword [esp + 0x30], 0x454
mov dword [esp + 0x2c], edi
call fcn.0050f980
cmp dword [edi], ebx
je 0x4c2e35
mov eax, dword [edi + 4]
cmp eax, ebx
mov dword [edi + 0xc], eax
je 0x4c2e35
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4c2e30
push 0x80004005
call fcn.00403650
mov edx, dword [eax]
mov dword [edi + 0xc], edx
mov eax, dword [edi + 0xc]
cmp eax, ebx
je 0x4c2f6a
cmp eax, dword [edi + 8]
je 0x4c2f6a
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x4c287a
mov ecx, dword [eax]
mov dword [edi + 0xc], ecx
add eax, 8
lea edi, [esp + 0x14]
call fcn.0040ab90
mov edx, dword [esp + 0x14]
push 4
push str.__D:
push edx
call fcn.005d5260
add esp, 0xc
test eax, eax
jne 0x4c2eca
lea ecx, [eax + 4]
lea esi, [esp + 0xc0]
mov edx, edi
call fcn.00409f40
mov byte [esp + 0x220], 0x1e
call fcn.0040ab90
mov byte [esp + 0x220], 0x1d
mov eax, dword [esp + 0xc0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c2eca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x90]
call fcn.004c39a0
test eax, eax
je 0x4c2f2e
lea edx, [esp + 0x64]
push str.__D:
push edx
lea ecx, [esp + 0x1c]
call fcn.00453450
add esp, 8
lea edi, [esp + 0x14]
mov byte [esp + 0x220], 0x1f
call fcn.0040ab90
mov byte [esp + 0x220], 0x1d
mov eax, dword [esp + 0x64]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c2f2e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x14]
push ebx
push ecx
push edx
lea ecx, [esp + 0x58]
call fcn.0045f2d0
mov ecx, dword [esp + 0x50]
cmp ecx, ebx
je 0x4c2f59
mov edi, dword [esp + 0x20]
mov dword [ecx], eax
mov dword [esp + 0x50], eax
jmp 0x4c2e35
mov edi, dword [esp + 0x20]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
jmp 0x4c2e35
mov eax, dword [esp + 0x18]
test byte [eax + 0x10], 1
je 0x4c300d
cmp dword [esp + 0x30], 0x454
jae 0x4c2fa9
lea ecx, [esp + 0x4c]
push ecx
push str.Default
lea edx, [esp + 0x13c]
push edx
call fcn.0050fc90
mov ecx, dword [esp + 0x24]
lea esi, [esp + 0x134]
call fcn.00510210
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], 0xa
lea eax, [esp + 0xa4]
push eax
push str.Default
lea ecx, [esp + 0x174]
push ecx
mov byte [esp + 0x22c], 0x20
call fcn.0050fc90
lea ecx, [esp + 0xa4]
mov byte [esp + 0x220], 0x1d
call fcn.0045f230
mov edx, dword [esp + 0x18]
test byte [edx + 0x10], 2
je 0x4c303e
lea eax, [esp + 0x4c]
push eax
push str.Default
lea ecx, [esp + 0x104]
push ecx
call fcn.0050fc90
mov ecx, dword [esp + 0x24]
lea esi, [esp + 0xfc]
call fcn.00510210
lea ecx, [esp + 0x4c]
call fcn.0045f230
lea edi, [esp + 0x8c]
call fcn.004c6cd0
mov eax, dword [esp + 0xa0]
cmp eax, ebx
je 0x4c3067
push eax
call fcn.005d27e0
add esp, 4
lea edx, [esp + 0xfc]
push edx
mov byte [esp + 0x224], 0xc
call fcn.0050f250
lea esi, [esp + 0x134]
call fcn.0050f880
lea esi, [esp + 0x16c]
call fcn.0050f880
lea esi, [esp + 0x1a4]
call fcn.0050f880
mov edi, dword [esp + 0x18]
test byte [edi + 0x10], 1
je 0x4c30d7
mov eax, dword [esp + 0xf8]
mov ecx, dword [esp + 0xf4]
push eax
mov eax, dword [esp + 0x20]
push ecx
lea esi, [esp + 0x6c]
call fcn.004c0200
mov ecx, eax
call fcn.004c0060
test al, al
je 0x4c30d7
call fcn.004c3730
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0xc4]
push edx
push eax
call fcn.004c0270
lea ecx, [esp + 0xdc]
push ecx
lea edx, [esp + 0xc8]
push edx
call fcn.004c00a0
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xe8]
add esp, 8
test byte [edi + 0x10], 2
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], ecx
je 0x4c31b4
mov esi, edi
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
mov edx, dword [0x677600]
mov edi, eax
mov eax, dword [edx + 0xc]
mov ecx, 0x677600
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
push str.phrase.ini
push edi
push str.__u__s
lea edi, [esp + 0x2c]
mov byte [esp + 0x22c], 0x21
call fcn.0040ac80
mov edi, dword [ebp + 0xc]
add esp, 0xc
push edi
push edi
call fcn.004c6090
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esp, 8
push edi
mov edi, dword [esp + 0x24]
push edi
push esi
call eax
fld dword [0x640758]
lea eax, [edi - 0x10]
fstp dword [esi + 0xc]
mov byte [esp + 0x220], 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c31bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4c31bf
mov esi, dword [esp + 0x18]
xor edi, edi
call fcn.004c5d60
mov byte [esp + 0x220], 0xa
mov eax, dword [esp + 0xbc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c31ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x16c]
push ecx
mov byte [esp + 0x224], 9
call fcn.0050f250
lea edx, [esp + 0x134]
push edx
mov byte [esp + 0x224], 8
call fcn.0050f250
lea eax, [esp + 0x1a4]
push eax
mov byte [esp + 0x224], 7
call fcn.0050f250
mov byte [esp + 0x220], 6
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c3251
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea edi, [esp + 0xc4]
call fcn.004c6cd0
mov eax, dword [esp + 0xd8]
cmp eax, ebx
je 0x4c3271
push eax
call fcn.005d27e0
add esp, 4
lea edi, [esp + 0xdc]
call fcn.004c6cd0
mov eax, dword [esp + 0xf0]
cmp eax, ebx
je 0x4c3291
push eax
call fcn.005d27e0
add esp, 4
mov byte [esp + 0x220], 2
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c32b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x220], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c32e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x220], 0xffffffff
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c330b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x218]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10