Function at 0x10004a50
Capabilities:
Enumerate process modules
Get file version info
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10018526
mov eax, dword fs:[0]
push eax
sub esp, 0x4d0
mov eax, dword [0x10020284]
xor eax, esp
mov dword [esp + 0x4c8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10020284]
xor eax, esp
push eax
lea eax, [esp + 0x4e4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4f4]
push eax
mov esi, ecx
push 8
mov dword [esp + 0x30], esi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0x30], edi
je 0x10004acf
lea ecx, [esp + 0xb4]
push ecx
push edi
mov dword [esp + 0xbc], 0x428
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
jne 0x10004ad6
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x10004e5c
call fcn.100051b0
mov edx, dword [esi]
push edx
push str._Modules__r_n
mov edi, eax
call fcn.10006262
add esp, 8
xor ebx, ebx
push ebx
mov ebp, 7
push 0x1001ad58
lea esi, [esp + 0xa0]
mov dword [esp + 0xb8], ebp
mov dword [esp + 0xb4], ebx
mov word [esp + 0xa4], bx
call fcn.10003b10
mov dword [esp + 0x4ec], ebx
push ebx
push 0x1001ad58
lea esi, [esp + 0x84]
mov dword [esp + 0x9c], ebp
mov dword [esp + 0x98], ebx
mov word [esp + 0x88], bx
call fcn.10003b10
mov byte [esp + 0x4ec], 1
mov dword [esp + 0x50], ebx
mov dword [esp + 0x1c], ebx
jmp 0x10004b62
xor ebx, ebx
lea eax, [esp + 0xd4]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10004b70
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xd8]
push eax
lea esi, [esp + 0xa0]
call fcn.10003b10
lea eax, [esp + 0x2d4]
lea ecx, [eax + 2]
mov edi, edi
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x10004ba0
sub eax, ecx
sar eax, 1
push eax
lea ecx, [esp + 0x2d8]
push ecx
lea esi, [esp + 0x84]
call fcn.10003b10
mov edx, dword [esp + 0xc8]
mov ecx, dword [edi + 0x10]
mov eax, dword [esp + 0xcc]
push ecx
mov dword [esp + 0x4c], edx
mov edx, dword [edi + 8]
push ebx
push edx
mov dword [esp + 0x58], eax
call fcn.10009ae0
mov ecx, dword [esp + 0x8c]
xor eax, eax
add esp, 0xc
xor esi, esi
xor ebp, ebp
cmp dword [esp + 0x94], 8
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], eax
jae 0x10004c1d
lea ecx, [esp + 0x80]
mov edx, dword [edi + 8]
push edx
mov edx, dword [edi + 0x10]
shr edx, 1
push edx
push eax
push ecx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x10004c86
mov edx, dword [edi + 8]
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0x1001ad90
push edx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x10004c86
mov eax, dword [esp + 0x1c]
movzx ecx, word [eax + 0xc]
movzx edx, word [eax + 0x12]
movzx esi, word [eax + 0xa]
movzx ebx, word [eax + 8]
movzx ebp, word [eax + 0xe]
mov dword [esp + 0x20], ecx
movzx ecx, word [eax + 0x10]
mov dword [esp + 0x14], edx
movzx edx, word [eax + 0x16]
movzx eax, word [eax + 0x14]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x18], eax
xor eax, eax
cmp dword [esp + 0x94], 8
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x80]
jae 0x10004cb0
lea eax, [esp + 0x80]
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
test eax, eax
mov dword [esp + 0x44], eax
je 0x10004d1c
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x68]
push edx
lea ecx, [esp + 0x64]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x10004d11
lea edx, [esp + 0x6c]
push edx
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x10004d11
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x70]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
mov eax, dword [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x80]
mov eax, 8
cmp dword [esp + 0x94], eax
jae 0x10004d38
lea ecx, [esp + 0x80]
cmp dword [esp + 0xb0], eax
mov eax, dword [esp + 0x9c]
jae 0x10004d4f
lea eax, [esp + 0x9c]
movzx edx, word [esp + 0x40]
push edx
movzx edx, word [esp + 0x42]
push edx
movzx edx, word [esp + 0x44]
push edx
movzx edx, word [esp + 0x46]
push edx
movzx edx, word [esp + 0x46]
push edx
movzx edx, word [esp + 0x48]
push edx
mov edx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x78]
push ebp
push ebx
push esi
push edx
mov edx, dword [esp + 0x84]
push edx
push ecx
mov ecx, dword [edi + 8]
push eax
mov eax, dword [edi + 0x10]
push str._Module_name__s__path__s__baseAddress_0X_08X__size__d__fileVersion__d._d._d._d__productVersion__d._d._d._d__timestamp__04d__02d__02d__02d:_02d:_02d____r_n
shr eax, 1
push eax
push ecx
call fcn.10005c12
mov edx, dword [esp + 0x7c]
mov eax, dword [edx]
mov ecx, dword [edi + 8]
add esp, 0x54
push eax
push ecx
call fcn.10006262
mov eax, dword [esp + 0x38]
add esp, 8
lea edx, [esp + 0xb4]
push edx
push eax
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x10004b60
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx]
push edx
push str.__Modules__r_n
call fcn.10006262
push edi
call fcn.10005330
mov eax, dword [esp + 0x3c]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 8
cmp dword [esp + 0x94], esi
jb 0x10004e25
mov ecx, dword [esp + 0x80]
push ecx
call fcn.10005c0d
add esp, 4
xor eax, eax
cmp dword [esp + 0xb0], esi
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], eax
mov word [esp + 0x80], ax
jb 0x10004e5a
mov edx, dword [esp + 0x9c]
push edx
call fcn.10005c0d
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x4e4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c8]
xor ecx, esp
call fcn.10005bfe
add esp, 0x4dc
ret 4