joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10070970
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100a700c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x10070a2c
cmp byte [esi + 0x3d], 0
je 0x10070a2c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x10070a1a
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x100709e1
sub eax, 1
je 0x100709e5
sub eax, 2
jne 0x10070a1a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10073979
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10070a03
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x10070a1a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10073979
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10073979
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.10073979
mov esp, ebp
pop ebp
ret

Function at 0x10071300
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 3
xor eax, eax
mov dl, byte [edi + eax - 0x2dde7edd]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
and ecx, 0x800000ff
jns 0x1007132e
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0xc
jl 0x10071311
pop edi
mov byte [esi + 0xc], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10071340
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0xb5
xor eax, eax
mov dl, byte [edi + eax - 0x39e8c79c]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
and ecx, 0x800000ff
jns 0x1007136e
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0xc
jl 0x10071351
pop edi
mov byte [esi + 0xc], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10071380
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x7e
xor eax, eax
mov dl, byte [edi + eax + 0x47b30cfa]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
and ecx, 0x800000ff
jns 0x100713ae
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0xc
jl 0x10071391
pop edi
mov byte [esi + 0xc], 0
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x100713c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x90
xor eax, eax
mov dl, byte [edi + eax + 0x2c0f6166]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
and ecx, 0x800000ff
jns 0x100713ee
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0xc
jl 0x100713d1
pop edi
mov byte [esi + 0xc], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10073710
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008276d
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x100a700c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 0x84]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
push eax
mov byte [ebp - 0x84], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0x67452301
mov dword [ebp - 0x34], 0xefcdab89
mov dword [ebp - 0x30], 0x98badcfe
mov dword [ebp - 0x2c], 0x10325476
call fcn.100735a0
cmp byte [ebp - 0x84], 0
jne 0x10073861
xor edx, edx
lea ecx, [ebp - 0x3f]
movzx eax, byte [ecx - 1]
lea ecx, [ecx + 4]
mov byte [ebp + edx - 0x18], al
movzx eax, byte [ecx - 4]
mov byte [ebp + edx - 0x17], al
movzx eax, byte [ecx - 3]
mov byte [ebp + edx - 0x16], al
movzx eax, byte [ecx - 2]
mov byte [ebp + edx - 0x15], al
add edx, 4
cmp edx, 8
jb 0x100737a5
mov edx, dword [ebp - 0x40]
mov ecx, 0x78
shr edx, 3
mov eax, 0x38
and edx, 0x3f
sub ecx, edx
sub eax, edx
cmp edx, 0x38
cmovae eax, ecx
lea ecx, [ebp - 0x84]
push eax
push 0x100a8a50
call fcn.100735a0
push 8
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x84]
call fcn.100735a0
xor edx, edx
lea ecx, [ebp - 0x37]
movzx eax, byte [ecx - 1]
lea ecx, [ecx + 4]
mov byte [ebp + edx - 0x28], al
movzx eax, byte [ecx - 4]
mov byte [ebp + edx - 0x27], al
movzx eax, byte [ecx - 3]
mov byte [ebp + edx - 0x26], al
movzx eax, byte [ecx - 2]
mov byte [ebp + edx - 0x25], al
add edx, 4
cmp edx, 0x10
jb 0x10073814
push 0x40
lea eax, [ebp - 0x83]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
mov byte [ebp - 0x84], 1
add esp, 0xc
movq qword [ebp - 0x40], xmm0
push esi
lea ecx, [ebp - 0x84]
call fcn.10073650
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x100738a3
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10073899
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10073899
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1007429f
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10073979
mov esp, ebp
pop ebp
ret
Function at 0x403b8a
Capabilities:
Allocate or change rwx memory
Read .ini file

