joyce8/EMBER2024-capa huggingface dataset:
Function at 0x438025
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x52de80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.004bf1a0
add esp, 0xc
mov dword [ebp - 0x210], 0x208
lea eax, [ebp - 0x210]
mov ebx, str.SOFTWAREMicrosoftInternet_Explorer
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x214]
push eax
push str.svcVersion
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4380b0
cmp dword [ebp - 0x214], 1
jne 0x4380b0
cmp dword [ebp - 0x210], eax
je 0x4380b0
lea eax, [ebp - 0x20c]
push eax
call fcn.004bfc61
pop ecx
jmp 0x4380f7
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0x208
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x214]
push eax
push str.Version
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4380f5
cmp dword [ebp - 0x214], 1
jne 0x4380f5
cmp dword [ebp - 0x210], eax
jne 0x4380a1
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004bc11d
mov esp, ebp
pop ebp
ret

Function at 0x438106
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push edi
push str.winhttp.dll
mov edi, ecx
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi], eax
test eax, eax
je 0x4381d4
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.WinHttpOpen
push eax
call esi
push str.WinHttpConnect
push dword [edi]
mov dword [edi + 4], eax
call esi
push str.WinHttpOpenRequest
push dword [edi]
mov dword [edi + 8], eax
call esi
push str.WinHttpSendRequest
push dword [edi]
mov dword [edi + 0xc], eax
call esi
push str.WinHttpWriteData
push dword [edi]
mov dword [edi + 0x10], eax
call esi
push str.WinHttpReceiveResponse
push dword [edi]
mov dword [edi + 0x14], eax
call esi
push str.WinHttpCloseHandle
push dword [edi]
mov dword [edi + 0x18], eax
call esi
push str.WinHttpReadData
push dword [edi]
mov dword [edi + 0x1c], eax
call esi
push str.WinHttpQueryDataAvailable
push dword [edi]
mov dword [edi + 0x20], eax
call esi
push str.WinHttpSetTimeouts
push dword [edi]
mov dword [edi + 0x24], eax
call esi
mov dword [edi + 0x28], eax
pop esi
cmp dword [edi + 4], ebx
je 0x4381d4
cmp dword [edi + 8], ebx
je 0x4381d4
cmp dword [edi + 0xc], ebx
je 0x4381d4
cmp dword [edi + 0x10], ebx
je 0x4381d4
cmp dword [edi + 0x14], ebx
je 0x4381d4
cmp dword [edi + 0x18], ebx
je 0x4381d4
cmp dword [edi + 0x1c], ebx
je 0x4381d4
cmp dword [edi + 0x20], ebx
je 0x4381d4
cmp dword [edi + 0x24], ebx
je 0x4381d4
test eax, eax
je 0x4381d4
inc ebx
jmp 0x4381db
mov ecx, edi
call fcn.004381e0
pop edi
mov eax, ebx
pop ebx
ret
Function at 0x438b82
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2028
call fcn.004bf250
mov eax, dword [0x52de80]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, 0xfff
mov dword [ebp - 0x2020], eax
xor ebx, ebx
mov dword [ebp - 0x201c], ecx
push edi
lea eax, [ebp - 0x100b]
mov dword [ebp - 0x2014], 0x7d0
push ebx
push eax
mov esi, 0x80004005
mov dword [ebp - 0x2010], 0x1000
mov byte [ebp - 0x100c], bl
call fcn.004bf1a0
add esp, 0xc
mov byte [ebp - 0x200c], bl
lea eax, [ebp - 0x200b]
push edi
push ebx
push eax
call fcn.004bf1a0
add esp, 0xc
push ebx
push ebx
push ebx
push ebx
push str.KxeCollect_Agent
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebx, eax
mov dword [ebp - 0x2024], ebx
test ebx, ebx
jne 0x438c2d
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
jmp 0x438d90
push 4
lea eax, [ebp - 0x2014]
push eax
push 2
push ebx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push 1
xor eax, eax
push eax
push 3
push eax
push eax
push 0x50
push str.api.liebao.cn
push ebx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x2018], eax
test eax, eax
jne 0x438c7f
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
jmp 0x438d8d
push 4
lea ecx, [ebp - 0x2014]
push ecx
push 2
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov ebx, dword [ebp - 0x2018]
lea eax, [ebp - 0x2014]
push 4
push eax
push 5
push ebx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov eax, dword [ebp - 0x201c]
xor ecx, ecx
push 1
push 0x20000000
push ecx
push ecx
push str.HTTP_1.0
add eax, 0x2c
push eax
push ecx
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov ebx, eax
test ebx, ebx
jne 0x438cea
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
jmp 0x438d7f
xor eax, eax
push eax
push eax
push eax
push eax
push ebx
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x438d1a
lea eax, [ebp - 0x2010]
push eax
push dword [ebp - 0x2010]
lea eax, [ebp - 0x100c]
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x438d30
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
jmp 0x438d7c
lea eax, [ebp - 0x2010]
mov ecx, 0x1000
push eax
lea eax, [ebp - 0x200c]
mov dword [ebp - 0x2010], ecx
push eax
push ecx
lea eax, [ebp - 0x100c]
push eax
call fcn.00437eaa
add esp, 0x10
test eax, eax
je 0x438d7c
push dword [ebp - 0x2010]
lea eax, [ebp - 0x200c]
push eax
push dword [ebp - 0x2020]
call fcn.00438f0f
xor ecx, ecx
test eax, eax
cmovne esi, ecx
push ebx
call edi
push dword [ebp - 0x2018]
call edi
mov ebx, dword [ebp - 0x2024]
push ebx
call edi
mov ecx, dword [ebp - 8]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bc11d
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4393bd
Capabilities:
Encode data using base64

