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

Disassembly:
push 0xffffffffffffffff
push 0x4a2000
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x4eed38]
xor eax, esp
mov dword [esp + 0x2d4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4eed38]
xor eax, esp
push eax
lea eax, [esp + 0x2ec]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esp + 0x2fc]
push 0xffffffffffffffff
xor ebx, ebx
push ebx
mov dword [esp + 0x34], ecx
call fcn.0045e6e9
mov eax, dword [esi + 0x2ec]
mov ebp, dword [eax + 0x20c]
mov edi, dword [eax + 0x208]
push 0xa
lea ecx, [esp + 0x7c]
mov dword [esp + 0x70], ebp
call fcn.00415f90
push 0x4a8ca8
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2f8], ebx
call fcn.00402530
mov byte [esp + 0x2f4], 1
mov dword [esp + 0x14], ebx
mov dword [esp + 0x34], ebx
test ebp, ebp
jle 0x435f8e
add esi, 0x140
add edi, 0xbc9
mov dword [esp + 0x64], esi
mov dword [esp + 0x48], edi
lea eax, [edi - 0x9c1]
push eax
lea ecx, [esp + 0x48]
mov ebp, 1
call fcn.00402530
lea ecx, [edi - 0xbc9]
push ecx
lea ecx, [esp + 0x40]
mov byte [esp + 0x2f8], 2
call fcn.00402530
push ebp
push ebx
lea edx, [esp + 0x24]
push edx
mov ecx, esi
mov byte [esp + 0x300], 3
call fcn.0045f421
mov eax, dword [esp + 0x1c]
cmp dword [eax - 0xc], 0
mov byte [esp + 0x2f4], 4
je 0x435db0
push ebx
mov ecx, esi
call fcn.0045f5ba
test eax, eax
je 0x435db0
cmp byte [edi], 1
jne 0x435db0
lea ecx, [esp + 0x50]
call fcn.0045e668
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x50]
push ecx
push edx
mov byte [esp + 0x2fc], 5
call fcn.004475b0
add esp, 8
cmp dword [esp + 0x58], ebp
jle 0x435e52
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 4]
sub eax, 0x10
push eax
call fcn.004015b0
lea edi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x28], edi
cmp dword [edi - 0xc], 0
mov byte [esp + 0x2f4], 6
jl 0x435e57
push 0x4aff20
push edi
call fcn.00482831
add esp, 8
test eax, eax
je 0x435e57
sub eax, edi
sar eax, 1
mov esi, eax
cmp esi, 0xffffffff
je 0x435e57
add dword [esp + 0x14], ebp
cmp dword [esp + 0x58], 2
jle 0x435e52
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx + 8]
sub eax, 0x10
push eax
call fcn.004015b0
lea ebx, [eax + 0x10]
add esp, 4
mov dword [esp + 0x94], ebx
push esi
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x30]
mov byte [esp + 0x2fc], 7
call fcn.00401a60
mov byte [esp + 0x2f4], 8
call fcn.00459da6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x435f7a
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x40], eax
cmp dword [esp + 0x58], 0
mov byte [esp + 0x2f4], 9
jle 0x435e52
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x54]
mov eax, dword [edx]
push ebx
push ecx
push eax
lea ecx, [esp + 0x4c]
push str._s_s_b_s
push ecx
call fcn.00401ce0
push 0x24c
lea edx, [esp + 0xb4]
push 0
push edx
mov dword [esp + 0xb8], 0
call fcn.00482280
mov ecx, dword [esp + 0x60]
add esp, 0x20
lea eax, [esp + 0x98]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x24], eax
cmp eax, 0xffffffff
je 0x435d03
test ebp, ebp
je 0x435cf8
lea edx, [esp + 0xc4]
push edx
lea ecx, [esp + 0x74]
call fcn.00402530
mov esi, eax
lea eax, [esp + 0xc4]
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x2f8], 0xa
call fcn.00402530
mov ecx, dword [esi]
mov edx, dword [ecx - 0xc]
sub edx, dword [ebx - 0xc]
mov ecx, eax
push edx
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x2fc], 0xb
call fcn.00401a60
mov eax, dword [esp + 0x68]
add eax, 0xfffffff0
mov byte [esp + 0x2f4], 0xd
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435afd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x70]
add eax, 0xfffffff0
mov byte [esp + 0x2f4], 0xe
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435b25
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx - 0xc]
mov edx, dword [esp + 0x38]
sub eax, dword [edx - 0xc]
lea ecx, [esp + 0x20]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.004019e0
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x2f8], 0xf
call fcn.00401c20
mov eax, dword [esp + 0x74]
add eax, 0xfffffff0
mov byte [esp + 0x2f4], 0xe
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435b7c
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 0x435f7a
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x30], eax
cmp dword [esp + 0x58], 0
mov byte [esp + 0x2f4], 0x10
jle 0x435e52
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx]
lea edx, [esp + 0xc4]
push edx
push eax
lea eax, [esp + 0x38]
push 0x4a8e54
push eax
call fcn.00401ce0
mov ecx, dword [esp + 0x2c]
xor eax, eax
add esp, 0x10
test ecx, ecx
setne al
test eax, eax
je 0x435f7a
push ecx
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00483f2d
add esp, 8
test eax, eax
je 0x435c0b
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 8]
lea edx, [esp + 0x30]
push edx
push eax
call fcn.0045e9e3
mov esi, dword [esp + 0x20]
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 0x435c31
push edi
lea ecx, [esp + 0x24]
call fcn.00401560
mov esi, dword [esp + 0x20]
lea eax, [edi + 1]
push eax
push esi
call fcn.00484b30
add esp, 8
test edi, edi
jl 0x435f84
cmp edi, dword [esi - 8]
jg 0x435f84
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x98]
push edx
xor ecx, ecx
mov dword [esi - 0xc], edi
push eax
mov word [esi + edi*2], cx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea ecx, [esp + 0x4c]
push ecx
push esi
lea ecx, [esp + 0x80]
mov ebp, eax
mov dword [esp + 0x54], 0
call fcn.00417d50
test eax, eax
je 0x435c92
mov edi, dword [esp + 0x4c]
inc edi
jmp 0x435c97
mov edi, 1
push esi
lea ecx, [esp + 0x7c]
call fcn.00425500
mov dword [eax], edi
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x2f4], 0xe
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x435ccb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x2f4], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435a84
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x435a84
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov byte [esp + 0x2f4], 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x435d2b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x2f4], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435d53
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x2f4], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435d77
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 + 0x2f4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435d9f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x2f4], 4
call fcn.0045e894
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x2f4], 3
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435dd8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x2f4], 2
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435e00
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x2f4], 1
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435e28
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 + 0x48], 0xbcc
inc eax
cmp eax, dword [esp + 0x6c]
mov dword [esp + 0x34], eax
jge 0x435f8e
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x64]
mov ebx, eax
jmp 0x4358b4
call fcn.00451f1d
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
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 + 0x24]
add esp, 0xc
push 0
push 0
push eax
call fcn.0045a9ee
mov ecx, dword [esp + 0x2c]
push 0xffffffffffffffff
push 0
call fcn.0045e6e9
lea eax, [edi - 0x10]
mov byte [esp + 0x2f4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435ead
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x2f4], 4
call fcn.0045e894
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x2f4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435ee6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x2f4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435f0e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov byte [esp + 0x2f4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435f36
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x2f4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435f5e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x78]
mov dword [esp + 0x2f4], 0xffffffff
call fcn.00418990
or eax, 0xffffffff
jmp 0x436075
push 0x80004005
call fcn.00401150
push 0x80070057
call fcn.00401150
mov eax, dword [esp + 0x84]
neg eax
sbb eax, eax
mov dword [esp + 0x24], eax
je 0x436030
mov esi, dword [esp + 0x14]
mov bl, 0x11
xor edi, edi
jmp 0x435fb0
call fcn.00459da6
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
je 0x435f7a
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x84]
mov byte [esp + 0x300], bl
mov dword [esp + 0x34], edi
call fcn.00419be0
mov eax, dword [esp + 0x28]
cmp eax, esi
jne 0x43609f
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x2f4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43602a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x24], edi
jne 0x435fb0
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
mov esi, dword [ecx + 8]
add eax, 0xfffffff0
mov byte [esp + 0x2f4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43605f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x78]
mov dword [esp + 0x2f4], 0xffffffff
call fcn.00418990
mov eax, esi
mov ecx, dword [esp + 0x2ec]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2d4]
xor ecx, esp
call fcn.004820da
add esp, 0x2e4
ret 4
push esi
mov esi, dword [esp + 0x18]
push eax
push esi
lea ecx, [esp + 0x24]
push str.Block_Page___s__only_have__d_image_files._nIt_must_be_equal_to__d.
push ecx
call fcn.00401ce0
mov edx, dword [esp + 0x2c]
add esp, 0x14
push edi
push edi
push edx
call fcn.0045a9ee
mov ecx, dword [esp + 0x2c]
push 0xffffffffffffffff
push edi
call fcn.0045e6e9
lea eax, [esi - 0x10]
mov byte [esp + 0x2f4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4360f4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x2f4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43611c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x78]
mov dword [esp + 0x2f4], 0xffffffff
call fcn.00418990
xor eax, eax
jmp 0x436075