joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45440c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x454423
add esp, 0xfffffff0
call fcn.00403cf8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a238
mov eax, dword [0x55fe10]
cmp word [eax + 2], 0
jne 0x45444b
mov eax, dword [0x55fe10]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00455ebc
mov eax, dword [0x55fec0]
cmp word [eax + 2], 0
jne 0x454465
mov eax, dword [0x55fec0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004560c8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x412028]
call fcn.004039bc
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x412028]
call fcn.004039bc
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x412028]
call fcn.004039bc
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x41e63c]
call fcn.00424484
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x45461c
mov eax, dword [0x55fd24]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00424858
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x456798
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x55fd24]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040cb98
test eax, eax
je 0x45456c
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408e40
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cbcc
test eax, eax
je 0x454580
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404a70
mov byte [ebx + 0xd4], 0
push ebx
push 0x455a1c
call fcn.0041b3b4
mov dword [ebx + 0xc8], eax
mov eax, dword [0x55fc1c]
cmp byte [eax], 0
jne 0x4545d1
mov eax, ebx
call fcn.00454760
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.00456974
mov eax, ebx
call fcn.004574d4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x454611
call fcn.00403d50
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4549e0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x564584]
cmp dword [eax + 0x30], 0
je 0x454a8a
cmp dword [ebx + 0x94], 0
jne 0x454a84
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x454970
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x454a84
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x454a4a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x454a84
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004143d4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x454a59
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4557a4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4557d9
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004048f0
jmp 0x4557e6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404854
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x456b58
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x456bc6
mov eax, esi
call fcn.004412fc
test al, al
je 0x456bc6
mov eax, dword [ebx + 0x84]
call fcn.00440f5c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x456bc6
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x456bba
push 0
mov eax, dword [ebx + 0x84]
call fcn.00440f5c
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0043937c
jmp 0x456bc6
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00456994
pop esi
pop ebx
ret
Function at 0x45848c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
xor eax, eax
mov dword [0x4607bc], eax
xor eax, eax
mov dword [0x4607c0], eax
xor esi, esi
mov ebx, 0x5646f8
mov edi, 0x5645f8
mov eax, esi
mov ecx, 0x1f
xor edx, edx
div ecx
inc edx
mov ebp, dword [ebx]
mov eax, ebp
shl eax, 4
add eax, ebp
shr ebp, 5
xor eax, ebp
call fcn.0045847c
mov ecx, 0xf
xor edx, edx
div ecx
mov dword [edi], edx
lea eax, [esi + 0x10]
mov eax, dword [eax*4 + 0x5646f8]
xor eax, dword [ebx]
add dword [0x4607bc], eax
inc esi
add edi, 4
add ebx, 4
cmp esi, 0x10
jne 0x4584aa
mov esi, 0x10
mov ebx, 0x564738
mov eax, esi
mov ecx, 0x1f
xor edx, edx
div ecx
inc edx
mov edi, dword [ebx]
mov eax, edi
shl eax, 4
add eax, edi
shr edi, 5
xor eax, edi
call fcn.00458484
mov ecx, 0xf
xor edx, edx
div ecx
mov ebp, 0x1f
sub ebp, esi
mov dword [ebp*4 + 0x564638], edx
mov eax, dword [ebp*4 + 0x5646f8]
xor eax, dword [ebx]
add dword [0x4607c0], eax
inc esi
add ebx, 4
cmp esi, 0x20
jne 0x4584fc
xor esi, esi
mov ebx, 0x5646f8
mov edi, 0x564678
mov eax, 0x1f
sub eax, esi
mov ecx, 0x1f
xor edx, edx
div ecx
inc edx
mov eax, dword [ebx]
lea ecx, [esi + 1]
xor eax, ecx
call fcn.00458484
mov ecx, 0x1f
xor edx, edx
div ecx
inc edx
mov dword [edi], edx
inc esi
add edi, 4
add ebx, 4
cmp esi, 0x20
jne 0x458556
mov ecx, 0x10
mov eax, dword [0x4607bc]
xor edx, edx
div ecx
mov dword [0x4607bc], edx
mov ecx, 0x10
mov eax, dword [0x4607c0]
xor edx, edx
div ecx
mov dword [0x4607c0], edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x10002500
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 0x10025060
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
nop
mov cl, byte [eax + str.r_jc]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10025060], cl
inc eax
cmp eax, 0x100
jb 0x10002520
mov esi, dword [ebp + 8]
movzx edx, word [esi + 6]
movzx eax, byte [esi + 8]
push edx
push eax
push 0x10025060
push 0
mov ecx, 0x1001a440
call fcn.10005210
movzx ecx, word [esi + 6]
add esp, 0x10
cmp byte [esi + 8], 0
mov dword [0x1001fc50], ecx
mov dword [ebp - 8], 0
jbe 0x10002705
mov edi, dword [0x1001a3f8]
lea eax, [esi + 0xa]
mov esi, dword [0x1001a3f4]
mov dword [ebp - 4], eax
cmp eax, edi
jae 0x1000264d
cmp esi, eax
ja 0x1000264d
mov ecx, eax
sub ecx, esi
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
cmp edi, dword [0x1001a3fc]
jne 0x10002626
mov ecx, edi
sub ecx, esi
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 0x38e38e2
ja 0x10002716
mov edx, dword [0x1001a3fc]
sub edx, esi
mov eax, 0x38e38e39
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc ecx
add eax, edx
cmp ecx, eax
jbe 0x10002626
mov edx, eax
shr edx, 1
mov esi, 0x38e38e3
sub esi, edx
cmp esi, eax
jae 0x10002607
xor eax, eax
jmp 0x10002609
add eax, edx
cmp eax, ecx
jae 0x1000260f
mov eax, ecx
push eax
mov ecx, 0x1001a3f4
call fcn.10003270
mov edi, dword [0x1001a3f8]
mov esi, dword [0x1001a3f4]
lea edx, [ebx + ebx*8]
lea eax, [esi + edx*8]
test edi, edi
je 0x10002645
mov ecx, 0x12
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [0x1001a3f8]
mov esi, dword [0x1001a3f4]
mov eax, dword [ebp - 4]
jmp 0x100026e0
mov ebx, dword [0x1001a3fc]
cmp edi, ebx
jne 0x100026c7
mov ecx, edi
sub ecx, esi
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 0x38e38e2
ja 0x10002716
mov edx, ebx
sub edx, esi
mov eax, 0x38e38e39
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc ecx
add eax, edx
cmp ecx, eax
jbe 0x100026c4
mov edx, eax
shr edx, 1
mov esi, 0x38e38e3
sub esi, edx
cmp esi, eax
jae 0x100026a5
xor eax, eax
jmp 0x100026a7
add eax, edx
cmp eax, ecx
jae 0x100026ad
mov eax, ecx
push eax
mov ecx, 0x1001a3f4
call fcn.10003270
mov edi, dword [0x1001a3f8]
mov esi, dword [0x1001a3f4]
mov eax, dword [ebp - 4]
test edi, edi
je 0x100026e0
mov ecx, 0x12
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [0x1001a3f8]
mov esi, dword [0x1001a3f4]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 8]
add edi, 0x48
mov dword [0x1001a3f8], edi
movzx edx, byte [edx + 8]
inc ecx
add eax, 0x48
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
cmp ecx, edx
jl 0x10002588
pop edi
pop esi
mov dword [0x1001fc40], 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 0x10002730
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 0x10025060
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
nop
mov cl, byte [eax + 0x100120f0]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10025060], cl
inc eax
cmp eax, 0x100
jb 0x10002750
mov esi, dword [ebp + 8]
movzx edx, word [esi + 6]
movzx eax, byte [esi + 8]
push edx
push eax
push 0x10025060
push 0
mov ecx, 0x1001a440
call fcn.10005210
movzx ecx, word [esi + 6]
add esp, 0x10
cmp byte [esi + 8], 0
mov dword [0x1001fc54], ecx
mov dword [ebp - 8], 0
jbe 0x10002929
mov ebx, dword [0x1001a408]
lea ecx, [esi + 0xa]
mov esi, dword [0x1001a404]
mov dword [ebp - 4], ecx
cmp ecx, ebx
jae 0x10002868
cmp esi, ecx
ja 0x10002868
sub ecx, esi
mov eax, 0x3e0f83e1
imul ecx
sar edx, 6
mov edi, edx
shr edi, 0x1f
add edi, edx
cmp ebx, dword [0x1001a40c]
jne 0x10002854
mov ecx, ebx
sub ecx, esi
mov eax, 0x3e0f83e1
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 0xf83e0e
ja 0x1000293a
mov edx, dword [0x1001a40c]
sub edx, esi
mov eax, 0x3e0f83e1
imul edx
sar edx, 6
mov eax, edx
shr eax, 0x1f
inc ecx
add eax, edx
cmp ecx, eax
jbe 0x10002854
mov edx, eax
shr edx, 1
mov esi, 0xf83e0f
sub esi, edx
cmp esi, eax
jae 0x10002835
xor eax, eax
jmp 0x10002837
add eax, edx
cmp eax, ecx
jae 0x1000283d
mov eax, ecx
push eax
mov ecx, 0x1001a404
call fcn.10003360
mov ebx, dword [0x1001a408]
mov esi, dword [0x1001a404]
imul edi, edi, 0x108
add edi, esi
test ebx, ebx
je 0x100028fb
mov esi, edi
jmp 0x100028e6
mov edi, dword [0x1001a40c]
cmp ebx, edi
jne 0x100028df
mov ecx, ebx
sub ecx, esi
mov eax, 0x3e0f83e1
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 0xf83e0e
ja 0x1000293a
mov edx, edi
sub edx, esi
mov eax, 0x3e0f83e1
imul edx
sar edx, 6
mov eax, edx
shr eax, 0x1f
inc ecx
add eax, edx
cmp ecx, eax
jbe 0x100028df
mov edx, eax
shr edx, 1
mov esi, 0xf83e0f
sub esi, edx
cmp esi, eax
jae 0x100028c0
xor eax, eax
jmp 0x100028c2
add eax, edx
cmp eax, ecx
jae 0x100028c8
mov eax, ecx
push eax
mov ecx, 0x1001a404
call fcn.10003360
mov ebx, dword [0x1001a408]
mov esi, dword [0x1001a404]
test ebx, ebx
je 0x100028fb
mov esi, dword [ebp - 4]
mov edi, ebx
mov ecx, 0x42
rep movsd dword es:[edi], dword [esi]
mov ebx, dword [0x1001a408]
mov esi, dword [0x1001a404]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
add ebx, 0x108
mov dword [0x1001a408], ebx
movzx edx, byte [edx + 8]
inc eax
add ecx, 0x108
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
cmp eax, edx
jl 0x100027b8
pop edi
pop esi
mov dword [0x1001fc44], 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 0x10002950
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 0x10025060
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 + 0x10025060], cl
inc eax
cmp eax, 0x100
jb 0x10002970
mov esi, dword [ebp + 8]
movzx edx, word [esi + 6]
movzx eax, byte [esi + 8]
push edx
push eax
push 0x10025060
push 0
mov ecx, 0x1001a440
call fcn.10005210
movzx ecx, word [esi + 6]
add esp, 0x10
cmp byte [esi + 8], 0
mov dword [0x1001fc58], ecx
mov dword [ebp - 8], 0
jbe 0x10002b4a
mov ebx, dword [0x1001a418]
lea ecx, [esi + 0xa]
mov esi, dword [0x1001a414]
mov dword [ebp - 4], ecx
cmp ecx, ebx
jae 0x10002a88
cmp esi, ecx
ja 0x10002a88
sub ecx, esi
mov eax, 0x7d8c42b3
imul ecx
sar edx, 7
mov edi, edx
shr edi, 0x1f
add edi, edx
cmp ebx, dword [0x1001a41c]
jne 0x10002a74
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 0x10002b5b
mov edx, dword [0x1001a41c]
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 0x10002a74
mov edx, eax
shr edx, 1
mov esi, 0xfb1885
sub esi, edx
cmp esi, eax
jae 0x10002a55
xor eax, eax
jmp 0x10002a57
add eax, edx
cmp eax, ecx
jae 0x10002a5d
mov eax, ecx
push eax
mov ecx, 0x1001a414
call fcn.10003450
mov ebx, dword [0x1001a418]
mov esi, dword [0x1001a414]
imul edi, edi, 0x105
add edi, esi
test ebx, ebx
je 0x10002b1c
mov esi, edi
jmp 0x10002b06
mov edi, dword [0x1001a41c]
cmp ebx, edi
jne 0x10002aff
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 0x10002b5b
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 0x10002aff
mov edx, eax
shr edx, 1
mov esi, 0xfb1885
sub esi, edx
cmp esi, eax
jae 0x10002ae0
xor eax, eax
jmp 0x10002ae2
add eax, edx
cmp eax, ecx
jae 0x10002ae8
mov eax, ecx
push eax
mov ecx, 0x1001a414
call fcn.10003450
mov ebx, dword [0x1001a418]
mov esi, dword [0x1001a414]
test ebx, ebx
je 0x10002b1c
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 [0x1001a418]
mov esi, dword [0x1001a414]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
add ebx, 0x105
mov dword [0x1001a418], 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 0x100029d8
pop edi
pop esi
mov dword [0x1001fc48], 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 0x10002b70
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 0x10025060
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 + 0x10025060], cl
inc eax
cmp eax, 0x100
jb 0x10002b90
mov esi, dword [ebp + 8]
movzx edx, word [esi + 6]
movzx eax, byte [esi + 8]
push edx
push eax
push 0x10025060
push 0
mov ecx, 0x1001a440
call fcn.10005210
movzx ecx, word [esi + 6]
add esp, 0x10
cmp byte [esi + 8], 0
mov dword [0x1001fc5c], ecx
mov dword [ebp - 8], 0
jbe 0x10002d7a
mov edi, dword [0x1001a428]
lea eax, [esi + 0xa]
mov esi, dword [0x1001a424]
mov dword [ebp - 4], eax
cmp eax, edi
jae 0x10002cc1
cmp esi, eax
ja 0x10002cc1
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 [0x1001a42c]
jne 0x10002c96
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 0x10002d8b
mov edx, dword [0x1001a42c]
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 0x10002c96
mov edx, eax
shr edx, 1
mov esi, 0x3f03f03
sub esi, edx
cmp esi, eax
jae 0x10002c77
xor eax, eax
jmp 0x10002c79
add eax, edx
cmp eax, ecx
jae 0x10002c7f
mov eax, ecx
push eax
mov ecx, 0x1001a424
call fcn.10003540
mov edi, dword [0x1001a428]
mov esi, dword [0x1001a424]
mov eax, ebx
shl eax, 6
add eax, esi
add eax, ebx
test edi, edi
je 0x10002cb9
mov ecx, 0x10
mov esi, eax
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov edi, dword [0x1001a428]
mov esi, dword [0x1001a424]
mov eax, dword [ebp - 4]
jmp 0x10002d55
mov ebx, dword [0x1001a42c]
cmp edi, ebx
jne 0x10002d3b
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 0x10002d8b
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 0x10002d38
mov edx, eax
shr edx, 1
mov esi, 0x3f03f03
sub esi, edx
cmp esi, eax
jae 0x10002d19
xor eax, eax
jmp 0x10002d1b
add eax, edx
cmp eax, ecx
jae 0x10002d21
mov eax, ecx
push eax
mov ecx, 0x1001a424
call fcn.10003540
mov edi, dword [0x1001a428]
mov esi, dword [0x1001a424]
mov eax, dword [ebp - 4]
test edi, edi
je 0x10002d55
mov ecx, 0x10
mov esi, eax
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov edi, dword [0x1001a428]
mov esi, dword [0x1001a424]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 8]
add edi, 0x41
mov dword [0x1001a428], 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 0x10002bf8
pop edi
pop esi
mov dword [0x1001fc4c], 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 0x10002da0
Capabilities:
Encode data using xor

