joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002ac0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
push 0x100
push 0
push 0x10127548
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
nop
mov cl, byte [eax + str.r_j_]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10127548], cl
inc eax
cmp eax, 0x100
jb 0x10002ae0
mov esi, dword [ebp + 8]
movzx edx, word [esi + 6]
movzx eax, byte [esi + 8]
push edx
push eax
push 0x10127548
push 0
mov ecx, 0x1011c7a8
call fcn.10005580
movzx ecx, word [esi + 6]
add esp, 0x10
cmp byte [esi + 8], 0
mov dword [0x101220f8], ecx
mov dword [ebp - 8], 0
jbe 0x10002cba
mov ebx, dword [0x1011c780]
lea ecx, [esi + 0xa]
mov esi, dword [0x1011c77c]
mov dword [ebp - 4], ecx
cmp ecx, ebx
jae 0x10002bf8
cmp esi, ecx
ja 0x10002bf8
sub ecx, esi
mov eax, 0x7d8c42b3
imul ecx
sar edx, 7
mov edi, edx
shr edi, 0x1f
add edi, edx
cmp ebx, dword [0x1011c784]
jne 0x10002be4
mov ecx, ebx
sub ecx, esi
mov eax, 0x7d8c42b3
imul ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 0xfb1884
ja 0x10002ccb
mov edx, dword [0x1011c784]
sub edx, esi
mov eax, 0x7d8c42b3
imul edx
sar edx, 7
mov eax, edx
shr eax, 0x1f
inc ecx
add eax, edx
cmp ecx, eax
jbe 0x10002be4
mov edx, eax
shr edx, 1
mov esi, 0xfb1885
sub esi, edx
cmp esi, eax
jae 0x10002bc5
xor eax, eax
jmp 0x10002bc7
add eax, edx
cmp eax, ecx
jae 0x10002bcd
mov eax, ecx
push eax
mov ecx, 0x1011c77c
call fcn.100036e0
mov ebx, dword [0x1011c780]
mov esi, dword [0x1011c77c]
imul edi, edi, 0x105
add edi, esi
test ebx, ebx
je 0x10002c8c
mov esi, edi
jmp 0x10002c76
mov edi, dword [0x1011c784]
cmp ebx, edi
jne 0x10002c6f
mov ecx, ebx
sub ecx, esi
mov eax, 0x7d8c42b3
imul ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 0xfb1884
ja 0x10002ccb
mov edx, edi
sub edx, esi
mov eax, 0x7d8c42b3
imul edx
sar edx, 7
mov eax, edx
shr eax, 0x1f
inc ecx
add eax, edx
cmp ecx, eax
jbe 0x10002c6f
mov edx, eax
shr edx, 1
mov esi, 0xfb1885
sub esi, edx
cmp esi, eax
jae 0x10002c50
xor eax, eax
jmp 0x10002c52
add eax, edx
cmp eax, ecx
jae 0x10002c58
mov eax, ecx
push eax
mov ecx, 0x1011c77c
call fcn.100036e0
mov ebx, dword [0x1011c780]
mov esi, dword [0x1011c77c]
test ebx, ebx
je 0x10002c8c
mov esi, dword [ebp - 4]
mov edi, ebx
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ebx, dword [0x1011c780]
mov esi, dword [0x1011c77c]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
add ebx, 0x105
mov dword [0x1011c780], ebx
movzx edx, byte [edx + 8]
inc eax
add ecx, 0x105
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
cmp eax, edx
jl 0x10002b48
pop edi
pop esi
mov dword [0x101220e8], 1
pop ebx
mov esp, ebp
pop ebp
ret
push str.vector_T__too_long
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const__]
int3
Function at 0x10002ce0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
push 0x100
push 0
push 0x10127548
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
nop
mov cl, byte [eax + str.r_jv]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10127548], cl
inc eax
cmp eax, 0x100
jb 0x10002d00
mov esi, dword [ebp + 8]
movzx edx, word [esi + 6]
movzx eax, byte [esi + 8]
push edx
push eax
push 0x10127548
push 0
mov ecx, 0x1011c7a8
call fcn.10005580
movzx ecx, word [esi + 6]
add esp, 0x10
cmp byte [esi + 8], 0
mov dword [0x101220fc], ecx
mov dword [ebp - 8], 0
jbe 0x10002eea
mov edi, dword [0x1011c790]
lea eax, [esi + 0xa]
mov esi, dword [0x1011c78c]
mov dword [ebp - 4], eax
cmp eax, edi
jae 0x10002e31
cmp esi, eax
ja 0x10002e31
mov ecx, eax
sub ecx, esi
mov eax, 0x7e07e07f
imul ecx
sar edx, 5
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
cmp edi, dword [0x1011c794]
jne 0x10002e06
mov ecx, edi
sub ecx, esi
mov eax, 0x7e07e07f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 0x3f03f02
ja 0x10002efb
mov edx, dword [0x1011c794]
sub edx, esi
mov eax, 0x7e07e07f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
inc ecx
add eax, edx
cmp ecx, eax
jbe 0x10002e06
mov edx, eax
shr edx, 1
mov esi, 0x3f03f03
sub esi, edx
cmp esi, eax
jae 0x10002de7
xor eax, eax
jmp 0x10002de9
add eax, edx
cmp eax, ecx
jae 0x10002def
mov eax, ecx
push eax
mov ecx, 0x1011c78c
call fcn.100037d0
mov edi, dword [0x1011c790]
mov esi, dword [0x1011c78c]
mov eax, ebx
shl eax, 6
add eax, esi
add eax, ebx
test edi, edi
je 0x10002e29
mov ecx, 0x10
mov esi, eax
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov edi, dword [0x1011c790]
mov esi, dword [0x1011c78c]
mov eax, dword [ebp - 4]
jmp 0x10002ec5
mov ebx, dword [0x1011c794]
cmp edi, ebx
jne 0x10002eab
mov ecx, edi
sub ecx, esi
mov eax, 0x7e07e07f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 0x3f03f02
ja 0x10002efb
mov edx, ebx
sub edx, esi
mov eax, 0x7e07e07f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
inc ecx
add eax, edx
cmp ecx, eax
jbe 0x10002ea8
mov edx, eax
shr edx, 1
mov esi, 0x3f03f03
sub esi, edx
cmp esi, eax
jae 0x10002e89
xor eax, eax
jmp 0x10002e8b
add eax, edx
cmp eax, ecx
jae 0x10002e91
mov eax, ecx
push eax
mov ecx, 0x1011c78c
call fcn.100037d0
mov edi, dword [0x1011c790]
mov esi, dword [0x1011c78c]
mov eax, dword [ebp - 4]
test edi, edi
je 0x10002ec5
mov ecx, 0x10
mov esi, eax
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov edi, dword [0x1011c790]
mov esi, dword [0x1011c78c]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 8]
add edi, 0x41
mov dword [0x1011c790], edi
movzx edx, byte [edx + 8]
inc ecx
add eax, 0x41
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
cmp ecx, edx
jl 0x10002d68
pop edi
pop esi
mov dword [0x101220ec], 1
pop ebx
mov esp, ebp
pop ebp
ret
push str.vector_T__too_long
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const__]
int3
Function at 0x10002f10
Capabilities:
Encode data using xor

