Function at 0x4b0ed0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x5e4003
mov eax, dword fs:[0]
push eax
sub esp, 0x31c
mov eax, dword [0x65f810]
xor eax, esp
mov dword [esp + 0x318], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x65f810]
xor eax, esp
push eax
lea eax, [esp + 0x330]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [0x66d460]
push str.InterfaceAddOns.
mov dword [esp + 0x54], edi
call fcn.00454410
add eax, 0x20
push eax
lea eax, [esp + 0xc8]
push eax
call fcn.0043bbd0
add esp, 0xc
mov edx, dword [0x66dd30]
mov eax, dword [edx + 0xc]
xor ebp, ebp
mov ecx, 0x66dd30
mov dword [esp + 0x338], ebp
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x338], 1
call fcn.00481b70
cmp dword [esp + 0xd8], 8
mov eax, dword [esp + 0xc4]
mov byte [esp + 0x338], 2
jae 0x4b0f86
lea eax, [esp + 0xc4]
lea ecx, [esp + 0xdc]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov esi, dword [esp + 0xd4]
mov ebx, eax
push 0x5f16a8
mov dword [esp + 0x4c], ebx
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
sub esi, eax
push esi
push ebp
lea edx, [esp + 0xac]
push edx
lea ecx, [esp + 0xcc]
call fcn.0043b3d0
push 0xffffffffffffffff
push ebp
push eax
lea ecx, [esp + 0xcc]
mov byte [esp + 0x344], 3
call fcn.00439be0
mov esi, 8
mov byte [esp + 0x338], 2
cmp dword [esp + 0xbc], esi
jb 0x4b1003
mov eax, dword [esp + 0xa8]
push eax
call fcn.00506f70
add esp, 4
cmp ebx, 0xffffffff
jne 0x4b107a
mov eax, dword [esp + 0x34]
cmp eax, ebp
je 0x4b1019
push eax
call fcn.00506f70
add esp, 4
mov ecx, dword [esp + 0x28]
push ecx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
call fcn.00506f70
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 4
mov byte [esp + 0x338], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4b105a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0xd8], esi
jb 0x4b1073
mov ecx, dword [esp + 0xc4]
push ecx
call fcn.00506f70
add esp, 4
xor eax, eax
jmp 0x4b16ba
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
mov eax, 0x66666667
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [esp + 0x1b]
mov dword [esp + 0x54], eax
push edx
lea eax, [esp + 0x1f]
push eax
lea ecx, [esp + 0x8c]
call fcn.004c8dd0
lea ebp, [edi + 0x44]
mov edi, dword [ebp + 0xc]
mov byte [esp + 0x338], 4
mov dword [esp + 0x4c], ebp
cmp edi, dword [ebp + 0x10]
jbe 0x4b10c7
call fcn.00579468
mov esi, dword [ebp]
lea ebx, [ebx]
mov ebx, dword [ebp + 0x10]
cmp dword [ebp + 0xc], ebx
jbe 0x4b10dd
call fcn.00579468
mov eax, dword [ebp]
test esi, esi
je 0x4b10e8
cmp esi, eax
je 0x4b10ed
call fcn.00579468
cmp edi, ebx
je 0x4b116c
test esi, esi
jne 0x4b1160
call fcn.00579468
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x4b1106
call fcn.00579468
cmp dword [edi + 0x10], 0
setne bl
test esi, esi
jne 0x4b1164
call fcn.00579468
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x4b1122
call fcn.00579468
mov ecx, dword [edi + 4]
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x7c]
mov dword [esp + 0x44], ecx
push eax
lea ecx, [esp + 0x8c]
mov byte [esp + 0x4c], bl
call fcn.004ab280
test esi, esi
jne 0x4b1168
call fcn.00579468
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x4b1158
call fcn.00579468
add edi, 0x20
jmp 0x4b10d0
mov eax, dword [esi]
jmp 0x4b10fc
mov eax, dword [esi]
jmp 0x4b1118
mov eax, dword [esi]
jmp 0x4b114e
mov ebx, dword [ebp + 0x10]
cmp dword [ebp + 0xc], ebx
jbe 0x4b1179
call fcn.00579468
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp]
cmp esi, dword [ebp + 0x10]
jbe 0x4b1189
call fcn.00579468
mov eax, dword [ebp]
push ebx
push edi
push esi
push eax
lea ecx, [esp + 0x50]
push ecx
mov ecx, ebp
call fcn.004ad0e0
lea esp, [esp]
cmp word [esp + 0x108], 0x2e
je 0x4b15c5
test byte [esp + 0xdc], 0x10
je 0x4b15c5
cmp dword [esp + 0xd8], 8
mov eax, dword [esp + 0xc4]
jae 0x4b11d5
lea eax, [esp + 0xc4]
lea edx, [esp + 0x108]
push edx
mov ecx, edx
push ecx
push eax
lea edx, [esp + 0x20]
push str._s_s_s.toc
push edx
call fcn.00455ab0
mov eax, dword [esp + 0x28]
push 2
push eax
call fcn.0045b820
add esp, 0x1c
test eax, eax
je 0x4b15c5
cmp dword [esp + 0xd8], 8
mov eax, dword [esp + 0xc4]
jae 0x4b121f
lea eax, [esp + 0xc4]
lea ecx, [esp + 0x108]
push ecx
push eax
lea edx, [esp + 0x1c]
push 0x5f683c
push edx
call fcn.00455ab0
mov eax, dword [esp + 0x24]
push str.X_WoWBox_Ver
push eax
call fcn.00453ab0
add esp, 0x18
push eax
lea ecx, [esp + 0x24]
call fcn.00455d90
mov ecx, dword [esp + 0x20]
cmp dword [ecx - 0xc], 0
je 0x4b159d
mov dword [esp + 0xbc], 0xf
mov dword [esp + 0xb8], 0
mov byte [esp + 0xa8], 0
mov edx, dword [esp + 0x14]
push str.X_WoWBox_ID
push edx
mov byte [esp + 0x340], 6
call fcn.00453ab0
add esp, 8
push eax
lea ecx, [esp + 0x28]
call fcn.00455d90
mov ecx, dword [esp + 0x24]
push 0
lea eax, [esp + 0xa8]
push eax
push ecx
mov byte [esp + 0x344], 7
call fcn.0045c890
mov eax, dword [esp + 0xb4]
add esp, 0xc
cmp dword [esp + 0xbc], 0x10
jae 0x4b12da
lea eax, [esp + 0xa8]
push eax
call fcn.0057ded1
mov esi, dword [esp + 0x38]
mov ebx, eax
mov eax, dword [esp + 0x3c]
add esp, 4
mov dword [esp + 0x40], ebx
mov dword [esp + 0x1c], eax
cmp esi, eax
jbe 0x4b1306
call fcn.00579468
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
mov ebp, dword [esp + 0x28]
mov edi, eax
cmp esi, eax
jbe 0x4b1326
call fcn.00579468
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
cmp esi, eax
jbe 0x4b1326
call fcn.00579468
mov eax, dword [esp + 0x28]
mov dword [esp + 0x7c], esi
cmp esi, edi
je 0x4b133d
cmp dword [esi], ebx
je 0x4b133d
add esi, 4
cmp esi, edi
jne 0x4b1332
test eax, eax
je 0x4b1345
cmp eax, ebp
je 0x4b134a
call fcn.00579468
cmp esi, dword [esp + 0x1c]
je 0x4b13b5
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x338], 6
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4b1378
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0xbc], 0x10
jb 0x4b1392
mov ecx, dword [esp + 0xa8]
push ecx
call fcn.00506f70
add esp, 4
mov dword [esp + 0xbc], 0xf
mov dword [esp + 0xb8], 0
mov byte [esp + 0xa8], 0
jmp 0x4b159d
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00459ba0
lea ecx, [esp + 0x58]
call fcn.004a8fb0
lea eax, [esp + 0x108]
mov byte [esp + 0x338], 8
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b13e0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x10c]
push edx
lea ecx, [esp + 0x68]
call fcn.00455480
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x68]
call fcn.004a83b0
mov ebp, dword [esp + 0x54]
xor esi, esi
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], 0xffffffff
mov dword [esp + 0x1c], esi
test ebp, ebp
jle 0x4b1513
mov ebx, dword [esp + 0x50]
xor edi, edi
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
mov eax, 0x66666667
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp esi, ecx
jb 0x4b1453
call fcn.00579468
mov edx, dword [ebx + 0xc]
mov eax, dword [esp + 0x58]
cmp dword [edi + edx], eax
je 0x4b1470
inc esi
add edi, 0x50
cmp esi, ebp
jl 0x4b1433
mov dword [esp + 0x1c], esi
jmp 0x4b1513
mov ecx, dword [ebx + 0x10]
sub ecx, edx
mov eax, 0x66666667
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x5c], esi
cmp esi, ecx
jb 0x4b1497
call fcn.00579468
mov edx, dword [ebx + 0xc]
lea edi, [esi + esi*4]
lea eax, [esp + 0x1c]
shl edi, 4
mov ebp, 1
push eax
lea ecx, [esp + 0x88]
mov dword [edx + edi + 0x40], ebp
call fcn.004acf20
cmp byte [eax], 0
jne 0x4b1501
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
mov eax, 0x66666667
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp esi, ecx
jb 0x4b14df
call fcn.00579468
mov eax, dword [ebx + 0xc]
add eax, edi
add eax, 0x24
push eax
lea edx, [esp + 0x68]
push edx
call fcn.004a76c0
add esp, 8
mov dword [esp + 0x68], 0
test al, al
je 0x4b1505
mov dword [esp + 0x68], ebp
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x58]
push eax
call fcn.004b0aa0
mov eax, dword [esp + 0x64]
add eax, 0xfffffff0
mov byte [esp + 0x338], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b153b
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
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b155b
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 + 0x338], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b1583
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0xbc], 0x10
jb 0x4b159d
mov ecx, dword [esp + 0xa8]
push ecx
call fcn.00506f70
add esp, 4
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
mov byte [esp + 0x338], 4
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4b15c5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0xdc]
push ecx
push edx
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x4b11a0
mov ebp, dword [esp + 0x4c]
mov edi, dword [ebp + 0x10]
cmp dword [ebp + 0xc], edi
jbe 0x4b15f1
call fcn.00579468
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp]
cmp esi, dword [ebp + 0x10]
jbe 0x4b1601
call fcn.00579468
mov eax, dword [ebp]
xor ebp, ebp
cmp ebx, ebp
je 0x4b160e
cmp ebx, eax
je 0x4b1613
call fcn.00579468
mov eax, dword [esp + 0x50]
mov ecx, edi
push eax
sub ecx, esi
sar ecx, 5
push ecx
push edi
push esi
call fcn.004b0c70
mov edx, dword [esp + 0x58]
add esp, 0x10
push edx
call dword [sym.imp.KERNEL32.DLL_FindClose]
lea ecx, [esp + 0x84]
mov byte [esp + 0x338], 2
call fcn.004c9df0
mov eax, dword [esp + 0x34]
cmp eax, ebp
je 0x4b165a
push eax
call fcn.00506f70
add esp, 4
mov eax, dword [esp + 0x28]
push eax
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
call fcn.00506f70
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 4
mov byte [esp + 0x338], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b169b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0xd8], 8
jb 0x4b16b5
mov ecx, dword [esp + 0xc4]
push ecx
call fcn.00506f70
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x330]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x318]
xor ecx, esp
call fcn.005792fc
add esp, 0x328
ret