Function at 0x40d160
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e161d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x3a0
mov eax, dword [0x52f068]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x184], esi
mov eax, dword [esi]
mov dword [ebp - 0x18c], eax
cmp byte [eax], 0
je 0x40df18
lea edi, [eax + 0x100]
lea eax, [edi + 0x18]
mov ecx, eax
call fcn.00405520
test al, al
jne 0x40df11
lea eax, [edi + 0x30]
mov ecx, eax
call fcn.00405520
test al, al
jne 0x40df11
lea eax, [edi + 0x60]
mov ecx, eax
mov dword [ebp - 0x194], eax
call fcn.00405520
test al, al
jne 0x40df11
lea eax, [edi + 0x48]
mov ecx, eax
call fcn.00405520
test al, al
jne 0x40df11
lea ecx, [edi + 0x98]
call fcn.00405520
test al, al
jne 0x40df11
lea ecx, [edi + 0x80]
call fcn.00405520
test al, al
jne 0x40df11
mov ecx, edi
call fcn.00405520
test al, al
jne 0x40df11
mov eax, dword [edi + 0x78]
or eax, dword [edi + 0x7c]
je 0x40df11
mov eax, dword [ebp - 0x18c]
cmp dword [eax + 0xc8], 0
jne 0x40d2c0
push 0xc
call fcn.004b906a
mov ecx, eax
add esp, 4
mov dword [ebp - 0x178], ecx
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movq qword [ecx], xmm0
mov dword [ecx + 8], 0
mov dword [ecx], vtable.RC::ISimpleDownloadEvent.0
mov byte [ebp - 4], 1
mov dword [ecx], vtable.RC::RCInstallDownloadEvent.0
mov byte [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi]
mov dword [eax + 0xc8], ecx
mov eax, dword [esi]
mov ecx, dword [eax + 0xc4]
mov eax, dword [eax + 0xc8]
mov dword [eax + 8], ecx
mov eax, dword [esi]
mov eax, dword [eax + 0xc8]
cmp byte [eax + 4], 0
jne 0x40df18
lea eax, [ebp - 0xe4]
mov ecx, esi
push eax
call fcn.0040e0c0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0xe4]
call fcn.00405520
test al, al
mov eax, dword [esi]
jne 0x40d319
mov ecx, dword [eax + 0xc8]
test ecx, ecx
je 0x40d30d
mov eax, dword [ecx]
push 0
push 0
push 1
call dword [eax + 0xc]
mov byte [ebp - 0x171], 1
jmp 0x40def7
lea ecx, [eax + 0xb0]
add eax, 0xe4
mov dword [ebp - 0x17c], ecx
lea ecx, [ebp - 0x3c]
push eax
call fcn.00405530
mov byte [ebp - 4], 3
lea eax, [ebp - 0x3c]
push eax
call fcn.0046c2d0
add esp, 4
test al, al
jne 0x40d34f
lea ecx, [ebp - 0x3c]
call fcn.0046c8a0
lea eax, [ebp - 0x3c]
push eax
call fcn.0046c2d0
add esp, 4
test al, al
jne 0x40d36a
mov byte [ebp - 0x171], al
jmp 0x40deeb
lea eax, [edi + 0x30]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x3ac]
push eax
call fcn.0046cfd0
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3c]
push eax
call fcn.00403ca0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3ac]
call fcn.004027f0
lea eax, [ebp - 0x3c]
push eax
call fcn.0046c1c0
add esp, 4
test al, al
je 0x40d3b5
lea ecx, [ebp - 0x3c]
call fcn.0048fb80
lea eax, [ebp - 0x3c]
push eax
call fcn.0046c1c0
add esp, 4
test al, al
je 0x40d3cd
lea ecx, [ebp - 0x3c]
call fcn.0048fd90
lea ecx, [ebp - 0x170]
call fcn.0046ba60
mov byte [ebp - 4], 5
lea eax, [edi + 0x18]
push eax
lea ecx, [ebp - 0x170]
call fcn.00403c70
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x158]
call fcn.00403c70
mov byte [ebp - 0x110], 1
lea ecx, [ebp - 0x100]
mov eax, dword [edi + 0x78]
mov dword [ebp - 0x108], eax
mov eax, dword [edi + 0x7c]
mov dword [ebp - 0x104], eax
lea eax, [edi + 0x60]
push eax
call fcn.00403c70
mov eax, dword [esi]
lea ecx, [ebp - 0x24]
add eax, 0xa0
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x24], xmm0
call fcn.0040e650
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x40d461
mov ecx, eax
call fcn.0046bf90
mov ecx, dword [esi]
add ecx, 0xa0
call fcn.0040e550
lea ecx, [ebp - 0x24]
call fcn.0040e550
push 0x5080fc
lea ecx, [ebp - 0x244]
call fcn.00402800
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x22c]
push str.update
call fcn.00402800
mov byte [ebp - 4], 8
lea eax, [ebp - 0x3c]
mov ecx, dword [ebp - 0x17c]
push eax
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.0046feb0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x22c]
call fcn.004027f0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x244]
call fcn.004027f0
push 0x507f28
lea ecx, [ebp - 0x1cc]
call fcn.00402800
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x364]
push str.download_status
call fcn.00402800
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2bc]
push str.update
call fcn.00402800
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x1cc]
mov ecx, dword [ebp - 0x17c]
push eax
lea eax, [ebp - 0x364]
push eax
lea eax, [ebp - 0x2bc]
push eax
call fcn.0046feb0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2bc]
call fcn.004027f0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x364]
call fcn.004027f0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1cc]
call fcn.004027f0
push 0x506d8c
lea ecx, [ebp - 0x214]
call fcn.00402800
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x1fc]
push str.temp_file_md5
call fcn.00402800
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x1e4]
push str.update
call fcn.00402800
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x214]
mov ecx, dword [ebp - 0x17c]
push eax
lea eax, [ebp - 0x1fc]
push eax
lea eax, [ebp - 0x1e4]
push eax
call fcn.0046feb0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x1e4]
call fcn.004027f0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x1fc]
call fcn.004027f0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x214]
call fcn.004027f0
mov ecx, dword [ebp - 0x17c]
call fcn.00470330
push 0x507f48
lea ecx, [edi + 0x48]
call fcn.00409ca0
test al, al
jne 0x40d607
push 0x507fbc
lea ecx, [edi + 0x48]
call fcn.00409ca0
test al, al
je 0x40dbbb
lea ecx, [edi + 0xc8]
call fcn.00405520
test al, al
jne 0x40dbbb
mov eax, dword [esi]
lea ecx, [ebp - 0x1c]
add eax, 0xa8
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x1c], xmm0
call fcn.0040e650
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d659
mov ecx, eax
call fcn.00416520
mov ecx, dword [esi]
add ecx, 0xa8
call fcn.0040e550
lea ecx, [ebp - 0x1c]
call fcn.0040e550
push 4
call fcn.004b906a
mov edi, eax
add esp, 4
mov dword [ebp - 0x178], edi
mov byte [ebp - 4], 0x10
push 0x200
mov dword [edi], 0
call fcn.004b906a
mov esi, eax
add esp, 4
mov dword [ebp - 0x190], esi
mov byte [ebp - 4], 0x11
push 0x200
push 0
push esi
call fcn.004bbb00
add esp, 0xc
mov dword [esi], 0
mov dword [esi + 4], 0
mov byte [ebp - 4], 0x12
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [ebp - 4], 0x13
lea ecx, [esi + 0x10]
call fcn.0047f340
mov byte [ebp - 4], 0x14
lea ecx, [esi + 0xe0]
call fcn.0040aa50
mov byte [ebp - 4], 0x15
lea ecx, [esi + 0x1cc]
call fcn.00402850
mov byte [ebp - 4], 0x16
lea ecx, [esi + 0x1e4]
call fcn.00402850
mov byte [ebp - 4], 0x10
mov dword [edi], esi
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x19c]
push dword [ebp - 0x194]
mov dword [ebp - 0x19c], 0
push edi
mov dword [ebp - 0x198], 0
call fcn.0040e9d0
mov byte [ebp - 4], 0x18
mov edx, dword [ebp - 0x19c]
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x198], esi
mov dword [ebp - 0x188], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xf
or edi, 0xffffffff
test esi, esi
je 0x40d790
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x40d78a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x40d784
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edx, dword [ebp - 0x188]
mov eax, dword [ebp - 0x180]
mov esi, dword [ebp - 0x184]
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x1a8], 0
mov ecx, dword [esi]
add ecx, 0xa8
mov dword [ebp - 0x190], ecx
test eax, eax
je 0x40d7c0
lock inc dword [eax + 4]
mov dword [ebp - 0x1ac], edx
mov dword [ebp - 0x1a8], eax
mov byte [ebp - 4], 0x19
mov eax, dword [ecx]
mov esi, dword [ebp - 0x180]
mov dword [ecx], edx
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x1a8], ecx
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x178], ecx
mov dword [eax + 4], esi
mov byte [ebp - 4], 0xf
mov esi, dword [ebp - 0x184]
test ecx, ecx
je 0x40d82d
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x40d82d
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x178]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x40d827
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x188]
mov eax, dword [esi]
mov ecx, dword [eax + 0xc4]
mov eax, dword [edx]
mov dword [eax + 0x1c8], ecx
mov eax, dword [edx]
mov eax, dword [eax + 8]
test eax, eax
je 0x40d849
mov dword [eax + 8], ecx
mov eax, dword [esi]
lea ecx, [eax + 0x204]
mov dword [ebp - 0x178], ecx
lea ecx, [eax + 0x1ec]
mov eax, dword [edx]
add eax, 0x1cc
mov dword [ebp - 0x184], eax
call fcn.00402870
cmp dword [ebp - 0x184], eax
je 0x40d89b
call fcn.00402870
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x40d886
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, dword [ebp - 0x184]
call fcn.004028e0
mov edx, dword [ebp - 0x188]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x178]
add eax, 0x1e4
mov dword [ebp - 0x184], eax
call fcn.00402870
cmp dword [ebp - 0x184], eax
je 0x40d8df
call fcn.00402870
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x40d8ca
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, dword [ebp - 0x184]
call fcn.004028e0
mov edx, dword [ebp - 0x188]
mov eax, dword [ebp - 0x18c]
lea ecx, [ebp - 0x3c]
add eax, 0x100
push dword [eax + 0xe4]
push dword [eax + 0xe0]
push ecx
push eax
mov ecx, edx
call fcn.00416070
mov ecx, dword [esi]
add ecx, 0xa8
mov byte [ebp - 0x171], al
call fcn.0040e550
lea ecx, [ebp - 0x1c]
call fcn.0040e550
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x40d946
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x40d946
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x18]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x40d946
mov eax, dword [ecx]
call dword [eax + 4]
mov al, byte [ebp - 0x171]
test al, al
je 0x40d96a
lea eax, [ebp - 0x3c]
push eax
call fcn.0046c1c0
add esp, 4
test al, al
jne 0x40dd46
mov byte [ebp - 0x171], al
lea ecx, [ebp - 0x9c]
call fcn.00402850
mov byte [ebp - 4], 0x23
lea eax, [ebp - 0x3c]
push str..tmp
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.00403d50
add esp, 0xc
mov byte [ebp - 4], 0x24
lea eax, [ebp - 0x84]
push eax
call fcn.0046c1c0
add esp, 4
test al, al
je 0x40da18
xorps xmm0, xmm0
lea ecx, [ebp - 0x6c]
movups xmmword [ebp - 0x6c], xmm0
movq qword [ebp - 0x5c], xmm0
call fcn.0047cb60
mov byte [ebp - 4], 0x25
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x6c]
call fcn.0047d430
lea eax, [ebp - 0x394]
push eax
lea ecx, [ebp - 0x6c]
call fcn.0047cd10
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x9c]
push eax
call fcn.00403ca0
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x394]
call fcn.004027f0
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x60]
call fcn.0040e690
mov byte [ebp - 4], 0x24
mov dword [ebp - 0x6c], vtable.RC::RCFileHash.0
mov byte [ebp - 0x64], 1
push str.temp_file_md5
lea ecx, [ebp - 0x274]
call fcn.00402800
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x25c]
push str.update
call fcn.00402800
mov byte [ebp - 4], 0x2b
lea eax, [ebp - 0x9c]
mov ecx, dword [ebp - 0x17c]
push eax
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x25c]
push eax
call fcn.0046feb0
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x25c]
call fcn.004027f0
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x274]
call fcn.004027f0
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x84]
call fcn.004027f0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x9c]
call fcn.004027f0
cmp byte [ebp - 0x171], 0
je 0x40de0a
push 0x507f48
lea ecx, [ebp - 0x334]
call fcn.00402800
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0x2a4]
push str.download_status
call fcn.00402800
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x28c]
push str.update
call fcn.00402800
mov byte [ebp - 4], 0x2e
lea eax, [ebp - 0x334]
mov ecx, dword [ebp - 0x17c]
push eax
lea eax, [ebp - 0x2a4]
push eax
lea eax, [ebp - 0x28c]
push eax
call fcn.0046feb0
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x28c]
call fcn.004027f0
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0x2a4]
call fcn.004027f0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x334]
call fcn.004027f0
push 0x506d8c
lea ecx, [ebp - 0x304]
call fcn.00402800
mov byte [ebp - 4], 0x2f
lea ecx, [ebp - 0x2ec]
push str.temp_file_md5
call fcn.00402800
mov byte [ebp - 4], 0x30
lea ecx, [ebp - 0x2d4]
push str.update
call fcn.00402800
mov byte [ebp - 4], 0x31
lea eax, [ebp - 0x304]
mov ecx, dword [ebp - 0x17c]
push eax
lea eax, [ebp - 0x2ec]
push eax
lea eax, [ebp - 0x2d4]
push eax
call fcn.0046feb0
mov byte [ebp - 4], 0x30
lea ecx, [ebp - 0x2d4]
call fcn.004027f0
mov byte [ebp - 4], 0x2f
lea ecx, [ebp - 0x2ec]
call fcn.004027f0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x304]
jmp 0x40de8e
push 4
call fcn.004b906a
mov dword [ebp - 0x178], eax
mov byte [ebp - 4], 0x1a
mov ecx, eax
call fcn.00403800
call fcn.0046bb00
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1a4]
push dword [ebp - 0x194]
mov dword [ebp - 0x1a4], 0
push eax
mov dword [ebp - 0x1a0], 0
call fcn.0040ea70
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x1a4]
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x1a0], edx
mov dword [ebp - 0x18c], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x178], edx
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 6
or ecx, 0xffffffff
test edx, edx
je 0x40dc78
mov eax, ecx
lock xadd dword [edx + 4], eax
jne 0x40dc72
mov eax, dword [edx]
mov ecx, edx
call dword [eax]
mov edx, dword [ebp - 0x178]
or ecx, 0xffffffff
mov eax, ecx
lock xadd dword [edx + 8], eax
jne 0x40dc72
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 4]
or ecx, 0xffffffff
mov eax, dword [ebp - 0x180]
mov edx, dword [esi]
add edx, 0xa0
mov dword [ebp - 0x1b4], 0
mov dword [ebp - 0x178], edx
mov dword [ebp - 0x1b0], 0
test eax, eax
je 0x40dca2
lock inc dword [eax + 4]
mov esi, dword [ebp - 0x18c]
mov dword [ebp - 0x1b4], esi
mov dword [ebp - 0x1b0], eax
mov byte [ebp - 4], 0x1c
mov eax, dword [edx]
mov dword [edx], esi
mov edx, dword [edx + 4]
mov esi, dword [ebp - 0x180]
mov dword [ebp - 0x1b0], edx
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x190], edx
mov dword [eax + 4], esi
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x184]
test edx, edx
je 0x40dd12
mov eax, ecx
lock xadd dword [edx + 4], eax
jne 0x40dd12
mov eax, dword [edx]
mov ecx, edx
call dword [eax]
mov ecx, dword [ebp - 0x190]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x40dd12
mov eax, dword [ecx]
call dword [eax + 4]
push dword [edi + 0xe4]
mov eax, dword [esi]
push dword [edi + 0xe0]
mov ecx, dword [ebp - 0x18c]
push dword [eax + 0xc8]
lea eax, [ebp - 0x170]
push eax
call fcn.0046bc10
mov byte [ebp - 0x171], al
or edi, 0xffffffff
jmp 0x40d94c
xorps xmm0, xmm0
lea ecx, [ebp - 0x54]
movups xmmword [ebp - 0x54], xmm0
movq qword [ebp - 0x44], xmm0
call fcn.0047cb60
mov byte [ebp - 4], 0x1d
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x54]
call fcn.0047d430
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0x54]
call fcn.0047cd10
mov byte [ebp - 4], 0x1e
lea eax, [ebp - 0xcc]
push dword [ebp - 0x194]
push eax
call fcn.0046a660
add esp, 8
test al, al
jne 0x40dddb
lea ecx, [ebp - 0x3c]
call fcn.0048fb80
push str..tmp
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.00403d50
add esp, 0xc
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0xb4]
call fcn.0048fb80
mov byte [ebp - 0x171], 0
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0xb4]
call fcn.004027f0
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0xcc]
call fcn.004027f0
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x48]
call fcn.0040e690
mov byte [ebp - 4], 6
mov dword [ebp - 0x54], vtable.RC::RCFileHash.0
mov byte [ebp - 0x4c], 1
jmp 0x40da9c
push 0x507fbc
lea ecx, [ebp - 0x34c]
call fcn.00402800
mov byte [ebp - 4], 0x32
lea ecx, [ebp - 0x37c]
push str.download_status
call fcn.00402800
mov byte [ebp - 4], 0x33
lea ecx, [ebp - 0x31c]
push str.update
call fcn.00402800
mov byte [ebp - 4], 0x34
lea eax, [ebp - 0x34c]
mov ecx, dword [ebp - 0x17c]
push eax
lea eax, [ebp - 0x37c]
push eax
lea eax, [ebp - 0x31c]
push eax
call fcn.0046feb0
mov byte [ebp - 4], 0x33
lea ecx, [ebp - 0x31c]
call fcn.004027f0
mov byte [ebp - 4], 0x32
lea ecx, [ebp - 0x37c]
call fcn.004027f0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x34c]
call fcn.004027f0
mov ecx, dword [ebp - 0x17c]
call fcn.00470330
mov ecx, dword [esi]
add ecx, 0xa0
call fcn.0040e550
lea ecx, [ebp - 0x24]
call fcn.0040e550
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x40dedc
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x40dedc
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x40dedc
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x170]
call fcn.004037d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c]
call fcn.004027f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe4]
call fcn.004027f0
mov al, byte [ebp - 0x171]
jmp 0x40df1a
mov ecx, esi
call fcn.0040df40
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b9059
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret