joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10094aa0
Capabilities:
Write file on windows

Disassembly:
push 0x34
mov eax, 0x1016f172
call fcn.101673d5
mov esi, ecx
mov dword [ebp - 0x34], esi
mov edi, dword [ebp + 8]
mov ebx, 0xffff
cmp bx, di
jne 0x10094ac5
xor eax, eax
jmp 0x10094c37
mov eax, dword [esi + 0x24]
mov ecx, dword [eax]
test ecx, ecx
je 0x10094af1
mov edx, dword [esi + 0x34]
mov eax, dword [edx]
lea eax, [ecx + eax*2]
cmp ecx, eax
jae 0x10094af1
dec dword [edx]
mov ax, di
mov edx, dword [esi + 0x24]
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], di
jmp 0x10094c37
cmp dword [esi + 0x54], 0
je 0x10094c34
mov ecx, esi
call fcn.10094d39
cmp dword [esi + 0x44], 0
jne 0x10094b25
push dword [esi + 0x54]
push edi
call dword [sym.imp.msvcrt.dll_fputwc]
pop ecx
pop ecx
cmp ax, bx
je 0x10094c34
movzx ebx, di
jmp 0x10094c34
push 0
push 8
lea ecx, [ebp - 0x2c]
mov word [ebp - 0x30], di
call fcn.10149ac2
and dword [ebp - 4], 0
lea eax, [esi + 0x4c]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x18]
mov edx, ecx
cmp eax, 0x10
jae 0x10094b51
lea edx, [ebp - 0x2c]
mov ecx, edx
mov edi, dword [esi + 0x44]
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x1c]
add eax, edx
mov esi, dword [edi]
push eax
push ecx
lea eax, [ebp - 0x40]
mov ecx, dword [esi + 0x14]
push eax
lea eax, [ebp - 0x2e]
push eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x38]
call dword [0x101a77c4]
mov ecx, edi
call dword [esi + 0x14]
test eax, eax
js 0x10094c28
cmp eax, 1
jg 0x10094c04
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
mov edx, ecx
cmp eax, 0x10
jae 0x10094b9b
lea edx, [ebp - 0x2c]
mov edi, dword [ebp - 0x3c]
sub edi, edx
je 0x10094bc9
cmp eax, 0x10
jae 0x10094baa
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x34]
push dword [esi + 0x54]
push edi
push 1
push ecx
call dword [sym.imp.msvcrt.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x10094bfc
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
jmp 0x10094bcc
mov esi, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
mov byte [esi + 0x4a], 1
cmp dword [ebp - 0x40], edx
jne 0x10094bf6
test edi, edi
jne 0x10094b45
cmp dword [ebp - 0x1c], 0x20
jae 0x10094bff
push edi
push 8
lea ecx, [ebp - 0x2c]
call fcn.10149ac2
jmp 0x10094b3f
mov eax, dword [ebp + 8]
movzx ebx, ax
movzx ebx, bx
movzx ebx, bx
jmp 0x10094c25
cmp eax, 3
jne 0x10094c28
mov eax, dword [ebp - 0x34]
push dword [eax + 0x54]
push dword [ebp - 0x30]
call dword [sym.imp.msvcrt.dll_fputwc]
pop ecx
pop ecx
cmp ax, bx
je 0x10094c25
mov eax, dword [ebp + 8]
movzx ebx, ax
movzx ebx, bx
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.10149ac2
mov ax, bx
call fcn.10167384
ret 4
Function at 0x10094de5
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x1016f19f
call fcn.101673d5
mov ebx, ecx
cmp dword [ebx + 0x44], 0
je 0x10094ee6
cmp byte [ebx + 0x4a], 0
je 0x10094ee6
mov esi, 0xffff
push esi
call fcn.10094aa0
movzx eax, ax
cmp si, ax
jne 0x10094e21
xor al, al
jmp 0x10094ee8
push 0
push 8
lea ecx, [ebp - 0x2c]
call fcn.10149ac2
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x18]
mov edx, ecx
cmp eax, 0x10
jae 0x10094e43
lea edx, [ebp - 0x2c]
mov ecx, edx
mov edi, dword [ebx + 0x44]
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x1c]
add eax, edx
mov esi, dword [edi]
push eax
push ecx
lea eax, [ebx + 0x4c]
mov ecx, dword [esi + 0x18]
push eax
call dword [0x101a77c4]
mov ecx, edi
call dword [esi + 0x18]
sub eax, 0
je 0x10094e79
sub eax, 1
je 0x10094e7d
dec eax
sub eax, 1
je 0x10094ed4
xor bl, bl
jmp 0x10094ed6
mov byte [ebx + 0x4a], 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
mov edx, ecx
cmp eax, 0x10
jae 0x10094e8d
lea edx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, edx
je 0x10094eb6
cmp eax, 0x10
jae 0x10094e9c
lea ecx, [ebp - 0x2c]
push dword [ebx + 0x54]
push esi
push 1
push ecx
call dword [sym.imp.msvcrt.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x10094e75
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
cmp byte [ebx + 0x4a], 0
je 0x10094ed4
test esi, esi
jne 0x10094e37
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.10149ac2
jmp 0x10094e31
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.10149ac2
mov al, bl
jmp 0x10094ee8
mov al, 1
call fcn.10167384
ret
Function at 0x10098419
Capabilities:
Parse credit card information

Disassembly:
mov edi, edi
push ecx
push ebx
push esi
mov esi, ecx
xor dl, dl
mov ecx, dword [esi + 0x40]
cmp ecx, 0xffff
je 0x100985b9
mov eax, ecx
mov ebx, sym.PrintConfig.dll_Ordinal_276
cmp eax, 0x7c
je 0x100985b9
cmp eax, 0x29
jne 0x1009846a
cmp dword [esi + 0x10], 0
jne 0x100985b9
cmp eax, eax
jne 0x1009846a
test dword [esi + 0x44], ebx
jne 0x10098558
push 5
call fcn.10149ac2
pop ecx
jmp 0x1009859a
cmp eax, 0x2e
jne 0x10098485
push 5
lea ecx, [esi + 0x18]
call fcn.10149ac2
mov ecx, esi
call fcn.100983ec
jmp 0x1009859a
cmp eax, 0x5c
jne 0x100984da
mov ecx, esi
call fcn.100983ec
test byte [esi + 0x44], 0x80
je 0x100984ce
movzx eax, word [esi + 0x3e]
cmp eax, 0x62
jne 0x100984b6
push 4
lea ecx, [esi + 0x18]
call fcn.10149ac2
mov ecx, esi
call fcn.100983ec
jmp 0x100985a1
cmp eax, 0x42
jne 0x100984ce
push 4
lea ecx, [esi + 0x18]
call fcn.10149ac2
mov eax, dword [esi + 0x1c]
xor dword [eax + 8], 1
jmp 0x100984aa
mov ecx, esi
call fcn.10149ac2
jmp 0x1009859a
cmp eax, 0x5b
jne 0x10098500
mov ecx, esi
call fcn.100983ec
mov ecx, esi
call fcn.10098937
cmp dword [esi + 0x40], 0x5d
je 0x10098479
push 4
call fcn.10149ac2
pop ecx
jmp 0x10098479
cmp eax, 0x28
jne 0x1009852c
mov ecx, esi
call fcn.100983ec
mov ecx, esi
call fcn.10098a66
cmp dword [esi + 0x40], 0x29
mov bl, al
je 0x10098523
push 5
call fcn.10149ac2
pop ecx
mov ecx, esi
call fcn.100983ec
jmp 0x10098596
cmp eax, 0x5e
jne 0x10098538
push 2
jmp 0x100984a2
cmp eax, 0x24
jne 0x10098544
push 3
jmp 0x100984a2
cmp eax, 0x2a
je 0x1009858c
cmp eax, 0x2b
je 0x1009858c
cmp eax, 0x3f
je 0x1009858c
cmp eax, 0x7b
je 0x1009858c
cmp ecx, 0x7d
jne 0x10098569
test dword [esi + 0x44], ebx
jne 0x1009857a
push 6
jmp 0x1009845f
cmp ecx, 0x5d
jne 0x1009857a
test dword [esi + 0x44], ebx
jne 0x1009857a
push 4
jmp 0x1009845f
movzx eax, word [esi + 0x3e]
lea ecx, [esi + 0x18]
push eax
call fcn.10149ac2
jmp 0x10098479
push 0xa
call fcn.10149ac2
pop ecx
mov bl, 1
test bl, bl
je 0x100985a1
mov ecx, esi
call fcn.10098b35
mov ecx, dword [esi + 0x40]
mov dl, 1
mov eax, ecx
mov ebx, sym.PrintConfig.dll_Ordinal_276
cmp ecx, 0xffff
jne 0x10098438
pop esi
mov al, dl
pop ebx
pop ecx
ret
Function at 0x100a3682
Capabilities:
Create thread

Disassembly:
push 0xc
mov eax, 0x1017079c
call fcn.101673d5
mov edi, ecx
mov dword [ebp - 0x18], edi
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [edi], eax
mov dword [edi + 4], ebx
mov dword [ebp - 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 2
mov ecx, dword [edi]
test ecx, ecx
je 0x100a36c3
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x101a77c4]
call esi
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call fcn.100a37bf
test eax, eax
js 0x100a36fe
push dword [ebp - 0x14]
mov ecx, edi
call fcn.10149ac2
test eax, eax
js 0x100a36fe
push ebx
push ebx
push edi
push 0x100a3980
push ebx
push ebx
call dword [sym.imp.kernel32.dll_CreateThread]
mov dword [edi + 0xc], eax
test eax, eax
jne 0x100a36fe
call dword [sym.imp.kernel32.dll_GetLastError]
push dword [ebp - 0x14]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, edi
call fcn.10167384
ret 8
Function at 0x100bec60
Capabilities:
Write file on windows

Disassembly:
push 0x34
mov eax, 0x1016f172
call fcn.101673d5
mov esi, ecx
mov dword [ebp - 0x34], esi
or ebx, 0xffffffff
cmp dword [ebp + 8], ebx
jne 0x100bec80
xor eax, eax
jmp 0x100bede2
mov eax, dword [esi + 0x24]
mov ecx, dword [eax]
test ecx, ecx
je 0x100becae
mov edx, dword [esi + 0x34]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x100becae
mov eax, dword [ebp + 8]
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x24]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], al
jmp 0x100bede2
xor edi, edi
cmp dword [esi + 0x54], edi
je 0x100bede0
mov ecx, esi
call fcn.10094d39
mov eax, dword [ebp + 8]
cmp dword [esi + 0x44], edi
jne 0x100bece7
push dword [esi + 0x54]
movsx eax, al
push eax
call dword [sym.imp.msvcrt.dll_fputc]
pop ecx
cmp eax, ebx
mov eax, dword [ebp + 8]
pop ecx
jne 0x100bede2
jmp 0x100bede0
push edi
push 8
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x2d], al
call fcn.10149ac2
lea eax, [esi + 0x4c]
mov dword [ebp - 4], edi
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x18]
mov edx, ecx
cmp eax, 0x10
jae 0x100bed10
lea edx, [ebp - 0x2c]
mov ecx, edx
mov edi, dword [esi + 0x44]
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x1c]
add eax, edx
mov esi, dword [edi]
push eax
push ecx
lea eax, [ebp - 0x40]
mov ecx, dword [esi + 0x14]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x2d]
push eax
push dword [ebp - 0x38]
call dword [0x101a77c4]
mov ecx, edi
call dword [esi + 0x14]
test eax, eax
js 0x100bedd4
cmp eax, 1
jg 0x100bedb5
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
mov edx, ecx
cmp eax, 0x10
jae 0x100bed5a
lea edx, [ebp - 0x2c]
mov edi, dword [ebp - 0x3c]
sub edi, edx
je 0x100bed88
cmp eax, 0x10
jae 0x100bed69
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x34]
push dword [esi + 0x54]
push edi
push 1
push ecx
call dword [sym.imp.msvcrt.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x100bedd4
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
jmp 0x100bed8b
mov esi, dword [ebp - 0x34]
lea edx, [ebp - 0x2d]
mov byte [esi + 0x49], 1
cmp dword [ebp - 0x40], edx
jne 0x100bedd1
test edi, edi
jne 0x100bed04
cmp dword [ebp - 0x1c], 0x20
jae 0x100bedd4
push edi
push 8
lea ecx, [ebp - 0x2c]
call fcn.10149ac2
jmp 0x100becfe
cmp eax, 3
jne 0x100bedd4
mov eax, dword [ebp - 0x34]
push dword [eax + 0x54]
movsx eax, byte [ebp - 0x2d]
push eax
call dword [sym.imp.msvcrt.dll_fputc]
pop ecx
pop ecx
cmp eax, ebx
je 0x100bedd4
mov ebx, dword [ebp + 8]
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.10149ac2
mov eax, ebx
call fcn.10167384
ret 4
Function at 0x100bf054
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x1016f19f
call fcn.101673d5
mov ebx, ecx
cmp dword [ebx + 0x44], 0
je 0x100bf14e
cmp byte [ebx + 0x49], 0
je 0x100bf14e
push 0xffffffffffffffff
call fcn.100bec60
cmp eax, 0xffffffff
jne 0x100bf089
xor al, al
jmp 0x100bf150
push 0
push 8
lea ecx, [ebp - 0x2c]
call fcn.10149ac2
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x18]
mov edx, ecx
cmp eax, 0x10
jae 0x100bf0ab
lea edx, [ebp - 0x2c]
mov ecx, edx
mov edi, dword [ebx + 0x44]
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x1c]
add eax, edx
mov esi, dword [edi]
push eax
push ecx
lea eax, [ebx + 0x4c]
mov ecx, dword [esi + 0x18]
push eax
call dword [0x101a77c4]
mov ecx, edi
call dword [esi + 0x18]
sub eax, 0
je 0x100bf0e1
sub eax, 1
je 0x100bf0e5
dec eax
sub eax, 1
je 0x100bf13c
xor bl, bl
jmp 0x100bf13e
mov byte [ebx + 0x49], 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
mov edx, ecx
cmp eax, 0x10
jae 0x100bf0f5
lea edx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, edx
je 0x100bf11e
cmp eax, 0x10
jae 0x100bf104
lea ecx, [ebp - 0x2c]
push dword [ebx + 0x54]
push esi
push 1
push ecx
call dword [sym.imp.msvcrt.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x100bf0dd
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
cmp byte [ebx + 0x49], 0
je 0x100bf13c
test esi, esi
jne 0x100bf09f
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.10149ac2
jmp 0x100bf099
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.10149ac2
mov al, bl
jmp 0x100bf150
mov al, 1
call fcn.10167384
ret

Function at 0x100f2ab0
Capabilities:
Read file via mapping

Disassembly:
mov edi, edi
push esi
push edi
xor esi, esi
mov edi, edx
push esi
push 0x100080
push 3
or dword [edi], 0xffffffff
push esi
push 1
push SysReAllocString
push ecx
call dword [sym.imp.kernel32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x100f2b01
push esi
push esi
push esi
push 2
push esi
push eax
mov dword [edi], eax
call dword [sym.imp.kernel32.dll_CreateFileMappingW]
mov edi, eax
test edi, edi
je 0x100f2b01
push esi
push esi
push esi
push 4
push edi
call dword [sym.imp.kernel32.dll_MapViewOfFile]
push edi
mov esi, eax
call dword [sym.imp.kernel32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
ret
Function at 0x10120e3a
Capabilities:
Get file size

Disassembly:
push 0x14
mov eax, 0x10178eed
call fcn.101673a2
mov ebx, ecx
cmp dword [ebx + 0x14], 8
jb 0x10120e52
mov eax, dword [ebx]
jmp 0x10120e54
mov eax, ebx
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
push eax
call dword [sym.imp.kernel32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], edi
cmp esi, 0xffffffff
je 0x10120f71
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], edi
push eax
push esi
call dword [sym.imp.kernel32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10120e9e
push ecx
mov edx, 0xa2
jmp 0x10120f77
cmp dword [ebp - 0x10], 0
ja 0x10120f7f
xor eax, eax
push eax
push eax
push eax
push 2
push eax
push esi
call dword [sym.imp.kernel32.dll_CreateFileMappingW]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x10120f69
cmp eax, 0xffffffff
je 0x10120f69
sub esp, 0xc
lea ecx, [ebp - 0x18]
push 1
push eax
call fcn.10149ac2
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x18]
test esi, esi
jne 0x10120ef3
push ecx
mov edx, 0xbe
jmp 0x10120f77
cmp edi, 2
jbe 0x10120f1c
cmp byte [esi], 0xff
jne 0x10120f1c
cmp byte [esi + 1], 0xfe
jne 0x10120f1c
shr edi, 1
cmp edi, 1
jbe 0x10120f4c
lea eax, [edi - 1]
push eax
lea eax, [esi + 2]
push eax
lea ecx, [ebx + 0x1c]
call fcn.10149ac2
jmp 0x10120f4c
cmp edi, 3
jbe 0x10120f41
cmp byte [esi], 0xef
jne 0x10120f41
cmp byte [esi + 1], 0xbb
jne 0x10120f41
cmp byte [esi + 2], 0xbf
jne 0x10120f41
lea eax, [edi - 3]
push eax
lea eax, [esi + 3]
push eax
push 0xfde9
jmp 0x10120f45
push edi
push esi
push 3
mov ecx, ebx
call fcn.10120dc5
push esi
call dword [sym.imp.kernel32.dll_UnmapViewOfFile]
lea ecx, [ebp - 0x1c]
call fcn.1003f382
lea ecx, [ebp - 0x20]
call fcn.1003f382
call fcn.10167370
ret
push ecx
mov edx, 0xb3
jmp 0x10120f77
push ecx
mov edx, 0x9a
mov ecx, dword [ebp + 4]
call fcn.10149ac2
push 0x800700df
lea ecx, [ebp - 0x14]
call fcn.10149ac2
push 0x10196090
mov eax, ecx
push eax
call sub.msvcrt.dll__CxxThrowException
int3

Function at 0x10149ac2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x10149ad1
pop dword [ebp - 0x38]
mov eax, 0x7ca34428
add eax, 0x937156a9
sub dword [ebp - 0x38], eax
push 0x40
push 0x1000
push 0x8c110
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x38]
call dword [eax]
mov ecx, 0x4c3e
xor ebx, ebx
add ebx, eax
mov edx, 0x58c36de5
add edx, 0xb766e21b
add edx, dword [ebp - 0x38]
mov edi, 0x1e3630a6
add edi, 0x8cd0f20f
xor dword [ebp - 0x34], 0x37decbfa
mov esi, dword [edx]
xor dword [ebp - 0x34], ebx
xor esi, edi
xor dword [ebp - 0x30], 0x3cfc045c
mov dword [ebx], esi
xor dword [ebp - 4], 0x2b6b5c25
add ebx, 0x882906c2
add ebx, 0x77d6f942
add edx, 0x8e7d7379
sub edx, 0x8e7d7375
loop 0x10149b27
add eax, 0xd93aff5b
sub eax, 0xd939db90
mov ebx, eax
add eax, 0xd084b1f7
sub eax, 0xd084b1f2
mov ecx, sym.PrintConfig.dll_Ordinal_276
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x402cbc
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x402cfb
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x402cfb
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x402cfb
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x402cfb
cmp dword [ecx + 0x74], 0xe
jbe 0x402cfb
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1000e6b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x139c
call fcn.10036670
mov eax, dword [0x10075054]
xor eax, esp
mov dword [esp + 0x1398], eax
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], 0x80000000
push 0x10077150
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], 0x7fffffff
call fcn.100106b0
mov ebx, eax
mov dword [esp + 0x10], ebx
test esi, esi
je 0x1000e700
mov ebx, dword [esi + 0xc]
jmp 0x1000e742
cmp byte [0x10075afd], 0
je 0x1000e746
cmp dword [0x10075b14], 0x10
mov edx, 0x10075b00
mov esi, dword [0x10075b10]
mov ebx, 0x811c9dc5
cmovae edx, dword [0x10075b00]
xor ecx, ecx
mov dword [esp + 0x10], ebx
test esi, esi
je 0x1000e746
movzx eax, byte [ecx + edx]
inc ecx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp ecx, esi
jb 0x1000e731
mov dword [esp + 0x10], ebx
push ebx
lea ecx, [esp + 0x1c]
call fcn.10010010
call fcn.1000e880
mov ebx, 3
mov edi, 0x10078ad0
lea esi, [ebx + 0x45]
lea ecx, [esp + 0x18]
call fcn.10011c70
mov ecx, eax
mov eax, 0x38e38e39
mul ecx
shr edx, 4
cmp edx, 0x38e38e3
jae 0x1000e762
xor edx, edx
mov eax, ecx
div esi
add edx, 0x80000003
lea eax, [edx + 0x7ffffffd]
lea esi, [edx*4 + 0x10078ac4]
cmp eax, 0x47
jbe 0x1000e7a2
mov esi, 0x10078adc
lea eax, [ebx - 3]
mov edx, 0x10078adc
cmp eax, 0x47
mov eax, dword [esi]
cmovbe edx, edi
add edi, 4
inc ebx
mov ecx, dword [edx]
mov dword [edx], eax
mov dword [esi], ecx
mov esi, 0x48
cmp edi, 0x10078bec
jle 0x1000e762
mov edi, 3
mov ebx, 0x10078ad0
cmp edi, 0x24
jl 0x1000e7ec
cmp edi, 0x32
jg 0x1000e7ec
lea ecx, [edi - 3]
cmp ecx, 0x47
jbe 0x1000e7f1
mov eax, 0x10078adc
jmp 0x1000e7f3
cmp edi, 0x42
jne 0x1000e84a
mov eax, ebx
cmp dword [eax], edi
je 0x1000e84a
mov esi, 3
mov eax, 0x10078ad0
lea ecx, [esi - 3]
mov edx, 0x10078adc
cmp ecx, 0x47
cmovbe edx, eax
cmp dword [edx], edi
je 0x1000e820
add eax, 4
inc esi
cmp eax, 0x10078bec
jle 0x1000e801
jmp 0x1000e84a
lea eax, [edi - 3]
mov edx, 0x10078adc
cmp eax, 0x47
cmovbe edx, ebx
add esi, 0xfffffffd
cmp esi, 0x47
lea esi, [esi*4 + 0x10078ad0]
jbe 0x1000e842
mov esi, 0x10078adc
mov ecx, dword [esi]
mov eax, dword [edx]
mov dword [esi], eax
mov dword [edx], ecx
add ebx, 4
inc edi
cmp ebx, 0x10078bec
jle 0x1000e7d3
mov ecx, dword [esp + 0x13a4]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
xor ecx, esp
mov dword [0x10075b84], eax
call fcn.100353f4
mov esp, ebp
pop ebp
ret

