Function at 0x4060c0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x438843
mov eax, dword fs:[0]
push eax
sub esp, 0xbb4
mov eax, dword [0x44b538]
xor eax, esp
mov dword [esp + 0xbb0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44b538]
xor eax, esp
push eax
lea eax, [esp + 0xbc8]
mov dword fs:[0], eax
mov esi, ecx
push str.FUNC_01VEN_8086
lea ecx, [esp + 0x38]
mov dword [esp + 0x18], esi
call fcn.00404b00
xor edi, edi
push str.FUNC_01VEN_1002
lea ecx, [esp + 0x30]
mov dword [esp + 0xbd4], edi
call fcn.00404b00
push str.FUNC_01VEN_10DE
lea ecx, [esp + 0x28]
mov byte [esp + 0xbd4], 1
call fcn.00404b00
push str.FUNC_01VEN_1106
lea ecx, [esp + 0x34]
mov byte [esp + 0xbd4], 2
call fcn.00404b00
push str.FUNC_01VEN_1039
lea ecx, [esp + 0x24]
mov byte [esp + 0xbd4], 3
call fcn.00404b00
push str.FUNC_01VEN_10B9
lea ecx, [esp + 0x2c]
mov byte [esp + 0xbd4], 4
call fcn.00404b00
push 0x1ff
lea eax, [esp + 0x1c5]
push edi
push eax
mov byte [esp + 0xbdc], 5
mov byte [esp + 0x1cc], 0
call fcn.00427160
push 0x1ff
lea ecx, [esp + 0x9d5]
push edi
push ecx
mov byte [esp + 0x9dc], 0
call fcn.00427160
add esp, 0x18
push 0x43b9a7
lea ecx, [esp + 0x50]
call fcn.00404b00
mov byte [esp + 0xbd0], 6
mov dword [esp + 0x58], edi
mov dword [esp + 0x50], edi
call fcn.004158fc
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4061f7
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x1c], ebp
lea ecx, [esp + 0x60]
push ecx
mov bl, 7
mov ecx, esi
mov byte [esp + 0xbd4], bl
call fcn.00405d20
push 0x43bf2c
push eax
lea edx, [esp + 0x64]
push edx
mov byte [esp + 0xbdc], 8
call fcn.00402eb0
mov eax, dword [eax]
push eax
lea eax, [esp + 0x6d4]
push 0x200
push eax
call fcn.00427661
mov eax, dword [esp + 0x74]
add eax, 0xfffffff0
add esp, 0x18
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40626c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
mov byte [esp + 0xbd0], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406293
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x140
lea ecx, [esp + 0x84]
push edi
push ecx
call fcn.00427160
lea edx, [esp + 0x6d0]
push edx
lea eax, [esp + 0x1d0]
push 0x200
push eax
call fcn.00427661
mov eax, dword [0x44ca10]
add esp, 0x18
mov ecx, eax
lea ebx, [ebx]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x4062d0
lea edi, [esp + 0x1c0]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x4062e7
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x1c0]
rep movsb byte es:[edi], byte [esi]
add eax, 0xffffffff
lea esp, [esp]
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x406310
mov ecx, dword [0x43c020]
mov dx, word [0x43c024]
mov dword [eax], ecx
mov word [eax + 4], dx
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x1c4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x406c79
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push 6
push 0
push str.HDAUDIO
push 0
call dword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsA]
lea edx, [esp + 0x64]
push edx
push 0
push eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x70], 0x1c
mov dword [esp + 0x60], 0
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x406aea
mov edi, edi
mov edx, dword [esp + 0x38]
push 0
push 0x100
lea eax, [esp + 0x4cc]
push eax
lea ecx, [esp + 0x70]
push ecx
push edx
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInstanceIdA]
mov eax, dword [0x44c9d4]
mov esi, dword [esp + 0x14]
xor ecx, ecx
cmp eax, 0x5a
setge cl
push 0
sub ecx, 1
and ecx, 5
add eax, ecx
push eax
mov dword [0x44c9d4], eax
mov edx, dword [esi + 0x2a50]
push 0x402
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov ecx, esi
call fcn.00411013
mov eax, dword [esp + 0x34]
push eax
lea ecx, [esp + 0x4c8]
push ecx
call fcn.00426b4a
add esp, 8
test eax, eax
jne 0x406489
mov edx, dword [esp + 0x2c]
push edx
lea eax, [esp + 0x4c8]
push eax
call fcn.00426b4a
add esp, 8
test eax, eax
jne 0x406489
mov ecx, dword [esp + 0x24]
push ecx
lea edx, [esp + 0x4c8]
push edx
call fcn.00426b4a
add esp, 8
test eax, eax
jne 0x406489
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x4c8]
push ecx
call fcn.00426b4a
add esp, 8
test eax, eax
jne 0x406489
mov edx, dword [esp + 0x20]
push edx
lea eax, [esp + 0x4c8]
push eax
call fcn.00426b4a
add esp, 8
test eax, eax
jne 0x406489
mov ecx, dword [esp + 0x28]
push ecx
lea edx, [esp + 0x4c8]
push edx
call fcn.00426b4a
add esp, 8
test eax, eax
je 0x406ac6
xor eax, eax
jmp 0x406490
mov cl, byte [esp + eax + 0x4c4]
mov byte [esp + eax + 0x5c4], cl
add eax, 1
test cl, cl
jne 0x406490
xor eax, eax
jmp 0x4064b0
mov cl, byte [esp + eax + 0x4c4]
mov byte [esp + eax + 0x8c4], cl
add eax, 1
test cl, cl
jne 0x4064b0
mov eax, dword [0x44c9d4]
mov byte [esp + 0x8fe], cl
xor ecx, ecx
cmp eax, 0x5a
setge cl
push 0
mov dword [esp + 0x1c], 0
sub ecx, 1
and ecx, 0xa
add eax, ecx
push eax
mov dword [0x44c9d4], eax
mov edx, dword [esi + 0x2a50]
push 0x402
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov ecx, esi
call fcn.00411013
push 0x140
lea eax, [esp + 0x84]
push 0
push eax
mov byte [esp + 0x601], 0
call fcn.00427160
add esp, 0xc
xor eax, eax
lea ecx, [ecx]
mov cl, byte [esp + eax + 0x6c4]
mov byte [esp + eax + 0x1c0], cl
add eax, 1
test cl, cl
jne 0x406530
mov eax, dword [0x44ca10]
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x406550
lea edi, [esp + 0x1c0]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x406565
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x1c0]
rep movsb byte es:[edi], byte [esi]
add eax, 0xffffffff
lea esp, [esp]
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x406590
mov ecx, dword [0x43c020]
mov dx, word [0x43c024]
mov dword [eax], ecx
mov word [eax + 4], dx
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x1c4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x406792
mov edi, edi
xor eax, eax
mov cl, byte [esp + eax + 0x6c4]
mov byte [esp + eax + 0x1c0], cl
add eax, 1
test cl, cl
jne 0x4065d2
lea eax, [esp + 0xac]
mov esi, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4065f0
lea edi, [esp + 0x1c0]
sub eax, esi
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x406605
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0
push 2
mov ecx, eax
push 0
lea edx, [esp + 0x1cc]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.SETUPAPI.dll_SetupOpenInfFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x406774
mov edi, dword [sym.imp.SETUPAPI.dll_SetupFindFirstLineA]
lea eax, [esp + 0x3c]
push eax
push 0
push 0x43bf84
push esi
call edi
test eax, eax
je 0x40676d
push 0
push 0x104
lea ecx, [esp + 0x3c8]
push ecx
push 1
lea edx, [esp + 0x4c]
push edx
call dword [sym.imp.SETUPAPI.dll_SetupGetStringFieldA]
test eax, eax
je 0x40676d
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x3c4]
push ecx
mov ecx, dword [esp + 0x1c]
push esi
call fcn.004016a0
test eax, eax
jne 0x4066a4
push esi
call dword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
jmp 0x40677b
lea edx, [esp + 0x3c]
push edx
push 0
lea eax, [esp + 0x3c8]
push eax
push esi
call edi
test eax, eax
je 0x40676d
mov edi, dword [sym.imp.SETUPAPI.dll_SetupGetStringFieldA]
jmp 0x4066d0
push 0
push 0x104
lea ecx, [esp + 0x3c8]
push ecx
push 2
lea edx, [esp + 0x4c]
push edx
call edi
test eax, eax
je 0x406739
lea eax, [esp + 0x3c0]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4066f6
sub eax, edx
push eax
lea eax, [esp + 0x3c4]
push eax
lea ecx, [esp + 0x24]
call fcn.00402c50
mov ebp, dword [esp + 0x1c]
cmp dword [ebp - 0xc], 0
jl 0x406739
lea ecx, [esp + 0x5c4]
push ecx
push ebp
call fcn.00426b4a
add esp, 8
test eax, eax
je 0x406739
sub eax, ebp
cmp eax, 0xffffffff
jne 0x40674d
lea edx, [esp + 0x3c]
push edx
mov eax, edx
push eax
call dword [sym.imp.SETUPAPI.dll_SetupFindNextLine]
test eax, eax
jne 0x4066d0
jmp 0x40676d
xor eax, eax
nop
mov cl, byte [esp + eax + 0x1c0]
mov byte [esp + eax + 0x9c4], cl
add eax, 1
test cl, cl
jne 0x406750
mov dword [esp + 0x18], 1
push esi
call dword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
cmp dword [esp + 0x18], 0
jne 0x406792
lea ecx, [esp + 0x80]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4065d0
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0x18], 0
jne 0x406a50
push 0x140
lea edx, [esp + 0x84]
push 0
push edx
mov byte [esp + 0x5f1], 0
call fcn.00427160
add esp, 0xc
xor eax, eax
jmp 0x4067d0
mov cl, byte [esp + eax + 0x6c4]
mov byte [esp + eax + 0x1c0], cl
add eax, 1
test cl, cl
jne 0x4067d0
mov eax, dword [0x44ca10]
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4067f0
lea edi, [esp + 0x1c0]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x406805
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x1c0]
rep movsb byte es:[edi], byte [esi]
add eax, 0xffffffff
lea esp, [esp]
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x406830
mov ecx, dword [0x43c020]
mov dx, word [0x43c024]
mov dword [eax], ecx
mov word [eax + 4], dx
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x1c4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x406a42
mov edi, edi
xor eax, eax
mov cl, byte [esp + eax + 0x6c4]
mov byte [esp + eax + 0x1c0], cl
add eax, 1
test cl, cl
jne 0x406872
lea eax, [esp + 0xac]
mov esi, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x406890
lea edi, [esp + 0x1c0]
sub eax, esi
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x4068a5
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0
push 2
mov ecx, eax
push 0
lea edx, [esp + 0x1cc]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.SETUPAPI.dll_SetupOpenInfFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x406a24
mov edi, dword [sym.imp.SETUPAPI.dll_SetupFindFirstLineA]
lea eax, [esp + 0x3c]
push eax
push 0
push 0x43bf84
push esi
call edi
test eax, eax
je 0x406a1d
push 0
push 0x104
lea ecx, [esp + 0x3c8]
push ecx
push 1
lea edx, [esp + 0x4c]
push edx
call dword [sym.imp.SETUPAPI.dll_SetupGetStringFieldA]
test eax, eax
je 0x406a1d
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x3c4]
push ecx
mov ecx, dword [esp + 0x1c]
push esi
call fcn.004016a0
test eax, eax
jne 0x406944
push esi
call dword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
jmp 0x406a2b
lea edx, [esp + 0x3c]
push edx
push 0
lea eax, [esp + 0x3c8]
push eax
push esi
call edi
test eax, eax
je 0x406a1d
mov edi, dword [sym.imp.SETUPAPI.dll_SetupGetStringFieldA]
jmp 0x406970
push 0
push 0x104
lea ecx, [esp + 0x3c8]
push ecx
push 2
lea edx, [esp + 0x4c]
push edx
call edi
test eax, eax
je 0x4069e2
lea eax, [esp + 0x3c0]
push eax
lea ecx, [esp + 0x20]
call fcn.004036f0
mov ebp, dword [esp + 0x1c]
cmp dword [ebp - 0xc], 0
jl 0x4069e2
lea ecx, [esp + 0x5c4]
push ecx
push ebp
call fcn.00426b4a
add esp, 8
test eax, eax
je 0x4069e2
sub eax, ebp
cmp eax, 0xffffffff
je 0x4069e2
cmp dword [ebp - 0xc], 0
jl 0x4069fa
push str.SUBSYS
push ebp
call fcn.00426b4a
add esp, 8
test eax, eax
je 0x4069fa
sub eax, ebp
cmp eax, 0xffffffff
je 0x4069fa
lea edx, [esp + 0x3c]
push edx
mov eax, edx
push eax
call dword [sym.imp.SETUPAPI.dll_SetupFindNextLine]
test eax, eax
jne 0x406970
jmp 0x406a1d
xor eax, eax
lea esp, [esp]
mov cl, byte [esp + eax + 0x1c0]
mov byte [esp + eax + 0x9c4], cl
add eax, 1
test cl, cl
jne 0x406a00
mov dword [esp + 0x18], 1
push esi
call dword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
cmp dword [esp + 0x18], 0
jne 0x406a42
lea ecx, [esp + 0x80]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x406870
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0x18], 0
je 0x406ac6
mov eax, dword [0x44c9d4]
mov esi, dword [esp + 0x14]
xor edx, edx
cmp eax, 0x5a
setge dl
push 0
sub edx, 1
and edx, 0xa
add eax, edx
push eax
mov dword [0x44c9d4], eax
mov eax, dword [esi + 0x2a50]
push 0x402
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov ecx, esi
call fcn.00411013
lea ecx, [esp + 0x58]
push ecx
push 1
lea edx, [esp + 0x9cc]
push edx
lea eax, [esp + 0x8d0]
push eax
push 0
call sub.newdev.dll_UpdateDriverForPlugAndPlayDevicesA
test eax, eax
jne 0x406abe
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.00403e60
jmp 0x406ac6
mov dword [esp + 0x50], 1
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x64]
add eax, 1
push ecx
push eax
push edx
mov dword [esp + 0x60], eax
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
jne 0x406390
mov eax, dword [esp + 0x38]
push eax
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov eax, dword [0x44c9d4]
mov esi, dword [esp + 0x14]
xor ecx, ecx
cmp eax, 0x5a
setge cl
push 0
sub ecx, 1
and ecx, 0xa
add eax, ecx
push eax
mov dword [0x44c9d4], eax
mov edx, dword [esi + 0x2a50]
push 0x402
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov ecx, esi
call fcn.00411013
lea eax, [ebp - 0x10]
mov byte [esp + 0xbd0], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406b55
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
mov byte [esp + 0xbd0], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406b7d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0xbd0], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406ba5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0xbd0], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406bcd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0xbd0], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406bf5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0xbd0], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406c1d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0xbd0], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406c45
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov dword [esp + 0xbd0], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406c70
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x50]
jmp 0x406dba
lea eax, [ebp - 0x10]
mov byte [esp + 0xbd0], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406c9d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
mov byte [esp + 0xbd0], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406cc5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0xbd0], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406ced
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0xbd0], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406d15
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0xbd0], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406d3d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0xbd0], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406d65
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0xbd0], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406d8d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov dword [esp + 0xbd0], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406db8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0xbc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xbb0]
xor ecx, esp
call fcn.00426009
add esp, 0xbc0
ret