Disassembly:
push ecx
push 0x100
push 0
push 0x10127548
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
jmp 0x10002f30
mov cl, byte [eax + str.r_jj]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10127548], cl
inc eax
cmp eax, 0x100
jb 0x10002f30
movzx edx, byte [esi + 4]
push edx
push 0x10127548
push 0
mov ecx, 0x1011c7a8
call fcn.10005580
movzx eax, byte [esi + 4]
add esp, 0xc
cmp eax, 0xa
ja case.default.0x10002f6c
jmp dword [eax*4 + 0x10002fdc]
mov ecx, 0xe
jmp 0x10002fbe
mov ecx, 0xf
jmp 0x10002fbe
mov ecx, 0x10
jmp 0x10002fbe
mov ecx, 0x11
jmp 0x10002fbe
mov ecx, 0x12
jmp 0x10002fbe
mov ecx, 0x13
jmp 0x10002fbe
mov ecx, 0x14
jmp 0x10002fbe
mov ecx, 0x16
jmp 0x10002fbe
mov ecx, 0x18
jmp 0x10002fbe
mov ecx, 0x19
jmp 0x10002fbe
mov ecx, 0x15
push 0x1388
call fcn.10005ce0
push eax
push 2
mov eax, 0x10121b88
call fcn.1000e030
add esp, 0xc
pop ecx
ret