Disassembly:
push ecx
push 0x100
push 0
push 0x10025060
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
jmp 0x10002dc0
mov cl, byte [eax + str.r_jj]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10025060], cl
inc eax
cmp eax, 0x100
jb 0x10002dc0
movzx edx, byte [esi + 4]
push edx
push 0x10025060
push 0
mov ecx, 0x1001a440
call fcn.10005210
movzx eax, byte [esi + 4]
add esp, 0xc
cmp eax, 0xa
ja case.default.0x10002dfc
jmp dword [eax*4 + 0x10002e6c]
mov ecx, 0xe
jmp 0x10002e4e
mov ecx, 0xf
jmp 0x10002e4e
mov ecx, 0x10
jmp 0x10002e4e
mov ecx, 0x11
jmp 0x10002e4e
mov ecx, 0x12
jmp 0x10002e4e
mov ecx, 0x13
jmp 0x10002e4e
mov ecx, 0x14
jmp 0x10002e4e
mov ecx, 0x16
jmp 0x10002e4e
mov ecx, 0x18
jmp 0x10002e4e
mov ecx, 0x19
jmp 0x10002e4e
mov ecx, 0x15
push 0x1388
call fcn.100059b0
push eax
push 2
mov eax, 0x1001f700
call fcn.1000ab50
add esp, 0xc
pop ecx
ret

