Function at 0x40d720
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 0x4e6abd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x3a0
mov eax, dword [0x538074]
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 0x40e4d0
lea edi, [eax + 0x100]
lea eax, [edi + 0x18]
mov ecx, eax
call fcn.00402f40
test al, al
jne 0x40e4c9
lea eax, [edi + 0x30]
mov ecx, eax
call fcn.00402f40
test al, al
jne 0x40e4c9
lea eax, [edi + 0x60]
mov ecx, eax
mov dword [ebp - 0x194], eax
call fcn.00402f40
test al, al
jne 0x40e4c9
lea eax, [edi + 0x48]
mov ecx, eax
call fcn.00402f40
test al, al
jne 0x40e4c9
lea ecx, [edi + 0x98]
call fcn.00402f40
test al, al
jne 0x40e4c9
lea ecx, [edi + 0x80]
call fcn.00402f40
test al, al
jne 0x40e4c9
mov ecx, edi
call fcn.00402f40
test al, al
jne 0x40e4c9
mov eax, dword [edi + 0x78]
or eax, dword [edi + 0x7c]
je 0x40e4c9
mov eax, dword [ebp - 0x18c]
cmp dword [eax + 0xc8], 0
jne 0x40d880
push 0xc
call fcn.004be511
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 0x40e4d0
lea eax, [ebp - 0xe4]
mov ecx, esi
push eax
call fcn.0040e670
mov dword [ebp - 4], 2
lea ecx, [ebp - 0xe4]
call fcn.00402f40
test al, al
mov eax, dword [esi]
jne 0x40d8d9
mov ecx, dword [eax + 0xc8]
test ecx, ecx
je 0x40d8cd
mov eax, dword [ecx]
push 0
push 0
push 1
call dword [eax + 0xc]
mov byte [ebp - 0x171], 1
jmp 0x40e4af
lea ecx, [eax + 0xb0]
add eax, 0xe4
mov dword [ebp - 0x17c], ecx
lea ecx, [ebp - 0x3c]
push eax
call fcn.00403080
mov byte [ebp - 4], 3
lea eax, [ebp - 0x3c]
push eax
call fcn.0047bdc0
add esp, 4
test al, al
jne 0x40d90f
lea ecx, [ebp - 0x3c]
call fcn.0047c390
lea eax, [ebp - 0x3c]
push eax
call fcn.0047bdc0
add esp, 4
test al, al
jne 0x40d92a
mov byte [ebp - 0x171], al
jmp 0x40e4a3
lea eax, [edi + 0x30]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x3ac]
push eax
call fcn.0047cac0
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3c]
push eax
call fcn.00404670
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3ac]
call fcn.00402fc0
lea eax, [ebp - 0x3c]
push eax
call fcn.0047bcb0
add esp, 4
test al, al
je 0x40d975
lea ecx, [ebp - 0x3c]
call fcn.0049a060
lea eax, [ebp - 0x3c]
push eax
call fcn.0047bcb0
add esp, 4
test al, al
je 0x40d98d
lea ecx, [ebp - 0x3c]
call fcn.0049a270
lea ecx, [ebp - 0x170]
call fcn.0047b550
mov byte [ebp - 4], 5
lea eax, [edi + 0x18]
push eax
lea ecx, [ebp - 0x170]
call fcn.00402f90
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x158]
call fcn.00402f90
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.00402f90
mov eax, dword [esi]
lea ecx, [ebp - 0x24]
add eax, 0xa0
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x24], xmm0
call fcn.0040ec00
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x40da21
mov ecx, eax
call fcn.0047ba80
mov ecx, dword [esi]
add ecx, 0xa0
call fcn.0040eb00
lea ecx, [ebp - 0x24]
call fcn.0040eb00
push 0x50dc34
lea ecx, [ebp - 0x244]
call fcn.00403010
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x22c]
push str.update
call fcn.00403010
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.00478ae0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x22c]
call fcn.00402fc0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x244]
call fcn.00402fc0
push 0x50da60
lea ecx, [ebp - 0x1cc]
call fcn.00403010
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x364]
push str.download_status
call fcn.00403010
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2bc]
push str.update
call fcn.00403010
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.00478ae0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2bc]
call fcn.00402fc0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x364]
call fcn.00402fc0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1cc]
call fcn.00402fc0
push 0x50c6f4
lea ecx, [ebp - 0x214]
call fcn.00403010
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x1fc]
push str.temp_file_md5
call fcn.00403010
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x1e4]
push str.update
call fcn.00403010
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.00478ae0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x1e4]
call fcn.00402fc0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x1fc]
call fcn.00402fc0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x214]
call fcn.00402fc0
mov ecx, dword [ebp - 0x17c]
call fcn.00478f60
push 0x50da80
lea ecx, [edi + 0x48]
call fcn.0040a270
test al, al
jne 0x40dbc7
push 0x50daf4
lea ecx, [edi + 0x48]
call fcn.0040a270
test al, al
je 0x40e179
lea ecx, [edi + 0xc8]
call fcn.00402f40
test al, al
jne 0x40e179
mov eax, dword [esi]
lea ecx, [ebp - 0x1c]
add eax, 0xa8
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x1c], xmm0
call fcn.0040ec00
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40dc19
mov ecx, eax
call fcn.00416c80
mov ecx, dword [esi]
add ecx, 0xa8
call fcn.0040eb00
lea ecx, [ebp - 0x1c]
call fcn.0040eb00
push 4
call fcn.004be511
mov edi, eax
add esp, 4
mov dword [ebp - 0x178], edi
mov byte [ebp - 4], 0x10
push 0x200
mov dword [edi], 0
call fcn.004be511
mov esi, eax
add esp, 4
mov dword [ebp - 0x190], esi
mov byte [ebp - 4], 0x11
push 0x200
push 0
push esi
call fcn.004c0fa0
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.00489820
mov byte [ebp - 4], 0x14
lea ecx, [esi + 0xe0]
call fcn.0040b020
mov byte [ebp - 4], 0x15
lea ecx, [esi + 0x1cc]
call fcn.00403060
mov byte [ebp - 4], 0x16
lea ecx, [esi + 0x1e4]
call fcn.00403060
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.0040ef90
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 0x40dd50
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x40dd4a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x40dd44
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 0x40dd80
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 0x40dded
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x40dded
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x178]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x40dde7
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 0x40de09
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.00403170
cmp dword [ebp - 0x184], eax
je 0x40de5b
call fcn.00403170
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x40de46
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, dword [ebp - 0x184]
call fcn.00403270
mov edx, dword [ebp - 0x188]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x178]
add eax, 0x1e4
mov dword [ebp - 0x184], eax
call fcn.00403170
cmp dword [ebp - 0x184], eax
je 0x40de9f
call fcn.00403170
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x40de8a
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, dword [ebp - 0x184]
call fcn.00403270
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.004167d0
mov ecx, dword [esi]
add ecx, 0xa8
mov byte [ebp - 0x171], al
call fcn.0040eb00
lea ecx, [ebp - 0x1c]
call fcn.0040eb00
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x40df06
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x40df06
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x18]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x40df06
mov eax, dword [ecx]
call dword [eax + 4]
mov al, byte [ebp - 0x171]
test al, al
je 0x40df2a
lea eax, [ebp - 0x3c]
push eax
call fcn.0047bcb0
add esp, 4
test al, al
jne 0x40e304
mov byte [ebp - 0x171], al
lea ecx, [ebp - 0x9c]
call fcn.00403060
mov byte [ebp - 4], 0x23
lea edx, [ebp - 0x3c]
push str..tmp
lea ecx, [ebp - 0x84]
call fcn.00404720
add esp, 4
mov byte [ebp - 4], 0x24
lea eax, [ebp - 0x84]
push eax
call fcn.0047bcb0
add esp, 4
test al, al
je 0x40dfd6
xorps xmm0, xmm0
lea ecx, [ebp - 0x6c]
movups xmmword [ebp - 0x6c], xmm0
movq qword [ebp - 0x5c], xmm0
call fcn.00487030
mov byte [ebp - 4], 0x25
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00487900
lea eax, [ebp - 0x394]
push eax
lea ecx, [ebp - 0x6c]
call fcn.004871e0
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x9c]
push eax
call fcn.00404670
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x394]
call fcn.00402fc0
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x60]
call fcn.0040ec40
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.00403010
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x25c]
push str.update
call fcn.00403010
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.00478ae0
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x25c]
call fcn.00402fc0
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x274]
call fcn.00402fc0
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x84]
call fcn.00402fc0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x9c]
call fcn.00402fc0
cmp byte [ebp - 0x171], 0
je 0x40e3c2
push 0x50da80
lea ecx, [ebp - 0x334]
call fcn.00403010
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0x2a4]
push str.download_status
call fcn.00403010
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x28c]
push str.update
call fcn.00403010
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.00478ae0
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x28c]
call fcn.00402fc0
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0x2a4]
call fcn.00402fc0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x334]
call fcn.00402fc0
push 0x50c6f4
lea ecx, [ebp - 0x304]
call fcn.00403010
mov byte [ebp - 4], 0x2f
lea ecx, [ebp - 0x2ec]
push str.temp_file_md5
call fcn.00403010
mov byte [ebp - 4], 0x30
lea ecx, [ebp - 0x2d4]
push str.update
call fcn.00403010
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.00478ae0
mov byte [ebp - 4], 0x30
lea ecx, [ebp - 0x2d4]
call fcn.00402fc0
mov byte [ebp - 4], 0x2f
lea ecx, [ebp - 0x2ec]
call fcn.00402fc0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x304]
jmp 0x40e446
push 4
call fcn.004be511
mov dword [ebp - 0x178], eax
mov byte [ebp - 4], 0x1a
mov ecx, eax
call fcn.00404210
call fcn.0047b5f0
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.0040f030
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 0x40e236
mov eax, ecx
lock xadd dword [edx + 4], eax
jne 0x40e230
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 0x40e230
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 0x40e260
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 0x40e2d0
mov eax, ecx
lock xadd dword [edx + 4], eax
jne 0x40e2d0
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 0x40e2d0
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.0047b700
mov byte [ebp - 0x171], al
or edi, 0xffffffff
jmp 0x40df0c
xorps xmm0, xmm0
lea ecx, [ebp - 0x54]
movups xmmword [ebp - 0x54], xmm0
movq qword [ebp - 0x44], xmm0
call fcn.00487030
mov byte [ebp - 4], 0x1d
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x54]
call fcn.00487900
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0x54]
call fcn.004871e0
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0xcc]
mov edx, dword [ebp - 0x194]
call fcn.00474b40
test al, al
jne 0x40e393
lea ecx, [ebp - 0x3c]
call fcn.0049a060
push str..tmp
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0xb4]
call fcn.00404720
add esp, 4
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0xb4]
call fcn.0049a060
mov byte [ebp - 0x171], 0
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0xb4]
call fcn.00402fc0
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0xcc]
call fcn.00402fc0
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x48]
call fcn.0040ec40
mov byte [ebp - 4], 6
mov dword [ebp - 0x54], vtable.RC::RCFileHash.0
mov byte [ebp - 0x4c], 1
jmp 0x40e05a
push 0x50daf4
lea ecx, [ebp - 0x34c]
call fcn.00403010
mov byte [ebp - 4], 0x32
lea ecx, [ebp - 0x37c]
push str.download_status
call fcn.00403010
mov byte [ebp - 4], 0x33
lea ecx, [ebp - 0x31c]
push str.update
call fcn.00403010
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.00478ae0
mov byte [ebp - 4], 0x33
lea ecx, [ebp - 0x31c]
call fcn.00402fc0
mov byte [ebp - 4], 0x32
lea ecx, [ebp - 0x37c]
call fcn.00402fc0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x34c]
call fcn.00402fc0
mov ecx, dword [ebp - 0x17c]
call fcn.00478f60
mov ecx, dword [esi]
add ecx, 0xa0
call fcn.0040eb00
lea ecx, [ebp - 0x24]
call fcn.0040eb00
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x40e494
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x40e494
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x40e494
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x170]
call fcn.004041e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c]
call fcn.00402fc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe4]
call fcn.00402fc0
mov al, byte [ebp - 0x171]
jmp 0x40e4d2
mov ecx, esi
call fcn.0040e4f0
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.004be500
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret