Function at 0x41af50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x559019
mov eax, dword fs:[0]
push eax
sub esp, 0x310
mov eax, dword [0x5a2184]
xor eax, esp
mov dword [esp + 0x30c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5a2184]
xor eax, esp
push eax
lea eax, [esp + 0x324]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x338]
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x5c], ebx
push ecx
mov dword [esp + 0x330], 1
mov ecx, esp
mov dword [esp + 0x64], esp
push str.CVasPackage::GetNewestPackage__
call fcn.00403380
lea esi, [esp + 0x64]
call fcn.00411f30
push 0x56fd6c
mov ecx, edi
mov byte [esp + 0x330], 2
call fcn.00403380
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
mov edi, 1
push 0x56fd6c
mov dword [esp + 0x64], edi
call fcn.00403380
push ebx
push ebx
push ebx
push 0x7d0
push edi
push edi
lea ecx, [esp + 0xb0]
call fcn.0041c030
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0xac]
mov dword [eax + 4], edx
lea esi, [esp + 0x80]
mov dword [eax + 8], ecx
call fcn.00418600
mov byte [esp + 0x32c], 3
fldz
push 0x56fd6c
fstp qword [esp + 0x44]
lea ecx, [esp + 0x5c]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
call fcn.00403380
push 0x56fd6c
lea ecx, [esp + 0x30]
mov byte [esp + 0x330], 4
mov byte [esp + 0x1b], bl
call fcn.00403380
mov byte [esp + 0x32c], 5
mov dword [esp + 0x34], ebx
call fcn.00517e28
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x41b0a1
push 0x80004005
call fcn.00402db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
mov byte [esp + 0x32c], 6
call fcn.00517e28
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x41b0d3
push 0x80004005
call fcn.00402db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x30], eax
mov byte [esp + 0x32c], 7
call fcn.00517e28
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x41b105
push 0x80004005
call fcn.00402db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x32c], 8
mov eax, dword [esp + 0x334]
mov ecx, 0x56fd6c
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41b156
cmp dx, bx
je 0x41b152
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41b156
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x41b130
xor eax, eax
jmp 0x41b15b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
setne al
test al, al
je 0x41b1ba
push 0x570344
lea ecx, [esp + 0x338]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.004069b0
add esp, 0xc
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x330], 9
call fcn.00403130
mov byte [esp + 0x32c], 8
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 0x41b1c9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41b1c9
push ebx
push 0x56fd6c
lea ecx, [esp + 0x2c]
call fcn.004031b0
push str..pck
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.004069b0
add esp, 0xc
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x330], 0xa
call fcn.00403130
mov byte [esp + 0x32c], 8
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 0x41b21a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
cmp dword [eax - 4], edi
jle 0x41b234
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [esp + 0x34]
call fcn.00402f70
mov eax, dword [esp + 0x30]
lea edx, [esp + 0xf0]
push edx
push eax
call fcn.0052af4b
add esp, 8
cmp eax, 0xffffffff
mov dword [esp + 0x20], eax
je 0x41bb0e
mov ecx, dword [0x5a88cc]
call fcn.004228b0
test al, al
je 0x41b30d
lea ecx, [esp + 0xcc]
call fcn.00427c80
lea eax, [esp + 0x64]
mov bl, 0xb
push eax
mov byte [esp + 0x330], bl
call fcn.004348a0
add esp, 4
mov esi, eax
push 0x2fb
push str.class_ATL::CStringT_wchar_t_class_StrTraitMFC_wchar_t_class_ATL::ChTraitsCRT_wchar_t________cdecl_CVasPackage::GetNewestPackage_class_ATL::CStringT_wchar_t_class_StrTraitMFC_wchar_t_class_ATL::ChTraitsCRT_wchar_t______class_IFwPresentaton__
mov byte [esp + 0x334], 0xc
mov edi, dword [0x5a88cc]
push str..VasPackage.cpp
lea ecx, [esp + 0xac]
call fcn.00432df0
push eax
lea ecx, [esp + 0x118]
push ecx
push str.Package:
lea ecx, [esp + 0xd8]
call fcn.00428040
mov ecx, eax
call fcn.00427750
push eax
lea ecx, [esp + 0xd4]
call fcn.00428250
push eax
push esi
mov ecx, edi
call fcn.00424370
lea ecx, [esp + 0x64]
mov byte [esp + 0x32c], bl
call fcn.004032f0
lea ecx, [esp + 0xcc]
mov byte [esp + 0x32c], 8
call fcn.00427cc0
test ebp, ebp
je 0x41b325
mov edx, dword [ebp]
mov edx, dword [edx + 0x24]
push 1
lea eax, [esp + 0x118]
push eax
mov ecx, ebp
call edx
lea eax, [esp + 0x114]
push eax
lea ecx, [esp + 0x20]
call fcn.00403380
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x40]
push edx
mov byte [esp + 0x338], 0xd
call fcn.004025f0
add esp, 0xc
mov esi, eax
mov byte [esp + 0x32c], 0xe
mov eax, dword [esi]
sub eax, 0x10
cmp dword [eax + 0xc], 1
jle 0x41b371
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00402f70
mov esi, dword [esi]
lea ecx, [esp + 0x40]
mov edi, esi
call fcn.0041ad50
mov bl, al
mov byte [esp + 0x32c], 0xd
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b3a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x32c], 8
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 0x41b3d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x41b4de
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x7c], ecx
lea ecx, [esp + 0x58]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x54]
push ecx
lea ecx, [esp + 0x8c]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], eax
call fcn.00403130
lea eax, [esp + 0x114]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41b430
mov esi, dword [esp + 0x3c]
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x118]
push edx
mov ecx, esi
call fcn.004031b0
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x1b], 0
call fcn.00403130
test ebp, ebp
je 0x41b56e
push 1
lea eax, [esp + 0x20]
push eax
lea edi, [esp + 0x48]
call fcn.004186e0
push ecx
mov byte [esp + 0x334], 0xf
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x5733a0
push ecx
mov ecx, eax
call fcn.004026b0
add esp, 8
mov edi, ebp
call fcn.004190d0
mov byte [esp + 0x32c], 8
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41b4c8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [ebp]
mov eax, dword [edx + 0x24]
push 1
push 0x56f8e4
mov ecx, ebp
call eax
jmp 0x41b56e
lea eax, [esp + 0x114]
mov dword [esp + 0x34], 0xc1010065
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41b4f0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x118]
push ecx
lea ecx, [esp + 0x30]
call fcn.004031b0
test ebp, ebp
je 0x41b56e
push 1
lea esi, [esp + 0x20]
call fcn.00413570
push ecx
mov byte [esp + 0x334], 0x10
mov edx, esp
mov dword [esp + 0x20], esp
push 0x5733a8
push edx
mov ecx, eax
call fcn.004026b0
add esp, 8
mov edi, ebp
call fcn.004190d0
mov byte [esp + 0x32c], 8
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 0x41b56e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0xf0]
push ecx
push edx
call fcn.0052b07b
add esp, 8
test eax, eax
jne 0x41baa5
jmp 0x41b590
mov ecx, dword [0x5a88cc]
call fcn.004228b0
test al, al
je 0x41b651
lea ecx, [esp + 0xcc]
call fcn.00427c80
lea eax, [esp + 0xac]
push eax
mov byte [esp + 0x330], 0x11
call fcn.004348a0
add esp, 4
mov esi, eax
push 0x31b
push str.class_ATL::CStringT_wchar_t_class_StrTraitMFC_wchar_t_class_ATL::ChTraitsCRT_wchar_t________cdecl_CVasPackage::GetNewestPackage_class_ATL::CStringT_wchar_t_class_StrTraitMFC_wchar_t_class_ATL::ChTraitsCRT_wchar_t______class_IFwPresentaton__
mov byte [esp + 0x334], 0x12
mov edi, dword [0x5a88cc]
push str..VasPackage.cpp
lea ecx, [esp + 0xcc]
call fcn.00432df0
push eax
lea ecx, [esp + 0x118]
push ecx
push str.Package:
lea ecx, [esp + 0xd8]
call fcn.00428040
mov ecx, eax
call fcn.00427750
push eax
lea ecx, [esp + 0xd4]
call fcn.00428250
push eax
push esi
mov ecx, edi
call fcn.00424370
lea ecx, [esp + 0xac]
mov byte [esp + 0x32c], 0x11
call fcn.004032f0
lea ecx, [esp + 0xcc]
mov byte [esp + 0x32c], 8
call fcn.00427cc0
test ebp, ebp
je 0x41b669
mov edx, dword [ebp]
mov edx, dword [edx + 0x24]
push 1
lea eax, [esp + 0x118]
push eax
mov ecx, ebp
call edx
lea eax, [esp + 0x114]
push eax
lea ecx, [esp + 0x3c]
call fcn.00403380
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x338], 0x13
call fcn.004025f0
add esp, 0xc
mov esi, eax
mov byte [esp + 0x32c], 0x14
mov eax, dword [esi]
sub eax, 0x10
cmp dword [eax + 0xc], 1
jle 0x41b6b5
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00402f70
mov esi, dword [esi]
lea ecx, [esp + 0x40]
mov edi, esi
call fcn.0041ad50
mov bl, al
mov byte [esp + 0x32c], 0x13
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 0x41b6ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x32c], 8
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b714
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x41b8fc
test ebp, ebp
mov dword [esp + 0x34], 0
je 0x41b79d
push 1
lea ecx, [esp + 0x94]
push ecx
lea edi, [esp + 0x48]
call fcn.004186e0
push ecx
mov byte [esp + 0x334], 0x15
mov edx, esp
mov dword [esp + 0x6c], esp
push 0x5733a0
push edx
mov ecx, eax
call fcn.004026b0
add esp, 8
mov edi, ebp
call fcn.004190d0
mov byte [esp + 0x32c], 8
mov eax, dword [esp + 0x90]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b78c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [ebp]
mov eax, dword [edx + 0x24]
push 1
push 0x56f8e4
mov ecx, ebp
call eax
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x4c]
cmp edx, eax
mov ecx, dword [esp + 0x50]
jl 0x41b7c2
mov esi, dword [esp + 0x80]
jg 0x41b847
cmp esi, ecx
jge 0x41b847
mov edx, dword [esp + 0x40]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x80], ecx
lea ecx, [esp + 0x58]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x54]
push ecx
lea ecx, [esp + 0x8c]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x88], eax
call fcn.00403130
lea eax, [esp + 0x114]
lea edx, [eax + 2]
jmp 0x41b810
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41b810
mov esi, dword [esp + 0x3c]
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x118]
push edx
mov ecx, esi
call fcn.004031b0
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x1b], 0
call fcn.00403130
jmp 0x41ba0f
cmp edx, eax
jne 0x41ba0f
cmp esi, ecx
jne 0x41ba0f
lea eax, [esp + 0x114]
push eax
lea ecx, [esp + 0x70]
call fcn.00403380
lea ecx, [esp + 0x8c]
push 0x5733b0
push ecx
mov ecx, eax
mov byte [esp + 0x334], 0x16
call fcn.004026b0
add esp, 8
mov byte [esp + 0x32c], 0x17
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x34]
call fcn.00402890
mov byte [esp + 0x32c], 0x16
mov eax, dword [esp + 0x8c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41b8ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x32c], 8
mov eax, dword [esp + 0x6c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b8f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x17], 1
jmp 0x41ba0f
test ebp, ebp
je 0x41ba0f
mov ecx, dword [0x5a88cc]
call fcn.00422a70
test al, al
je 0x41b9b6
lea ecx, [esp + 0xcc]
call fcn.00427c80
lea ecx, [esp + 0xa0]
push ecx
mov byte [esp + 0x330], 0x18
call fcn.00434510
add esp, 4
mov esi, eax
push 0x33d
push str.class_ATL::CStringT_wchar_t_class_StrTraitMFC_wchar_t_class_ATL::ChTraitsCRT_wchar_t________cdecl_CVasPackage::GetNewestPackage_class_ATL::CStringT_wchar_t_class_StrTraitMFC_wchar_t_class_ATL::ChTraitsCRT_wchar_t______class_IFwPresentaton__
mov byte [esp + 0x334], 0x19
mov edi, dword [0x5a88cc]
push str..VasPackage.cpp
lea ecx, [esp + 0xc0]
call fcn.00432df0
push eax
push str.Error_in_package_
lea ecx, [esp + 0xd4]
call fcn.00428040
push eax
lea ecx, [esp + 0xd4]
call fcn.00428250
push eax
push esi
mov ecx, edi
call fcn.00424370
lea ecx, [esp + 0xa0]
mov byte [esp + 0x32c], 0x18
call fcn.004032f0
lea ecx, [esp + 0xcc]
mov byte [esp + 0x32c], 8
call fcn.00427cc0
push 1
lea esi, [esp + 0x1c]
call fcn.00413570
push ecx
mov byte [esp + 0x334], 0x1a
mov edx, esp
mov dword [esp + 0x6c], esp
push 0x5733a8
push edx
mov ecx, eax
call fcn.004026b0
add esp, 8
mov edi, ebp
call fcn.004190d0
mov byte [esp + 0x32c], 8
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ba0f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0xf0]
push ecx
push edx
call fcn.0052b07b
add esp, 8
test eax, eax
je 0x41b590
cmp byte [esp + 0x17], 0
je 0x41baa5
push 0x1c
call fcn.00511b35
mov esi, eax
add esp, 4
mov dword [esp + 0x64], esi
test esi, esi
mov byte [esp + 0x32c], 0x1b
je 0x41ba85
lea eax, [esp + 0x6c]
push eax
lea edi, [esp + 0x74]
call fcn.004186e0
mov byte [esp + 0x32c], 0x1c
mov ecx, dword [esp + 0x2c]
mov edx, dword [eax]
push ecx
push edx
push 0xc1010057
push esi
mov dword [esp + 0x6c], 3
call fcn.00415730
add esp, 0x10
jmp 0x41ba87
xor eax, eax
mov dword [esp + 0x32c], 0x1d
mov dword [esp + 0x18], eax
push 0x593fb0
lea eax, [esp + 0x1c]
push eax
call fcn.00523a70
mov edi, dword [esp + 0x34]
test edi, edi
je 0x41bb0e
push 0x1c
call fcn.00511b35
mov esi, eax
add esp, 4
mov dword [esp + 0x64], esi
test esi, esi
mov byte [esp + 0x32c], 0x1e
je 0x41baf1
mov eax, dword [esp + 0x28]
cmp dword [eax - 4], 1
jle 0x41bae4
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00402f70
mov eax, dword [esp + 0x28]
push eax
push edi
push esi
call fcn.00415730
add esp, 0xc
jmp 0x41baf3
xor eax, eax
push 0x593fb0
lea edx, [esp + 0x1c]
mov byte [esp + 0x330], 8
push edx
mov dword [esp + 0x20], eax
call fcn.00523a70
mov byte [esp + 0x32c], 7
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41bb36
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x32c], 6
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41bb5e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x32c], 5
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 0x41bb86
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x32c], 4
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 0x41bbae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x32c], 3
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41bbd6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x32c], 2
mov eax, dword [esp + 0x88]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41bc01
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x32c], 1
call fcn.00412080
mov byte [esp + 0x32c], 0
mov eax, dword [esp + 0x334]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41bc3d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x324]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30c]
xor ecx, esp
call fcn.00522672
add esp, 0x31c
ret