Disassembly:
push esi
push edi
mov edi, ecx
xor ecx, ecx
mov esi, ecx
mov al, byte [esi + edx]
cmp al, 0x41
jl 0x4393d8
cmp al, 0x5a
jg 0x4393d8
shl ecx, 6
add ecx, 0xffffffbf
jmp 0x4393f6
cmp al, 0x61
jl 0x4393e8
cmp al, 0x7a
jg 0x4393e8
shl ecx, 6
add ecx, 0xffffffb9
jmp 0x4393f6
cmp al, 0x30
jl 0x4393fd
cmp al, 0x39
jg 0x4393fd
shl ecx, 6
add ecx, 4
movsx eax, al
add ecx, eax
jmp 0x43941c
cmp al, 0x2b
jne 0x439409
shl ecx, 6
add ecx, 0x3e
jmp 0x43941c
cmp al, 0x2f
jne 0x439415
shl ecx, 6
add ecx, 0x3f
jmp 0x43941c
cmp al, 0x3d
jne 0x43941c
shl ecx, 6
inc esi
cmp esi, 4
jl 0x4393c5
mov byte [edi + 2], cl
shr ecx, 8
mov byte [edi + 1], cl
shr ecx, 8
mov byte [edi], cl
pop edi
pop esi
ret

Function at 0x439717
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x52de80]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
mov esi, ecx
push 0x7fe
push eax
mov word [ebp - 0x804], ax
lea eax, [ebp - 0x802]
push eax
call fcn.004bf1a0
mov eax, dword [esi + 0x20]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x439756
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x439791
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004bc11d
mov esp, ebp
pop ebp
ret
cmp word [ebp + eax*2 - 0x804], 0x5c
je 0x439794
dec eax
jns 0x439786
add eax, eax
cmp eax, 0x800
jae 0x4397c2
xor ecx, ecx
push 5
mov word [ebp + eax - 0x804], cx
lea eax, [ebp - 0x804]
push eax
push ecx
push eax
push 0x50f000
push dword [esi + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x439775
call fcn.004bfb1c
int3

Function at 0x43ac61
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xc
mov eax, 0x4f16c8
call fcn.004bcefc
mov dword [ebp - 0x18], ecx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
call fcn.00420e9a
push eax
lea ecx, [ebp - 0x14]
call fcn.00423ea0
mov dword [ebp - 4], ebx
cmp dword [ebp + 8], ebx
je 0x43ad03
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocStringLen
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x43ad03
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x10], eax
inc eax
push eax
call fcn.004badc8
mov edi, eax
pop ecx
test edi, edi
je 0x43acfc
push ebx
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43acf5
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
mov ecx, edi
mov byte [edi + eax], bl
call fcn.0043ad18
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
call fcn.0043abbf
mov ebx, eax
push edi
call fcn.004bbc06
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.004209ab
mov eax, ebx
call fcn.004bceca
ret 4
Function at 0x43e7c2
Capabilities:
Initialize winsock library

