joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100476d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x100ae8c8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x101b8cdc]
cmp eax, 0x64
ja 0x10047708
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100867e6
mov esp, ebp
pop ebp
ret
push ebx
push edi
call esi
mov dword [0x101b8cdc], eax
xor eax, eax
mov ecx, 0x46
mov edi, 0x101a4968
rep stosd dword es:[edi], eax
mov eax, dword [0x2f99464]
xor edi, edi
mov byte [ebp - 0x25d], 0
lea ebx, [eax + 0x53c]
mov dword [ebp - 0x264], edi
lea esp, [esp]
cmp dword [edi*4 + 0x1011cd30], 1
jne 0x100478ad
mov al, byte [ebp + 8]
cmp al, 1
jne 0x100477eb
mov esi, dword [ebx]
push 0xc8
lea eax, [ebp - 0x194]
push 0
push eax
call sub.MSVCR100.dll_memset
push 0x64
lea ecx, [ebp - 0x68]
push 0
push ecx
call sub.MSVCR100.dll_memset
add esp, 0x18
test esi, esi
jle 0x100477a9
lea edx, [ebp - 0x68]
push edx
push esi
call fcn.1000d170
lea eax, [ebp - 0x68]
push eax
add esi, 0x64
push esi
lea ecx, [ebp - 0x194]
push 0x10095644
push ecx
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x18
mov esi, dword [ebp - 0x264]
lea esi, [esi + 0x1011bcf8]
mov ecx, esi
lea eax, [ebp - 0x194]
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10047880
test dl, dl
je 0x100477e4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10047880
add eax, 2
add ecx, 2
test dl, dl
jne 0x100477c0
xor eax, eax
jmp 0x10047885
test al, al
jne 0x100478ad
mov esi, dword [ebx]
push 0xc8
lea edx, [ebp - 0x25c]
push 0
push edx
call sub.MSVCR100.dll_memset
push 0x64
lea eax, [ebp - 0xcc]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0x18
test esi, esi
jle 0x1004784c
lea ecx, [ebp - 0xcc]
push ecx
push esi
call fcn.1000d170
lea edx, [ebp - 0xcc]
push edx
add esi, 0x64
push esi
lea eax, [ebp - 0x25c]
push 0x10095644
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x18
mov esi, dword [ebp - 0x264]
lea esi, [esi + 0x1011b780]
mov ecx, esi
lea eax, [ebp - 0x25c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10047880
test dl, dl
je 0x1004787c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10047880
add eax, 2
add ecx, 2
test dl, dl
jne 0x10047860
xor eax, eax
jmp 0x10047885
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x100478ad
push esi
call fcn.100475f0
add esp, 4
test eax, eax
js 0x100478ad
push 1
push 1
push 0
push edi
push eax
call fcn.1003a1b0
mov byte [ebp - 0x25d], 1
add esp, 0x14
add dword [ebp - 0x264], 0x64
inc edi
add ebx, 4
cmp edi, 0xe
jl 0x10047740
cmp byte [ebp - 0x25d], 1
mov ecx, dword [ebp - 4]
pop edi
sete al
pop ebx
xor ecx, ebp
pop esi
call fcn.100867e6
mov esp, ebp
pop ebp
ret
Function at 0x100478e0
Capabilities:
Act as tcp client
Check for time delay via gettickcount
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Initialize winsock library
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b4
mov eax, dword [0x100ae8c8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1b4], eax
lea eax, [ebp - 0x1b0]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x10047949
mov eax, dword [ebp - 0x1b0]
cmp al, 1
jne 0x10047a8c
shr eax, 8
cmp al, 1
jne 0x10047a8c
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
test esi, esi
jne 0x1004795c
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100867e6
mov esp, ebp
pop ebp
ret
push edi
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
mov edi, eax
mov eax, dword [edx]
mov edx, dword [ebp + 0xc]
mov ecx, 2
push edx
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x20], cx
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1e], ax
push 0x10
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x100479c0
lea eax, [ebx + 4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100479a4
sub eax, edx
push 0
add eax, 4
push eax
push ebx
push edi
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x100479e1
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100867e6
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov word [ebp - 8], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x1b4]
cmp eax, 0x3a980
jb 0x10047a23
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop edi
pop esi
mov eax, 0x14
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100867e6
mov esp, ebp
pop ebp
ret
push 0
push 0xa
lea ecx, [ebp - 0x10]
push ecx
push edi
call dword [sym.imp.WS2_32.dll_recv]
mov ecx, 0x1009ca80
lea eax, [ebp - 0x10]
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10047a60
test dl, dl
je 0x10047a5c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10047a60
add eax, 2
add ecx, 2
test dl, dl
jne 0x10047a40
xor eax, eax
jmp 0x10047a65
sbb eax, eax
sbb eax, 0xffffffff
push edi
test eax, eax
jne 0x10047a01
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop edi
pop esi
mov eax, 0xa
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100867e6
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
mov eax, 0xfffffffe
pop ebx
call fcn.100867e6
mov esp, ebp
pop ebp
ret
Function at 0x10053310
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x100ae8c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
lea ecx, [ebp - 0x68]
push 0
push ecx
mov dword [ebp - 0x6c], eax
call sub.MSVCR100.dll_memset
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 0xc
push esi
push 0x64
lea edx, [ebp - 0x68]
push edx
push 0x1009ca80
push str.D5CHECK1
push str.config
call edi
mov ebx, dword [sym.imp.MSVCR100.dll_atoi]
lea eax, [ebp - 0x68]
push eax
call ebx
add esp, 4
push esi
push 0x64
lea ecx, [ebp - 0x68]
push ecx
push 0x10094b88
push str.D5CHECK2
push str.config
mov dword [0x10194ba8], eax
call edi
lea edx, [ebp - 0x68]
push edx
call ebx
add esp, 4
push esi
push 0x64
mov dword [0x10194878], eax
lea eax, [ebp - 0x68]
push eax
push 0x10094b88
push str.D5CHECK3
push str.config
call edi
lea ecx, [ebp - 0x68]
push ecx
call ebx
add esp, 4
push esi
push 0x64
lea edx, [ebp - 0x68]
push edx
push 0x10094b88
push str.D5CHECK4
push str.config
mov dword [0x1019487c], eax
call edi
lea eax, [ebp - 0x68]
push eax
call ebx
add esp, 4
push esi
push 0x64
lea ecx, [ebp - 0x68]
push ecx
push 0x10094b88
push str.D5RADI01
push str.config
mov dword [0x10194ba4], eax
call edi
lea edx, [ebp - 0x68]
push edx
call ebx
mov ebx, dword [ebp - 0x6c]
push 0xbb8
mov dword [0x10194874], eax
push 0
push ebx
call sub.MSVCR100.dll_memset
add esp, 0x10
push esi
push 0xbb8
push ebx
push 0x10092e4c
push str.D5LIST1
push str.config
call edi
mov eax, dword [0x1019494c]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x184
push eax
call esi
mov edi, dword [sym.imp.MSVCR100.dll_strtok]
push 0x1009e9c8
push ebx
call edi
add esp, 8
test eax, eax
je 0x10053481
lea ebx, [ebx]
mov ecx, dword [0x1019494c]
push eax
push 0
push 0x180
push ecx
call esi
push 0x1009e9c8
push 0
call edi
add esp, 8
test eax, eax
jne 0x10053460
mov edx, dword [0x10194800]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
pop edi
pop esi
pop ebx
cmp eax, 1
jne 0x100534a2
push 0
mov ecx, 0x101947e0
call sub.mfc100.dll_Ordinal_13219
mov ecx, 0x10199d00
call fcn.10015ac0
mov ecx, 0x10199d00
call fcn.10015690
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100867e6
mov esp, ebp
pop ebp
ret
Function at 0x10055f90
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x100ae8c8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push str..ini
push esi
call dword [sym.imp.MSVCR100.dll_strstr]
push 0x64
test eax, eax
lea ecx, [ebp - 0x68]
setne al
push 0
push ecx
mov byte [0x1012d417], al
call sub.MSVCR100.dll_memset
push 0x14c08
call sub.mfc100.dll_Ordinal_265
mov edi, eax
push edi
push esi
call fcn.100509e0
push edi
push esi
call fcn.100514e0
push edi
push esi
call fcn.10052320
push edi
push esi
call fcn.10052970
push edi
push esi
call fcn.10053310
add esp, 0x40
push edi
push esi
call fcn.100538d0
push edi
push esi
call fcn.1003fd00
push edi
push esi
call fcn.10054370
push edi
push esi
call fcn.10054830
push edi
push esi
call fcn.10054d60
push edi
push esi
call fcn.1003fa30
push edi
push esi
call fcn.100534d0
push edi
push esi
call fcn.1003f8e0
add esp, 0x40
push edi
push esi
call fcn.1003f6f0
push edi
push esi
call fcn.10053c00
push edi
push esi
call fcn.10054fd0
push edi
push esi
call fcn.1003ff20
push edi
push esi
call fcn.10055490
add esp, 0x28
push esi
push 0x64
lea edx, [ebp - 0x68]
push edx
push 0x10094b88
push str.D12CHECK1
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
push edi
mov dword [0x10199274], eax
call sub.mfc100.dll_Ordinal_1296
add esp, 8
push 0
mov ecx, 0x10195948
call sub.mfc100.dll_Ordinal_13219
push 0
mov ecx, 0x101990f8
call sub.mfc100.dll_Ordinal_13219
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100867e6
mov esp, ebp
pop ebp
ret
Function at 0x10058d90
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [0x2fb7ac4]
fld dword [esi + 0x1f60]
call fcn.10086850
fld dword [esi + 0x1f68]
mov dword [ebp - 8], eax
call fcn.10086850
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, 0x101b876c
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10058de1
test dl, dl
je 0x10058ddd
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10058de1
add eax, 2
add ecx, 2
test dl, dl
jne 0x10058dc1
xor eax, eax
jmp 0x10058de6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10058e0a
mov eax, dword [0x101a46e8]
mov ecx, dword [0x100eaf2c]
add eax, 0x44
push eax
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
call fcn.10060d90
pop esi
mov esp, ebp
pop ebp
ret
push 0x100945cc
call fcn.10007390
add esp, 4
cmp eax, 1
jne 0x10058e2e
push str.ClickBox1
call fcn.10038cd0
add esp, 4
pop esi
mov esp, ebp
pop ebp
ret
fild dword [ebp + 0xc]
sub esp, 8
fstp dword [ebp - 4]
fld dword [ebp - 4]
fstp dword [esp + 4]
fild dword [ebp - 8]
fstp dword [esp]
call fcn.100560c0
fcomp qword [0x100a0038]
add esp, 8
fnstsw ax
test ah, 5
jp 0x10058ead
fild dword [ebp + 0x14]
sub esp, 8
fstp dword [esp + 4]
fild dword [ebp - 0xc]
fstp dword [esp]
call fcn.100560c0
fcomp qword [0x100a0038]
add esp, 8
fnstsw ax
test ah, 5
jp 0x10058ead
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x101b8cfc]
cmp eax, 0xbb8
jbe 0x10058ead
mov edx, dword [ebp + 0x18]
push edx
push 1
call fcn.10039a10
add esp, 8
call esi
mov dword [0x101b8cfc], eax
pop esi
mov esp, ebp
pop ebp
ret
fild dword [ebp + 0x14]
sub esp, 0xc
fstp dword [esp + 8]
fild dword [ebp + 0x10]
fstp dword [esp + 4]
fld dword [ebp - 4]
fstp dword [esp]
call fcn.10038220
add esp, 0xc
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10058ee0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [0x2fb7ac4]
fld dword [esi + 0x1f60]
call fcn.10086850
fld dword [esi + 0x1f68]
mov dword [ebp - 8], eax
call fcn.10086850
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, 0x101b876c
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10058f31
test dl, dl
je 0x10058f2d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10058f31
add eax, 2
add ecx, 2
test dl, dl
jne 0x10058f11
xor eax, eax
jmp 0x10058f36
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10058f5c
mov eax, dword [0x101a46e8]
mov ecx, dword [0x100eaf2c]
add eax, 0x93
push eax
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
call fcn.100703c0
pop esi
mov esp, ebp
pop ebp
ret
push 0x100945cc
call fcn.10007390
add esp, 4
cmp eax, 1
jne 0x10058f80
push str.ClickBox1
call fcn.10038cd0
add esp, 4
pop esi
mov esp, ebp
pop ebp
ret
fild dword [ebp + 0xc]
sub esp, 8
fstp dword [ebp - 4]
fld dword [ebp - 4]
fstp dword [esp + 4]
fild dword [ebp - 8]
fstp dword [esp]
call fcn.100560c0
fcomp qword [0x100a0038]
add esp, 8
fnstsw ax
test ah, 5
jp 0x10058fff
fild dword [ebp + 0x14]
sub esp, 8
fstp dword [esp + 4]
fild dword [ebp - 0xc]
fstp dword [esp]
call fcn.100560c0
fcomp qword [0x100a0038]
add esp, 8
fnstsw ax
test ah, 5
jp 0x10058fff
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x101b8d00]
cmp eax, 0xbb8
jbe 0x10058fff
mov edx, dword [ebp + 0x18]
push edx
push 1
call fcn.10039a10
add esp, 8
call esi
mov dword [0x101b8d00], eax
pop esi
mov esp, ebp
pop ebp
ret
fild dword [ebp + 0x14]
sub esp, 0xc
fstp dword [esp + 8]
fild dword [ebp + 0x10]
fstp dword [esp + 4]
fld dword [ebp - 4]
fstp dword [esp]
call fcn.10038220
add esp, 0xc
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10080cc0
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp dword [0x1019efc0], 1
jne 0x10080cce
jmp fcn.10080a80
push ebx
push esi
mov esi, dword [0x2fb7ac4]
mov eax, dword [esi + 0x1d20]
push edi
push 0xd740a0
push eax
call fcn.10006fa0
mov ebx, eax
add esp, 8
test ebx, ebx
jle 0x10080d55
cmp ebx, esi
je 0x10080d55
xor esi, esi
cmp dword [0x101435f0], esi
jle 0x10080d55
mov edi, 0x10142df8
cmp byte [esi + 0x101433d4], 1
jne 0x10080d49
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi*4 + 0x10143410]
cmp eax, dword [esi*4 + 0x10143500]
jb 0x10080d49
mov ecx, dword [esi*4 + 0x101432a8]
shl ecx, 5
cmp dword [ecx + ebx + 0x45c4], 0
jne 0x10080d49
movzx edx, word [ebx + 0x14]
push edx
push edi
call fcn.10006cb0
add esp, 8
cmp al, 1
je 0x10080d63
inc esi
add edi, 0x14
cmp esi, dword [0x101435f0]
jl 0x10080d04
pop edi
pop esi
mov dword [0x100ae398], 0x64
pop ebx
ret
lea eax, [esi + esi*4]
lea ecx, [eax*4 + 0x10142df8]
push 8
push ecx
call fcn.1003af20
add esp, 8
pop edi
pop esi
mov dword [0x100ae398], 0xbd6
pop ebx
ret
Function at 0x100867e6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100ae8c8]
jne 0x100867f0
repz ret
jmp fcn.10086f5a
Function at 0x1021b9dd
Capabilities:
Delete file
Download url
Receive data

Disassembly:
rol eax, 1
ror dl, 0xe3
jae 0x101d3de3
lea ebp, [edx + ebp - 0x5275]
shl dx, 0xee
xor eax, ebx
not word [esp + edx - 0x3ffb]
mov dword [esp + edx*2 - 0x8000], 0x4531dc38
xor ecx, dword [esp + edx - 0x3ffc]
dec eax
xor edx, 0x90069493
bswap eax
je 0x10211fa8
jp 0x10034edb
sub byte [esp + 6], 0x82
shld edx, eax, cl
pop ecx
add ecx, 0xfff485de
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10001460
Capabilities:
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test eax, eax
jge 0x10001474
xor eax, eax
ret 4
not al
and eax, 0xff
shr eax, 4
and eax, 1
ret 4
Function at 0x10006670
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10007653
push eax
mov eax, 0x1004
mov dword fs:[0], esp
call fcn.10006490
push esi
push edi
mov ecx, 0x3ff
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
rep stosd dword es:[edi], eax
mov esi, dword [esp + 0x101c]
lea ecx, [esp + 8]
stosw word es:[edi], ax
push esi
mov dword [esp + 0x1018], 0
stosb byte es:[edi], al
call sub.MFC42.DLL_CString::CString_1
push 0x22
lea ecx, [esp + 0xc]
mov byte [esp + 0x1018], 1
call sub.MFC42.DLL_CString::operator_2
push esi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::operator
push 0x22
lea ecx, [esp + 0xc]
call fcn.1000617a
push 0x1000b9f0
push 0x1000b8ec
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Replace
mov eax, dword [esp + 0x1020]
mov edx, dword [esp + 8]
push eax
lea ecx, [esp + 0x10]
push 0x1000
push ecx
push 0x1000bab0
push edx
push str.language
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov al, byte [esp + 0xc]
test al, al
jne 0x10006752
mov eax, dword [esp + 0x1024]
test eax, eax
je 0x10006771
mov eax, dword [esp + 0x1020]
push eax
mov eax, dword [esp + 0xc]
push eax
push eax
push str.language
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x10006771
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::operator_1
push 0x1000b8ec
push 0x1000b9f0
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Replace
lea ecx, [esp + 8]
mov byte [esp + 0x1014], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1020]
mov dword [esp + 0x1014], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x100c]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x1010
ret
Function at 0x10006d70
Capabilities:
Set registry value

