joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407210
Capabilities:
Copy file
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4760a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
push edi
xor edi, edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
push 5
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 1
call fcn.00407130
lea eax, [esp + 0x20]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str..nar
call fcn.00403160
mov eax, dword [esp + 0x48]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
push eax
mov byte [esp + 0x48], 2
mov dword [esp + 0x2c], eax
call fcn.00402640
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov byte [esp + 0x44], 1
call fcn.004066f0
add esp, 0xc
xor ebp, ebp
mov bl, 3
lea ebx, [ebx]
mov eax, dword [esp + 0x24]
cmp eax, edi
mov edx, dword [esp + 0x28]
je 0x40737a
mov ecx, edx
sub ecx, eax
sar ecx, 2
cmp ebp, ecx
jae 0x40737a
lea esi, [eax + ebp*4]
mov eax, dword [esi]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00405470
add esp, 8
mov edi, eax
push str...Data_
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], bl
call fcn.00403160
push edi
push eax
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x44], 4
call fcn.004051f0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 0xc
mov byte [esp + 0x38], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40731c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x38], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40733f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov edi, dword [esp + 0x18]
mov eax, dword [esi]
push 1
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ecx, dword [esi]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [edi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x407372
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
inc ebp
xor edi, edi
jmp 0x4072a0
cmp eax, edi
mov byte [esp + 0x38], 0
je 0x4073c2
cmp eax, edx
mov edi, edx
mov esi, eax
je 0x4073b7
jmp 0x407390
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4073ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add esi, 4
cmp esi, edi
jne 0x407390
mov eax, dword [esp + 0x24]
push eax
call fcn.00466af5
add esp, 4
xor edi, edi
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x38], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4073f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret
Function at 0x4087e0
Capabilities:
Create http request

Disassembly:
push 0
push 0
push 0
push 0
push str.CSOLauncher
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [0x4ac404], eax
jne 0x408802
mov eax, 1
ret
mov ecx, dword [esp + 4]
push 0
push 0x84080000
push 0
push 0
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
xor edx, edx
test eax, eax
setne dl
mov dword [0x4ac400], eax
dec edx
and edx, 2
mov eax, edx
ret

Function at 0x4088a0
Capabilities:
Download and write a file
Query remote server for available data
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0xc
push ebx
push esi
xor esi, esi
push esi
push 0x80
push 2
push esi
push esi
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4088d3
pop esi
mov eax, 2
pop ebx
add esp, 0xc
ret
push ebp
mov ebp, dword [esp + 0x28]
push edi
mov edi, dword [esp + 0x28]
lea ecx, [ecx]
mov edx, dword [0x4ac400]
push 0
push 0
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x408966
mov eax, dword [esp + 0x14]
cmp eax, 0xffff
jbe 0x40890e
mov eax, 0xffff
mov dword [esp + 0x14], eax
mov edx, dword [0x4ac400]
lea ecx, [esp + 0x10]
push ecx
push eax
push 0x49c400
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x408966
mov ecx, dword [esp + 0x10]
push 0
lea eax, [esp + 0x1c]
push eax
push ecx
push 0x49c400
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x408966
add esi, dword [esp + 0x10]
test edi, edi
je 0x40895a
mov edx, dword [esp + 0x24]
push edx
push esi
push ebp
call edi
add esp, 0xc
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4088e0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebp
pop esi
xor eax, eax
pop ebx
add esp, 0xc
ret
Function at 0x408980
Capabilities:
Create http request
Download and write a file
Get file size
Query remote server for available data
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
sub esp, 0x90
mov eax, dword [0x49ae1c]
push ebx
push esi
mov esi, dword [esp + 0xa0]
push 0
push 0x80
push 3
push 0
push 0
push 0x40000000
push esi
mov dword [esp + 0xb0], eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4089f1
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xa4]
push eax
push ecx
push edx
push esi
call fcn.004088a0
add esp, 0x10
pop esi
pop ebx
mov ecx, dword [esp + 0x8c]
call fcn.00447453
add esp, 0x90
ret
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0
push 0
push 0
push str.CSOLauncher
mov esi, eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [0x4ac404], eax
jne 0x408a32
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x8c]
call fcn.00447453
add esp, 0x90
ret
add esi, 0xffff0001
jns 0x408a3c
xor esi, esi
push esi
lea eax, [esp + 0x18]
push str.Range:bytes_d_
push eax
call fcn.00448576
mov edx, dword [esp + 0xa8]
mov eax, dword [0x4ac404]
add esp, 0xc
push 0
push 0x84080000
push 0
lea ecx, [esp + 0x20]
push ecx
push edx
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
test eax, eax
mov dword [0x4ac400], eax
jne 0x408a94
pop esi
mov eax, 2
pop ebx
mov ecx, dword [esp + 0x8c]
call fcn.00447453
add esp, 0x90
ret
push ebp
push edi
push 0
push 0
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebp, dword [esp + 0xb4]
mov edi, dword [esp + 0xb0]
mov edx, dword [0x4ac400]
push 0
push 0
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x408b39
mov eax, dword [esp + 0x14]
cmp eax, 0xffff
jbe 0x408ade
mov eax, 0xffff
mov dword [esp + 0x14], eax
mov edx, dword [0x4ac400]
lea ecx, [esp + 0x10]
push ecx
push eax
push 0x49c400
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x408b39
mov ecx, dword [esp + 0x10]
push 0
lea eax, [esp + 0x1c]
push eax
push ecx
push 0x49c400
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x408b39
add esi, dword [esp + 0x10]
test edi, edi
je 0x408b2d
mov edx, dword [esp + 0xac]
push edx
push esi
push ebp
call edi
add esp, 0xc
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x408ab0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x9c]
pop edi
pop ebp
pop esi
xor eax, eax
pop ebx
call fcn.00447453
add esp, 0x90
ret
Function at 0x40b020
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
push edi
push eax
call fcn.00466af5
mov ebx, dword [esp + 0x18]
add esp, 4
lea ecx, [esp + 0xc]
push ecx
push ebx
mov dword [esi + 0x10], 0
mov dword [esp + 0x14], 0
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jne 0x40b062
pop edi
pop esi
mov eax, 0x80004005
pop ebx
pop ecx
ret 4
push edi
call fcn.00466afa
add esp, 4
test eax, eax
mov dword [esi + 0x10], eax
jne 0x40b07e
pop edi
pop esi
mov eax, 0x8007000e
pop ebx
pop ecx
ret 4
mov edx, dword [esp + 0xc]
push eax
push edi
push edx
push ebx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x40b0b7
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x40b0a4
call esi
pop edi
pop esi
pop ebx
pop ecx
ret 4
call esi
pop edi
and eax, 0xffff
pop esi
or eax, 0x80070000
pop ebx
pop ecx
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 4
Function at 0x40d5c0
Capabilities:
Check if file exists
Get common file path
Get file attributes
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x476841
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x254
mov eax, dword [0x49ae1c]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x274]
mov dword [esp + 0x260], eax
cmp dword [edi + 0x18], 0x10
mov ebp, ecx
lea esi, [edi + 4]
jb 0x40d601
mov eax, dword [esi]
jmp 0x40d603
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40d613
test al, 0x10
je 0x40d645
xor ebx, ebx
push ebx
lea esi, [ebp + 0x14]
push 0x47b95b
mov ecx, esi
call fcn.00403ed0
push 0x10
push str.File_not_found:
mov ecx, esi
call fcn.00404000
push 0xffffffffffffffff
push ebx
push edi
mov ecx, esi
call fcn.00403cd0
xor al, al
jmp 0x40d791
mov eax, dword [edi + 0x18]
xor ebx, ebx
cmp eax, 0x10
mov dword [esp + 0x14], ebx
jb 0x40d655
mov esi, dword [esi]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x54]
push ecx
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
mov edi, 0xf
lea eax, [esp + 0x50]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40d683
sub eax, edx
push eax
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x3c]
call fcn.00403ed0
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x158]
push ecx
push 0x104
mov dword [esp + 0x274], ebx
mov byte [eax], bl
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea edx, [esp + 0x50]
push edx
call esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x38]
push ecx
mov ecx, ebp
mov byte [esp + 0x274], 2
call fcn.0040d110
test al, al
jne 0x40d738
mov eax, dword [esp + 0x30]
mov ebp, 0x10
cmp eax, ebp
jb 0x40d70b
mov edx, dword [esp + 0x1c]
push edx
call fcn.00466af5
add esp, 4
lea eax, [esp + 0x158]
push eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call esi
cmp dword [esp + 0x4c], ebp
jb 0x40d734
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00466af5
add esp, 4
xor al, al
jmp 0x40d791
push ebx
push ebx
lea edx, [esp + 0x20]
push edx
mov ecx, ebp
call fcn.0040e780
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x30]
mov ebp, 0x10
cmp eax, ebp
jb 0x40d764
mov eax, dword [esp + 0x1c]
push eax
call fcn.00466af5
add esp, 4
lea ecx, [esp + 0x158]
push ecx
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call esi
cmp dword [esp + 0x4c], ebp
jb 0x40d78d
mov edx, dword [esp + 0x38]
push edx
call fcn.00466af5
add esp, 4
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x264]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x254]
pop ebx
call fcn.00447453
add esp, 0x260
ret 4
Function at 0x40fae0
Capabilities:
Execute vbscript javascript or jscript in memory

