Function at 0x41f360
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 0x4c960d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x3a0
mov eax, dword [0x50e008]
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 0x420114
lea edi, [eax + 0x100]
lea eax, [edi + 0x18]
mov ecx, eax
call fcn.00402650
test al, al
jne 0x42010d
lea eax, [edi + 0x30]
mov ecx, eax
call fcn.00402650
test al, al
jne 0x42010d
lea eax, [edi + 0x60]
mov ecx, eax
mov dword [ebp - 0x194], eax
call fcn.00402650
test al, al
jne 0x42010d
lea eax, [edi + 0x48]
mov ecx, eax
call fcn.00402650
test al, al
jne 0x42010d
lea ecx, [edi + 0x98]
call fcn.00402650
test al, al
jne 0x42010d
lea ecx, [edi + 0x80]
call fcn.00402650
test al, al
jne 0x42010d
mov ecx, edi
call fcn.00402650
test al, al
jne 0x42010d
mov eax, dword [edi + 0x78]
or eax, dword [edi + 0x7c]
je 0x42010d
mov eax, dword [ebp - 0x18c]
cmp dword [eax + 0xc8], 0
jne 0x41f4c0
push 0xc
call fcn.004a101b
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 0x420114
lea eax, [ebp - 0xe4]
mov ecx, esi
push eax
call fcn.00420340
mov dword [ebp - 4], 2
lea ecx, [ebp - 0xe4]
call fcn.00402650
test al, al
mov eax, dword [esi]
jne 0x41f519
mov ecx, dword [eax + 0xc8]
test ecx, ecx
je 0x41f50d
mov eax, dword [ecx]
push 0
push 0
push 1
call dword [eax + 0xc]
mov byte [ebp - 0x171], 1
jmp 0x4200f3
lea ecx, [eax + 0xb0]
add eax, 0xe4
mov dword [ebp - 0x17c], ecx
lea ecx, [ebp - 0x3c]
push eax
call fcn.00402770
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c]
call fcn.00407d90
test al, al
jne 0x41f54b
lea ecx, [ebp - 0x3c]
call fcn.00408430
lea ecx, [ebp - 0x3c]
call fcn.00407d90
test al, al
jne 0x41f562
mov byte [ebp - 0x171], al
jmp 0x4200e7
lea eax, [edi + 0x30]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x3ac]
push eax
call fcn.0040a200
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3c]
push eax
call fcn.004026c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3ac]
call fcn.00402290
lea eax, [ebp - 0x3c]
push eax
call fcn.00407bf0
add esp, 4
test al, al
je 0x41f5ad
lea ecx, [ebp - 0x3c]
call fcn.004147f0
lea eax, [ebp - 0x3c]
push eax
call fcn.00407bf0
add esp, 4
test al, al
je 0x41f5c5
lea ecx, [ebp - 0x3c]
call fcn.00414a00
lea ecx, [ebp - 0x170]
call fcn.0046d0d0
mov byte [ebp - 4], 5
lea eax, [edi + 0x18]
push eax
lea ecx, [ebp - 0x170]
call fcn.00402690
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x158]
call fcn.00402690
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.00402690
mov eax, dword [esi]
lea ecx, [ebp - 0x24]
add eax, 0xa0
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x24], xmm0
call fcn.00420930
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x41f659
mov ecx, eax
call fcn.0046d600
mov ecx, dword [esi]
add ecx, 0xa0
call fcn.00420890
lea ecx, [ebp - 0x24]
call fcn.00420890
push 0x4edf40
lea ecx, [ebp - 0x244]
call fcn.00402700
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x22c]
push str.update
call fcn.00402700
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.00470530
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x22c]
call fcn.00402290
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x244]
call fcn.00402290
push 0x4ecce4
lea ecx, [ebp - 0x1cc]
call fcn.00402700
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x364]
push str.download_status
call fcn.00402700
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2bc]
push str.update
call fcn.00402700
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.00470530
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2bc]
call fcn.00402290
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x364]
call fcn.00402290
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1cc]
call fcn.00402290
push 0x4ecce0
lea ecx, [ebp - 0x214]
call fcn.00402700
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x1fc]
push str.temp_file_md5
call fcn.00402700
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x1e4]
push str.update
call fcn.00402700
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.00470530
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x1e4]
call fcn.00402290
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x1fc]
call fcn.00402290
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x214]
call fcn.00402290
mov ecx, dword [ebp - 0x17c]
call fcn.00470a30
push 0x4ecd14
lea ecx, [edi + 0x48]
call fcn.00402b10
test al, al
jne 0x41f7ff
push 0x4ee0f0
lea ecx, [edi + 0x48]
call fcn.00402b10
test al, al
je 0x41fdb3
lea ecx, [edi + 0xc8]
call fcn.00402650
test al, al
jne 0x41fdb3
mov eax, dword [esi]
lea ecx, [ebp - 0x1c]
add eax, 0xa8
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x1c], xmm0
call fcn.00420930
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41f851
mov ecx, eax
call fcn.00427d10
mov ecx, dword [esi]
add ecx, 0xa8
call fcn.00420890
lea ecx, [ebp - 0x1c]
call fcn.00420890
push 4
call fcn.004a101b
mov edi, eax
add esp, 4
mov dword [ebp - 0x178], edi
mov byte [ebp - 4], 0x10
push 0x200
mov dword [edi], 0
call fcn.004a101b
mov esi, eax
add esp, 4
mov dword [ebp - 0x190], esi
mov byte [ebp - 4], 0x11
push 0x200
push 0
push esi
call fcn.004a2d80
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.00477d40
mov byte [ebp - 4], 0x14
lea ecx, [esi + 0xe0]
call fcn.0041cae0
mov byte [ebp - 4], 0x15
lea ecx, [esi + 0x1cc]
call fcn.00402750
mov byte [ebp - 4], 0x16
lea ecx, [esi + 0x1e4]
call fcn.00402750
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.00420bb0
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 0x41f988
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x41f982
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x41f97c
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 0x41f9b8
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 0x41fa25
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x41fa25
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x178]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x41fa1f
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 0x41fa41
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.00402850
cmp dword [ebp - 0x184], eax
je 0x41fa93
call fcn.00402850
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x41fa7e
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, dword [ebp - 0x184]
call fcn.00402870
mov edx, dword [ebp - 0x188]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x178]
add eax, 0x1e4
mov dword [ebp - 0x184], eax
call fcn.00402850
cmp dword [ebp - 0x184], eax
je 0x41fad7
call fcn.00402850
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x41fac2
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, dword [ebp - 0x184]
call fcn.00402870
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.00427860
mov ecx, dword [esi]
add ecx, 0xa8
mov byte [ebp - 0x171], al
call fcn.00420890
lea ecx, [ebp - 0x1c]
call fcn.00420890
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x41fb3e
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x41fb3e
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x18]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x41fb3e
mov eax, dword [ecx]
call dword [eax + 4]
mov al, byte [ebp - 0x171]
test al, al
je 0x41fb62
lea eax, [ebp - 0x3c]
push eax
call fcn.00407bf0
add esp, 4
test al, al
jne 0x41ff42
mov byte [ebp - 0x171], al
lea ecx, [ebp - 0x9c]
call fcn.00402750
mov byte [ebp - 4], 0x23
lea eax, [ebp - 0x3c]
push str..tmp
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.00408bf0
add esp, 0xc
mov byte [ebp - 4], 0x24
lea eax, [ebp - 0x84]
push eax
call fcn.00407bf0
add esp, 4
test al, al
je 0x41fc10
xorps xmm0, xmm0
lea ecx, [ebp - 0x6c]
movups xmmword [ebp - 0x6c], xmm0
movq qword [ebp - 0x5c], xmm0
call fcn.00416a40
mov byte [ebp - 4], 0x25
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00417140
lea eax, [ebp - 0x394]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00416bf0
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x9c]
push eax
call fcn.004026c0
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x394]
call fcn.00402290
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x60]
call fcn.00410870
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.00402700
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x25c]
push str.update
call fcn.00402700
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.00470530
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x25c]
call fcn.00402290
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x274]
call fcn.00402290
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x84]
call fcn.00402290
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x9c]
call fcn.00402290
cmp byte [ebp - 0x171], 0
je 0x420006
push 0x4ecd14
lea ecx, [ebp - 0x334]
call fcn.00402700
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0x2a4]
push str.download_status
call fcn.00402700
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x28c]
push str.update
call fcn.00402700
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.00470530
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x28c]
call fcn.00402290
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0x2a4]
call fcn.00402290
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x334]
call fcn.00402290
push 0x4ecce0
lea ecx, [ebp - 0x304]
call fcn.00402700
mov byte [ebp - 4], 0x2f
lea ecx, [ebp - 0x2ec]
push str.temp_file_md5
call fcn.00402700
mov byte [ebp - 4], 0x30
lea ecx, [ebp - 0x2d4]
push str.update
call fcn.00402700
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.00470530
mov byte [ebp - 4], 0x30
lea ecx, [ebp - 0x2d4]
call fcn.00402290
mov byte [ebp - 4], 0x2f
lea ecx, [ebp - 0x2ec]
call fcn.00402290
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x304]
jmp 0x42008a
push 4
call fcn.004a101b
add esp, 4
mov dword [ebp - 0x178], eax
mov byte [ebp - 4], 0x1a
mov ecx, eax
mov dword [eax], 0
call fcn.0046d170
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.00420c50
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 0x41fe74
mov eax, ecx
lock xadd dword [edx + 4], eax
jne 0x41fe6e
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 0x41fe6e
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 0x41fe9e
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 0x41ff0e
mov eax, ecx
lock xadd dword [edx + 4], eax
jne 0x41ff0e
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 0x41ff0e
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.0046d1f0
mov byte [ebp - 0x171], al
or edi, 0xffffffff
jmp 0x41fb44
xorps xmm0, xmm0
lea ecx, [ebp - 0x54]
movups xmmword [ebp - 0x54], xmm0
movq qword [ebp - 0x44], xmm0
call fcn.00416a40
mov byte [ebp - 4], 0x1d
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x54]
call fcn.00417140
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0x54]
call fcn.00416bf0
mov byte [ebp - 4], 0x1e
lea eax, [ebp - 0xcc]
push dword [ebp - 0x194]
push eax
call fcn.004123f0
add esp, 8
test al, al
jne 0x41ffd7
lea ecx, [ebp - 0x3c]
call fcn.004147f0
push str..tmp
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.00408bf0
add esp, 0xc
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0xb4]
call fcn.004147f0
mov byte [ebp - 0x171], 0
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0xb4]
call fcn.00402290
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0xcc]
call fcn.00402290
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x48]
call fcn.00410870
mov byte [ebp - 4], 6
mov dword [ebp - 0x54], vtable.RC::RCFileHash.0
mov byte [ebp - 0x4c], 1
jmp 0x41fc94
push 0x4ee0f0
lea ecx, [ebp - 0x34c]
call fcn.00402700
mov byte [ebp - 4], 0x32
lea ecx, [ebp - 0x37c]
push str.download_status
call fcn.00402700
mov byte [ebp - 4], 0x33
lea ecx, [ebp - 0x31c]
push str.update
call fcn.00402700
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.00470530
mov byte [ebp - 4], 0x33
lea ecx, [ebp - 0x31c]
call fcn.00402290
mov byte [ebp - 4], 0x32
lea ecx, [ebp - 0x37c]
call fcn.00402290
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x34c]
call fcn.00402290
mov ecx, dword [ebp - 0x17c]
call fcn.00470a30
mov ecx, dword [esi]
add ecx, 0xa0
call fcn.00420890
lea ecx, [ebp - 0x24]
call fcn.00420890
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x4200d8
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4200d8
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x4200d8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x170]
call fcn.00420140
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c]
call fcn.00402290
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe4]
call fcn.00402290
mov al, byte [ebp - 0x171]
jmp 0x420116
mov ecx, esi
call fcn.004201c0
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.004a100a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret