Function at 0x428a30
Capabilities:
Enumerate files on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a1156
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x4eed38]
xor eax, esp
mov dword [esp + 0x2d0], eax
push ebx
push esi
push edi
mov eax, dword [0x4eed38]
xor eax, esp
push eax
lea eax, [esp + 0x2e8]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x2c], edi
call fcn.0045b40e
mov ecx, dword [eax + 4]
call fcn.00458dad
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x2f0], ebx
call fcn.00423260
lea esi, [edi + 0x170]
mov ecx, esi
call fcn.00444f80
test eax, eax
je 0x429440
lea eax, [esp + 0x38]
push eax
mov ecx, esi
mov dword [esp + 0x3c], ebx
call fcn.00444970
mov esi, eax
push 0x4a8ca8
lea ecx, [esp + 0x18]
mov dword [esp + 0x84], esi
call fcn.00402530
cmp esi, ebx
mov byte [esp + 0x2f0], 1
mov dword [esp + 0x48], ebx
mov dword [esp + 0x34], ebx
jle 0x42936d
xor esi, esi
mov dword [esp + 0x50], esi
lea ecx, [ecx]
mov ecx, dword [esp + 0x38]
lea edx, [esi + ecx + 0x208]
push edx
lea ecx, [esp + 0x44]
call fcn.00402530
mov eax, dword [esp + 0x38]
lea ecx, [esi + eax]
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2f4], 2
call fcn.00402530
mov edx, dword [esp + 0x28]
push 1
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [edi + 0x170]
mov byte [esp + 0x2fc], 3
call fcn.00446450
mov eax, dword [esp + 0x20]
mov byte [esp + 0x2f0], 4
cmp dword [eax - 0xc], ebx
je 0x4290c7
push 0x4ad490
push eax
call fcn.00483f2d
add esp, 8
cmp eax, ebx
je 0x4290c3
mov ecx, dword [esp + 0x38]
cmp byte [esi + ecx + 0xbc9], 1
jne 0x4290c3
lea ecx, [esp + 0x60]
call fcn.0045e668
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x60]
push edx
push eax
mov byte [esp + 0x2f8], 5
call fcn.004475b0
add esp, 8
cmp dword [esp + 0x68], 1
jle 0x429168
mov ecx, dword [esp + 0x64]
mov eax, dword [ecx + 4]
sub eax, 0x10
push eax
call fcn.004015b0
lea ebx, [eax + 0x10]
add esp, 4
mov dword [esp + 0x24], ebx
cmp dword [ebx - 0xc], 0
mov byte [esp + 0x2f0], 6
jl 0x42916d
push 0x4aff20
push ebx
call fcn.00482831
add esp, 8
test eax, eax
je 0x42916d
sub eax, ebx
sar eax, 1
mov esi, eax
cmp esi, 0xffffffff
je 0x42916d
inc dword [esp + 0x48]
cmp dword [esp + 0x68], 2
jle 0x429168
mov edx, dword [esp + 0x64]
mov eax, dword [edx + 8]
sub eax, 0x10
push eax
call fcn.004015b0
lea edi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x58], edi
push esi
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2f8], 7
call fcn.00401a60
mov byte [esp + 0x2f0], 8
call fcn.00459da6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4292a5
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x44], eax
cmp dword [esp + 0x68], 0
mov byte [esp + 0x2f0], 9
jle 0x429168
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x64]
mov eax, dword [edx]
push edi
push ecx
push eax
lea ecx, [esp + 0x50]
push str._s_s_b_s
push ecx
call fcn.00401ce0
push 0x24c
lea edx, [esp + 0xa8]
push 0
push edx
mov dword [esp + 0xac], 0
call fcn.00482280
mov ecx, dword [esp + 0x64]
add esp, 0x20
lea eax, [esp + 0x8c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x54], eax
mov dword [esp + 0x1c], 1
cmp eax, 0xffffffff
je 0x42901a
mov edi, edi
cmp dword [esp + 0x1c], 0
je 0x429007
lea edx, [esp + 0xb8]
push edx
lea ecx, [esp + 0x7c]
call fcn.00402530
mov esi, eax
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0x80]
mov byte [esp + 0x2f4], 0xa
call fcn.00402530
mov ecx, dword [esi]
mov edx, dword [ecx - 0xc]
mov ecx, dword [esp + 0x58]
sub edx, dword [ecx - 0xc]
mov ecx, eax
push edx
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x2f8], 0xb
call fcn.00401a60
mov eax, dword [esp + 0x7c]
add eax, 0xfffffff0
mov byte [esp + 0x2f0], 0xd
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428d63
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x78]
add eax, 0xfffffff0
mov byte [esp + 0x2f0], 0xe
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428d8b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
mov edx, dword [esp + 0x4c]
sub eax, dword [edx - 0xc]
lea ecx, [esp + 0x18]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.004019e0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2f4], 0xf
call fcn.00401c20
mov eax, dword [esp + 0x74]
add eax, 0xfffffff0
mov byte [esp + 0x2f0], 0xe
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428de2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.00459da6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4292a5
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x3c], eax
cmp dword [esp + 0x68], 0
mov byte [esp + 0x2f0], 0x10
jle 0x429168
mov ecx, dword [esp + 0x64]
mov eax, dword [ecx]
lea edx, [esp + 0xb8]
push edx
push eax
lea eax, [esp + 0x44]
push 0x4a8e54
push eax
call fcn.00401ce0
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x3c]
add esp, 0x10
push esi
mov ecx, edi
call fcn.0041ed50
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4292af
mov esi, dword [esp + 0x18]
mov edi, dword [esi - 0xc]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x428e7c
push edi
lea ecx, [esp + 0x1c]
call fcn.00401560
mov esi, dword [esp + 0x18]
lea ecx, [edi + 1]
push ecx
push esi
call fcn.00484b30
add esp, 8
test edi, edi
jl 0x429363
cmp edi, dword [esi - 8]
jg 0x429363
mov dword [esi - 0xc], edi
xor edx, edx
mov word [esi + edi*2], dx
mov eax, dword [esp + 0x28]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x34], esp
mov edi, esp
push eax
call fcn.004015b0
add eax, 0x10
mov dword [edi], eax
lea ebx, [esi - 0x10]
mov dword [esp + 0x64], esp
mov edi, esp
push ebx
mov byte [esp + 0x2fc], 0x11
call fcn.004015b0
add eax, 0x10
mov dword [edi], eax
lea eax, [esp + 0x90]
add esp, 4
push eax
mov byte [esp + 0x2fc], 0x10
call fcn.00418ab0
add esp, 0xc
mov ecx, dword [esp + 0x2c]
push eax
add ecx, 0x1efc
mov byte [esp + 0x2f4], 0x12
call fcn.00425370
mov ecx, dword [esp + 0x1c]
mov dword [eax], ecx
mov eax, dword [esp + 0x88]
add eax, 0xfffffff0
mov byte [esp + 0x2f0], 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x428f3c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x84]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428f5f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x54]
lea ecx, [esp + 0x8c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x30]
push eax
add edi, 0x1f1c
push esi
mov ecx, edi
mov dword [esp + 0x38], 0
call fcn.00417d50
test eax, eax
je 0x428f9f
inc dword [esp + 0x30]
jmp 0x428fa7
mov dword [esp + 0x30], 1
push esi
mov ecx, edi
call fcn.00425500
mov ecx, dword [esp + 0x30]
mov dword [eax], ecx
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x2f0], 0xe
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x428fdd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2f0], 9
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428ce0
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
jmp 0x428ce0
mov eax, dword [esp + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [esp + 0x58]
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov byte [esp + 0x2f0], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429042
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 + 0x2f0], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42906a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x2f0], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42908e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x2f0], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4290b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x2f0], 4
call fcn.0045e894
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x2f0], 3
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4290eb
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
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x2f0], 2
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429113
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x2f0], 1
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42913b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
add dword [esp + 0x50], 0xbcc
inc eax
cmp eax, dword [esp + 0x80]
mov dword [esp + 0x34], eax
jge 0x42936d
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x50]
xor ebx, ebx
jmp 0x428af0
call fcn.00451f1d
mov ecx, dword [esp + 0x20]
push ecx
lea edx, [esp + 0x18]
push str.The_name_of_file___s__is_invalid__nFile_name_must_be__xxx_bnk_pmk.yyy___n_and_m_is_a_number.
push edx
call fcn.00401ce0
mov eax, dword [esp + 0x20]
add esp, 0xc
push 1
push 0
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x68], esp
mov esi, esp
push eax
call fcn.004015b0
add eax, 0x10
add esp, 4
mov ecx, 0x4f0110
mov dword [esi], eax
call fcn.0040cea0
mov ecx, edi
call fcn.00423260
lea eax, [ebx - 0x10]
mov byte [esp + 0x2f0], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4291d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x2f0], 4
call fcn.0045e894
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x2f0], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429212
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 + 0x2f0], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42923a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x2f0], 1
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429262
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x2f0], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42928a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x13]
mov dword [esp + 0x2f0], 0xffffffff
call fcn.00403520
xor eax, eax
jmp 0x429459
push 0x80004005
call fcn.00401150
push esi
lea ecx, [esp + 0x18]
push str.Load_file___s__failed_
push ecx
call fcn.00401ce0
add esp, 0xc
push 1
push 0
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x68], esp
push edx
call fcn.00401680
mov ecx, 0x4f0110
call fcn.0040cea0
mov eax, dword [esp + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, edi
call fcn.00423260
lea ecx, [esp + 0x3c]
call fcn.004014d0
lea ecx, [esp + 0x18]
call fcn.004014d0
lea ecx, [esp + 0x44]
call fcn.004014d0
lea ecx, [esp + 0x4c]
call fcn.004014d0
lea ecx, [esp + 0x58]
call fcn.004014d0
lea ecx, [esp + 0x24]
call fcn.004014d0
lea ecx, [esp + 0x60]
mov byte [esp + 0x2f0], 4
call fcn.0045e894
lea ecx, [esp + 0x20]
call fcn.004014d0
lea ecx, [esp + 0x28]
call fcn.004014d0
lea ecx, [esp + 0x40]
call fcn.004014d0
lea ecx, [esp + 0x14]
call fcn.004014d0
jmp 0x42928a
push 0x80070057
call fcn.00401150
mov esi, dword [esp + 0x2c]
mov eax, dword [esi + 0x1f28]
neg eax
sbb eax, eax
xor ebx, ebx
mov dword [esp + 0x1c], eax
cmp eax, ebx
je 0x429418
mov edi, dword [esp + 0x48]
lea ecx, [ecx]
call fcn.00459da6
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x4292a5
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esi + 0x1f1c]
mov byte [esp + 0x2fc], 0x13
mov dword [esp + 0x40], ebx
call fcn.00419be0
mov eax, dword [esp + 0x34]
cmp eax, edi
jne 0x42947d
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x2f0], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42940e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x1c], ebx
jne 0x429390
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x2f0], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429440
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x13]
mov dword [esp + 0x2f0], 0xffffffff
call fcn.00403520
mov eax, 1
mov ecx, dword [esp + 0x2e8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2d0]
xor ecx, esp
call fcn.004820da
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x48]
mov esi, dword [esp + 0x24]
push ecx
push eax
push esi
lea edx, [esp + 0x20]
push str.Block_Page___s__only_have__d_image_files._nIt_must_be_equal_to__d.
push edx
call fcn.00401ce0
mov eax, dword [esp + 0x28]
add esp, 0x14
push 1
push 0
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x68], esp
mov edi, esp
push eax
call fcn.004015b0
add eax, 0x10
add esp, 4
mov ecx, 0x4f0110
mov dword [edi], eax
call fcn.0040cea0
mov ecx, dword [esp + 0x2c]
call fcn.00423260
lea eax, [esi - 0x10]
jmp 0x429241