Function at 0x4029c0
Capabilities:
Access peb ldr_data
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x43a165
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x448e28]
xor eax, esp
mov dword [esp + 0x280], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x448e28]
xor eax, esp
push eax
lea eax, [esp + 0x298]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2a8]
mov dword [esp + 0x20], eax
mov dword [esp + 0x38], ecx
push 0x43fc40
lea edx, [esp + 0x2b0]
push edx
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x2ac], 0
call fcn.00405a30
mov eax, dword [eax]
add esp, 0xc
lea ecx, [esp + 0x44]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov dword [esp + 0x3c], esi
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x402a63
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, 0xffffffff
je 0x402e58
lea esp, [esp]
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00408640
mov byte [esp + 0x2a0], 1
mov esi, dword [esp + 0x18]
mov ecx, 0x43fc4c
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x402ab7
test dx, dx
je 0x402ab3
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x402ab7
add eax, 4
add ecx, 4
test dx, dx
jne 0x402a91
xor eax, eax
jmp 0x402abc
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x402e1c
mov ecx, 0x43fc50
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x402af6
test dx, dx
je 0x402af2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x402af6
add eax, 4
add ecx, 4
test dx, dx
jne 0x402ad0
xor eax, eax
jmp 0x402afb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x402e1c
lea eax, [esp + 0x70]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x402b10
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x74]
push edx
lea ecx, [esp + 0x20]
call fcn.00408530
mov edx, dword [esp + 0x18]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x402b54
push esi
lea ecx, [esp + 0x1c]
call fcn.004088f0
mov edx, dword [esp + 0x18]
lea eax, [esi + 1]
push eax
push edx
call fcn.00420147
add esp, 8
test esi, esi
jl 0x402eb7
mov eax, dword [esp + 0x18]
cmp esi, dword [eax - 8]
jg 0x402eb7
mov dword [eax - 0xc], esi
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x38]
xor ecx, ecx
mov word [edx + esi*2], cx
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.004081e0
lea ebp, [eax + 0x10]
add esp, 4
mov dword [esp + 0x1c], ebp
mov byte [esp + 0x2a0], 2
mov esi, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ecx, 1
sub ecx, dword [ebp - 4]
sub eax, esi
or eax, ecx
jge 0x402bc6
push esi
lea ecx, [esp + 0x20]
call fcn.004088f0
mov ebp, dword [esp + 0x1c]
lea ecx, [esi + 1]
push ecx
push ebp
call fcn.00420147
add esp, 8
test esi, esi
jl 0x402eb7
cmp esi, dword [ebp - 8]
jg 0x402eb7
mov dword [ebp - 0xc], esi
xor edx, edx
mov word [ebp + esi*2], dx
mov eax, dword [esp + 0x18]
push 0x2e
push eax
call fcn.0041ff36
add esp, 8
test eax, eax
je 0x402c55
sub eax, dword [esp + 0x18]
sar eax, 1
cmp eax, 0xffffffff
je 0x402c55
push eax
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x20]
call fcn.00405980
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2a4], 3
call fcn.00408250
mov byte [esp + 0x2a0], 2
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x402c55
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
mov ecx, ebp
jmp 0x402c60
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x402c86
test dx, dx
je 0x402c82
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x402c86
add eax, 4
add ecx, 4
test dx, dx
jne 0x402c60
xor eax, eax
jmp 0x402c8b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
je 0x402d36
push 0x43fc58
lea ecx, [esp + 0x2b0]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.00405a30
add esp, 0xc
lea ecx, [esp + 0x70]
push ecx
push eax
lea edx, [esp + 0x48]
push edx
mov byte [esp + 0x2ac], 4
call fcn.00405a30
add esp, 0xc
mov edi, dword [esp + 0x20]
add edi, 0xdc
mov ebx, eax
mov byte [esp + 0x2a0], 5
call fcn.00405c30
mov byte [esp + 0x2a0], 4
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402d0e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2a0], 2
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402d36
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, byte [esp + 0x44]
test al, 0x10
je 0x402de6
test al, 4
jne 0x402de6
push 0x43fc58
lea ecx, [esp + 0x2b0]
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.00405a30
add esp, 0xc
lea ecx, [esp + 0x70]
push ecx
push eax
lea edx, [esp + 0x34]
mov bl, 6
push edx
mov byte [esp + 0x2ac], bl
call fcn.00405a30
add esp, 0xc
push eax
mov eax, dword [esp + 0x24]
add eax, 0xbc
mov byte [esp + 0x2a4], 7
call fcn.00406060
mov byte [esp + 0x2a0], bl
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402dbe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2a0], 2
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402de6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebp, 0xfffffff0
mov byte [esp + 0x2a0], 1
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402e0b
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
mov byte [esp + 0x2a0], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
jmp 0x402e27
mov byte [esp + 0x2a0], 0
lea eax, [esi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402e40
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x3c]
lea ecx, [esp + 0x44]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x402a70
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [esp + 0x2a0], 0xffffffff
mov eax, dword [esp + 0x2ac]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x402e8d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x298]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x280]
xor ecx, esp
call fcn.0041f350
add esp, 0x290
ret 8
push 0x80070057
call fcn.00408c10
int3