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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x4fc
mov esi, dword [esp + 0x510]
mov eax, dword [esp + 0x51c]
mov ecx, dword [esp + 0x518]
mov edx, dword [0x567b10]
xor edx, esp
mov dword [esp + 0x4f8], edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
lea ebx, [esp + 0x3f8]
mov dword [esp + 0x3ec], ebx
mov dword [esp + 0x3f0], 0
mov dword [esp + 0x3f4], 0x80
mov word [esp + 0x1a4], 0x105
lea eax, [esp + 0x3c]
mov dword [esp + 0x19c], eax
lea eax, [esp + 0x3ec]
lea ebp, [esp + 0x19c]
push 0x104
push eax
push ebp
push esi
call fcn.0042f8a0
add esp, 0x10
cmp dword [esi], 0
je 0x431b02
mov eax, dword [esp + 0x3ec]
cmp eax, ebx
je 0x431ae7
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov ecx, dword [esp + 0x4f8]
xor ecx, esp
call fcn.00533ace
mov eax, esi
add esp, 0x4fc
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x3f0]
test eax, eax
je 0x431b2f
mov ecx, dword [esp + 0x3ec]
movzx edx, word [ecx + eax*2 - 2]
cmp dx, 0x2f
je 0x431b2f
cmp dx, 0x3a
je 0x431b2f
cmp dx, 0x5c
jne 0x431cc0
lea edx, [eax + 1]
cmp edx, dword [esp + 0x3f4]
ja 0x431cf7
add eax, eax
add eax, dword [esp + 0x3ec]
mov word [eax], 0x2a
mov eax, dword [esp + 0x3f0]
lea ecx, [eax + 1]
mov dword [esp + 0x3f0], ecx
add eax, 2
cmp eax, dword [esp + 0x3f4]
ja 0x431fda
mov eax, dword [esp + 0x3ec]
mov word [eax + ecx*2], 0
push 2
push 0
push 0
push ebp
push 1
push dword [esp + 0x400]
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
cmp eax, 0xffffffff
je 0x431c28
mov edi, eax
mov ebx, ebp
lea eax, [esp + 0x1c8]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ebp, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
nop dword [eax + eax]
movzx ecx, word [esp + 0x1c8]
cmp eax, 1
jne 0x431bd3
cmp cx, 0x2e
je 0x431be9
cmp eax, 2
jne 0x431c3d
cmp cx, 0x2e
jne 0x431c3d
cmp word [esp + 0x1ca], 0x2e
jne 0x431c3d
push ebx
push edi
call esi
test eax, eax
je 0x431c00
lea eax, [esp + 0x1c8]
push eax
call ebp
add esp, 4
jmp 0x431bc0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x431ca3
push dword [esp + 0x514]
mov esi, dword [esp + 0x514]
push esi
call fcn.00432060
jmp 0x431cb1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
call fcn.004295f0
add esp, 8
jmp 0x431ad2
lea eax, [esp + 0x11c]
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0x80
lea ebx, [esp + 0x1c8]
push ebx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
add esp, 4
lea ebp, [esp + 0x110]
mov esi, dword [esp + 0x510]
mov ecx, esi
mov edx, 0xfde9
push ebp
push eax
push ebx
call fcn.00433320
add esp, 0xc
cmp dword [esi], 0
je 0x431d13
lea ebx, [esp + 0x3f8]
jmp 0x431fa9
push eax
mov esi, dword [esp + 0x514]
push esi
call fcn.004295f0
add esp, 8
lea ebx, [esp + 0x3f8]
jmp 0x431fc5
lea edx, [eax + 1]
cmp edx, dword [esp + 0x3f4]
ja 0x431ff6
mov word [ecx + eax*2], 0x5c
mov edx, dword [esp + 0x3f0]
lea eax, [edx + 1]
mov dword [esp + 0x3f0], eax
add edx, 2
cmp edx, dword [esp + 0x3f4]
jbe 0x431b3f
lea ecx, [esp + 0x3ec]
push 2
push edx
push ebx
call fcn.00424880
mov eax, dword [esp + 0x3f0]
jmp 0x431b3f
mov eax, dword [esp + 0x514]
mov dword [eax], edi
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
lea edx, [esp + 0x90]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0x80
cmp ebx, 0x81
jb 0x431d70
lea ecx, [esp + 0x84]
push 1
push ebx
push edx
call fcn.00424880
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x88]
jmp 0x431d78
xor eax, eax
mov ecx, edx
test ebx, ebx
je 0x431d8c
add eax, ecx
push ebx
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x88]
add eax, ebx
mov dword [esp + 0x88], eax
mov word [esp + 0x4c], 0x101
mov word [esp + 0x38], 0x101
mov word [esp + 0x2c], 0x101
mov word [esp + 0x20], 0x106
mov dword [esp + 0x18], ebp
lea esi, [esp + 0x44]
lea eax, [esp + 0x30]
lea ecx, [esp + 0x24]
lea edx, [esp + 0x18]
lea edi, [esp + 0x84]
push esi
push eax
push ecx
push edx
push 2
push edi
call fcn.0042ba70
add esp, 0x18
mov ebx, dword [esp + 0x1bc]
mov edi, dword [esp + 0x1b8]
movdqu xmm0, xmmword [esp + 0x1a8]
mov eax, dword [esp + 0x19c]
test al, 1
mov ecx, 0x1ff
mov esi, 0x16d
cmove esi, ecx
pshufd xmm0, xmm0, 0xb1
movdqu xmmword [esp], xmm0
and eax, 0x10
cmp eax, 1
mov ebp, 3
sbb ebp, 0
mov word [esp + 0x38], 0x106
lea eax, [esp + 0x84]
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x30]
lea eax, [esp + 0x44]
push eax
call fcn.004382d0
mov dword [esp + 0x5c], ebp
mov al, byte [esp + 0x520]
mov byte [esp + 0x60], al
movups xmm0, xmmword [esp]
movups xmmword [esp + 0x64], xmm0
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebp
lea ebp, [esp + 0x44]
mov dword [esp + 0x80], esi
mov edi, dword [esp + 0x514]
lea ebx, [edi + 4]
cmp ebp, ebx
je 0x431ef1
mov eax, dword [edi + 0x18]
cmp eax, 0x10
jb 0x431eb4
mov ecx, dword [ebx]
lea esi, [eax + 1]
cmp esi, 0x1000
jb 0x431eaa
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x432052
add eax, 0x24
mov esi, eax
mov ecx, edx
push esi
push ecx
call fcn.00533ac0
add esp, 8
movsd xmm0, qword [esp + 0x54]
movsd qword [ebx + 0x10], xmm0
movups xmm0, xmmword [esp + 0x44]
movups xmmword [ebx], xmm0
movsd xmm0, qword [ebp + 0x38]
movsd qword [edi + 0x3c], xmm0
movups xmm0, xmmword [ebp + 0x18]
movups xmm1, xmmword [ebp + 0x28]
movups xmmword [edi + 0x2c], xmm1
movups xmmword [edi + 0x1c], xmm0
mov esi, dword [esp + 0x510]
lea ebx, [esp + 0x3f8]
jmp 0x431f5a
mov eax, dword [esp + 0x58]
movsd xmm0, qword [ebp + 0x38]
movsd qword [edi + 0x3c], xmm0
movups xmm0, xmmword [ebp + 0x18]
movups xmm1, xmmword [ebp + 0x28]
movups xmmword [edi + 0x2c], xmm1
movups xmmword [edi + 0x1c], xmm0
cmp eax, 0x10
mov esi, dword [esp + 0x510]
lea ebx, [esp + 0x3f8]
jb 0x431f5a
mov ecx, dword [esp + 0x44]
lea esi, [eax + 1]
cmp esi, 0x1000
jb 0x431f49
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x432052
add eax, 0x24
mov esi, eax
mov ecx, edx
push esi
push ecx
call fcn.00533ac0
add esp, 8
mov esi, dword [esp + 0x510]
mov dword [esi], 0
mov eax, dword [0x568c58]
mov ecx, dword [0x5698e8]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 0xc]
jg 0x432019
mov dword [esi + 4], 0x567398
mov eax, dword [esp + 0x84]
lea ecx, [esp + 0x90]
cmp eax, ecx
je 0x431fa4
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov edi, 0xffffffff
mov eax, dword [esp + 0x110]
lea ecx, [esp + 0x11c]
cmp eax, ecx
je 0x431fc5
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
cmp edi, 0xffffffff
je 0x431ad2
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x431ad2
lea ecx, [esp + 0x3ec]
push 2
push eax
push ebx
call fcn.00424880
mov ecx, dword [esp + 0x3f0]
jmp 0x431b6e
lea ecx, [esp + 0x3ec]
push 2
push edx
push ebx
call fcn.00424880
mov ecx, dword [esp + 0x3ec]
mov eax, dword [esp + 0x3f0]
jmp 0x431cd0
push 0x568c58
call fcn.00533bee
add esp, 4
cmp dword [0x568c58], 0xffffffff
jne 0x431f81
push 0x433930
call fcn.00533f00
add esp, 4
push 0x568c58
call fcn.00533ba4
add esp, 4
jmp 0x431f81
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3