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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c4
mov eax, dword [0x580014]
xor eax, esp
mov dword [esp + 0x6c0], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x14]
push edi
mov dword [esp + 0x1c], eax
mov edi, edx
mov eax, ecx
mov dword [esp + 0x34], edi
push 0x28
shr eax, 0x10
pop edx
mov dword [esp + 0x2c], ecx
cmp dx, ax
jbe 0x437f89
xor edx, edx
cmp ecx, 0xffffffff
jle 0x437973
imul eax, eax, 0x29c
mov byte [esp + 0x13], 1
cmp word [eax + 0x5802bc], dx
jne 0x437977
mov byte [esp + 0x13], dl
mov eax, ecx
sar eax, 0x10
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x40], eax
push 2
pop ecx
test esi, esi
je 0x4379bb
mov eax, dword [ebp + 0x18]
shr eax, 1
test al, 1
je 0x4379bb
xor eax, eax
mov edx, ebx
cmp dword [esp + 0x28], ecx
mov ecx, edi
sete al
push eax
push dword [esi]
push dword [esp + 0x24]
call fcn.00435a43
test eax, eax
jne 0x437c6f
push dword [esp + 0x2c]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3c], 0x541218
call fcn.004342c0
mov eax, dword [esp + 0x3c]
cmp eax, 0x535564
je 0x4379e5
test byte [eax + 0x20], 4
je 0x437e71
mov ecx, dword [ebp + 0x18]
mov eax, ecx
shr eax, 2
test al, 1
je 0x437a6f
test esi, esi
je 0x437a01
mov ecx, dword [esi]
call fcn.00436653
mov ecx, dword [ebp + 0x18]
jmp 0x437a03
xor eax, eax
mov dword [esp + 0x14], eax
test eax, eax
je 0x437a42
and ecx, 0xfffffffb
lea eax, [esp + 0x14]
push ecx
push dword [esp + 0x20]
mov dword [ebp + 0x18], ecx
push ebx
push dword [esp + 0x3c]
push eax
push edi
push dword [esp + 0x44]
call dword [sym.imp.Mso30Win32Client.dll_Ordinal_17898]
test eax, eax
je 0x437a42
test esi, esi
je 0x437c6f
mov eax, dword [esp + 0x14]
mov dword [esi], eax
jmp 0x437c6f
mov dword [esp + 0x18], 0xa
test esi, esi
je 0x437a52
mov eax, dword [esi]
jmp 0x437a54
xor eax, eax
push dword [esp + 0x2c]
lea edx, [esp + 0x1c]
push eax
lea ecx, [esp + 0x190]
call fcn.00436722
mov edx, dword [esp + 0x18]
jmp 0x437a83
xor edx, edx
mov dword [esp + 0x18], edx
test esi, esi
je 0x437a87
mov eax, dword [esi]
inc edx
mov dword [esp + 0x188], eax
mov dword [esp + 0x18], edx
cmp byte [esp + 0x13], 0
je 0x437b51
mov eax, dword [esp + 0x3c]
cmp eax, 0x535564
je 0x437b51
cmp dword [eax], 0
je 0x437b51
xor eax, eax
inc eax
mov dword [esp + 0x14], eax
cmp edx, eax
jle 0x437b51
lea ecx, [esp + 0x18c]
mov dword [esp + 0x20], ecx
push 0x10000
push dword [esp + 0x20]
push ebx
push dword [esp + 0x3c]
push ecx
push edi
push dword [esp + 0x44]
call dword [sym.imp.Mso30Win32Client.dll_Ordinal_17898]
test eax, eax
je 0x437b31
test edi, edi
je 0x437b22
push ebx
call dword [sym.imp.Mso20Win32Client.dll_Ordinal_54608]
mov dword [esp + 0x24], eax
sub eax, ebx
sar eax, 1
js 0x437fa2
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x44]
push eax
call fcn.00420535
cmp dword [eax], 0x7fffffff
ja 0x437fa2
push dword [eax]
mov edx, dword [esp + 0x28]
mov ecx, edi
call fcn.00407189
mov ecx, ebx
call fcn.004340ff
test eax, eax
jne 0x437c44
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
inc eax
mov edx, dword [esp + 0x18]
add ecx, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], ecx
cmp eax, edx
jl 0x437ac4
mov ecx, dword [ebp + 0x18]
mov eax, ecx
shr eax, 1
test al, 1
je 0x437baa
xor eax, eax
inc eax
mov dword [esp + 0x14], eax
cmp edx, eax
jle 0x437baa
xor ecx, ecx
cmp dword [esp + 0x28], 2
sete cl
mov dword [esp + 0x24], ecx
push ecx
push dword [esp + eax*4 + 0x18c]
mov edx, ebx
mov ecx, edi
push dword [esp + 0x24]
call fcn.00435a43
test eax, eax
jne 0x437c77
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
inc eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x14], eax
cmp eax, edx
jl 0x437b75
mov ecx, dword [ebp + 0x18]
cmp byte [esp + 0x13], 0
je 0x437cc1
mov eax, dword [esp + 0x3c]
cmp eax, 0x535564
je 0x437e71
cmp dword [eax], 0
je 0x437e71
test cl, 1
jne 0x437bdf
mov eax, ecx
shr eax, 6
test al, 1
je 0x437e71
xor eax, eax
inc eax
mov dword [esp + 0x14], eax
cmp edx, eax
jle 0x437e71
mov eax, ecx
lea ecx, [esp + 0x18c]
and eax, 0xfffffff9
mov dword [esp + 0x20], ecx
or eax, 0x10000
mov dword [esp + 0x24], eax
push eax
push dword [esp + 0x20]
push ebx
push dword [esp + 0x3c]
push ecx
push edi
push dword [esp + 0x44]
call dword [sym.imp.Mso30Win32Client.dll_Ordinal_17898]
test eax, eax
jne 0x437c9c
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
inc eax
add ecx, 4
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], ecx
jl 0x437c07
jmp 0x437e71
test esi, esi
je 0x437c55
mov eax, dword [esp + 0x14]
mov eax, dword [esp + eax*4 + 0x188]
mov dword [esi], eax
push ebx
push str.FGimmeResiliencyEx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._T_d__s:_darwin_already_installed__s.
call fcn.00434510
add esp, 0x10
xor eax, eax
inc eax
jmp 0x437f8b
test esi, esi
je 0x437c88
mov eax, dword [esp + 0x14]
mov eax, dword [esp + eax*4 + 0x188]
mov dword [esi], eax
push ebx
push str.FGimmeResiliencyEx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._T_d__s:_file_search_found__s.
jmp 0x437c67
test esi, esi
je 0x437cad
mov eax, dword [esp + 0x14]
mov eax, dword [esp + eax*4 + 0x188]
mov dword [esi], eax
push ebx
push str.FGimmeResiliencyEx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._T_d__s:_darwin_demand_installed__s.
jmp 0x437c67
mov eax, ecx
and eax, 6
cmp al, 6
jne 0x437e71
push 0x104
or eax, 0xffffffff
lea edx, [esp + 0x4c4]
push 2
pop ecx
cmp dword [esp + 0x2c], ecx
mov dword [esp + 0x1c], eax
mov eax, dword [0x586b2c]
cmove eax, ecx
imul ecx, eax, 0x29c
add ecx, 0x580288
call fcn.0043562e
mov edi, dword [esp + 0x18]
xor al, al
mov byte [esp + 0x13], al
cmp edi, 0xffffffff
jne 0x437d85
push 0
mov edi, 0x104
lea eax, [esp + 0x1b4]
push edi
push eax
lea eax, [esp + 0x4cc]
push eax
call dword [sym.imp.Mso20Win32Client.dll_Ordinal_17733]
lea ecx, [esp + 0x1b0]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x437d38
sub ecx, edx
lea eax, [esp + 0x1b0]
push edi
push eax
mov edx, 0x543790
mov eax, 0x543794
cmp byte [esp + ecx + 0x1b7], 0x5c
cmove eax, edx
push eax
call dword [sym.imp.Mso20Win32Client.dll_Ordinal_539]
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x1b4]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
setne al
jmp 0x437d91
lea eax, [esp + 0x48]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x437dee
push ecx
lea edx, [esp + 0x34]
lea ecx, [esp + 0x78]
call fcn.004401b6
test byte [esp + 0x48], 0x10
mov edx, eax
je 0x437de0
cmp edx, 4
je 0x437db6
cmp edx, 5
jne 0x437de0
lea ecx, [esp + 0x74]
lea eax, [ecx + 1]
mov dword [esp + 0x24], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x437dc1
sub ecx, dword [esp + 0x24]
cmp ecx, edx
jne 0x437de0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x20], eax
mov al, 1
mov byte [esp + 0x13], al
jmp 0x437de4
mov al, byte [esp + 0x13]
test al, al
je 0x437d0b
jmp 0x437df2
mov al, byte [esp + 0x13]
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x34]
test al, al
je 0x437e61
push 2
pop ecx
xor eax, eax
mov edx, ebx
cmp dword [esp + 0x28], ecx
mov ecx, edi
sete al
push eax
push dword [esp + 0x24]
push dword [esp + 0x24]
call fcn.00435a43
test eax, eax
je 0x437d01
test esi, esi
je 0x437e2e
mov eax, dword [esp + 0x20]
mov dword [esi], eax
push ebx
push str.FGimmeResiliencyEx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._T_d__s:__All_localized__search_found__s.
call fcn.00434510
mov eax, dword [esp + 0x28]
add esp, 0x10
cmp eax, 0xffffffff
je 0x437c6f
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x437c6f
mov eax, dword [esp + 0x18]
cmp eax, 0xffffffff
je 0x437e71
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp + 0x18]
mov esi, dword [esp + 0x1c]
shr eax, 1
test al, 1
je 0x437e9f
push 2
pop ecx
xor eax, eax
mov edx, ebx
cmp dword [esp + 0x28], ecx
mov ecx, edi
sete al
push eax
push 0
push esi
call fcn.00435a43
test eax, eax
jne 0x437c88
test edi, edi
je 0x437ee9
push esi
push ebx
push str._WINDIR_
call dword [sym.imp.Mso30Win32Client.dll_Ordinal_43583]
push esi
mov esi, dword [sym.imp.Mso20Win32Client.dll_Ordinal_26907]
push ebx
push str.system32
call esi
push dword [esp + 0x1c]
push ebx
push edi
call esi
mov ecx, ebx
call fcn.004340ff
test eax, eax
je 0x437ee9
push ebx
push str.FGimmeResiliencyEx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._T_d__s:_found_in_system_directory__s.
jmp 0x437c67
push 2
pop eax
cmp dword [esp + 0x28], eax
jne 0x437f50
push 0x10
pop ecx
mov esi, str.....CommonMSSharedVBAVBA7_
lea edi, [esp + 0x2b8]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x34]
test edi, edi
je 0x437f1f
push 0x104
lea eax, [esp + 0x2bc]
push eax
push edi
call dword [sym.imp.Mso20Win32Client.dll_Ordinal_38217]
push 0
push 0
push dword [esp + 0x24]
mov edx, ebx
lea ecx, [esp + 0x2c4]
call fcn.00435a43
test eax, eax
je 0x437f50
push ebx
push str.FGimmeResiliencyEx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._T_d__s:_backdoor_search_found_VBA_path__s.
jmp 0x437c67
push dword [esp + 0x1c]
test edi, edi
mov ecx, 0x52c134
mov edx, ebx
cmovne ecx, edi
call fcn.00407189
push ebx
push str.FGimmeResiliencyEx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._T_d__s:_could_not_find__s.
call fcn.00434510
add esp, 0x10
push dword [esp + 0x40]
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [esp + 0x6cc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0051a430
mov esp, ebp
pop ebp
ret 0x14
call fcn.0041736f
int3