Function at 0x10053020
Capabilities:
Enumerate process modules

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009f188
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x13a0
call fcn.1006fb90
mov eax, dword [0x1010df64]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x334], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x370], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x36c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x38c], eax
mov dword [ebp - 0x330], 0
mov dword [ebp - 0x374], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x380], 0
mov dword [ebp - 0x378], 0
mov dword [ebp - 0x384], 0
mov dword [ebp - 0x388], 0
mov eax, dword [0x1010df30]
mov ecx, 0x1010df30
mov byte [ebp - 4], 5
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x344], eax
mov eax, dword [0x1010df30]
mov ecx, 0x1010df30
mov byte [ebp - 4], 6
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x338], eax
mov eax, dword [0x1010df30]
mov ecx, 0x1010df30
mov byte [ebp - 4], 7
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x33c], eax
mov eax, dword [0x1010df30]
mov ecx, 0x1010df30
mov byte [ebp - 4], 8
call dword [eax + 0xc]
mov dword [ebp - 0x354], eax
add eax, 0x10
mov dword [ebp - 0x32c], eax
mov eax, dword [0x1010df30]
mov ecx, 0x1010df30
mov byte [ebp - 4], 9
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x340], ebx
mov eax, dword [0x1010df30]
mov ecx, 0x1010df30
mov byte [ebp - 4], 0xa
call dword [eax + 0xc]
mov dword [ebp - 0x364], eax
add eax, 0x10
mov dword [ebp - 0x348], eax
mov eax, dword [0x1010df30]
mov ecx, 0x1010df30
mov byte [ebp - 4], 0xb
call dword [eax + 0xc]
mov dword [ebp - 0x398], eax
add eax, 0x10
mov dword [ebp - 0x34c], eax
mov eax, dword [0x1010df30]
mov ecx, 0x1010df30
mov byte [ebp - 4], 0xc
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x350], edi
mov byte [ebp - 4], 0xd
mov ecx, 0x1010df30
mov eax, dword [0x1010df30]
call dword [eax + 0xc]
mov dword [ebp - 0x39c], eax
add eax, 0x10
mov dword [ebp - 0x35c], eax
mov eax, dword [0x1010df30]
mov ecx, 0x1010df30
mov byte [ebp - 4], 0xe
call dword [eax + 0xc]
mov dword [ebp - 0x3a0], eax
add eax, 0x10
mov dword [ebp - 0x360], eax
mov eax, dword [0x1010df30]
mov ecx, 0x1010df30
mov byte [ebp - 4], 0xf
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x358], esi
push dword [ebp - 0x38c]
lea eax, [ebp - 0x330]
push dword [ebp - 0x36c]
mov byte [ebp - 4], 0x10
push dword [ebp - 0x370]
mov dword [ebp - 0x3a4], 0
push dword [ebp - 0x374]
mov dword [ebp - 0x394], 0
push str.hIdentity0x_x__pdwCategory0x_x__pdwError0x_x__pszErrorBlob0x_x
push str.IDCRL::GetExtendedError
push eax
push str.d:_bt20572clientppcrlclientppcrl.cpp_3317
lea eax, [ebp - 0x328]
push 2
push eax
mov dword [ebp - 0x390], 0
mov dword [ebp - 0x37c], 0
call fcn.1000b340
add esp, 0x28
cmp dword [ebp - 0x334], 0
mov byte [ebp - 4], 0x11
je 0x10053b68
cmp dword [ebp - 0x370], 0
je 0x10053b68
cmp dword [ebp - 0x36c], 0
je 0x10053b68
call fcn.1000b340
mov dword [ebp - 0x330], eax
test eax, eax
js 0x10053b72
call fcn.1000b340
lea ecx, [ebp - 0x374]
push ecx
push dword [ebp - 0x334]
lea ecx, [eax + 0x10]
call fcn.1000b340
mov dword [ebp - 0x330], eax
test eax, eax
js 0x10053316
cmp dword [ebp - 0x374], 0
jne 0x100532dd
mov dword [ebp - 0x330], 0x80048020
jmp 0x10053316
mov eax, dword [0x1010df30]
mov ecx, 0x1010df30
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x334], eax
mov eax, dword [ebp - 0x374]
test eax, eax
jne 0x10053463
mov dword [ebp - 0x330], 0x8000ffff
lea ecx, [ebp - 0x334]
call fcn.10007180
lea ecx, [ebp - 0x328]
mov byte [ebp - 4], 0x10
call fcn.1000b340
lea ecx, [ebp - 0x358]
call fcn.10007180
lea ecx, [ebp - 0x360]
call fcn.10007180
lea ecx, [ebp - 0x35c]
call fcn.10007180
lea ecx, [ebp - 0x350]
call fcn.10007180
lea ecx, [ebp - 0x34c]
call fcn.10007180
lea ecx, [ebp - 0x348]
call fcn.10007180
lea ecx, [ebp - 0x340]
call fcn.10007180
lea ecx, [ebp - 0x32c]
call fcn.10007180
lea ecx, [ebp - 0x33c]
call fcn.10007180
lea ecx, [ebp - 0x338]
call fcn.10007180
lea ecx, [ebp - 0x344]
call fcn.10007180
mov eax, dword [ebp - 0x388]
mov edi, dword [ebp - 0x330]
test eax, eax
je 0x100533c1
push eax
call fcn.1000b340
add esp, 4
mov dword [ebp - 0x388], 0
mov eax, dword [ebp - 0x384]
test eax, eax
je 0x100533de
push eax
call fcn.1000b340
add esp, 4
mov dword [ebp - 0x384], 0
mov eax, dword [ebp - 0x378]
test eax, eax
je 0x100533fb
push eax
call fcn.1000b340
add esp, 4
mov dword [ebp - 0x378], 0
mov eax, dword [ebp - 0x380]
test eax, eax
je 0x10053418
push eax
call fcn.1000b340
add esp, 4
mov dword [ebp - 0x380], 0
mov esi, dword [ebp - 0x374]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x10053443
lea eax, [esi + 4]
push eax
call dword [sym.imp.kernel32.dll_InterlockedDecrement]
test eax, eax
jne 0x10053443
test esi, esi
je 0x10053443
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10001e17
mov esp, ebp
pop ebp
ret 0x14
add eax, 8
mov dword [ebp - 0x368], eax
mov byte [ebp - 0x364], 0
lea ecx, [ebp - 0x368]
mov byte [ebp - 4], 0x13
call fcn.1001f400
mov dword [ebp - 0x330], eax
test eax, eax
jns 0x100534aa
cmp byte [ebp - 0x364], 0
je 0x1005330b
push dword [ebp - 0x368]
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
jmp 0x1005330b
mov ecx, dword [ebp - 0x374]
lea ecx, [ecx + 0x30]
call fcn.1000b340
mov edi, dword [ebp - 0x370]
lea ecx, [ebp - 0x3a4]
push ecx
lea ecx, [ebp - 0x380]
push ecx
lea ecx, [ebp - 0x388]
push ecx
lea ecx, [ebp - 0x384]
push ecx
lea ecx, [ebp - 0x378]
push ecx
lea ecx, [ebp - 0x37c]
push ecx
push edi
push 0
push dword [eax]
call fcn.1000b340
mov dword [ebp - 0x330], eax
test eax, eax
js 0x1005348c
cmp eax, 1
je 0x1005348c
cmp dword [edi], 0
mov eax, dword [ebp - 0x37c]
jne 0x1005353c
test eax, eax
jne 0x1005353c
call fcn.10007370
test al, al
je 0x1005352d
push str.No_extended_error_info_is_set.
push str.d:_bt20572clientppcrlclientppcrl.cpp_3358
push 3
call fcn.1000b340
add esp, 0xc
mov dword [ebp - 0x330], 1
jmp 0x1005348c
push eax
call fcn.1000b340
cmp dword [ebp - 0x38c], 0
mov ecx, eax
mov eax, dword [ebp - 0x36c]
mov dword [eax], ecx
je 0x1005348c
push dword [ebp - 0x384]
lea ecx, [ebp - 0x354]
call fcn.1000b340
lea ecx, [ebp - 0x344]
push ecx
push 0xffffffffffffffff
push dword [eax]
mov byte [ebp - 4], 0x14
call fcn.1000b340
lea ecx, [ebp - 0x354]
mov byte [ebp - 4], 0x13
call fcn.10007180
push dword [ebp - 0x388]
lea ecx, [ebp - 0x354]
call fcn.1000b340
lea ecx, [ebp - 0x338]
push ecx
push 0xffffffffffffffff
push dword [eax]
mov byte [ebp - 4], 0x15
call fcn.1000b340
lea ecx, [ebp - 0x354]
mov byte [ebp - 4], 0x13
call fcn.10007180
lea eax, [ebp - 0x354]
push eax
call fcn.1000b340
push eax
lea ecx, [ebp - 0x334]
mov byte [ebp - 4], 0x16
call fcn.1000b340
lea ecx, [ebp - 0x354]
mov byte [ebp - 4], 0x13
call fcn.10007180
lea eax, [ebp - 0x33c]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x334]
call fcn.1000b340
cmp byte [ebp - 0x364], 0
je 0x10053615
push dword [ebp - 0x368]
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
lea ecx, [ebp - 0x334]
mov byte [ebp - 4], 0x11
call fcn.10007180
lea eax, [ebp - 0xc0]
push eax
call dword [sym.imp.kernel32.dll_GetTimeZoneInformation]
cmp eax, 1
jne 0x10053650
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0x340]
call fcn.1000b340
mov ebx, dword [ebp - 0x340]
jmp 0x1005368f
cmp eax, 2
jne 0x1005366c
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x340]
call fcn.1000b340
mov ebx, dword [ebp - 0x340]
jmp 0x1005368f
call fcn.10007370
test al, al
je 0x1005368f
call fcn.10062d20
push eax
push str.GetTimeZoneInformation_failed__0x_x__n
push str.d:_bt20572clientppcrlclientppcrl.cpp_3391
push 0
call fcn.1000b340
add esp, 0x10
call dword [sym.imp.kernel32.dll_GetThreadLocale]
push eax
lea eax, [ebp - 0x34c]
push 0x100b3f68
push eax
call fcn.1000b340
add esp, 0xc
call fcn.10007370
test al, al
je 0x100536cd
push dword [ebp - 0x34c]
push str.Thread_locale_is__s.
push str.d:_bt20572clientppcrlclientppcrl.cpp_3398
push 3
call fcn.1000b340
add esp, 0x10
lea eax, [ebp - 0x368]
push eax
call fcn.1000b340
push str._Y__m__dT_H:_M:_SZ
lea eax, [ebp - 0x354]
push eax
lea ecx, [ebp - 0x368]
call fcn.1000b340
push eax
lea ecx, [ebp - 0x348]
mov byte [ebp - 4], 0x17
call fcn.1000b340
lea ecx, [ebp - 0x354]
mov byte [ebp - 4], 0x11
call fcn.10007180
call fcn.10007370
mov edi, dword [ebp - 0x348]
test al, al
je 0x10053733
push edi
push str.Current_time_is__s.
push str.d:_bt20572clientppcrlclientppcrl.cpp_3406
push 3
call fcn.1000b340
add esp, 0x10
push 0x114
lea eax, [ebp - 0x128]
push 0
push eax
call fcn.1006ed80
add esp, 0xc
lea eax, [ebp - 0x128]
push eax
mov dword [ebp - 0x128], 0x114
call dword [sym.imp.kernel32.dll_GetVersionExW]
test eax, eax
je 0x10053793
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 0x11c]
lea eax, [ebp - 0x350]
push dword [ebp - 0x120]
push dword [ebp - 0x124]
push str._d._d._d___s_
push eax
call fcn.1000b340
add esp, 0x18
jmp 0x100537b6
call fcn.10007370
test al, al
je 0x100537b6
call fcn.10062d20
push eax
push str.GetVersionEx_failed_with__0x_x_.
push str.d:_bt20572clientppcrlclientppcrl.cpp_3425
push 0
call fcn.1000b340
add esp, 0x10
mov eax, dword [0x1010df30]
mov ecx, 0x1010df30
mov dword [ebp - 0x370], 0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x36c], eax
mov byte [ebp - 4], 0x18
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x370]
push ecx
push 0x1000
lea ecx, [ebp - 0x13b0]
push ecx
push eax
mov dword [ebp - 0x354], eax
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x1005387d
xor ecx, ecx
mov eax, dword [ebp - 0x370]
shr eax, 2
mov dword [ebp - 0x334], ecx
cmp ecx, eax
jae 0x1005387d
push 0x104
lea eax, [ebp - 0x21c]
push eax
push dword [ebp + ecx*4 - 0x13b0]
push dword [ebp - 0x354]
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x10053874
lea eax, [ebp - 0x36c]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.1000b340
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x36c]
lea eax, [ebp - 0x358]
push str._Module_version__s___s__Module_
push eax
call fcn.1000b340
mov esi, dword [ebp - 0x358]
add esp, 0x10
mov ecx, dword [ebp - 0x334]
inc ecx
jmp 0x10053805
lea ecx, [ebp - 0x36c]
mov byte [ebp - 4], 0x11
call fcn.10007180
lea eax, [ebp - 0x394]
push eax
lea eax, [ebp - 0x390]
push eax
call fcn.1000b340
push str._IDCRLErrorInfo_
lea ecx, [ebp - 0x32c]
call fcn.1000b340
push dword [ebp - 0x37c]
lea eax, [ebp - 0x32c]
push str._ErrorCode__d__ErrorCode_
push eax
call fcn.1000b340
add esp, 0xc
lea eax, [ebp - 0x32c]
push dword [ebp - 0x378]
push str._FileAndLine__S__FileAndLine_
push eax
call fcn.1000b340
add esp, 0xc
lea ecx, [ebp - 0x32c]
push str._InternetOffline_
call fcn.1000b340
xor eax, eax
cmp dword [ebp - 0x390], eax
setne al
push eax
lea eax, [ebp - 0x32c]
push 0x100af858
push eax
call fcn.1000b340
add esp, 0xc
lea ecx, [ebp - 0x32c]
push str.__InternetOffline_
call fcn.1000b340
push str._InternetRawConnectionState_
lea ecx, [ebp - 0x32c]
call fcn.1000b340
push dword [ebp - 0x394]
lea eax, [ebp - 0x32c]
push str.0x_x
push eax
call fcn.1000b340
add esp, 0xc
lea ecx, [ebp - 0x32c]
push str.__InternetRawConnectionState_
call fcn.1000b340
push dword [ebp - 0x380]
lea eax, [ebp - 0x32c]
push dword [ebp - 0x3a4]
push str._Host_port__d___s__Host_
push eax
call fcn.1000b340
add esp, 0x10
lea ecx, [ebp - 0x32c]
push str._ErrorTrace_
call fcn.1000b340
mov eax, dword [ebp - 0x33c]
lea ecx, [ebp - 0x32c]
push dword [eax - 0xc]
push eax
call fcn.1000b340
push str.__ErrorTrace_
lea ecx, [ebp - 0x32c]
call fcn.1000b340
push str._OSVersion_
lea ecx, [ebp - 0x32c]
call fcn.1000b340
mov eax, dword [ebp - 0x350]
lea ecx, [ebp - 0x32c]
push dword [eax - 0xc]
push eax
call fcn.1000b340
push str.__OSVersion_
lea ecx, [ebp - 0x32c]
call fcn.1000b340
push str._Time_
lea ecx, [ebp - 0x32c]
call fcn.1000b340
push dword [edi - 0xc]
lea ecx, [ebp - 0x32c]
push edi
call fcn.1000b340
push str.__Time_
lea ecx, [ebp - 0x32c]
call fcn.1000b340
push str._TimeZone_
lea ecx, [ebp - 0x32c]
call fcn.1000b340
push dword [ebx - 0xc]
lea ecx, [ebp - 0x32c]
push ebx
call fcn.1000b340
push str.__TimeZone_
lea ecx, [ebp - 0x32c]
call fcn.1000b340
push str._Request_
lea ecx, [ebp - 0x32c]
call fcn.1000b340
mov eax, dword [ebp - 0x344]
lea ecx, [ebp - 0x32c]
push dword [eax - 0xc]
push eax
call fcn.1000b340
push str.__Request_
lea ecx, [ebp - 0x32c]
call fcn.1000b340
push str._Response_
lea ecx, [ebp - 0x32c]
call fcn.1000b340
mov eax, dword [ebp - 0x338]
lea ecx, [ebp - 0x32c]
push dword [eax - 0xc]
push eax
call fcn.1000b340
push str.__Response_
lea ecx, [ebp - 0x32c]
call fcn.1000b340
push str._Modules_
lea ecx, [ebp - 0x32c]
call fcn.1000b340
push dword [esi - 0xc]
lea ecx, [ebp - 0x32c]
push esi
call fcn.1000b340
push str.__Modules_
lea ecx, [ebp - 0x32c]
call fcn.1000b340
push str.__IDCRLErrorInfo_
lea ecx, [ebp - 0x32c]
call fcn.1000b340
call fcn.10007370
test al, al
je 0x10053b17
call fcn.10007370
test al, al
je 0x10053b17
mov esi, dword [ebp - 0x32c]
push esi
push str.Error_Blob:__s
push 0
push 3
call fcn.1000b340
jmp 0x10053b1d
mov esi, dword [ebp - 0x32c]
call fcn.1000b340
push dword [ebp - 0x38c]
lea ecx, [eax + 0x94]
push esi
call fcn.1000b340
mov dword [ebp - 0x330], eax
test eax, eax
jns 0x10053316
call fcn.10007370
test al, al
je 0x10053316
push str.Could_not_allocate_memory_for_external_string
push str.d:_bt20572clientppcrlclientppcrl.cpp_3505
push 0
call fcn.1000b340
add esp, 0xc
jmp 0x10053316
mov dword [ebp - 0x330], 0x80070057
lea ecx, [ebp - 0x328]
mov byte [ebp - 4], 0x10
call fcn.1000b340
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov eax, esi
lea ecx, [edx + 0xc]
mov byte [ebp - 4], 0xf
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x10053ba1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x3a0]
mov ecx, esi
lea eax, [edx + 0xc]
mov byte [ebp - 4], 0xe
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10053bc1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x39c]
mov ecx, esi
lea eax, [edx + 0xc]
mov byte [ebp - 4], 0xd
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10053be1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov ecx, esi
lea eax, [edi + 0xc]
mov byte [ebp - 4], 0xc
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10053bfe
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x398]
mov ecx, esi
lea eax, [edx + 0xc]
mov byte [ebp - 4], 0xb
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10053c1e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x364]
mov ecx, esi
lea eax, [edx + 0xc]
mov byte [ebp - 4], 0xa
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10053c3e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov ecx, esi
lea eax, [ebx + 0xc]
mov byte [ebp - 4], 9
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10053c5b
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x354]
mov ecx, esi
lea eax, [edx + 0xc]
mov byte [ebp - 4], 8
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10053c7b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x33c]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
mov byte [ebp - 4], 7
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10053c9e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x338]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
mov byte [ebp - 4], 6
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10053cc1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x344]
add edx, 0xfffffff0
mov byte [ebp - 4], 5
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x1005339e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1005339e