Function at 0x10002ea0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x10016018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
cmp dword [0x1001fc74], 1
push edi
je 0x10002f3c
mov eax, dword [0x1001a3f4]
mov dword [0x1001fc3c], ebx
mov dword [0x1001fc40], ebx
mov dword [0x1001fc44], ebx
mov dword [0x1001fc48], ebx
mov dword [0x1001fc4c], ebx
mov dword [0x1001fc50], ebx
mov dword [0x1001fc54], ebx
mov dword [0x1001fc58], ebx
mov dword [0x1001fc5c], ebx
cmp eax, dword [0x1001a3f8]
je 0x10002f06
mov dword [0x1001a3f8], eax
mov eax, dword [0x1001a404]
cmp eax, dword [0x1001a408]
je 0x10002f18
mov dword [0x1001a408], eax
mov eax, dword [0x1001a414]
cmp eax, dword [0x1001a418]
je 0x10002f2a
mov dword [0x1001a418], eax
mov eax, dword [0x1001a424]
cmp eax, dword [0x1001a428]
je 0x10002f3c
mov dword [0x1001a428], eax
mov word [ebp - 0x3c], 0x38c1
call dword [sym.imp.MSVCR100.dll_rand]
and eax, 0x800000ff
jns 0x10002f56
dec eax
or eax, 0xffffff00
inc eax
mov ecx, dword [0x1001f4ac]
mov edx, dword [0x10013724]
mov byte [ebp - 0x3a], al
mov eax, dword [0x1001fc74]
mov dword [ebp - 0x38], eax
mov eax, dword [0x10013728]
mov byte [ebp - 0x39], bl
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], eax
call fcn.1000ad00
push 0x100
mov esi, eax
push ebx
mov ecx, 9
lea edi, [ebp - 0x28]
push 0x10025060
rep movsd dword es:[edi], dword [esi]
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
mov cl, byte [eax + 0x100123f0]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10025060], cl
inc eax
cmp eax, 0x100
jb 0x10002fa4
mov ecx, dword [ebp - 0x34]
lea edx, [ebp - 0x28]
push edx
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x30]
push eax
push ecx
push edx
push 0x10025060
push ebx
mov ecx, 0x1001a440
call fcn.10005210
movzx ecx, byte [ebp - 0x3b]
add esp, 0x18
lea edx, [ebp - 0x3c]
call fcn.10001850
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000da3b
mov esp, ebp
pop ebp
ret
Function at 0x10003ac0
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [0x1001fbcc]
test eax, eax
je 0x10003b33
mov ecx, dword [eax]
cmp ecx, dword [0x1001fbe0]
jne 0x10003adf
mov dl, byte [0x1001fbe4]
cmp dl, byte [eax + 4]
je 0x10003b33
push 0x100
push 0
push 0x10025060
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
jmp 0x10003b00
mov cl, byte [eax + 0x100113f0]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10025060], cl
inc eax
cmp eax, 0x100
jb 0x10003b00
push 0x10025060
push 0
mov ecx, 0x1001a440
call fcn.10005210
add esp, 8
call fcn.1000a730
mov eax, dword [0x1001fbc8]
test eax, eax
je 0x10003ba3
mov edx, dword [eax]
cmp edx, dword [0x1001fbd8]
jne 0x10003b51
mov cl, byte [0x1001fbdc]
cmp cl, byte [eax + 4]
je 0x10003ba3
push 0x100
push 0
push 0x10025060
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
jmp 0x10003b70
mov dl, byte [eax + 0x100114f0]
sub dl, 0x1b
xor dl, 0xc
mov byte [eax + 0x10025060], dl
inc eax
cmp eax, 0x100
jb 0x10003b70
push 0x10025060
push 0
mov ecx, 0x1001a440
call fcn.10005210
add esp, 8
call fcn.1000a730
mov eax, dword [0x1001fbc4]
test eax, eax
je 0x10003be0
mov ecx, dword [eax]
cmp ecx, dword [0x1001fbd0]
jne 0x10003bc1
mov dl, byte [0x1001fbd4]
cmp dl, byte [eax + 4]
je 0x10003be0
mov eax, 0x11
call fcn.1000adc0
push eax
push 0
mov ecx, 0x1001a440
call fcn.10005210
add esp, 8
call fcn.1000a730
pop ecx
ret