Function at 0x405eb0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x438623
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.00426f40
push 0x1ff
lea ecx, [esp + 0x9d5]
push edi
push ecx
mov byte [esp + 0x9dc], 0
call fcn.00426f40
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.0041564a
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x405fe7
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.00405b10
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.00427441
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 0x40605c
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 0x406083
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.00426f40
lea edx, [esp + 0x6d0]
push edx
lea eax, [esp + 0x1d0]
push 0x200
push eax
call fcn.00427441
mov eax, dword [0x44c9d8]
add esp, 0x18
mov ecx, eax
lea ebx, [ebx]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x4060c0
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 0x4060d7
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 0x406100
mov ecx, dword [0x43bfe8]
mov dx, word [0x43bfec]
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 0x406a69
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 0x4068da
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.00410d54
mov eax, dword [esp + 0x34]
push eax
lea ecx, [esp + 0x4c8]
push ecx
call fcn.0042692a
add esp, 8
test eax, eax
jne 0x406279
mov edx, dword [esp + 0x2c]
push edx
lea eax, [esp + 0x4c8]
push eax
call fcn.0042692a
add esp, 8
test eax, eax
jne 0x406279
mov ecx, dword [esp + 0x24]
push ecx
lea edx, [esp + 0x4c8]
push edx
call fcn.0042692a
add esp, 8
test eax, eax
jne 0x406279
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x4c8]
push ecx
call fcn.0042692a
add esp, 8
test eax, eax
jne 0x406279
mov edx, dword [esp + 0x20]
push edx
lea eax, [esp + 0x4c8]
push eax
call fcn.0042692a
add esp, 8
test eax, eax
jne 0x406279
mov ecx, dword [esp + 0x28]
push ecx
lea edx, [esp + 0x4c8]
push edx
call fcn.0042692a
add esp, 8
test eax, eax
je 0x4068b6
xor eax, eax
jmp 0x406280
mov cl, byte [esp + eax + 0x4c4]
mov byte [esp + eax + 0x5c4], cl
add eax, 1
test cl, cl
jne 0x406280
xor eax, eax
jmp 0x4062a0
mov cl, byte [esp + eax + 0x4c4]
mov byte [esp + eax + 0x8c4], cl
add eax, 1
test cl, cl
jne 0x4062a0
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.00410d54
push 0x140
lea eax, [esp + 0x84]
push 0
push eax
mov byte [esp + 0x601], 0
call fcn.00426f40
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 0x406320
mov eax, dword [0x44c9d8]
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x406340
lea edi, [esp + 0x1c0]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x406355
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 0x406380
mov ecx, dword [0x43bfe8]
mov dx, word [0x43bfec]
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 0x406582
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 0x4063c2
lea eax, [esp + 0xac]
mov esi, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4063e0
lea edi, [esp + 0x1c0]
sub eax, esi
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x4063f5
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 0x406564
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 0x40655d
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 0x40655d
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 0x406494
push esi
call dword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
jmp 0x40656b
lea edx, [esp + 0x3c]
push edx
push 0
lea eax, [esp + 0x3c8]
push eax
push esi
call edi
test eax, eax
je 0x40655d
mov edi, dword [sym.imp.SETUPAPI.dll_SetupGetStringFieldA]
jmp 0x4064c0
push 0
push 0x104
lea ecx, [esp + 0x3c8]
push ecx
push 2
lea edx, [esp + 0x4c]
push edx
call edi
test eax, eax
je 0x406529
lea eax, [esp + 0x3c0]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4064e6
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 0x406529
lea ecx, [esp + 0x5c4]
push ecx
push ebp
call fcn.0042692a
add esp, 8
test eax, eax
je 0x406529
sub eax, ebp
cmp eax, 0xffffffff
jne 0x40653d
lea edx, [esp + 0x3c]
push edx
mov eax, edx
push eax
call dword [sym.imp.SETUPAPI.dll_SetupFindNextLine]
test eax, eax
jne 0x4064c0
jmp 0x40655d
xor eax, eax
nop
mov cl, byte [esp + eax + 0x1c0]
mov byte [esp + eax + 0x9c4], cl
add eax, 1
test cl, cl
jne 0x406540
mov dword [esp + 0x18], 1
push esi
call dword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
cmp dword [esp + 0x18], 0
jne 0x406582
lea ecx, [esp + 0x80]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4063c0
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0x18], 0
jne 0x406840
push 0x140
lea edx, [esp + 0x84]
push 0
push edx
mov byte [esp + 0x5f1], 0
call fcn.00426f40
add esp, 0xc
xor eax, eax
jmp 0x4065c0
mov cl, byte [esp + eax + 0x6c4]
mov byte [esp + eax + 0x1c0], cl
add eax, 1
test cl, cl
jne 0x4065c0
mov eax, dword [0x44c9d8]
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4065e0
lea edi, [esp + 0x1c0]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x4065f5
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 0x406620
mov ecx, dword [0x43bfe8]
mov dx, word [0x43bfec]
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 0x406832
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 0x406662
lea eax, [esp + 0xac]
mov esi, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x406680
lea edi, [esp + 0x1c0]
sub eax, esi
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x406695
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 0x406814
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 0x40680d
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 0x40680d
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 0x406734
push esi
call dword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
jmp 0x40681b
lea edx, [esp + 0x3c]
push edx
push 0
lea eax, [esp + 0x3c8]
push eax
push esi
call edi
test eax, eax
je 0x40680d
mov edi, dword [sym.imp.SETUPAPI.dll_SetupGetStringFieldA]
jmp 0x406760
push 0
push 0x104
lea ecx, [esp + 0x3c8]
push ecx
push 2
lea edx, [esp + 0x4c]
push edx
call edi
test eax, eax
je 0x4067d2
lea eax, [esp + 0x3c0]
push eax
lea ecx, [esp + 0x20]
call fcn.004034e0
mov ebp, dword [esp + 0x1c]
cmp dword [ebp - 0xc], 0
jl 0x4067d2
lea ecx, [esp + 0x5c4]
push ecx
push ebp
call fcn.0042692a
add esp, 8
test eax, eax
je 0x4067d2
sub eax, ebp
cmp eax, 0xffffffff
je 0x4067d2
cmp dword [ebp - 0xc], 0
jl 0x4067ea
push str.SUBSYS
push ebp
call fcn.0042692a
add esp, 8
test eax, eax
je 0x4067ea
sub eax, ebp
cmp eax, 0xffffffff
je 0x4067ea
lea edx, [esp + 0x3c]
push edx
mov eax, edx
push eax
call dword [sym.imp.SETUPAPI.dll_SetupFindNextLine]
test eax, eax
jne 0x406760
jmp 0x40680d
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 0x4067f0
mov dword [esp + 0x18], 1
push esi
call dword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
cmp dword [esp + 0x18], 0
jne 0x406832
lea ecx, [esp + 0x80]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x406660
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0x18], 0
je 0x4068b6
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.00410d54
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 0x4068ae
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.00403c50
jmp 0x4068b6
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 0x406180
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.00410d54
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 0x406945
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 0x40696d
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 0x406995
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 0x4069bd
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 0x4069e5
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 0x406a0d
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 0x406a35
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 0x406a60
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x50]
jmp 0x406baa
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 0x406a8d
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 0x406ab5
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 0x406add
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 0x406b05
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 0x406b2d
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 0x406b55
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 0x406b7d
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 0x406ba8
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.00425dea
add esp, 0xbc0
ret