Disassembly:
mov eax, 0x447be3
call fcn.00447af0
sub esp, 0x178
push ebx
push esi
mov eax, 0xb2d3b
add dword [0x48731c], eax
xor ebx, ebx
cmp dword [0x48731c], 0x20a
jne 0x403c25
push edi
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_WindowFromPoint]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasW]
lea eax, [ebp - 0x184]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x402c48
push ebx
push 0x402ca8
push 0x402cfc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
call fcn.00403140
lea eax, [ebp - 0x3c]
call fcn.00403e94
push 0x929
push 0xea
mov dword [ebp - 4], ebx
call fcn.00404bc3
push ebx
push ebx
push ebx
call fcn.00405243
or dword [ebp - 4], 0xffffffff
add esp, 0x14
lea edi, [ebp - 0x3c]
call fcn.00403eb9
pop edi
xor eax, eax
cmp eax, 0xf027935
jg 0x403c36
inc eax
cmp eax, 0x736251e2
jl 0x403c27
push 0x45ab10
mov byte [0x45ab15], 0x6c
mov byte [0x45ab17], 0x32
mov byte [0x45ab18], 0x2e
mov byte [0x45ab13], 0x6e
mov byte [0x45ab14], 0x65
mov byte [0x45ab19], 0x64
mov byte [0x45ab16], 0x33
mov byte [0x45ab1a], 0x6c
mov byte [0x45ab1b], 0x6c
mov byte [0x45ab1c], bl
mov byte [0x45ab10], 0x6b
mov byte [0x45ab11], 0x65
mov byte [0x45ab12], 0x72
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push dword [0x48731c]
mov dword [0x48728c], eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [ebp - 0x10]
push ecx
push 0x40
push dword [0x48731c]
mov dword [0x487288], eax
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [0x45503c]
xor esi, esi
mov dword [0x4873f4], eax
cmp dword [0x48731c], ebx
jbe 0x403d27
mov eax, dword [0x4873f4]
mov dword [ebp - 0x14], eax
mov eax, 0xb2d3b
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov al, byte [eax + esi]
mov ecx, dword [0x487288]
mov byte [ecx + esi], al
cmp dword [0x48731c], 0x44
jne 0x403d1e
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFlags]
push ebx
lea eax, [ebp - 0x20]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
inc esi
cmp esi, dword [0x48731c]
jb 0x403cd9
call fcn.00403ad0
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetAtomNameA]
cmp esi, 0x770e
jne 0x403d4b
call fcn.00403b64
inc esi
cmp esi, 0x286c535
jl 0x403d2e
push 0x7b
pop esi
cmp dword [0x48731c], 0xd
jne 0x403d94
push 0x30
lea eax, [ebp - 0x6c]
push ebx
push eax
mov dword [ebp - 0x70], ebx
call fcn.00408ec0
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetDefaultCommConfigA]
push 0x402d48
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_GetOldestEventLogRecord]
dec esi
jne 0x403d57
call fcn.00403b7e
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x403daa
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
xor esi, esi
cmp dword [0x48731c], 0xc
push edi
jne 0x403e1d
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_ReplaceFileA]
push dword [ebp - 4]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.MSIMG32.dll_AlphaBlend]
call dword [sym.imp.ole32.dll_CoRevokeMallocSpy]
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push 0x402c37
push 0x45ab10
call fcn.00404a24
push esi
call fcn.00404f34
push esi
call fcn.00404d1e
push esi
call fcn.00404d08
push esi
push esi
call fcn.0040511b
push esi
call fcn.00404f1d
add esp, 0x20
mov eax, dword [0x459e5c]
mov dword [0x48731c], eax
mov edi, 0x9ae37
cmp dword [0x48731c], 0x15
jne 0x403e7f
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationW]
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
push 0x402d80
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
push 0x402d98
push 0x402de8
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
lea eax, [ebp - 0x120]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetCPInfoExA]
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
dec edi
jne 0x403e2c
call fcn.00403211
call fcn.00403b8a
pop edi
xor eax, eax
pop esi
leave
ret 0x10