Disassembly:
sub esp, 0x114
push edi
call fcn.100062bd
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_AFX_MAINTAIN_STATE2::AFX_MAINTAIN_STATE2
push 1
call sub.MFC42.DLL_COleObjectFactory::UpdateRegistryAll
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 8]
mov dword [esp + 8], 0
push eax
push 0x100086e8
call dword [sym.imp.ole32.dll_StringFromCLSID]
push 0x100
lea edx, [esp + 0x1c]
mov ecx, dword [esp + 0xc]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_wcstombs]
mov eax, dword [esp + 0x14]
add esp, 0xc
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push str.CLSID_
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 8]
call fcn.1000719a
push str.InProcServer32
lea ecx, [esp + 8]
call fcn.1000719a
lea edx, [esp + 0xc]
mov eax, dword [esp + 4]
push edx
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
push str.Apartment
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esp + 4]
mov eax, dword [ecx - 8]
lea ecx, [esp + 4]
push eax
push 0
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 1
mov edx, dword [esp + 0x18]
push 0
push str.ThreadingModel
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
xor eax, eax
pop edi
mov dword [ecx + 4], edx
add esp, 0x114
ret
Function at 0x425960
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x15000]
push edi
jmp 0x42597a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x425981
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x425970
mov eax, 1
add ebx, ebx
jne 0x425993
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x425988
jne 0x4259a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x425988
xor ecx, ecx
sub eax, 3
jb 0x4259b8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x425a2a
mov ebp, eax
add ebx, ebx
jne 0x4259c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4259d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4259f4
inc ecx
add ebx, ebx
jne 0x4259e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4259d5
jne 0x4259f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4259d5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x425a14
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x425a05
jmp 0x425976
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x425a14
add edi, ecx
jmp 0x425976
pop esi
mov edi, esi
mov ecx, 0x104a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x425a32
cmp byte [edi], 5
jne 0x425a32
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x425a37
lea edi, [esi + 0x23000]
mov eax, dword [edi]
or eax, eax
je 0x425aa6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x25000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x25028]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x425a64
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2502c]
or eax, eax
je 0x425aa0
mov dword [ebx], eax
add ebx, 4
jmp 0x425a81
call dword [esi + 0x2503c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x425ad7
cmp al, 0xef
ja 0x425aca
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x425aac
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x425ab9
mov ebp, dword [esi + 0x25030]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x425b0b
sub esp, 0xffffff80
jmp 0x403979
Function at 0x100050a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x100050f8
cmp byte [esi + ebx - 1], 0xa
je 0x100050cc
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x10006218], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x42cc00
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4af014
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4cbddc]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.CTBJCalculator.0
lea edi, [esi + 0xc]
push edi
mov dword [esp + 0x1c], 1
call dword [0x4b2320]
mov ecx, esi
call fcn.0042c950
mov eax, dword [esi + 0x98]
push eax
call dword [0x4b2428]
push edi
call dword [0x4b2384]
push esi
call dword [0x4b293c]
push edi
call dword [0x4b232c]
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 0
call fcn.0042f150
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call dword [0x4b292c]
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret