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

Disassembly:
push 0xffffffffffffffff
push 0x52970e
mov eax, dword fs:[0]
push eax
sub esp, 0x7a8
mov eax, dword [0x581500]
xor eax, esp
mov dword [esp + 0x7a0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x581500]
xor eax, esp
push eax
lea eax, [esp + 0x7bc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x7cc]
xor edi, edi
mov ecx, 0xa
mov edx, fcn.004faba2
mov esi, fcn.004fac96
mov ebp, fcn.004faac5
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], ebp
mov dword [esp + 0x7c4], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], ebp
lea ebx, [eax + 0x63bc]
push ebx
lea ecx, [esp + 0x400]
mov dword [esp + 0x24], ebx
call fcn.00411610
push 0x55d368
push 0x55d15c
lea edx, [esp + 0x404]
call fcn.00411e80
push str.certificate
push 0x55d15c
lea edx, [esp + 0x40c]
call fcn.00411e80
push 0x55de1c
push 0x55d15c
lea edx, [esp + 0x414]
call fcn.00411e80
push 0x24c
lea eax, [esp + 0x544]
push edi
push eax
mov dword [esp + 0x548], edi
call fcn.004ff6c0
add esp, 0x24
cmp byte [esp + 0x518], 0
lea eax, [esp + 0x408]
jne 0x441abe
mov eax, dword [esp + 0x404]
lea ecx, [esp + 0x524]
push ecx
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x441d89
jmp 0x441ae0
mov ecx, 0x559500
lea eax, [esp + 0x550]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x441b16
cmp dx, di
je 0x441b12
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x441b16
add eax, 4
add ecx, 4
cmp dx, di
jne 0x441af0
xor eax, eax
jmp 0x441b1b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x441d6b
mov ecx, 0x55db1c
lea eax, [esp + 0x550]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x441b56
cmp dx, di
je 0x441b52
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x441b56
add eax, 4
add ecx, 4
cmp dx, di
jne 0x441b30
xor eax, eax
jmp 0x441b5b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x441d6b
test byte [esp + 0x524], 0x10
jne 0x441d6b
lea ecx, [esp + 0x2d4]
call fcn.004114e0
mov eax, ebx
lea edx, [esp + 0x2d4]
mov byte [esp + 0x7c4], 3
call fcn.00411710
push edi
push edi
push edi
push edi
push edi
lea edx, [esp + 0x564]
push edx
lea ecx, [esp + 0xa4]
call fcn.0040e250
cmp byte [esp + 0x1a8], 0
lea eax, [esp + 0x98]
jne 0x441bc4
mov eax, dword [esp + 0x94]
cmp word [eax + 4], 0x2e
jne 0x441be1
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x2d8]
call fcn.0040f590
jmp 0x441bf5
lea ecx, [esp + 0x8c]
push ecx
lea ecx, [esp + 0x2d8]
call fcn.0040e8e0
cmp byte [esp + 0x1a8], 0
mov dword [esp + 0x8c], vtable.t_str.0
jne 0x441c25
mov eax, dword [esp + 0x94]
lea edx, [esp + 0x98]
cmp eax, edx
je 0x441c25
push eax
call fcn.004faac5
add esp, 4
lea eax, [esp + 0x550]
push str.certificate
push eax
mov byte [esp + 0x7cc], 4
call fcn.004fc550
add esp, 8
test eax, eax
jne 0x441d2e
mov dword [esp + 0x28], fcn.004faba2
mov dword [esp + 0x2c], fcn.004fac96
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], 0x8000
mov dword [esp + 0x24], vtable.t_heap.0
mov dword [esp + 0x3c], edi
mov byte [esp + 0x40], al
mov byte [esp + 0x7c4], 5
cmp byte [esp + 0x3f0], al
lea eax, [esp + 0x2e0]
jne 0x441c99
mov eax, dword [esp + 0x2dc]
lea edx, [esp + 0x24]
lea ecx, [eax + 4]
push edx
call fcn.00444180
test al, al
je 0x441cfd
lea eax, [esp + 0x774]
push eax
lea eax, [esp + 0x28]
call fcn.00442fb0
test al, al
je 0x441cfd
lea ecx, [esp + 0x774]
push ecx
lea ecx, [esp + 0x1b4]
call fcn.00411610
lea edx, [esp + 0x1b0]
push edx
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x4c]
mov byte [esp + 0x7cc], 6
call fcn.00440140
lea ecx, [esp + 0x1b0]
call fcn.00411680
mov byte [esp + 0x7c4], 4
mov eax, dword [esp + 0x34]
mov dword [esp + 0x24], vtable.allocator_unsigned_char__class_TAllocDefault_.0
cmp eax, edi
je 0x441d3b
mov ecx, dword [eax + 4]
push eax
mov dword [esp + 0x38], ecx
call dword [esp + 0x34]
mov eax, dword [esp + 0x38]
add esp, 4
cmp eax, edi
jne 0x441d15
jmp 0x441d3b
push edi
lea ecx, [esp + 0x2d8]
call fcn.0040f080
cmp byte [esp + 0x3f0], 0
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
jne 0x441d6b
mov eax, dword [esp + 0x2dc]
lea edx, [esp + 0x2e0]
cmp eax, edx
je 0x441d6b
push eax
call fcn.004faac5
add esp, 4
lea eax, [esp + 0x524]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x441ae0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0x51c], edi
je 0x441d99
mov dword [esp + 0x51c], edi
mov ecx, 1
lea esi, [esp + 0x404]
mov dword [esp + 0x400], edi
call fcn.00412590
cmp byte [esp + 0x518], 0
lea eax, [esp + 0x408]
jne 0x441dc9
mov eax, dword [esp + 0x404]
xor ecx, ecx
push ebx
push 0x55d15c
lea edx, [esp + 0x404]
mov word [eax + 4], cx
call fcn.00411e80
push 0x564b78
push 0x55d15c
lea edx, [esp + 0x40c]
call fcn.00411e80
push 0x250
lea edx, [esp + 0x538]
push edi
push edx
call fcn.004ff6c0
add esp, 0x1c
cmp byte [esp + 0x518], 0
lea eax, [esp + 0x408]
jne 0x441e25
mov eax, dword [esp + 0x404]
lea ecx, [esp + 0x524]
push ecx
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x441f54
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov bl, 7
lea ebx, [ebx]
mov ecx, 0x559500
lea eax, [esp + 0x550]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x441e86
cmp dx, di
je 0x441e82
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x441e86
add eax, 4
add ecx, 4
cmp dx, di
jne 0x441e60
xor eax, eax
jmp 0x441e8b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x441f3a
mov ecx, 0x55db1c
lea eax, [esp + 0x550]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x441ec6
cmp dx, di
je 0x441ec2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x441ec6
add eax, 4
add ecx, 4
cmp dx, di
jne 0x441ea0
xor eax, eax
jmp 0x441ecb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x441f3a
test byte [esp + 0x524], 0x10
je 0x441f3a
lea edx, [esp + 0x550]
push edx
lea ecx, [esp + 0x90]
call fcn.00411610
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x70]
mov byte [esp + 0x7cc], bl
call fcn.00440140
cmp byte [esp + 0x1a8], 0
mov dword [esp + 0x8c], vtable.t_str.0
jne 0x441f3a
mov eax, dword [esp + 0x94]
lea edx, [esp + 0x98]
cmp eax, edx
je 0x441f3a
push eax
call fcn.004faac5
add esp, 4
lea eax, [esp + 0x524]
push eax
push esi
call ebp
test eax, eax
jne 0x441e50
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x68]
mov dword [esp + 0x18], eax
cmp eax, edi
je 0x44223f
mov esi, dword [esp + 0x44]
test esi, esi
je 0x441fb2
lea esp, [esp]
cmp byte [esi + 0x124], 0
lea ecx, [esi + 0x14]
jne 0x441f7f
mov ecx, dword [esi + 0x10]
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x124], 0
je 0x441f91
add eax, 0x14
jmp 0x441f94
mov eax, dword [eax + 0x10]
add ecx, 4
push ecx
add eax, 4
push eax
call fcn.004fc550
add esp, 8
test eax, eax
je 0x44222d
mov esi, dword [esi]
test esi, esi
jne 0x441f70
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x124], 0
je 0x441fc4
add eax, 0x14
jmp 0x441fc7
mov eax, dword [eax + 0x10]
mov ecx, 4
mov word [esp + 0x3ee], cx
lea edx, [esp + 0x2e0]
mov ecx, 1
lea esi, [esp + 0x2dc]
lea ebx, [eax + 4]
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
mov byte [esp + 0x3f0], 1
mov dword [esp + 0x2dc], edx
mov dword [esp + 0x2e0], 0
mov dword [esp + 0x3f4], 0
mov dword [esp + 0x2d8], 0
call fcn.00412590
cmp byte [esp + 0x3f0], 0
lea eax, [esp + 0x2e0]
jne 0x442042
mov eax, dword [esp + 0x2dc]
xor ecx, ecx
mov word [eax + 4], cx
mov ebp, dword [esp + 0x20]
mov byte [esp + 0x7c4], 8
test ebp, ebp
jne 0x44205d
mov ebp, 0x55922c
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x442062
sub eax, edx
sar eax, 1
lea edi, [eax + 1]
mov ecx, edi
lea esi, [esp + 0x2dc]
mov dword [esp + 0x2d8], eax
call fcn.00412590
cmp byte [esp + 0x3f0], 0
lea eax, [esp + 0x2e0]
jne 0x4420a1
mov eax, dword [esp + 0x2dc]
lea edx, [edi + edi]
push edx
add eax, 4
push ebp
push eax
call fcn.004ff740
add esp, 0xc
test ebx, ebx
je 0x4421cf
push 0
push 0
push 0
push 0
push 0
push ebx
lea ecx, [esp + 0xa4]
call fcn.0040e250
mov cl, byte [esp + 0x1a8]
mov eax, dword [esp + 0x94]
lea edx, [esp + 0x98]
test cl, cl
jne 0x4420ec
mov edx, eax
cmp word [edx + 4], 0x2e
jne 0x442145
test cl, cl
je 0x4420fe
lea eax, [esp + 0x98]
mov ecx, dword [esp + 0x90]
lea esi, [eax + 4]
mov eax, dword [esp + 0x2d8]
cmp eax, ecx
jbe 0x442192
cmp byte [esp + 0x3f0], 0
lea edx, [esp + 0x2e0]
jne 0x44212f
mov edx, dword [esp + 0x2dc]
sub eax, ecx
lea eax, [edx + eax*2 + 4]
push esi
push eax
call fcn.004fc550
add esp, 8
test eax, eax
je 0x44219f
jmp 0x442192
test cl, cl
je 0x442150
lea eax, [esp + 0x98]
lea esi, [eax + 4]
mov eax, dword [esp + 0x2d8]
test eax, eax
je 0x442181
cmp byte [esp + 0x3f0], 0
lea ecx, [esp + 0x2e0]
jne 0x442176
mov ecx, dword [esp + 0x2dc]
movzx eax, word [ecx + eax*2 + 2]
cmp ax, 0x5c
je 0x442192
push 0x55d368
lea eax, [esp + 0x2d8]
call fcn.004118e0
push esi
lea eax, [esp + 0x2d8]
call fcn.004118e0
cmp byte [esp + 0x1a8], 0
mov dword [esp + 0x8c], vtable.t_str.0
jne 0x4421cf
mov eax, dword [esp + 0x94]
lea ecx, [esp + 0x98]
cmp eax, ecx
je 0x4421cf
push eax
call fcn.004faac5
add esp, 4
mov byte [esp + 0x7c4], 9
cmp byte [esp + 0x3f0], 0
lea eax, [esp + 0x2e0]
jne 0x4421ef
mov eax, dword [esp + 0x2dc]
add eax, 4
push 1
push eax
call fcn.004160b0
add esp, 8
cmp byte [esp + 0x3f0], 0
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
jne 0x44222d
mov eax, dword [esp + 0x2dc]
lea edx, [esp + 0x2e0]
cmp eax, edx
je 0x44222d
push eax
call fcn.004faac5
add esp, 4
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x441f64
cmp byte [esp + 0x518], 0
mov dword [esp + 0x3fc], 0x55db98
jne 0x44226f
mov eax, dword [esp + 0x404]
lea ecx, [esp + 0x408]
cmp eax, ecx
je 0x44226f
push eax
call fcn.004faac5
add esp, 4
lea ecx, [esp + 0x68]
mov byte [esp + 0x7c4], 0
call fcn.0043a3a0
lea ecx, [esp + 0x44]
mov dword [esp + 0x7c4], 0xffffffff
call fcn.0043a3a0
mov ecx, dword [esp + 0x7bc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x7a0]
xor ecx, esp
call fcn.004fa259
add esp, 0x7b4
ret 4