joyce8/EMBER2024-capa huggingface dataset:
Function at 0x600f10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x6159fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x10], eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0x601002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.00604dff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x601002
lea edx, [esp + 0x14]
push edx
push str.Mounting__s_n
call fcn.005fc6e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.0060520b
push 0x10
call fcn.006051d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0x600fc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.005f11c0
jmp 0x600fc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.00600b80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0x600ff0
mov ecx, edi
call fcn.005f12c0
push edi
call fcn.006051c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x601021
inc ebx
cmp ebx, 0x20
jb 0x600f3e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x602250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x616808
push 0x606288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x24], bl
mov dword [ebp - 4], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], 5
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x602329
lea edx, [ebp - 0x28]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x602329
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 1
mov ecx, dword [ebp - 0x28]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call edi
mov edx, dword [ebp - 0x2c]
push edx
call fcn.006051d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0x602329
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push esi
push 1
mov edx, dword [ebp - 0x28]
push edx
call edi
test eax, eax
je 0x602329
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x24], al
jmp 0x60232c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00602351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x602d20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x602d58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0x602d60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x602d94
mov eax, dword [esp + 0x14]
test eax, eax
je 0x602d94
push eax
push esi
call fcn.0060520b
add esp, 8
pop esi
ret 0x10

Function at 0x602da0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x602e22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0x602e15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0x61b320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00604dff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0x602dda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0x602e30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x602ec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0x602eb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0x61b320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00604dff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0x602eab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0x602e6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0x603000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x603131
push esi
call fcn.00606145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.005f5080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x603131
push 0
push ebp
call fcn.005f53a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.005f5260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x60308b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.005f52f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x603121
push 0x61b918
push edi
call fcn.006043f0
push eax
push ebx
push esi
call fcn.00602f60
push 0x61b8f8
push edi
call fcn.006043f0
push eax
push ebx
push esi
call fcn.00602f60
push 0x61b8d8
push edi
call fcn.006043f0
push eax
push ebx
push esi
call fcn.00602f60
push 0x61b8c0
push edi
call fcn.006043f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00602f60
push 0x61b8a0
push edi
call fcn.006043f0
push eax
push ebx
push esi
call fcn.00602f60
push 0x61b888
push edi
call fcn.006043f0
push eax
push ebx
push esi
call fcn.00602f60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x6041b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00604140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00604140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00604140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00604140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x604bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x604c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x61687c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x604c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x604c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x41f2a0
Capabilities:
Encode data using xor

Disassembly:
inc edx
inc ecx
push ebx
inc ebp
inc edx
xor byte [eax], dh
inc ebx
dec ebx
inc esp
inc ebx
and byte [eax], bl
jne 0x41f2d1
xchg ebx, eax
push 0x3e
invalid
invalid
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x406e52
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x406e61
pop dword [ebp - 0x50]
mov eax, 0x35a7126c
sub eax, 0x3566a40b
sub dword [ebp - 0x50], eax
push 0x40
push 0x1000
push 0x3845d
push 0
mov eax, 0x80d275f3
add eax, 0x7f6e6ae5
add eax, dword [ebp - 0x50]
call dword [eax]
mov ecx, 0x93ac25b9
add ecx, 0x6c541e2b
mov ebx, eax
mov esi, 0xfa87fb65
sub esi, 0xfa46bfa1
add esi, dword [ebp - 0x50]
mov edx, 0x6a37a8d8
add dword [ebp - 0x18], edi
mov edi, dword [esi]
add dword [ebp - 0x14], ebx
xor edi, edx
sub dword [ebp - 4], 0x967a38d9
mov dword [ebx], edi
mov dword [ebp - 0x44], 0x788836c3
add ebx, 0x365d0639
add ebx, 0xc9a2f9cb
add esi, 0xa78324aa
add esi, 0x587cdb5a
loop 0x406eba
add eax, 0x5ac7a04c
sub eax, 0x5ac69de9
xor ebx, ebx
add ebx, eax
add eax, 0x8f6b86f
sub eax, 0x8f6b86a
mov ecx, 0x400000
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x402f2c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0040c0df
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x402f63
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.00402b4e
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x408c24
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x408c5d
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00402505
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004024e0
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x40aa64
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x40aaa7
call fcn.0040c0df
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40aaa7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40aac2
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0040a61b
test ebx, ebx
mov esi, eax
je 0x40aac0
test edi, edi
je 0x40aac0
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x40e252
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x40e298
call fcn.0040c0df
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40e298
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x40e2db
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x40e2c4
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x40e2c4
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x40e2d8
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x410568
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x410591
call fcn.0040c0df
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x4105b4
push eax
push dword [esi + 4]
call fcn.004104f3
push esi
push eax
mov ecx, 0x45ce70
call fcn.004101a9
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x410f80
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x442c07
call fcn.00428631
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.00410f42
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
mov dword [esi], vtable.CHttpConnection.0
call fcn.00401dac
push dword [esi + 8]
mov edi, dword [edi + 8]
push 0
push 3
push dword [ebp + 0x18]
mov byte [ebp - 4], 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
test eax, eax
mov dword [esi + 4], eax
jne 0x410fe6
push eax
push dword [esi + 8]
call fcn.004104f3
push dword [esi + 0xc]
mov ecx, 0x45ce70
push eax
call fcn.004101a9
mov eax, esi
call fcn.00428709
ret 0x18

Function at 0x415724
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x415752
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x415770
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0041568e
jmp 0x415770
mov eax, dword [esi + 0x14]
test eax, eax
je 0x415770
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0041568e
test edi, edi
mov eax, edi
jne 0x41575a
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x45cf10]
test ecx, ecx
je 0x415833
jmp 0x415723
ret 8

Function at 0x422c3b
Capabilities:
Read file on windows

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x422c44
xor eax, eax
jmp 0x422cad
cmp dword [esp + 8], 0
jne 0x422c50
call fcn.0040c960
push edi
push dword [esi + 0x10]
push dword [esp + 0x14]
push 1
push dword [esp + 0x18]
call fcn.0042c3d3
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x422c8b
push dword [esi + 0x10]
call fcn.0042c118
test eax, eax
pop ecx
jne 0x422c8b
mov esi, dword [esi + 0xc]
call fcn.00428b7d
push esi
push dword [eax]
push 1
call fcn.004238dd
push dword [esi + 0x10]
call fcn.0042c147
test eax, eax
pop ecx
je 0x422caa
push dword [esi + 0x10]
call fcn.0042c06c
push eax
call fcn.00401e91
pop ecx
pop ecx
jmp 0x422c79
mov eax, edi
pop edi
pop esi
ret 8
Function at 0x422cb6
Capabilities:
Write file on windows

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, ecx
jne 0x422cc0
call fcn.0040c960
push dword [esi + 0x10]
push dword [esp + 0x10]
push 1
push dword [esp + 0x14]
call fcn.00426fea
add esp, 0x10
cmp eax, dword [esp + 0xc]
je 0x422ced
mov esi, dword [esi + 0xc]
call fcn.00428b7d
push esi
push dword [eax]
push 1
call fcn.004238dd
pop esi
ret 8

Function at 0x426668
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x459848]
jne 0x426672
repz ret
jmp fcn.0042cd23

Function at 0x438e6b
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0042e11d
xor ebx, ebx
cmp dword [0x45dc70], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x438f40
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x438eab
xor eax, eax
jmp 0x439004
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x44bcf4
push edi
call esi
cmp eax, ebx
je 0x438ea4
push eax
call fcn.0042e0ba
mov dword [esp], 0x44bce4
push edi
mov dword [0x45dc70], eax
call esi
push eax
call fcn.0042e0ba
mov dword [esp], 0x44bcd0
push edi
mov dword [0x45dc74], eax
call esi
push eax
call fcn.0042e0ba
mov dword [0x45dc78], eax
lea eax, [ebp - 8]
push eax
call fcn.0042a6d5
test eax, eax
pop ecx
pop ecx
je 0x438f0e
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042d19f
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x438f40
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0042e0ba
cmp eax, ebx
pop ecx
mov dword [0x45dc80], eax
je 0x438f40
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042e0ba
pop ecx
mov dword [0x45dc7c], eax
mov eax, dword [0x45dc7c]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x438fb9
cmp dword [0x45dc80], esi
je 0x438fb9
push eax
call fcn.0042e126
pop ecx
call eax
cmp eax, ebx
je 0x438f86
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x45dc80]
call fcn.0042e126
pop ecx
call eax
test eax, eax
je 0x438f86
test byte [ebp - 0x18], 1
jne 0x438fb9
lea eax, [ebp - 0xc]
push eax
call fcn.0042a70c
test eax, eax
pop ecx
je 0x438fa1
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042d19f
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x438fb0
or dword [ebp + 0x10], 0x200000
jmp 0x438fea
or dword [ebp + 0x10], 0x40000
jmp 0x438fea
mov eax, dword [0x45dc74]
cmp eax, esi
je 0x438fea
push eax
call fcn.0042e126
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x438fea
mov eax, dword [0x45dc78]
cmp eax, esi
je 0x438fea
push dword [ebp - 4]
push eax
call fcn.0042e126
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x45dc70]
call fcn.0042e126
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43d54b
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x459848]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0043d4e0
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.004281f0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x43d59a
cmp dword [ebp - 0x1c], 5
jb 0x43d5b2
jmp 0x43d5ae
cmp dword [ebp - 0x10], 1
jne 0x43d5b2
cmp dword [ebp - 0x1c], 4
ja 0x43d5ae
jne 0x43d5b2
cmp dword [ebp - 0x18], 0
jbe 0x43d5b2
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x44c698
call fcn.0043d3d1
test eax, eax
jge 0x43d5d3
mov byte [0x45e05c], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00426668
add ebp, 0x78
leave
ret