Disassembly:
push 0x1a4
mov eax, 0x4f1e40
call fcn.004bcf2f
mov edi, ecx
lea esi, [edi + 0x1008]
mov dword [ebp - 0x1b0], edi
xor ebx, ebx
mov dword [ebp - 0x1a8], esi
push ecx
mov dword [ebp - 0x1ac], esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
call fcn.0040b4a0
mov dword [esi], eax
test eax, eax
je 0x43e80c
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov eax, dword [esi]
mov dword [eax], esi
push 2
pop ecx
lea eax, [ebp - 0x1a4]
mov dword [ebp - 4], ecx
push eax
push ecx
call dword [sym.imp.WS2_32.dll_WSAStartup]
or dword [edi], 0xffffffff
mov eax, 0x1f90
or dword [ebp - 4], 0xffffffff
mov word [edi + 0x1024], ax
mov eax, edi
mov dword [edi + 0x1020], ebx
call fcn.004bcede
ret
Function at 0x43e8d0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push 0xb0
mov eax, 0x4f1e9c
call fcn.004bcf2f
mov esi, ecx
cmp dword [esi], 0xffffffff
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x18]
mov edi, dword [ebp + 0x10]
mov ebx, dword [sym.imp.WS2_32.dll_closesocket]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], ecx
je 0x43e91d
push dword [esi]
call ebx
or dword [esi], 0xffffffff
mov eax, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0xb8]
and dword [esi + 4], 0
push ecx
push eax
push edi
push ecx
lea ecx, [ebp - 0xac]
call fcn.00441d3c
and dword [ebp - 4], 0
cmp dword [esi + 0x1018], 0
je 0x43e96d
lea edi, [esi + 0x1008]
mov ecx, edi
call fcn.0043ec2d
mov ecx, dword [eax]
test ecx, ecx
je 0x43e956
mov eax, dword [ecx]
push 1
call dword [eax]
dec dword [edi + 0x10]
jne 0x43e961
and dword [edi + 0xc], 0
jmp 0x43e964
inc dword [edi + 0xc]
cmp dword [esi + 0x1018], 0
jne 0x43e943
mov ecx, dword [esi + 0x1020]
test ecx, ecx
je 0x43e984
mov eax, dword [ecx]
push 1
call dword [eax]
and dword [esi + 0x1020], 0
xor eax, eax
lea edi, [ebp - 0x22]
mov word [ebp - 0x24], ax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x24]
push eax
push ecx
mov ecx, esi
call fcn.0043eb9c
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
or edi, 0xffffffff
mov dword [esi], eax
cmp eax, edi
jne 0x43e9d5
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0x511510
lea ecx, [ebp - 0x4c]
call fcn.0043e743
push 0x52929c
lea eax, [ebp - 0x4c]
push eax
call fcn.004bce67
push 4
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0xb4], 0x2bf20
push ecx
push 0x1005
push 0xffff
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
lea eax, [esi + 0x101c]
push eax
lea eax, [esi + 0x1008]
push eax
lea ecx, [ebp - 0xac]
call fcn.00441e00
push 0x12
push 0x4c8
push dword [ebp - 0xb0]
push dword [esi]
call dword [sym.imp.WS2_32.dll_WSAAsyncSelect]
cmp eax, edi
jne 0x43ea3f
push dword [esi]
call ebx
mov dword [esi], edi
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0x511520
jmp 0x43e9bf
push 0x10
lea eax, [ebp - 0x24]
push eax
push dword [esi]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, edi
jne 0x43ea74
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call edi
cmp eax, 0x2733
je 0x43ea74
push dword [esi]
call ebx
or dword [esi], 0xffffffff
call edi
push eax
push 0x5114ec
jmp 0x43e9bf
lea ecx, [ebp - 0x64]
call fcn.004020a0
lea ecx, [ebp - 0x7c]
call fcn.004020a0
lea ecx, [ebp - 0x94]
call fcn.00402120
lea ecx, [ebp - 0xac]
call fcn.00402120
call fcn.004bcede
ret 0x14
Function at 0x43eb9c
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x52de80]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0x64
mov edi, ecx
call fcn.004c1e09
pop ecx
push str.dump.m.liebao.cn
test eax, eax
je 0x43ebd7
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x43ec0a
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
jmp 0x43ebdd
call dword [sym.imp.WS2_32.dll_inet_addr]
push 2
mov dword [esi + 4], eax
pop eax
mov word [esi], ax
movzx eax, word [edi + 0x1024]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [ebp - 4]
pop edi
mov word [esi + 2], ax
xor ecx, ebp
pop esi
call fcn.004bc11d
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0x51153c
lea ecx, [ebp - 0x2c]
call fcn.0043e743
push 0x52929c
lea eax, [ebp - 0x2c]
push eax
call fcn.004bce67
int3