Function at 0x10010010
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push esi
push edi
mov dword [ecx + 0x1384], 0xffffffff
lea edi, [ecx + 8]
mov dword [ecx + 4], edx
mov esi, 1
nop dword [eax]
mov eax, edx
lea edi, [edi + 4]
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, esi
inc esi
mov dword [edi - 4], edx
cmp esi, 0x270
jb 0x10010030
pop edi
mov dword [ecx], 0x270
mov eax, ecx
pop esi
pop ebp
ret 4
Function at 0x100105f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, cl
xor edx, edx
shl eax, 2
mov dword [ebp - 0x18], edx
push esi
mov esi, dword [ebp + 8]
test eax, eax
jne 0x1001060d
xor al, al
jmp 0x10010629
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], eax
push ecx
push 0x40
push eax
push esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp - 0x18]
test eax, eax
setne al
mov byte [ebp - 0xc], al
mov esi, dword [esi]
test al, al
je 0x10010647
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 8]
push eax
push ecx
push dword [ebp - 0x14]
mov dword [ebp - 8], ecx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10010650
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
xor edx, edx
movzx eax, cl
mov dword [ebp - 0x18], edx
push esi
mov esi, dword [ebp + 8]
test cl, cl
jne 0x1001066b
xor al, al
jmp 0x10010687
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], eax
push ecx
push 0x40
push eax
push esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp - 0x18]
test eax, eax
setne al
mov byte [ebp - 0xc], al
mov bl, byte [esi]
test al, al
je 0x100106a5
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 8]
push eax
push ecx
push dword [ebp - 0x14]
mov dword [ebp - 8], ecx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10011ae0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov dword [ebp - 8], ecx
push edi
nop dword [eax]
mov edi, dword [ecx]
mov dword [ebp - 4], edi
mov eax, dword [edi]
cmp eax, 0x270
jne 0x10011b46
lea eax, [edi + 8]
mov esi, 0x270
mov edx, dword [eax - 4]
lea eax, [eax + 4]
xor edx, dword [eax - 4]
and edx, 0x7fffffff
xor edx, dword [eax - 8]
mov ecx, edx
and cl, 1
movzx ecx, cl
neg ecx
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [eax + 0x62c]
xor ecx, edx
mov dword [eax + 0x9b8], ecx
sub esi, 1
jne 0x10011b06
mov eax, dword [edi]
jmp 0x10011c28
cmp eax, 0x4e0
jb 0x10011c28
mov eax, dword [edi + 0x9c4]
lea ebx, [edi + 0x9c4]
mov edi, 0xe3
mov ecx, dword [ebx + 4]
lea edx, [ebx + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub edi, 1
jne 0x10011b62
mov ebx, dword [ebp - 4]
mov edi, 0x18c
add ebx, 0xd50
mov eax, dword [ebx]
nop dword [eax + eax]
mov ecx, eax
lea edx, [ebx + 4]
xor ecx, dword [edx]
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx - 0xd4c]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub edi, 1
jne 0x10011bb0
mov edi, dword [ebp - 4]
mov ecx, dword [edi + 0x1380]
xor ecx, dword [edi + 4]
and ecx, 0x7fffffff
xor ecx, dword [edi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x634]
xor eax, ecx
mov dword [edi + 0x9c0], eax
xor eax, eax
mov dword [edi], 0
mov edx, dword [edi + eax*4 + 4]
inc eax
mov dword [edi], eax
mov ecx, edx
mov eax, dword [edi + 0x1384]
shr ecx, 0xb
and eax, ecx
mov ecx, dword [ebp - 8]
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
cmp eax, dword [ecx + 8]
ja 0x10011af0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret