Function at 0x70dff28c
Capabilities:
Enumerate process modules
Get file version info

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x664
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x660], eax
push ebx
push esi
push edi
mov edi, edx
mov esi, ecx
mov dword [esp + 0xc], edi
mov dword [esp + 0x14], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, eax
je 0x70e04864
push esi
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [esp + 0x18], ebx
cmp ebx, 0xffffffff
je 0x70e011f8
lea eax, [esp + 0x240]
push eax
push ebx
mov dword [esp + 0x248], 0x428
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x70dff37a
lea esp, [esp]
push 8
lea ecx, [esp + 0x264]
push 0x70dff3c4
push ecx
call fcn.70e00a12
add esp, 0xc
test eax, eax
je 0x70e00c93
push 0xd
lea edx, [esp + 0x264]
push 0x70dff3d4
push edx
call fcn.70e00a12
add esp, 0xc
test eax, eax
je 0x70e00c93
push 0xd
lea eax, [esp + 0x264]
push 0x70dff3f0
push eax
call fcn.70e00a12
add esp, 0xc
test eax, eax
je 0x70e00c93
lea edx, [esp + 0x240]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_Module32NextW]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x70dff306
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 8]
test edx, edx
je 0x70e048e5
lea esi, [esp + 0x10]
call fcn.70df3a6e
test eax, eax
js 0x70e048e5
cmp dword [esp + 0x10], 0
jle 0x70e04923
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x660]
xor ecx, esp
call fcn.70df25ed
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x464]
push edx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test esi, esi
je 0x70dff363
push esi
call fcn.70df39ac
mov edi, eax
add esp, 4
mov dword [esp + 0x20], edi
test edi, edi
je 0x70dff363
push edi
push esi
push 0
lea eax, [esp + 0x46c]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x70e00d5a
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x28]
push edx
push 0x70e00d90
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x70e00d5a
mov eax, dword [esp + 0x24]
mov si, word [eax + 0xa]
mov di, word [eax + 8]
mov bx, word [eax + 0xe]
mov ax, word [eax + 0xc]
mov word [esp + 0x2e], ax
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
jne 0x70e01225
mov edx, dword [esp + 0xc]
push edx
call fcn.70e0079e
test eax, eax
jg 0x70e048b4
movzx ecx, word [esp + 0x2e]
movzx eax, bx
push eax
push ecx
movzx edx, di
movzx eax, si
push edx
push eax
mov eax, dword [esp + 0x1c]
push 0x70e00d74
call fcn.70e00c80
add esp, 0x14
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x18]
push edi
call fcn.70df3455
add esp, 4
cmp dword [esp + 0x14], 0
jle 0x70dff363
jmp 0x70e048c7
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x70e04943
and eax, 0xffff
or eax, 0x80070000
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x660]
xor ecx, esp
call fcn.70df25ed
mov esp, ebp
pop ebp
ret
movzx ecx, si
cmp ecx, eax
je 0x70e00d1d
jmp 0x70e00d52
cmp dword [esp + 0x10], 0
jle 0x70dff363
jmp 0x70dff37a
mov eax, dword [0x70e89a24]
mov dword [esp + 0x14], eax
cmp eax, 4
jl 0x70dff2c9
mov ecx, dword [edi + 8]
mov edx, dword [edi + 4]
mov eax, dword [0x70e7f78c]
mov esi, dword [eax]
push ecx
lea ecx, [esp + 0x14]
push ecx
push edx
mov edx, dword [esi + 0x10c]
push 0
push 0
push 0
push 0
push 0
push 0
push eax
call edx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x660]
xor ecx, esp
call fcn.70df25ed
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xc]
mov edx, 0x70e08f6c
call fcn.70df3ab2
jmp 0x70e00d2f
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 8]
test edx, edx
je 0x70e04904
lea esi, [esp + 0x10]
call fcn.70df3a6e
test eax, eax
jns 0x70e01235
jmp 0x70e04904
push 0x70e77804
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0x44], 0x80070057
mov dword [esp + 0x40], 0x70e07854
call fcn.70e610ef
push 0x70e77804
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x44], 0x80070057
mov dword [esp + 0x40], 0x70e07854
call fcn.70e610ef
cmp dword [esp + 0x1c], 0
jne 0x70e0493e
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x12
je 0x70e0493e
call esi
jmp 0x70e011fe
mov eax, 0x80070002
mov ecx, dword [esp + 0x66c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.70df25ed
mov esp, ebp
pop ebp
ret