Function at 0x43ece4
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
xor ebx, ebx
cmp dword [ecx + 0x14], 8
push edi
mov esi, ebx
jb 0x43ecf9
mov ecx, dword [ecx]
push ebx
push 0x8000000
push 3
push ebx
push 1
push SysReAllocStringLen
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x10], edi
cmp edi, 0xffffffff
jne 0x43ed21
xor al, al
jmp 0x43edf4
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push ebx
push ebx
push ebx
push 0x8000002
push ebx
push edi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x43edd3
push ebx
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
je 0x43edd3
mov ecx, dword [ebp - 4]
cmp ecx, 9
jb 0x43edd3
cmp dword [esi], 4
je 0x43ed6b
cmp dword [esi], 5
jne 0x43edd3
movzx eax, byte [esi + 8]
mov edx, dword [esi + 4]
cmp eax, 1
je 0x43ed80
cmp eax, 2
je 0x43ed80
test eax, eax
jne 0x43edd3
imul eax, edx, 6
mov dword [ebp - 0xc], eax
add eax, 9
cmp eax, ecx
ja 0x43edd3
lea eax, [edx + 1]
mov dword [ebp - 8], eax
test eax, eax
je 0x43eda9
lea eax, [esi + 0xb]
mov edx, ebx
cmp dword [eax], ecx
ja 0x43edd3
inc edx
add eax, 6
cmp edx, dword [ebp - 8]
jb 0x43ed9c
cmp dword [esi], 5
jne 0x43edd1
mov eax, dword [ebp - 0xc]
mov ecx, ebx
mov edx, dword [eax + esi + 0xf]
inc edx
je 0x43edd1
add eax, 0x15
add eax, esi
mov edi, dword [ebp - 4]
cmp dword [eax], edi
mov edi, dword [ebp - 0x10]
ja 0x43edd3
inc ecx
add eax, 6
cmp ecx, edx
jb 0x43edbf
mov bl, 1
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
mov eax, dword [ebp - 0x14]
cmp eax, 0xffffffff
je 0x43ede7
push eax
call edi
test esi, esi
je 0x43edf2
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43ee24
Capabilities:
Create thread

Disassembly:
push 0x38
mov eax, 0x4f1eef
call fcn.004bcf2f
mov dword [ebp - 0x40], ecx
and dword [ebp - 4], 0
mov eax, dword [ecx + 8]
test eax, eax
je 0x43ee6e
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x43ee6b
push 0xffffffffffffffff
push 0x511570
lea ecx, [ebp - 0x3c]
call fcn.0043e743
push 0x52929c
lea eax, [ebp - 0x3c]
push eax
call fcn.004bce67
mov ecx, dword [ebp - 0x40]
mov edi, dword [ebp + 0xc]
lea ebx, [ecx + 0x10]
mov esi, dword [edi]
cmp esi, edi
je 0x43ee90
lea eax, [esi + 8]
mov ecx, ebx
push eax
push dword [ebx]
call fcn.0042e490
mov esi, dword [esi]
cmp esi, edi
jne 0x43ee7a
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [ecx + 4], eax
lea eax, [ebp - 0x44]
push eax
push edx
push ecx
push 0x43edfb
push edx
push edx
mov dword [ebp - 0x44], edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 8], eax
test eax, eax
jne 0x43eec6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x511560
jmp 0x43ee55
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0042e1b6
push dword [ebp + 0xc]
call fcn.00481594
pop ecx
call fcn.004bcede
ret 0xc
Function at 0x43f6d3
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push 0x8c8
mov eax, 0x4f208c
call fcn.004bcf2f
xor ebx, ebx
lea ecx, [ebp - 0x828]
mov dword [ebp - 0x814], ebx
push ebx
mov dword [ebp - 0x818], ebx
mov dword [ebp - 0x814], 7
call fcn.00402830
lea eax, [ebp - 0x828]
mov dword [ebp - 4], ebx
push eax
call fcn.0043f325
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
cmovae eax, dword [ebp - 0x828]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43f859
xor eax, eax
push 0x7fe
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push ebx
push eax
call fcn.004bf1a0
add esp, 0xc
lea eax, [ebp - 0x828]
cmp dword [ebp - 0x814], 8
cmovae eax, dword [ebp - 0x828]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edi, eax
test edi, edi
je 0x43f859
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004badc8
pop ecx
push edi
push ebx
push eax
mov dword [ebp - 0x8d4], eax
call fcn.004bf1a0
add esp, 0xc
mov edx, ebx
mov esi, ebx
test edi, edi
je 0x43f84a
mov ecx, dword [ebp - 0x8d4]
mov ax, word [ebp + esi*2 - 0x810]
mov word [ecx + edx*2], ax
inc edx
cmp word [ebp + esi*2 - 0x810], bx
jne 0x43f841
lea ecx, [ebp - 0x8d0]
call fcn.0042c8d4
mov byte [ebp - 4], 1
lea eax, [ebp - 0x828]
cmp dword [ebp - 0x814], 8
cmovae eax, dword [ebp - 0x828]
push eax
push dword [ebp - 0x8d4]
lea eax, [ebp - 0x8d0]
push eax
call fcn.0043f3e8
lea eax, [ebp - 0x8d0]
push eax
call fcn.0043f877
push edi
push ebx
push dword [ebp - 0x8d4]
call fcn.004bf1a0
add esp, 0xc
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x8d0]
call fcn.0043fbea
mov ecx, dword [ebp - 0x8d4]
mov edx, ebx
inc esi
cmp esi, edi
jb 0x43f7c2
push dword [ebp - 0x8d4]
call fcn.004bbc06
xor ebx, ebx
pop ecx
inc ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x828]
call fcn.00402120
mov eax, ebx
call fcn.004bcede
ret 4
Function at 0x440be8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x6c
mov eax, 0x4f241c
call fcn.004bcf2f
xor ebx, ebx
mov dword [ebp - 0x48], str.chrome.dll
mov dword [ebp - 0x30], ebx
lea ecx, [ebp - 0x44]
push ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], 7
call fcn.00402830
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], ebx
call fcn.004435da
mov esi, ebx
mov edi, 0x4fb6e8
inc ebx
push dword [ebp + esi*4 - 0x48]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0042449e
add esp, 0xc
mov byte [ebp - 4], bl
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x440ca3
test al, 0x10
jne 0x440ca3
lea ecx, [ebp - 0x78]
call fcn.0042b566
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
push ecx
cmovae eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x78]
push eax
call fcn.0043e1da
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x78], edi
test eax, eax
jne 0x440c9e
call fcn.00424a9e
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.00402120
inc esi
cmp esi, ebx
jb 0x440c26
jmp 0x440cb1
call fcn.00424a9e
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.00402120
xor bl, bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00402120
mov al, bl
call fcn.004bcede
ret

