Function at 0x405de0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x438543
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.004048f0
xor edi, edi
push str.FUNC_01VEN_1002
lea ecx, [esp + 0x30]
mov dword [esp + 0xbd4], edi
call fcn.004048f0
push str.FUNC_01VEN_10DE
lea ecx, [esp + 0x28]
mov byte [esp + 0xbd4], 1
call fcn.004048f0
push str.FUNC_01VEN_1106
lea ecx, [esp + 0x34]
mov byte [esp + 0xbd4], 2
call fcn.004048f0
push str.FUNC_01VEN_1039
lea ecx, [esp + 0x24]
mov byte [esp + 0xbd4], 3
call fcn.004048f0
push str.FUNC_01VEN_10B9
lea ecx, [esp + 0x2c]
mov byte [esp + 0xbd4], 4
call fcn.004048f0
push 0x1ff
lea eax, [esp + 0x1c5]
push edi
push eax
mov byte [esp + 0xbdc], 5
mov byte [esp + 0x1cc], 0
call fcn.00426e70
push 0x1ff
lea ecx, [esp + 0x9d5]
push edi
push ecx
mov byte [esp + 0x9dc], 0
call fcn.00426e70
add esp, 0x18
push 0x43b903
lea ecx, [esp + 0x50]
call fcn.004048f0
mov byte [esp + 0xbd0], 6
mov dword [esp + 0x58], edi
mov dword [esp + 0x50], edi
call fcn.0041557a
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x405f17
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.00405a40
push 0x43bef4
push eax
lea edx, [esp + 0x64]
push edx
mov byte [esp + 0xbdc], 8
call fcn.00402cd0
mov eax, dword [eax]
push eax
lea eax, [esp + 0x6d4]
push 0x200
push eax
call fcn.00427371
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 0x405f8c
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 0x405fb3
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.00426e70
lea edx, [esp + 0x6d0]
push edx
lea eax, [esp + 0x1d0]
push 0x200
push eax
call fcn.00427371
mov eax, dword [0x44c9d8]
add esp, 0x18
mov ecx, eax
lea ebx, [ebx]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x405ff0
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 0x406007
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 0x406030
mov ecx, dword [0x43bfc8]
mov dx, word [0x43bfcc]
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 0x406999
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 0x40680a
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.00410c84
mov eax, dword [esp + 0x34]
push eax
lea ecx, [esp + 0x4c8]
push ecx
call fcn.0042685a
add esp, 8
test eax, eax
jne 0x4061a9
mov edx, dword [esp + 0x2c]
push edx
lea eax, [esp + 0x4c8]
push eax
call fcn.0042685a
add esp, 8
test eax, eax
jne 0x4061a9
mov ecx, dword [esp + 0x24]
push ecx
lea edx, [esp + 0x4c8]
push edx
call fcn.0042685a
add esp, 8
test eax, eax
jne 0x4061a9
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x4c8]
push ecx
call fcn.0042685a
add esp, 8
test eax, eax
jne 0x4061a9
mov edx, dword [esp + 0x20]
push edx
lea eax, [esp + 0x4c8]
push eax
call fcn.0042685a
add esp, 8
test eax, eax
jne 0x4061a9
mov ecx, dword [esp + 0x28]
push ecx
lea edx, [esp + 0x4c8]
push edx
call fcn.0042685a
add esp, 8
test eax, eax
je 0x4067e6
xor eax, eax
jmp 0x4061b0
mov cl, byte [esp + eax + 0x4c4]
mov byte [esp + eax + 0x5c4], cl
add eax, 1
test cl, cl
jne 0x4061b0
xor eax, eax
jmp 0x4061d0
mov cl, byte [esp + eax + 0x4c4]
mov byte [esp + eax + 0x8c4], cl
add eax, 1
test cl, cl
jne 0x4061d0
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.00410c84
push 0x140
lea eax, [esp + 0x84]
push 0
push eax
mov byte [esp + 0x601], 0
call fcn.00426e70
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 0x406250
mov eax, dword [0x44c9d8]
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x406270
lea edi, [esp + 0x1c0]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x406285
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 0x4062b0
mov ecx, dword [0x43bfc8]
mov dx, word [0x43bfcc]
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 0x4064b2
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 0x4062f2
lea eax, [esp + 0xac]
mov esi, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x406310
lea edi, [esp + 0x1c0]
sub eax, esi
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x406325
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 0x406494
mov edi, dword [sym.imp.SETUPAPI.dll_SetupFindFirstLineA]
lea eax, [esp + 0x3c]
push eax
push 0
push 0x43bf4c
push esi
call edi
test eax, eax
je 0x40648d
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 0x40648d
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 0x4063c4
push esi
call dword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
jmp 0x40649b
lea edx, [esp + 0x3c]
push edx
push 0
lea eax, [esp + 0x3c8]
push eax
push esi
call edi
test eax, eax
je 0x40648d
mov edi, dword [sym.imp.SETUPAPI.dll_SetupGetStringFieldA]
jmp 0x4063f0
push 0
push 0x104
lea ecx, [esp + 0x3c8]
push ecx
push 2
lea edx, [esp + 0x4c]
push edx
call edi
test eax, eax
je 0x406459
lea eax, [esp + 0x3c0]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x406416
sub eax, edx
push eax
lea eax, [esp + 0x3c4]
push eax
lea ecx, [esp + 0x24]
call fcn.00402a70
mov ebp, dword [esp + 0x1c]
cmp dword [ebp - 0xc], 0
jl 0x406459
lea ecx, [esp + 0x5c4]
push ecx
push ebp
call fcn.0042685a
add esp, 8
test eax, eax
je 0x406459
sub eax, ebp
cmp eax, 0xffffffff
jne 0x40646d
lea edx, [esp + 0x3c]
push edx
mov eax, edx
push eax
call dword [sym.imp.SETUPAPI.dll_SetupFindNextLine]
test eax, eax
jne 0x4063f0
jmp 0x40648d
xor eax, eax
nop
mov cl, byte [esp + eax + 0x1c0]
mov byte [esp + eax + 0x9c4], cl
add eax, 1
test cl, cl
jne 0x406470
mov dword [esp + 0x18], 1
push esi
call dword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
cmp dword [esp + 0x18], 0
jne 0x4064b2
lea ecx, [esp + 0x80]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4062f0
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0x18], 0
jne 0x406770
push 0x140
lea edx, [esp + 0x84]
push 0
push edx
mov byte [esp + 0x5f1], 0
call fcn.00426e70
add esp, 0xc
xor eax, eax
jmp 0x4064f0
mov cl, byte [esp + eax + 0x6c4]
mov byte [esp + eax + 0x1c0], cl
add eax, 1
test cl, cl
jne 0x4064f0
mov eax, dword [0x44c9d8]
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x406510
lea edi, [esp + 0x1c0]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x406525
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 0x406550
mov ecx, dword [0x43bfc8]
mov dx, word [0x43bfcc]
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 0x406762
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 0x406592
lea eax, [esp + 0xac]
mov esi, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4065b0
lea edi, [esp + 0x1c0]
sub eax, esi
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x4065c5
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 0x406744
mov edi, dword [sym.imp.SETUPAPI.dll_SetupFindFirstLineA]
lea eax, [esp + 0x3c]
push eax
push 0
push 0x43bf4c
push esi
call edi
test eax, eax
je 0x40673d
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 0x40673d
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 0x406664
push esi
call dword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
jmp 0x40674b
lea edx, [esp + 0x3c]
push edx
push 0
lea eax, [esp + 0x3c8]
push eax
push esi
call edi
test eax, eax
je 0x40673d
mov edi, dword [sym.imp.SETUPAPI.dll_SetupGetStringFieldA]
jmp 0x406690
push 0
push 0x104
lea ecx, [esp + 0x3c8]
push ecx
push 2
lea edx, [esp + 0x4c]
push edx
call edi
test eax, eax
je 0x406702
lea eax, [esp + 0x3c0]
push eax
lea ecx, [esp + 0x20]
call fcn.004034e0
mov ebp, dword [esp + 0x1c]
cmp dword [ebp - 0xc], 0
jl 0x406702
lea ecx, [esp + 0x5c4]
push ecx
push ebp
call fcn.0042685a
add esp, 8
test eax, eax
je 0x406702
sub eax, ebp
cmp eax, 0xffffffff
je 0x406702
cmp dword [ebp - 0xc], 0
jl 0x40671a
push str.SUBSYS
push ebp
call fcn.0042685a
add esp, 8
test eax, eax
je 0x40671a
sub eax, ebp
cmp eax, 0xffffffff
je 0x40671a
lea edx, [esp + 0x3c]
push edx
mov eax, edx
push eax
call dword [sym.imp.SETUPAPI.dll_SetupFindNextLine]
test eax, eax
jne 0x406690
jmp 0x40673d
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 0x406720
mov dword [esp + 0x18], 1
push esi
call dword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
cmp dword [esp + 0x18], 0
jne 0x406762
lea ecx, [esp + 0x80]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x406590
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0x18], 0
je 0x4067e6
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.00410c84
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 0x4067de
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.00403c50
jmp 0x4067e6
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 0x4060b0
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.00410c84
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 0x406875
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 0x40689d
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 0x4068c5
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 0x4068ed
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 0x406915
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 0x40693d
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 0x406965
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 0x406990
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x50]
jmp 0x406ada
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 0x4069bd
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 0x4069e5
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 0x406a0d
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 0x406a35
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 0x406a5d
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 0x406a85
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 0x406aad
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 0x406ad8
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.00425d1a
add esp, 0xbc0
ret