Function at 0x43f580
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4931e6
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x4bf1d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x60]
mov edx, dword [eax + 0x2c]
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x1c], edx
fld dword [ebp - 0x1c]
mov edx, dword [eax + 0x34]
mov dword [ebp - 0x14], edx
fadd dword [ebp - 0x14]
mov dword [ebp - 0x20], ecx
mov ecx, dword [eax + 0x30]
fstp dword [ebp - 0xa4]
mov dword [ebp - 0x18], ecx
fld dword [ebp - 0x20]
push 0x70
fstp dword [ebp - 0x58]
mov dword [ebp - 0x8c], edi
fld dword [ebp - 0xa4]
fstp dword [ebp - 0x54]
fld dword [ebp - 0x18]
fstp dword [ebp - 0x50]
fld dword [0x49f7c8]
fstp dword [ebp - 0x4c]
call fcn.00469e14
mov esi, eax
add esp, 4
mov dword [ebp - 0x84], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp esi, ebx
je 0x43f627
lea eax, [ebp - 0x58]
push eax
call fcn.00447ac0
mov dword [esi], vtable.CFpContainer.0
jmp 0x43f629
xor esi, esi
mov dword [ebp - 4], 0xffffffff
push 0x98
mov dword [edi + 0x64], esi
call fcn.00469e14
mov esi, eax
add esp, 4
mov dword [ebp - 0x84], esi
mov dword [ebp - 4], 1
fldz
cmp esi, ebx
je 0x43f6af
fst dword [ebp - 0x58]
lea ecx, [ebp - 0x58]
fstp dword [ebp - 0x54]
push ecx
fld dword [ebp - 0x18]
fstp dword [ebp - 0x50]
fld dword [0x49f7c8]
fstp dword [ebp - 0x4c]
call fcn.00447ac0
fld1
mov dword [esi], vtable.CFpImageBox.0
mov dword [esi + 0x70], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x74], ebx
fstp dword [esi + 0x94]
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], ebx
mov edi, esi
jmp 0x43f6b3
fstp st(0)
xor edi, edi
mov dword [ebp - 4], 0xffffffff
xor edx, edx
push 8
mov eax, 0x4a7bdc
lea esi, [ebp - 0x64]
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
call fcn.0040d440
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.00448350
mov esi, eax
mov dword [edi + 0x70], esi
cmp esi, ebx
je 0x43f744
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x84]
push eax
push ecx
mov dword [ebp - 0x84], ebx
call dword [sym.imp.gdiplus.dll_GdipGetImageWidth]
cmp eax, ebx
je 0x43f70e
mov dword [esi + 8], eax
mov edx, dword [ebp - 0x84]
mov esi, dword [edi + 0x70]
lea eax, [ebp - 0x84]
mov dword [edi + 0x7c], edx
mov ecx, dword [esi + 4]
push eax
push ecx
mov dword [ebp - 0x84], ebx
call dword [sym.imp.gdiplus.dll_GdipGetImageHeight]
cmp eax, ebx
je 0x43f738
mov dword [esi + 8], eax
mov edx, dword [ebp - 0x84]
mov dword [edi + 0x80], edx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x50], 8
jb 0x43f75d
mov eax, dword [ebp - 0x64]
push eax
call fcn.00469af0
add esp, 4
mov ecx, dword [ebp - 0x8c]
mov esi, 3
mov dword [edi + 0x84], esi
mov dword [edi + 0x88], esi
mov dword [edi + 0x8c], esi
mov dword [edi + 0x90], esi
mov eax, dword [ecx + 0x64]
push edi
call fcn.00447ec0
mov edx, dword [ebp - 0x8c]
mov eax, dword [edx + 0x64]
mov byte [eax + 0x3a], bl
test byte [sym.Install.exe____B_1__get_instance___singleton_VCFpSysLanguage___serialization_boost__CAAAVCFpSysLanguage__XZ_51], 1
jne 0x43f7be
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpSysLanguage___serialization_boost__CAAAVCFpSysLanguage__XZ_51], 1
push 0x497140
mov byte [sym.Install.exe__t__1__get_instance___singleton_VCFpSysLanguage___serialization_boost__CAAAVCFpSysLanguage__XZ_4V__singleton_wrapp], bl
mov byte [0x4c9f3e], bl
call fcn.00469dbe
add esp, 4
cmp byte [0x4c9f3e], bl
jne 0x43f804
call fcn.00418d80
test eax, eax
jne 0x43f7eb
cmp byte [0x4c9f3e], bl
je 0x43f7e0
mov byte [0x4c9f3f], 1
jmp 0x43f804
mov word [0x4c9f3e], 0x101
jmp 0x43f804
cmp byte [0x4c9f3e], bl
je 0x43f7fb
mov byte [0x4c9f3f], bl
jmp 0x43f804
mov word [0x4c9f3e], 1
fld dword [ebp - 0x20]
movzx eax, byte [0x4c9f3f]
fadd dword [ebp - 0x18]
push 0xcc
mov dword [ebp - 0x98], eax
fstp dword [ebp - 0x84]
fld dword [ebp - 0x84]
fsub qword [0x4a9580]
fstp dword [ebp - 0x58]
fld dword [0x4a94a0]
fstp dword [ebp - 0x54]
fld dword [0x4a957c]
fstp dword [ebp - 0x50]
fld dword [0x4a9578]
fstp dword [ebp - 0x4c]
call fcn.00469e14
add esp, 4
mov dword [ebp - 0x84], eax
mov dword [ebp - 4], esi
cmp eax, ebx
je 0x43f86f
lea ecx, [ebp - 0x58]
push ecx
push eax
call fcn.0044ac80
mov edi, eax
jmp 0x43f871
xor edi, edi
mov ecx, dword [ebp - 0x8c]
mov eax, 0x440b40
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 4], 4
mov dword [ebp - 0x68], ebx
push ecx
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 5
call fcn.00444a90
lea ecx, [edi + 0xb4]
lea eax, [ebp - 0x80]
lea edx, [ebp - 0x88]
mov dword [ebp - 4], 6
call fcn.0043c4c0
mov eax, dword [ebp - 0x84]
cmp eax, ebx
je 0x43f8e3
lea edx, [eax + 8]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
jne 0x43f8e3
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
lea ecx, [ebp - 0x80]
push ecx
mov dword [ebp - 4], 0xffffffff
call fcn.00453dd0
mov eax, 0x4a7bf0
cmp dword [ebp - 0x98], ebx
jne 0x43f905
mov eax, 0x4a7c08
push 1
push 4
sub esp, 0x1c
mov esi, esp
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov ecx, eax
mov word [esi], dx
lea edx, [ecx + 2]
mov dword [ebp - 0x84], esp
mov dword [ebp - 0x84], edx
mov edi, edi
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x43f930
sub ecx, dword [ebp - 0x84]
sar ecx, 1
push ecx
call fcn.0040d440
call fcn.0044c8c0
mov esi, dword [ebp - 0x8c]
mov eax, dword [esi + 0x64]
push edi
call fcn.00447ec0
mov dword [esi + 0x88], edi
cmp dword [ebp - 0x98], ebx
je 0x43f97b
fld1
fstp dword [ebp - 0x84]
fld qword [0x4a9570]
jmp 0x43f98d
fld dword [0x4a9568]
fstp dword [ebp - 0x84]
fld qword [0x4a9560]
fstp dword [ebp - 0x90]
push 0xcc
fld dword [0x4a9558]
fst dword [ebp - 0x58]
fstp dword [ebp - 0x54]
fld dword [ebp - 0x90]
fadd qword [0x4a9550]
fadd qword [0x4a9408]
fstp dword [ebp - 0x50]
fld dword [0x4a9500]
fstp dword [ebp - 0x4c]
call fcn.00469e14
add esp, 4
mov dword [ebp - 0x90], eax
mov dword [ebp - 4], 7
cmp eax, ebx
je 0x43f9e9
lea ecx, [ebp - 0x58]
push ecx
push eax
call fcn.0044dcb0
mov edi, eax
jmp 0x43f9eb
xor edi, edi
push 1
push 4
sub esp, 0x1c
mov dword [ebp - 4], 0xffffffff
mov esi, esp
mov dword [ebp - 0x90], esp
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
push 7
mov eax, 0x4a7c24
mov word [esi], dx
call fcn.0040d440
call fcn.0044c8c0
mov ecx, dword [ebp - 0x8c]
mov eax, 0x441a10
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 4], 8
mov dword [ebp - 0x30], ebx
push ecx
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 9
call fcn.00444c10
lea ecx, [edi + 0xb4]
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x94]
mov dword [ebp - 4], 0xa
call fcn.00441f20
mov eax, dword [ebp - 0x90]
cmp eax, ebx
je 0x43fa93
mov ecx, eax
add eax, 8
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x43fa93
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
lea eax, [ebp - 0x48]
or esi, 0xffffffff
push eax
mov dword [ebp - 4], esi
call fcn.00453dd0
cmp byte [edi + 0xc4], 1
je 0x43fb07
lea ecx, [ebp - 0x28]
mov byte [edi + 0xc4], 1
mov dword [ebp - 0x28], vtable.._AV___Impl_no_alloc0_U___Callable_obj_V_lambda0___A0xd3e0011b___0A__tr1_std__X_tr1_std__.0
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0xb
mov edx, dword [0x4c99e4]
push edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [ebp - 0x28]
mov ecx, eax
call fcn.00402600
mov dword [ebp - 4], esi
mov ecx, dword [ebp - 0x18]
cmp ecx, ebx
je 0x43fafd
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
lea edx, [ebp - 0x28]
cmp ecx, edx
setne dl
movzx edx, dl
push edx
call eax
mov dword [edi + 0xc8], 3
push 0x98
call fcn.00469e14
mov esi, eax
add esp, 4
mov dword [ebp - 0x90], esi
mov dword [ebp - 4], 0xc
cmp esi, ebx
je 0x43fb8a
fld dword [0x4a9548]
lea ecx, [ebp - 0x20]
fstp dword [ebp - 0x20]
push ecx
fld dword [ebp - 0x84]
fstp dword [ebp - 0x1c]
fldz
fst dword [ebp - 0x18]
fstp dword [ebp - 0x14]
call fcn.00447ac0
fld1
mov dword [esi], vtable.CFpImageBox.0
mov dword [esi + 0x70], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x74], ebx
fstp dword [esi + 0x94]
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], ebx
mov dword [ebp - 0x90], esi
jmp 0x43fb90
mov dword [ebp - 0x90], ebx
mov dword [ebp - 4], 0xffffffff
mov eax, 0x4a7c34
cmp dword [ebp - 0x98], ebx
jne 0x43fba9
mov eax, 0x4a7c4c
xor edx, edx
mov ecx, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
lea esi, [ecx + 2]
mov edi, edi
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x43fbc0
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x2c]
call fcn.0040d440
mov dword [ebp - 4], 0xd
mov ecx, esi
mov esi, dword [ebp - 0x90]
push 1
call fcn.0044a1d0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 8
jb 0x43fc07
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00469af0
add esp, 4
mov ecx, dword [ebp - 0x90]
push ecx
mov eax, edi
call fcn.00447ec0
mov edx, dword [ebp - 0x8c]
mov eax, dword [edx + 0x64]
push edi
call fcn.00447ec0
cmp dword [ebp - 0x98], ebx
je 0x43fc34
fld qword [0x4a9540]
jmp 0x43fc3a
fld qword [0x4a9538]
push 0xcc
fstp dword [ebp - 0x90]
call fcn.00469e14
add esp, 4
mov dword [ebp - 0x9c], eax
mov dword [ebp - 4], 0xe
cmp eax, ebx
je 0x43fca0
fld dword [0x4a9558]
lea ecx, [ebp - 0x20]
fstp dword [ebp - 0x20]
push ecx
fld dword [0x4a9530]
push eax
fstp dword [ebp - 0x1c]
fld dword [ebp - 0x90]
fadd qword [0x4a9550]
fadd qword [0x4a9408]
fstp dword [ebp - 0x18]
fld dword [0x4a9500]
fstp dword [ebp - 0x14]
call fcn.0044dcb0
mov dword [ebp - 0x90], eax
jmp 0x43fca6
mov dword [ebp - 0x90], ebx
push 1
push 4
sub esp, 0x1c
mov dword [ebp - 4], 0xffffffff
mov esi, esp
mov dword [ebp - 0x9c], esp
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
push 0xb
mov eax, 0x4a7c68
mov word [esi], dx
call fcn.0040d440
mov edi, dword [ebp - 0x90]
call fcn.0044c8c0
mov ecx, dword [ebp - 0x8c]
mov eax, 0x4403b0
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0xe0], ebx
mov dword [ebp - 0xdc], ebx
mov dword [ebp - 0xd8], ebx
mov dword [ebp - 4], 0xf
mov dword [ebp - 0xc8], ebx
push ecx
push eax
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0x10
call fcn.00444c10
mov ecx, edi
add ecx, 0xb4
lea eax, [ebp - 0xe0]
lea edx, [ebp - 0x18]
mov dword [ebp - 4], 0x11
call fcn.00441f20
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x43fd62
mov ecx, eax
add eax, 8
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x43fd62
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
lea eax, [ebp - 0xe0]
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.00453dd0
push 0x98
call fcn.00469e14
mov esi, eax
add esp, 4
mov dword [ebp - 0x9c], esi
mov dword [ebp - 4], 0x12
cmp esi, ebx
je 0x43fdf4
fld dword [0x4a9548]
lea ecx, [ebp - 0x20]
fstp dword [ebp - 0x20]
push ecx
fld dword [ebp - 0x84]
fstp dword [ebp - 0x1c]
fldz
fst dword [ebp - 0x18]
fstp dword [ebp - 0x14]
call fcn.00447ac0
fld1
mov dword [esi], vtable.CFpImageBox.0
mov dword [esi + 0x70], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x74], ebx
fstp dword [esi + 0x94]
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], ebx
mov edi, esi
jmp 0x43fdf6
xor edi, edi
mov dword [ebp - 4], 0xffffffff
mov eax, 0x4a7c80
cmp dword [ebp - 0x98], ebx
jne 0x43fe0f
mov eax, str._IN
xor edx, edx
mov ecx, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x43fe24
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x2c]
call fcn.0040d440
mov ecx, esi
push 1
mov esi, edi
mov dword [ebp - 4], 0x13
call fcn.0044a1d0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 8
jb 0x43fe67
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00469af0
add esp, 4
mov eax, dword [ebp - 0x90]
push edi
call fcn.00447ec0
mov ecx, dword [ebp - 0x8c]
push 0x98
mov dword [ecx + 0x8c], edi
call fcn.00469e14
mov esi, eax
add esp, 4
mov dword [ebp - 0x9c], esi
mov dword [ebp - 4], 0x14
cmp esi, ebx
je 0x43fefe
fld dword [0x4a9548]
lea edx, [ebp - 0x20]
fstp dword [ebp - 0x20]
push edx
fld dword [ebp - 0x84]
fstp dword [ebp - 0x1c]
fldz
fst dword [ebp - 0x18]
fstp dword [ebp - 0x14]
call fcn.00447ac0
fld1
mov dword [esi], vtable.CFpImageBox.0
mov dword [esi + 0x70], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x74], ebx
fstp dword [esi + 0x94]
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], ebx
mov edi, esi
jmp 0x43ff00
xor edi, edi
mov dword [ebp - 4], 0xffffffff
mov eax, 0x4a7cb0
cmp dword [ebp - 0x98], ebx
jne 0x43ff19
mov eax, 0x4a7cc8
xor ecx, ecx
mov word [ebp - 0x2c], cx
mov ecx, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
lea esi, [ecx + 2]
mov edi, edi
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x43ff30
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x2c]
call fcn.0040d440
mov ecx, esi
push 1
mov esi, edi
mov dword [ebp - 4], 0x15
call fcn.0044a1d0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 8
jb 0x43ff73
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00469af0
add esp, 4
mov esi, dword [ebp - 0x90]
push edi
mov eax, esi
call fcn.00447ec0
mov eax, dword [ebp - 0x8c]
mov dword [eax + 0x90], edi
mov byte [edi + 0x3a], bl
mov eax, dword [eax + 0x64]
push esi
call fcn.00447ec0
mov eax, dword [ebp - 0x8c]
mov dword [eax + 0x94], esi
cmp dword [ebp - 0x98], ebx
je 0x43ffb5
fld dword [0x4a952c]
jmp 0x43ffbb
fld dword [0x4a9528]
push 0xcc
fstp dword [ebp - 0x84]
call fcn.00469e14
add esp, 4
mov dword [ebp - 0x9c], eax
mov dword [ebp - 4], 0x16
cmp eax, ebx
je 0x440026
fld dword [ebp - 0x50]
lea ecx, [ebp - 0x58]
fadd qword [0x4a9520]
push ecx
push eax
fstp dword [ebp - 0x90]
fld dword [ebp - 0x90]
fadd qword [0x4a9518]
fstp dword [ebp - 0x58]
fld dword [0x4a9510]
fstp dword [ebp - 0x54]
fld dword [ebp - 0x84]
fstp dword [ebp - 0x50]
fld dword [0x49f7c0]
fstp dword [ebp - 0x4c]
call fcn.0044ac80
mov edi, eax
jmp 0x440028
xor edi, edi
push 0x7f89
push ebx
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [edi + 0xc8], eax
mov eax, str.www.funshion.com_agreement_
cmp dword [ebp - 0x98], ebx
jne 0x440053
mov eax, str.www.funshion.com_agreement_en_
push eax
lea ecx, [ebp - 0xa4]
call fcn.00401c30
mov dword [ebp - 4], 0x17
mov eax, dword [ebp - 0xa4]
add eax, 0xfffffff0
push eax
call fcn.004015d0
add eax, 0x10
mov dword [ebp - 0x84], eax
mov dword [ebp - 0xe0], ebx
mov dword [ebp - 0xdc], ebx
mov dword [ebp - 0xd8], ebx
mov dword [ebp - 0xc8], ebx
mov byte [ebp - 4], 0x1a
add eax, 0xfffffff0
mov dword [ebp - 0x9c], esp
mov esi, esp
push eax
call fcn.004015d0
add esp, 4
lea edx, [ebp - 0xc8]
add eax, 0x10
push edx
mov dword [esi], eax
call fcn.00444cd0
lea ecx, [edi + 0xb4]
lea eax, [ebp - 0xe0]
lea edx, [ebp - 0x18]
mov byte [ebp - 4], 0x1b
call fcn.0043c4c0
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x4400f3
mov ecx, eax
add eax, 8
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x4400f3
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
lea eax, [ebp - 0xe0]
push eax
mov byte [ebp - 4], 0x18
call fcn.00453dd0
mov byte [ebp - 4], 0x17
mov eax, dword [ebp - 0x84]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x440129
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x4a7d5c
cmp dword [ebp - 0x98], ebx
jne 0x44013b
mov eax, 0x4a7d70
push 1
push 1
sub esp, 0x1c
mov esi, esp
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], cx
mov ecx, eax
lea edx, [ecx + 2]
mov dword [ebp - 0x9c], esp
mov dword [ebp - 0x84], edx
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x440164
sub ecx, dword [ebp - 0x84]
sar ecx, 1
push ecx
call fcn.0040d440
call fcn.0044c8c0
mov eax, dword [ebp - 0x8c]
mov eax, dword [eax + 0x64]
push edi
call fcn.00447ec0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xa4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4401ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00469afb
mov esp, ebp
pop ebp
ret