Function at 0x440cc5
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x64
mov eax, 0x4f2459
call fcn.004bcf2f
xor ebx, ebx
mov dword [ebp - 0x24], str.resources.pak
mov dword [ebp - 0x40], ebx
lea ecx, [ebp - 0x54]
push ebx
mov dword [ebp - 0x20], str.chrome_100_percent.pak
mov dword [ebp - 0x1c], 0x5118dc
mov dword [ebp - 0x18], str.localeszh_CN.pak
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], 7
call fcn.00402830
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], ebx
call fcn.004435da
mov esi, ebx
inc ebx
mov dword [ebp - 0x70], ebx
jmp 0x440d1b
xor ebx, ebx
inc ebx
push dword [ebp + esi*4 - 0x24]
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.0042449e
add esp, 0xc
mov byte [ebp - 4], bl
lea eax, [ebp - 0x3c]
cmp dword [ebp - 0x28], 8
cmovae eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x440d96
test al, 0x10
jne 0x440d96
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x6c]
cmovae eax, dword [ebp - 0x3c]
push eax
call fcn.004045b0
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 2
call fcn.0043ece4
mov bl, al
mov byte [ebp - 4], 1
neg bl
lea ecx, [ebp - 0x6c]
sbb bl, bl
call fcn.00402120
inc bl
jne 0x440d96
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], bl
call fcn.00402120
inc esi
cmp esi, 4
jb 0x440d18
jmp 0x440da6
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0
call fcn.00402120
mov byte [ebp - 0x70], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00402120
mov al, byte [ebp - 0x70]
call fcn.004bcede
ret
Function at 0x440dd4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push esi
push eax
push 0x20019
push 0
push str.SYSTEMCurrentControlSetControlSession_ManagerMemory_Management
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, ecx
mov dword [ebp - 8], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x440e0b
xor al, al
jmp 0x440e3d
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 1
push eax
push esi
lea eax, [ebp - 0xc]
push eax
push 0
push str.PagingFiles
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x440f6c
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x52de80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x3c
xor ebx, ebx
lea eax, [ebp - 0x24c]
push ebx
push eax
mov edi, ecx
call fcn.004bf1a0
add esp, 0xc
mov dword [ebp - 0x250], 0x40
lea eax, [ebp - 0x250]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x441058
cmp dword [ebp - 0x244], ebx
ja 0x441058
jb 0x440fd5
cmp dword [ebp - 0x248], 0x40000000
ja 0x441058
xor eax, eax
push 0x206
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push ebx
push eax
call fcn.004bf1a0
add esp, 0xc
lea ecx, [ebp - 0x210]
call fcn.00440dd4
test al, al
je 0x441058
lea esi, [ebp - 0x210]
cmp word [ebp - 0x210], bx
je 0x441024
mov ecx, esi
call fcn.00440dbb
test al, al
je 0x44102e
add esi, 2
cmp word [esi], bx
jne 0x441011
mov dword [edi], 1
mov al, 1
jmp 0x44105a
call fcn.00401f10
cmp eax, 3
jl 0x44103e
cmp word [esi], 0x3f
je 0x441058
mov edx, dword [ebp - 0x248]
mov ecx, esi
call fcn.00440e42
xor ecx, ecx
mov dword [edi], eax
test eax, eax
setne cl
mov al, cl
jmp 0x44105a
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bc11d
mov esp, ebp
pop ebp
ret