Function at 0x10003010
Capabilities:
Encode data using xor
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x1001c018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
cmp dword [0x10122114], 1
push edi
je 0x100030b8
mov ecx, dword [0x1011c75c]
mov dword [0x101220dc], ebx
mov dword [0x101220e0], ebx
mov dword [0x101220e4], ebx
mov dword [0x101220e8], ebx
mov dword [0x101220ec], ebx
mov dword [0x101220f0], ebx
mov dword [0x101220f4], ebx
mov dword [0x101220f8], ebx
mov dword [0x101220fc], ebx
cmp ecx, dword [0x1011c760]
je 0x1000307c
mov dword [0x1011c760], ecx
mov ecx, dword [0x1011c76c]
cmp ecx, dword [0x1011c770]
je 0x10003090
mov dword [0x1011c770], ecx
mov ecx, dword [0x1011c77c]
cmp ecx, dword [0x1011c780]
je 0x100030a4
mov dword [0x1011c780], ecx
mov ecx, dword [0x1011c78c]
cmp ecx, dword [0x1011c790]
je 0x100030b8
mov dword [0x1011c790], ecx
mov dword [0x101218ec], ebx
mov dword [0x101218f4], ebx
mov word [ebp - 0x40], 0x3cc1
call dword [sym.imp.MSVCR100.dll_rand]
and eax, 0x800000ff
jns 0x100030de
dec eax
or eax, 0xffffff00
inc eax
mov ecx, dword [0x101218dc]
mov edx, dword [str.2.0.0]
mov byte [ebp - 0x3e], al
mov eax, dword [0x10122114]
mov dword [ebp - 0x3c], eax
mov eax, dword [0x100178d8]
mov byte [ebp - 0x3d], bl
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], eax
call fcn.1000e1e0
push 0x100
mov esi, eax
push ebx
mov ecx, 9
lea edi, [ebp - 0x2c]
push 0x10127548
rep movsd dword es:[edi], dword [esi]
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
lea esp, [esp]
mov cl, byte [eax + 0x100165a0]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10127548], cl
inc eax
cmp eax, 0x100
jb 0x10003130
mov ecx, dword [ebp - 0x38]
lea edx, [ebp - 0x2c]
push edx
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 0x34]
push eax
push ecx
push edx
push 0x10127548
push ebx
mov ecx, 0x1011c7a8
call fcn.10005580
add esp, 0x18
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push 0x100178dc
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
movzx ecx, byte [ebp - 0x3f]
lea edx, [ebp - 0x40]
call fcn.10001900
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10011156
mov esp, ebp
pop ebp
ret
Function at 0x10003d50
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [0x10122064]
test eax, eax
je 0x10003dc3
mov ecx, dword [eax]
cmp ecx, dword [0x10122078]
jne 0x10003d6f
mov dl, byte [0x1012207c]
cmp dl, byte [eax + 4]
je 0x10003dc3
push 0x100
push 0
push 0x10127548
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
jmp 0x10003d90
mov cl, byte [eax + 0x100155a0]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10127548], cl
inc eax
cmp eax, 0x100
jb 0x10003d90
push 0x10127548
push 0
mov ecx, 0x1011c7a8
call fcn.10005580
add esp, 8
call fcn.1000dc00
mov eax, dword [0x10122060]
test eax, eax
je 0x10003e33
mov edx, dword [eax]
cmp edx, dword [0x10122070]
jne 0x10003de1
mov cl, byte [0x10122074]
cmp cl, byte [eax + 4]
je 0x10003e33
push 0x100
push 0
push 0x10127548
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
jmp 0x10003e00
mov dl, byte [eax + 0x100156a0]
sub dl, 0x1b
xor dl, 0xc
mov byte [eax + 0x10127548], dl
inc eax
cmp eax, 0x100
jb 0x10003e00
push 0x10127548
push 0
mov ecx, 0x1011c7a8
call fcn.10005580
add esp, 8
call fcn.1000dc00
mov eax, dword [0x1012205c]
test eax, eax
je 0x10003e70
mov ecx, dword [eax]
cmp ecx, dword [0x10122068]
jne 0x10003e51
mov dl, byte [0x1012206c]
cmp dl, byte [eax + 4]
je 0x10003e70
mov eax, 0x11
call fcn.1000e2a0
push eax
push 0
mov ecx, 0x1011c7a8
call fcn.10005580
add esp, 8
call fcn.1000dc00
pop ecx
ret
Function at 0x100051d0
Capabilities:
Parse pe header
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x1001c018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push 0
push 0
push 3
push 0
push 1
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp + 0xc]
push closesocket
push eax
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10005223
lea edx, [ebp - 0x38]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
jne 0x10005236
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10011156
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push edi
push 0
push eax
push ecx
push 2
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov edi, eax
test edi, edi
jne 0x1000526d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10011156
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp - 0x14]
push edx
push 0
push 0
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x100052ab
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100052a4
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100052a4
mov edx, 0x14c
cmp word [ecx + 4], dx
je 0x100052cb
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push esi
call edi
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10011156
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp - 0x44]
mov dword [ebx], esi
mov dword [edx], edi
mov edx, dword [ebp - 0x3c]
mov dword [edx], eax
mov eax, dword [ebp - 0x40]
mov dword [eax], ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.10011156
mov esp, ebp
pop ebp
ret 8
Function at 0x10005460
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1001c018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1011c9c0]
push ebx
push esi
push edi
test eax, eax
js 0x1000556d
cmp eax, 1
jge 0x1000556d
mov esi, eax
imul esi, esi, 0x214
add esi, 0x1011c7ac
push str.DataLogs
inc eax
lea ebx, [esi + 4]
push 0x100
mov dword [0x1011c9c0], eax
push ebx
mov dword [esi], 1
call dword [sym.imp.MSVCR100.dll_strcpy_s]
add esp, 0xc
cmp dword [esi], 0
je 0x1000556d
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0xe]
movzx ecx, word [ebp - 0x12]
movzx edx, word [ebp - 0x14]
push eax
push ecx
push edx
push ebx
lea edi, [esi + 0x110]
push str.._s_04d__02d__02d.log
push edi
mov dword [esi + 0x104], eax
mov dword [esi + 0x108], ecx
mov dword [esi + 0x10c], edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esi + 0x210], eax
cmp eax, 0xffffffff
jne 0x10005548
mov dword [esi], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10011156
mov esp, ebp
pop ebp
ret
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x1000556d
mov ecx, dword [esi + 0x210]
push ecx
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10011156
mov esp, ebp
pop ebp
ret
Function at 0x10005580
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x81c
mov eax, dword [0x1001c018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
test eax, eax
js 0x10005777
cmp eax, dword [ecx + 0x218]
jge 0x10005777
imul eax, eax, 0x214
cmp dword [eax + ecx + 4], 0
lea esi, [eax + ecx + 4]
je 0x10005777
lea eax, [ebp - 0x818]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [ebp - 0x812]
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
cmp ecx, dword [esi + 0x104]
jne 0x10005606
movzx edx, word [ebp - 0x816]
cmp edx, dword [esi + 0x108]
jne 0x10005606
movzx eax, word [ebp - 0x818]
cmp eax, dword [esi + 0x10c]
je 0x100056c3
mov ecx, dword [esi + 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, word [ebp - 0x812]
movzx ecx, word [ebp - 0x816]
movzx edx, word [ebp - 0x818]
push eax
push ecx
push edx
mov dword [esi + 0x10c], edx
lea edx, [esi + 4]
push edx
lea edi, [esi + 0x110]
push str.._s_04d__02d__02d.log
push edi
mov dword [esi + 0x104], eax
mov dword [esi + 0x108], ecx
call ebx
add esp, 0x18
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esi + 0x210], eax
cmp eax, 0xffffffff
jne 0x1000568d
mov dword [esi], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10011156
mov esp, ebp
pop ebp
ret
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x100056c3
mov eax, dword [esi + 0x210]
push eax
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10011156
mov esp, ebp
pop ebp
ret
push 0x3ff
lea ecx, [ebp - 0x807]
push 0
push ecx
mov byte [ebp - 0x808], 0
call sub.MSVCR100.dll_memset
mov eax, dword [ebp + 0xc]
lea edx, [ebp + 0x10]
push edx
push eax
lea ecx, [ebp - 0x808]
push 0x400
push ecx
call dword [sym.imp.MSVCR100.dll_vsprintf_s]
push 0x3ff
lea edx, [ebp - 0x407]
push 0
push edx
mov byte [ebp - 0x408], 0
call sub.MSVCR100.dll_memset
movzx ecx, word [ebp - 0x80c]
movzx edx, word [ebp - 0x80e]
lea eax, [ebp - 0x808]
push eax
movzx eax, word [ebp - 0x810]
push ecx
push edx
push eax
lea ecx, [ebp - 0x408]
push str._02d:_02d:_02d__s_r_n
push ecx
call ebx
lea eax, [ebp - 0x408]
add esp, 0x40
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10005750
mov ecx, dword [esi + 0x210]
sub eax, edx
push 0
lea edx, [ebp - 0x81c]
push edx
push eax
lea eax, [ebp - 0x408]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10011156
mov esp, ebp
pop ebp
ret

Function at 0x100057c0
Capabilities:
Create thread

Disassembly:
cmp dword [0x10122108], 0
je 0x10005806
mov eax, dword [0x1012209c]
push 0x10127204
mov dword [0x1011c9c8], eax
xor eax, eax
push eax
push 0x1011c9c4
push 0x100058f0
push eax
push eax
mov dword [0x1011c9d0], eax
mov dword [0x1011c9d4], eax
mov dword [0x1011c9d8], eax
mov dword [0x1011c9dc], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x1011c9cc], eax
ret
Function at 0x10005810
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp dword [0x10122128], 0
je 0x1000582d
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [0x10122128]
cmp eax, dword [ecx]
jne case.0x10005863.0
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, dword [esi*4 + 0x1011c9d0]
cmp eax, 0x1388
jb 0x10005858
call edi
mov dword [esi*4 + 0x1011c9d0], eax
mov dword [esi*4 + 0x1011c9d8], 0
mov eax, dword [0x1012210c]
pop edi
cmp eax, 5
ja case.default.0x10005863
jmp dword [eax*4 + 0x100058d0]
inc dword [esi*4 + 0x1011c9d8]
cmp dword [esi*4 + 0x1011c9d8], 0x19
jmp 0x100058bd
inc dword [esi*4 + 0x1011c9d8]
cmp dword [esi*4 + 0x1011c9d8], 0x14
jmp 0x100058bd
inc dword [esi*4 + 0x1011c9d8]
cmp dword [esi*4 + 0x1011c9d8], 0xf
jmp 0x100058bd
inc dword [esi*4 + 0x1011c9d8]
cmp dword [esi*4 + 0x1011c9d8], 0xa
jmp 0x100058bd
inc dword [esi*4 + 0x1011c9d8]
cmp dword [esi*4 + 0x1011c9d8], 5
jbe case.0x10005863.0
push 0
push 0
push 9
call fcn.100031a0
add esp, 0xc
ret