Disassembly:
push 0xffffffffffffffff
push 0x476c21
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [0x49ae1c]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], esi
call fcn.00466624
lea edi, [esi + 0x20]
mov dword [esi], method.CEnumUnknown.virtual_0
mov dword [esi + 0x1c], 0x47d0a8
mov dword [esp + 0x38], 0
mov dword [edi], 0
lea ebx, [esi + 0x24]
mov dword [ebx], 0
lea ebp, [esi + 0x28]
mov dword [ebp], 0
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x3c], 3
mov dword [esi + 0x2c], ecx
call fcn.0040fab0
test ebp, ebp
mov eax, dword [eax]
mov dword [esp + 0x40], eax
je 0x40fb83
test eax, eax
je 0x40fb6f
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov eax, dword [esp + 0x40]
mov ecx, dword [ebp]
test ecx, ecx
je 0x40fb80
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, dword [esp + 0x40]
mov dword [ebp], eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x40fb91
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, esi
call fcn.00473b04
lea edx, [esp + 0x1c]
push edx
push str.JavaScript
call dword [sym.imp.ole32.dll_CLSIDFromProgID]
test eax, eax
jl 0x40fbc1
push edi
push 0x47d098
push 0x17
push 0
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ecx, dword [edi]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x10], eax
je 0x40fbe0
mov edx, dword [ecx]
lea eax, [esp + 0x10]
push eax
push 0x47d144
push ecx
call dword [edx]
mov eax, dword [esp + 0x10]
test ebx, ebx
mov byte [esp + 0x38], 4
mov ebp, eax
je 0x40fc03
test eax, eax
je 0x40fbf5
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov eax, dword [ebx]
test eax, eax
je 0x40fc01
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [ebx], ebp
mov eax, dword [edi]
mov edx, dword [eax]
lea ecx, [esi + 0x1c]
push ecx
push eax
call dword [edx + 0xc]
mov eax, dword [edi]
mov ecx, dword [eax]
push 2
push str.host
push eax
call dword [ecx + 0x20]
mov eax, dword [edi]
mov edx, dword [eax]
push 2
push 0x47d128
push eax
call dword [edx + 0x20]
mov eax, dword [ebx]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov edi, dword [edi]
mov edx, dword [edi]
push 2
push edi
call dword [edx + 0x14]
mov eax, dword [esp + 0x10]
test eax, eax
mov byte [esp + 0x38], 3
je 0x40fc52
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x30]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x20]
pop ebx
call fcn.00447453
add esp, 0x2c
ret 4
Function at 0x414130
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4772af
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov eax, dword [esi + 0x50]
mov edx, dword [esi + 0x54]
lea ecx, [esi + 0x4c]
push eax
push edx
mov dword [esp + 0x20], 5
call fcn.0041db70
mov eax, dword [esi + 0x3c]
mov edx, dword [esi + 0x40]
lea ecx, [esi + 0x38]
push eax
push edx
mov byte [esp + 0x20], 4
call fcn.0041db70
mov ecx, dword [esi + 0x2c]
mov edx, dword [esi + 0x30]
mov ebx, ecx
shr ecx, 2
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
push edx
rep stosb byte es:[edi], al
call fcn.00466af5
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
mov ebx, ecx
shr ecx, 2
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
push edx
rep stosb byte es:[edi], al
call fcn.00466af5
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x18]
mov ebx, ecx
shr ecx, 2
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
push edx
rep stosb byte es:[edi], al
call fcn.00466af5
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 8]
mov esi, ecx
shr ecx, 2
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
push edx
rep stosb byte es:[edi], al
call fcn.00466af5
mov ecx, dword [esp + 0x20]
add esp, 0x10
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x414147
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4772af
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov eax, dword [esi + 0x50]
mov edx, dword [esi + 0x54]
lea ecx, [esi + 0x4c]
push eax
push edx
mov dword [esp + 0x20], 5
call fcn.0041db70
mov eax, dword [esi + 0x3c]
mov edx, dword [esi + 0x40]
lea ecx, [esi + 0x38]
push eax
push edx
mov byte [esp + 0x20], 4
call fcn.0041db70
mov ecx, dword [esi + 0x2c]
mov edx, dword [esi + 0x30]
mov ebx, ecx
shr ecx, 2
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
push edx
rep stosb byte es:[edi], al
call fcn.00466af5
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
mov ebx, ecx
shr ecx, 2
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
push edx
rep stosb byte es:[edi], al
call fcn.00466af5
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x18]
mov ebx, ecx
shr ecx, 2
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
push edx
rep stosb byte es:[edi], al
call fcn.00466af5
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 8]
mov esi, ecx
shr ecx, 2
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
push edx
rep stosb byte es:[edi], al
call fcn.00466af5
mov ecx, dword [esp + 0x20]
add esp, 0x10
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x414446
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x477337
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push 1
mov dword [esp + 8], esi
call fcn.00424850
xor eax, eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
lea ecx, [esi + 0x34]
mov byte [esp + 0x10], 7
call fcn.0041fe50
lea ecx, [esi + 0x48]
mov byte [esp + 0x10], 8
call fcn.0041fe50
mov ecx, dword [esp + 8]
mov byte [esi + 0x5c], 1
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x414f10
Capabilities:
Set registry value

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
cmp eax, 0xea60
mov dword [esp + 0xc], eax
jbe 0x414f2a
mov dword [esp + 0xc], 0xea60
lea eax, [esp + 4]
push eax
lea ecx, [esp + 4]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareNexonCStrike_OnlineSettings_
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x414f6f
push 4
lea edx, [esp + 0x10]
push edx
push 4
push eax
mov eax, dword [esp + 0x10]
push str.Upload
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 8
ret 4

Function at 0x415000
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x14
lea eax, [esp + 8]
push eax
lea ecx, [esp + 4]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareNexonCStrike_OnlineSettings_
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x41506b
lea edx, [esp + 4]
push edx
mov edx, dword [esp + 4]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0
push str.Upload
push edx
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41506b
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
add esp, 0x14
ret
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
add esp, 0x14
ret
Function at 0x4151e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4773bb
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
lea eax, [esp + 0x10]
push eax
mov ebx, ecx
lea ecx, [esp + 8]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareNexonCStrike_OnlineSettings_
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4152fb
lea edx, [esp + 8]
push edx
mov edx, dword [esp + 8]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push str.Upload
push edx
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4152fb
push esi
push edi
call fcn.00448d4f
cdq
mov ecx, 0xa
idiv ecx
mov ecx, ebx
mov edi, dword [edx*8 + 0x498748]
call fcn.00414fc0
test al, al
jne 0x415283
mov ecx, ebx
call fcn.00414f80
push 8
call fcn.00466aca
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov dword [esp + 0x2c], 0
je 0x4152a8
mov ecx, eax
call fcn.0041b920
mov esi, eax
jmp 0x4152aa
xor esi, esi
mov ecx, esi
mov dword [esp + 0x2c], 0xffffffff
call fcn.0041b960
push str.Dummy.dat
push edi
mov ecx, esi
call fcn.0041b9d0
mov ecx, dword [esp + 0x14]
cmp ecx, eax
ja 0x4152d6
cmp ecx, 0xc8
jae 0x4152de
push eax
mov ecx, ebx
call fcn.00414f10
mov ecx, esi
call fcn.0041b940
test esi, esi
je 0x4152f9
mov ecx, esi
call fcn.0041b930
push esi
call fcn.00466af5
add esp, 4
pop edi
pop esi
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x1c]
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x4176a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
or edx, 0xffffffff
cmp eax, 0xffffffff
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
jne 0x4176cf
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4176cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
pop esi
ret
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4176e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
pop esi
ret

Function at 0x41a790
Capabilities:
Set registry value

Disassembly:
sub esp, 8
lea eax, [esp + 4]
push eax
lea ecx, [esp + 4]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareNexonCStrike_OnlineSettings_
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x41a7e9
mov edx, dword [esp + 0xc]
mov eax, edx
push esi
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41a7c8
sub eax, esi
inc eax
push eax
push edx
mov edx, dword [esp + 0xc]
push 1
push 0
push str.RegionCode
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop esi
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 8
ret 4

Function at 0x41a800
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x24
mov eax, dword [0x49ae1c]
push esi
mov dword [esp + 0x24], eax
lea eax, [esp + 0xc]
push eax
mov esi, ecx
lea ecx, [esp + 8]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareNexonCStrike_OnlineSettings_
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x41a87b
lea edx, [esp + 8]
push edx
mov edx, dword [esp + 8]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0
push str.RegionCode
push edx
mov dword [esp + 0x20], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esi + 0x4c]
test eax, eax
mov eax, dword [ecx]
jne 0x41a873
lea edx, [esp + 0x14]
push edx
jmp 0x41a878
push 0x47deb4
call dword [eax + 0x2c]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x24]
pop esi
call fcn.00447453
add esp, 0x24
ret