Function at 0x43ea20
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a8278
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x4ccc64]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x288], eax
mov dword [ebp - 0x280], ecx
mov dword [ebp - 0x284], edx
xor edi, edi
push 0x24c
lea eax, [ebp - 0x25c]
mov esi, 1
push edi
mov dword [ebp - 4], esi
push eax
mov dword [ebp - 0x260], edi
call fcn.0048cb00
mov edx, dword [ebp + 0xc]
add esp, 0xc
lea ecx, [ebp - 0x260]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x290], eax
cmp eax, 0xffffffff
je 0x43f062
mov dword [ebp - 0x26c], esi
mov edi, edi
push ecx
mov ebx, esp
mov dword [ebp - 0x28c], esp
mov dword [ebp - 0x278], ebx
call fcn.0047dccb
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x43f0c9
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx], eax
mov ecx, 0x4b11ac
mov byte [ebp - 4], 2
test ecx, 0xffff0000
jne 0x43ebd3
mov edx, ecx
movzx esi, dx
push esi
call fcn.00485bef
mov edi, eax
test edi, edi
je 0x43ebed
mov eax, esi
shr eax, 4
inc eax
movzx ecx, ax
push 6
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x43ebed
push esi
push eax
push edi
call fcn.004206ac
mov edi, eax
add esp, 0xc
test edi, edi
je 0x43ebed
mov eax, dword [ebx]
movzx esi, word [edi]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, esi
or eax, ecx
jge 0x43eb5c
push esi
mov ecx, ebx
call fcn.004204f5
movzx eax, word [edi]
mov edx, dword [ebx]
add edi, 2
mov dword [ebp - 0x264], edx
cmp eax, 0xffffffff
jne 0x43eb79
push edi
call fcn.0048c02b
add esp, 4
inc eax
add eax, eax
push eax
lea ecx, [esi + esi]
push edi
push ecx
mov dword [ebp - 0x268], ecx
mov ecx, dword [ebp - 0x264]
push ecx
call fcn.0048bd6a
add esp, 0x10
cmp eax, 0x50
ja case.0x43ece8.1
movzx edx, byte [eax + 0x43f0fc]
jmp dword [edx*4 + 0x43f0ec]
test esi, esi
jl 0x43f0dd
mov eax, dword [ebx]
cmp esi, dword [eax - 8]
jg 0x43f0dd
mov edx, dword [ebp - 0x268]
mov dword [eax - 0xc], esi
mov eax, dword [ebx]
xor ecx, ecx
mov word [edx + eax], cx
jmp 0x43ebed
push 0x4b11ac
call fcn.0048c02b
add esp, 4
push eax
push 0x4b11ac
mov ecx, ebx
call fcn.004214c7
push ecx
mov byte [ebp - 4], 3
mov ebx, esp
mov dword [ebp - 0x278], esp
mov dword [ebp - 0x270], ebx
call fcn.0047dccb
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x43f0c9
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx], eax
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 4
test ecx, 0xffff0000
jne 0x43ed15
mov edx, ecx
movzx esi, dx
push esi
call fcn.00485bef
mov edi, eax
test edi, edi
je 0x43ed33
mov eax, esi
shr eax, 4
inc eax
movzx ecx, ax
push 6
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x43ed33
push esi
push eax
push edi
call fcn.004206ac
mov edi, eax
add esp, 0xc
test edi, edi
je 0x43ed33
mov eax, dword [ebx]
movzx esi, word [edi]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, esi
or eax, ecx
jge 0x43ec9e
push esi
mov ecx, ebx
call fcn.004204f5
movzx eax, word [edi]
mov edx, dword [ebx]
add edi, 2
mov dword [ebp - 0x268], edx
cmp eax, 0xffffffff
jne 0x43ecbb
push edi
call fcn.0048c02b
add esp, 4
inc eax
add eax, eax
push eax
lea ecx, [esi + esi]
push edi
push ecx
mov dword [ebp - 0x264], ecx
mov ecx, dword [ebp - 0x268]
push ecx
call fcn.0048bd6a
add esp, 0x10
cmp eax, 0x50
ja case.0x43ece8.1
movzx edx, byte [eax + 0x43f160]
jmp dword [edx*4 + 0x43f150]
test esi, esi
jl 0x43f0dd
mov eax, dword [ebx]
cmp esi, dword [eax - 8]
jg 0x43f0dd
mov edx, dword [ebp - 0x264]
mov dword [eax - 0xc], esi
mov eax, dword [ebx]
xor ecx, ecx
mov word [edx + eax], cx
jmp 0x43ed33
lea eax, [ebp - 0x234]
push eax
call fcn.0048c02b
add esp, 4
push eax
lea ecx, [ebp - 0x234]
push ecx
mov ecx, ebx
call fcn.004214c7
mov byte [ebp - 4], 5
mov esi, dword [ebp + 0x10]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
mov dword [ebp - 0x270], esp
mov ebx, esp
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x43ed6a
cmp eax, dword [esi]
jne 0x43ed6a
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x43eda5
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x43f0e7
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.0048bd6a
add esp, 0x10
add edi, 0x10
mov dword [ebx], edi
lea edi, [ebp - 0x27c]
mov byte [ebp - 4], 1
call fcn.00453850
add esp, 0xc
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x27c]
push 1
push 0
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
mov dword [ebp - 0x270], esp
mov ebx, esp
call eax
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
jl 0x43edfa
cmp eax, dword [esi]
jne 0x43edfa
mov edi, esi
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x43ee35
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x43f0e7
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.0048bd6a
add esp, 0x10
lea ecx, [ebp - 0x274]
add edi, 0x10
push ecx
mov dword [ebx], edi
call fcn.00469460
add esp, 0x10
mov edx, dword [ebp - 0x284]
mov eax, dword [ebp - 0x280]
mov ecx, dword [ebp + 0x1c]
push edx
mov edx, dword [ebp - 0x288]
push eax
mov eax, dword [ebp + 0x14]
push ecx
mov byte [ebp - 4], 7
mov esi, dword [ebp - 0x274]
push edx
push eax
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
mov dword [ebp - 0x270], esp
mov ebx, esp
call eax
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
jl 0x43eea0
cmp eax, dword [esi]
jne 0x43eea0
mov edi, esi
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x43eedb
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x43f0e7
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.0048bd6a
add esp, 0x10
add edi, 0x10
mov dword [ebx], edi
mov byte [ebp - 4], 8
mov esi, dword [ebp + 0x10]
lea ecx, [ebp - 0x260]
push ecx
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
mov dword [ebp - 0x278], esp
mov ebx, esp
call eax
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
jl 0x43ef1e
cmp eax, dword [esi]
jne 0x43ef1e
mov edi, esi
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x43ef59
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x43f0e7
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.0048bd6a
add esp, 0x10
add edi, 0x10
mov dword [ebx], edi
mov byte [ebp - 4], 9
mov esi, dword [ebp + 0xc]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
mov dword [ebp - 0x28c], esp
mov ebx, esp
call eax
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
jl 0x43ef95
cmp eax, dword [esi]
jne 0x43ef95
mov edi, esi
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x43efd0
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x43f0e7
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.0048bd6a
add esp, 0x10
mov ecx, dword [ebp + 8]
add edi, 0x10
push 0
mov dword [ebx], edi
push ecx
mov byte [ebp - 4], 7
call fcn.0043d3e0
and dword [ebp - 0x26c], eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x274]
add eax, 0xfffffff0
add esp, 0x2c
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43f013
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x27c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43f039
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x290]
lea ecx, [ebp - 0x260]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x43eab0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [ebp - 0x26c]
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43f085
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43f0ab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048b97b
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00420000
call fcn.0047e233
call fcn.0047e26b
push 0x80070057
call fcn.00420000
call fcn.0043483f
lodsd eax, dword [esi]
jmp 4452658
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add byte [ebp - 319881143], cl
inc ebx
add bl, dl
invalid