Function at 0x10005aa0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push str.SOFTWAREWebzenMuConfig
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10005b13
lea ecx, [ebp - 8]
push ecx
push 0x10122274
lea edx, [ebp - 0xc]
push edx
push eax
mov eax, dword [ebp - 4]
push str.LangSelection
push eax
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x10005b09
push 0x10017a98
push 0x10
push 0x10122274
call dword [sym.imp.MSVCR100.dll_strcpy_s]
add esp, 0xc
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
Function at 0x10005e30
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x45c
mov eax, dword [0x1001c018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x10005f54
push 0x104
lea eax, [ebp - 0x418]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x10005f4d
lea ecx, [ebp - 0x210]
push ecx
lea ecx, [ebp - 0x418]
call fcn.1000dca0
add esp, 4
test al, al
je 0x10005f4d
lea edx, [ebp - 0x458]
push edx
lea ecx, [ebp - 0x210]
call fcn.10004fb0
test al, al
jne 0x10005ed4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
lea eax, [ebp - 0x458]
push eax
push 1
call fcn.100031a0
add esp, 0xc
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10011156
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x210]
push ecx
lea ecx, [ebp - 0x458]
call fcn.10005320
test al, al
jne 0x10005f14
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
lea edx, [ebp - 0x458]
push edx
push 2
call fcn.100031a0
add esp, 0xc
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10011156
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x210]
call fcn.10003ba0
test al, al
jne 0x10005f4d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
lea eax, [ebp - 0x458]
push eax
push 5
call fcn.100031a0
add esp, 0xc
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10011156
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
pop esi
call fcn.10011156
mov esp, ebp
pop ebp
ret
Function at 0x10006100
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10011eab
mov eax, dword fs:[0]
push eax
sub esp, 0xc40
mov eax, dword [0x1001c018]
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
xor ebx, ebx
mov dword [ebp - 0xc48], ebx
mov dword [ebp - 0xc44], ebx
mov dword [ebp - 0xc40], ebx
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0xc48]
mov dword [ebp - 4], ebx
call fcn.1000e380
add esp, 4
mov word [ebp - 0xc34], 0xac2
mov byte [ebp - 0xc32], 0xc
call dword [sym.imp.MSVCR100.dll_rand]
and eax, 0x800000ff
jns 0x1000617b
dec eax
or eax, 0xffffff00
inc eax
mov esi, dword [ebp - 0xc48]
mov byte [ebp - 0xc31], al
mov eax, dword [ebp - 0xc44]
sub eax, esi
sar eax, 2
mov byte [ebp - 0xc30], 0x17
mov dword [ebp - 0xc4c], eax
mov dword [ebp - 0xc2c], eax
cmp eax, ebx
jbe 0x10006237
lea ecx, [ebp - 0x728]
mov dword [ebp - 0xc38], ecx
lea esp, [esp]
cmp ebx, 0x14
jge 0x10006237
mov eax, dword [esi + ebx*4]
push 0x104
lea edx, [ebp - 0x11c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov edx, dword [esi + ebx*4]
push 0x104
lea ecx, [ebp - 0x224]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClassNameA]
mov edi, dword [ebp - 0xc38]
mov eax, dword [ebp - 0xc38]
add edi, 0xfffffb00
mov ecx, 0x10
lea esi, [ebp - 0x11c]
rep movsd dword es:[edi], dword [esi]
mov edi, eax
mov ecx, 0x10
lea esi, [ebp - 0x224]
inc ebx
add eax, 0x40
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0xc48]
mov dword [ebp - 0xc38], eax
cmp ebx, dword [ebp - 0xc4c]
jb 0x100061c0
mov ecx, 0xa0c
lea edx, [ebp - 0xc34]
call fcn.10001900
test esi, esi
je 0x10006255
push esi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
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.10011156
mov esp, ebp
pop ebp
ret 4