Function at 0x43e136
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [edx]
mov ecx, dword [edx + 4]
push ebx
push esi
push edi
mov dword [ebp - 4], 0x20
xor esi, esi
dec dword [ebp - 4]
mov edi, ecx
shr edi, 5
add edi, 0x6e333233
mov ebx, ecx
shl ebx, 4
add ebx, 0x6e6e696f
xor edi, ebx
sub esi, 0x61d79937
lea ebx, [esi + ecx]
xor edi, ebx
add eax, edi
mov edi, eax
shl edi, 4
mov ebx, eax
shr ebx, 5
add edi, 0x65303963
add ebx, 0x32336e32
xor edi, ebx
lea ebx, [esi + eax]
xor edi, ebx
add ecx, edi
cmp dword [ebp - 4], 0
jg 0x43e14b
pop edi
pop esi
mov dword [edx], eax
mov dword [edx + 4], ecx
pop ebx
leave
ret

Function at 0x43e1a2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [edx]
mov eax, dword [edx + 4]
push ebx
push esi
push edi
mov dword [ebp - 4], 0x20
mov esi, 0xc50cd920
dec dword [ebp - 4]
mov edi, ecx
shl edi, 4
add edi, 0x65303963
mov ebx, ecx
shr ebx, 5
add ebx, 0x32336e32
xor edi, ebx
lea ebx, [ecx + esi]
xor edi, ebx
sub eax, edi
mov edi, eax
shr edi, 5
mov ebx, eax
shl ebx, 4
add edi, 0x6e333233
add ebx, 0x6e6e696f
xor edi, ebx
lea ebx, [eax + esi]
xor edi, ebx
sub ecx, edi
add esi, 0x61d79937
cmp dword [ebp - 4], 0
jg 0x43e1ba
pop edi
pop esi
mov dword [edx], ecx
mov dword [edx + 4], eax
pop ebx
leave
ret
Function at 0x43e44a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.0042aa70
mov eax, dword [0x459848]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, edx
mov eax, edi
mov esi, ecx
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43e46c
sub eax, ecx
cmp eax, 0x400
jbe 0x43e483
xor al, al
jmp 0x43e518
push 0x44c7cc
push esi
call fcn.00426b90
test eax, eax
pop ecx
pop ecx
je 0x43e49e
mov dword [eax], 0x6d74682e
mov byte [eax + 4], 0
push 0xfff
lea eax, [ebp - 0x1003]
push 0
push eax
mov byte [ebp - 0x1004], 0
call fcn.004281f0
push edi
lea eax, [ebp - 0x1004]
push str.__DOCTYPE_HTML_PUBLIC_____W3C__DTD_HTML_4.0_Transitional__EN___HTML__HEAD__TITLE_
push eax
call fcn.00426d43
push 0x44c884
push esi
call fcn.00426ebd
mov edi, eax
add esp, 0x20
test edi, edi
je 0x43e47c
lea eax, [ebp - 0x1004]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43e4e7
push ebx
sub eax, edx
mov esi, eax
push edi
xor ebx, ebx
push esi
inc ebx
lea eax, [ebp - 0x1004]
push ebx
push eax
call fcn.00426fea
add esp, 0x10
cmp eax, esi
je 0x43e50e
xor bl, bl
push edi
call fcn.004270ea
pop ecx
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00426668
leave
ret
Function at 0x43f235
Capabilities:
Initialize winsock library

Disassembly:
push 0x198
mov eax, 0x44409e
call fcn.0042869a
push 0
push 0x66
mov ecx, edi
mov dword [ebp - 0x1a4], edi
call fcn.0040266e
and dword [ebp - 4], 0
lea esi, [edi + 0x74]
mov dword [edi], vtable.CJFPlayerDlg.0
call fcn.00442372
lea esi, [edi + 0x170]
mov byte [ebp - 4], 1
call fcn.00442036
lea esi, [edi + 0x1e8]
mov byte [ebp - 4], 2
call fcn.00442036
lea esi, [edi + 0x260]
mov byte [ebp - 4], 3
call fcn.00442036
lea esi, [edi + 0x2d8]
mov byte [ebp - 4], 4
call fcn.00442036
lea esi, [edi + 0x350]
mov byte [ebp - 4], 5
call fcn.00442036
lea esi, [edi + 0x3c8]
mov byte [ebp - 4], 6
call fcn.00442036
mov byte [ebp - 4], 7
call fcn.0040c0df
call fcn.00401cd1
lea eax, [ebp - 0x1a0]
push eax
push 2
call sub.WS2_32.dll_WSAStartup
call fcn.0040c0df
call fcn.00401cd1
and dword [edi + 0x440], 0
push eax
mov byte [edi + 0x168], 0
call fcn.0043da50
mov eax, edi
call fcn.0042871d
ret