Function at 0x405a1b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4544a8]
jne 0x405a25
repz ret
jmp fcn.0040b3fc
Function at 0x40e514
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040805f
and dword [ebp - 4], 0
cmp dword [0x45a9fc], 0
mov ebx, eax
jne 0x40e5c5
push 0x401b78
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40e676
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401b6c
push edi
call esi
test eax, eax
je 0x40e676
push eax
call fcn.00407fed
mov dword [esp], 0x401b5c
push edi
mov dword [0x45a9fc], eax
call esi
push eax
call fcn.00407fed
mov dword [esp], 0x401b48
push edi
mov dword [0x45aa00], eax
call esi
push eax
call fcn.00407fed
mov dword [esp], 0x401b2c
push edi
mov dword [0x45aa04], eax
call esi
push eax
call fcn.00407fed
pop ecx
mov dword [0x45aa0c], eax
test eax, eax
je 0x40e5c5
push 0x401b14
push edi
call esi
push eax
call fcn.00407fed
pop ecx
mov dword [0x45aa08], eax
mov eax, dword [0x45aa08]
cmp eax, ebx
je 0x40e61d
cmp dword [0x45aa0c], ebx
je 0x40e61d
push eax
call fcn.00408068
push dword [0x45aa0c]
mov esi, eax
call fcn.00408068
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40e61d
test edi, edi
je 0x40e61d
call esi
test eax, eax
je 0x40e614
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40e614
test byte [ebp - 0xc], 1
jne 0x40e61d
or dword [ebp + 0x10], 0x200000
jmp 0x40e656
mov eax, dword [0x45aa00]
cmp eax, ebx
je 0x40e656
push eax
call fcn.00408068
pop ecx
test eax, eax
je 0x40e656
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40e656
mov eax, dword [0x45aa04]
cmp eax, ebx
je 0x40e656
push eax
call fcn.00408068
pop ecx
test eax, eax
je 0x40e656
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45a9fc]
call fcn.00408068
pop ecx
test eax, eax
je 0x40e676
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40e678
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4057e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
mov eax, dword [0x5557a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
mov dword [ebp - 0x814], 0
push 0x7fe
push eax
mov word [ebp - 0x804], ax
mov edi, edx
lea eax, [ebp - 0x802]
mov esi, ecx
push eax
call fcn.004dbaa0
add esp, 0xc
mov dword [ebp - 0x810], 0
cmp dword [edi + 0x14], 8
jb 0x405833
mov edi, dword [edi]
lea eax, [ebp - 0x810]
push eax
push edi
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x40588e
mov dword [ebp - 0x808], eax
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0x804]
mov dword [ebp - 0x80c], 0x800
push eax
lea eax, [ebp - 0x808]
push eax
push 0
push str.InstallDir
push dword [ebp - 0x810]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x810]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [ebp - 0x804], ax
jne 0x4058ae
xor ecx, ecx
jmp 0x4058c6
lea ecx, [ebp - 0x804]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4058b7
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x804]
mov ecx, esi
push eax
call fcn.00404110
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.004d14e6
mov esp, ebp
pop ebp
ret
Function at 0x405f40
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b971
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x5557a0]
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 ebx, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x134]
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
mov dword [ebp - 0x134], 0x11c
call edi
test eax, eax
jne 0x405fa3
lea eax, [ebp - 0x134]
mov dword [ebp - 0x134], 0x114
push eax
call edi
cmp dword [ebp - 0x130], 6
jb 0x406090
cmp dword [ebp - 0x12c], 2
jb 0x406090
push str.run_by_amdin
push 0x140
push str.CAppModel::runPlayer
call fcn.00435bf0
add esp, 0xc
lea edx, [ebx + 0x188]
lea ecx, [ebp - 0x14c]
push 0x53719c
call fcn.00409130
add esp, 4
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
jb 0x405ffe
mov edx, dword [esi]
jmp 0x406000
mov edx, esi
sub esp, 8
mov ecx, eax
call fcn.0042d060
add esp, 8
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x138], 8
mov edi, eax
jb 0x40602d
push dword [ebp - 0x14c]
call fcn.0047c460
add esp, 4
cmp edi, 0xffffffff
jne 0x4060d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.run_by_amdin_error:__d
push 0x144
push str.CAppModel::runPlayer
call fcn.00435bf0
push 0x53719c
lea edx, [ebx + 0x188]
lea ecx, [ebp - 0x14c]
call fcn.00409130
add esp, 0x14
push 0
push 1
push esi
push eax
mov dword [ebp - 4], 1
call fcn.0043d060
add esp, 0x10
cmp dword [ebp - 0x138], 8
jb 0x4060d5
push dword [ebp - 0x14c]
jmp 0x4060cd
push 0x53719c
lea edx, [ebx + 0x188]
lea ecx, [ebp - 0x164]
call fcn.00409130
add esp, 4
push 0
push 1
push esi
push eax
mov dword [ebp - 4], 2
call fcn.0043d060
add esp, 0x10
cmp dword [ebp - 0x150], 8
jb 0x4060d5
push dword [ebp - 0x164]
call fcn.0047c460
add esp, 4
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.004d14e6
mov esp, ebp
pop ebp
ret 4
Function at 0x40d030
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50c888
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x5557a0]
xor eax, esp
mov dword [esp + 0xc], eax
push esi
push edi
mov eax, dword [0x5557a0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
lea eax, [esp + 0x10]
mov dword [esp + 0xc], 0
xorps xmm0, xmm0
push eax
movq qword [esp + 0x14], xmm0
call fcn.004d338b
push 0x551968
lea eax, [esp + 0x18]
mov dword [esp + 0x30], 0
push esi
push eax
call fcn.004d3359
lea eax, [esp + 0x20]
push eax
push edi
call fcn.004d3339
lea eax, [esp + 0x28]
mov dword [esp + 0x40], 0xffffffff
push eax
call fcn.004d33dc
add esp, 0x1c
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.004d14e6
mov esp, ebp
pop ebp
ret

Function at 0x40fd80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50cc4a
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x5557a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x18], esi
call fcn.004d023f
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x40fe26
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], str.bad_locale_name
push eax
lea ecx, [ebp - 0x24]
call fcn.004d27e8
push 0x5519f4
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], vtable.std::runtime_error.0
push eax
call fcn.004daffd
push edi
push esi
call fcn.004d0112
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d14e6
mov esp, ebp
pop ebp
ret 4
Function at 0x411f10
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50cd8e
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x5557a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov esi, ecx
mov eax, dword [0x561644]
mov dword [ebp - 0xac], 0
test al, 1
jne 0x4120b1
or eax, 1
mov dword [0x561644], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0xa8], 0x12
push eax
xorps xmm0, xmm0
mov dword [ebp - 0xa4], str.ko_KR
push ecx
movq qword [0x561648], xmm0
mov dword [ebp - 0xa0], 9
mov dword [ebp - 0x9c], str.en_US
mov dword [ebp - 0x98], 0x2a
mov dword [ebp - 0x94], str.vi_VN
mov dword [ebp - 0x90], 0x1e
mov dword [ebp - 0x8c], str.th_TH
mov dword [ebp - 0x88], 0x19
mov dword [ebp - 0x84], str.ru_RU
mov dword [ebp - 0x80], 0x22
mov dword [ebp - 0x7c], str.uk_UA
mov dword [ebp - 0x78], 0x16
mov dword [ebp - 0x74], str.pt_PT
mov dword [ebp - 0x70], 0x1f
mov dword [ebp - 0x6c], str.tr_TR
mov dword [ebp - 0x68], 0xa
mov dword [ebp - 0x64], str.es_ES
mov dword [ebp - 0x60], 0xc
mov dword [ebp - 0x5c], str.fr_FR
mov dword [ebp - 0x58], 7
mov dword [ebp - 0x54], str.de_DE
mov dword [ebp - 0x50], 0x11
mov dword [ebp - 0x4c], str.ja_JP
mov dword [ebp - 0x48], 0x21
mov dword [ebp - 0x44], str.in_ID
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x3c], str.ar_IL
mov dword [ebp - 0x38], 0x29
mov dword [ebp - 0x34], str.fa_IR
mov dword [ebp - 0x30], 0x39
mov dword [ebp - 0x2c], str.hi_IN
mov dword [ebp - 0x28], 0x10
mov dword [ebp - 0x24], str.it_IT
mov dword [ebp - 0x20], 0x3e
mov dword [ebp - 0x1c], str.ms_MY
call fcn.00412b20
push 0x5143d0
call fcn.004d2245
add esp, 4
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
cmp cx, 4
jne 0x412124
mov ecx, 0xc04
cmp ax, cx
je 0x412101
mov ecx, 0x1404
cmp ax, cx
je 0x412101
mov ecx, 0x404
cmp ax, cx
je 0x412101
mov ecx, 0x7c04
cmp ax, cx
je 0x412101
push str.zh_TW
mov ecx, esi
call fcn.00404240
jmp 0x41218b
push 5
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
push str.zh_TW
mov word [esi], ax
call fcn.00404110
jmp 0x41218b
mov edi, dword [0x561648]
mov edx, ecx
mov ecx, edi
mov eax, dword [edi + 4]
cmp byte [eax + 0xd], 0
jne 0x412157
cmp dword [eax + 0x10], edx
jge 0x412141
mov eax, dword [eax + 8]
jmp 0x412145
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x412137
cmp ecx, edi
je 0x412157
mov dword [ebp - 0x14], ecx
cmp edx, dword [ecx + 0x10]
jge 0x41215a
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x14]
mov ecx, esi
mov eax, dword [eax]
cmp eax, edi
je 0x41216f
push dword [eax + 0x14]
call fcn.00404240
jmp 0x41218b
xor eax, eax
mov dword [esi + 0x14], 7
push 0xffffffffffffffff
push eax
mov dword [esi + 0x10], 0
push ebx
mov word [esi], ax
call fcn.00403d80
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d14e6
mov esp, ebp
pop ebp
ret
Function at 0x414df0
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50d0e0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x5557a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push str.Content_Type:_application_x_www_form_urlencoded
push 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
call fcn.00495140
push str.User_Agent:_Mozilla_5.0
push eax
call fcn.00495140
push eax
push 0x2727
push esi
call fcn.00494d60
push 0x414d10
push 0x4e2b
push esi
call fcn.00494d60
lea eax, [ebp - 0x18]
push eax
push 0x2711
push esi
call fcn.00494d60
push 1
push 0x34
push esi
call fcn.00494d60
add esp, 0x40
push 0
push 0x40
push esi
call fcn.00494d60
push 0
push 0x51
push esi
call fcn.00494d60
push 1
push 0x4b
push esi
call fcn.00494d60
push 1
push 0x63
push esi
call fcn.00494d60
add esp, 0x30
cmp dword [edi + 0x14], 0x10
jb 0x414eb3
mov edi, dword [edi]
push edi
push 0x2712
push esi
call fcn.00494d60
push esi
mov dword [ebp - 0x14], 0
call fcn.00494d50
add esp, 0x10
test eax, eax
je 0x414f8a
push eax
call fcn.00495950
mov edx, eax
mov dword [ebp - 0x1c], 0xf
add esp, 4
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
cmp byte [edx], 0
jne 0x414efd
xor ecx, ecx
jmp 0x414f0b
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x414f02
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.00403990
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0043a950
add esp, 8
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x414f38
mov eax, dword [eax]
push eax
push str.download_error__s
push 0xd0
push str.CCurlDownloader::downloadMemory
call fcn.00435bf0
add esp, 0x10
cmp dword [ebp - 0x34], 8
jb 0x414f61
push dword [ebp - 0x48]
call fcn.0047c460
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], 7
cmp dword [ebp - 0x1c], 0x10
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
jb 0x414f86
push dword [ebp - 0x30]
call fcn.0047c460
add esp, 4
xor bl, bl
jmp 0x414fb3
push dword [ebp - 0x14]
push str.download_sucess__d
push 0xd4
push str.CCurlDownloader::downloadMemory
call fcn.00435bf0
add esp, 0x10
mov ecx, ebx
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.00403990
mov bl, 1
push dword [ebp - 0x18]
call fcn.004d1e79
push esi
call fcn.00494c90
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d14e6
mov esp, ebp
pop ebp
ret 8