joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49ffb0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x290
mov eax, dword [0x4df210]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x84]
push edi
push 0x80
push 0
push eax
call fcn.004752d0
push 0x80
lea eax, [ebp - 0x84]
push eax
push esi
call fcn.0049f470
lea ecx, [ebp - 0x188]
mov edi, esi
mov eax, ecx
add esp, 0x18
mov edx, 0x104
sub edi, eax
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x4a001a
mov al, byte [edi + ecx]
test al, al
je 0x4a001a
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x4a0001
lea eax, [ecx - 1]
test edx, edx
cmovne eax, ecx
mov ecx, 0x104
mov byte [eax], 0
lea eax, [ebp - 0x188]
cmp byte [eax], 0
je 0x4a003b
inc eax
sub ecx, 1
jne 0x4a0030
mov edx, 0x104
mov edi, ecx
mov eax, edx
sub eax, ecx
neg edi
sbb edi, edi
and edi, eax
test ecx, ecx
je 0x4a0090
lea ecx, [ebp - 0x188]
lea ecx, [ecx + edi]
sub edx, edi
je 0x4a0085
lea edi, [ebp - 0x84]
mov eax, SysReAllocString
sub edi, ecx
push ebx
nop dword [eax + eax]
test eax, eax
je 0x4a0084
mov bl, byte [edi + ecx]
test bl, bl
je 0x4a0084
mov byte [ecx], bl
dec eax
inc ecx
sub edx, 1
jne 0x4a0070
pop ebx
test edx, edx
lea eax, [ecx - 1]
cmovne eax, ecx
mov byte [eax], 0
push 0x100
lea eax, [ebp - 0x288]
mov dword [ebp - 0x290], 1
push 0
push eax
call fcn.004752d0
add esp, 0xc
mov dword [ebp - 0x28c], 0x100
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x290]
push eax
push 0x4caabc
push str.SoftwareComMaster
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueA]
test eax, eax
jne 0x4a014a
lea eax, [ebp - 0x288]
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x4a0114
test cl, cl
je 0x4a0110
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x4a0114
add eax, 2
add esi, 2
test cl, cl
jne 0x4a00f4
xor eax, eax
jmp 0x4a0119
sbb eax, eax
or eax, 1
test eax, eax
je 0x4a014a
lea ecx, [ebp - 0x288]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a0126
sub ecx, edx
lea eax, [ebp - 0x288]
push ecx
push eax
push 1
push str.mid_old
push str.SoftwareComMaster
push reloc.OLEAUT32.dll_SysReAllocString
call edi
lea ecx, [ebp - 0x188]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a0153
sub ecx, edx
lea eax, [ebp - 0x188]
push ecx
push eax
push 1
push 0x4caabc
push str.SoftwareComMaster
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00436365
mov esp, ebp
pop ebp
ret
Function at 0x4a1930
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aa8bb
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
push ebx
push esi
push edi
mov eax, dword [0x4df210]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
lea esi, [ebx + 0x14]
push 0x20000
push 0
push esi
call fcn.004752d0
add esp, 0xc
lea eax, [ebx + 0x20014]
push 0
push eax
push 0x20000
push esi
push dword [ebx + 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4a1afa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x10], esi
test eax, eax
je 0x4a1ab7
cmp eax, 0xffffffff
je 0x4a1ab7
call fcn.004384b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4a1ab7
cmp dword [ebx + 0x2005c], 8
lea eax, [ebx + 0x20048]
mov dword [ebp - 0x14], eax
jb 0x4a19e5
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
push 0x61
push str.d:jenkins.jenkinsworkspacelib_commonlds_rpclds_rpc_src_rpc_instance_rpc_client_instance.cpp
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.00409ef0
push 3
push 0x4b2be4
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.00409ef0
mov byte [ebp - 4], 1
call fcn.004384b0
mov edi, eax
lea ecx, [ebp - 0xdc]
push 0x95
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004054a0
mov esi, eax
push str.RecvData_failed__error_code_:
push esi
mov byte [ebp - 4], 2
call fcn.004063d0
add esp, 8
mov ecx, esi
push dword [ebp - 0x10]
call fcn.00406230
push str.__channel_name:
push esi
call fcn.004063d0
mov ecx, dword [ebp - 0x14]
mov eax, 0x4b29ec
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.00404760
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xdc]
call fcn.00406630
lea ecx, [ebp - 0x2c]
call fcn.00405e10
lea ecx, [ebp - 0x44]
call fcn.00405e10
mov esi, dword [ebp - 0x10]
mov dword [ebx + 0xc], 6
cmp esi, 0xe8
je 0x4a1ad8
cmp esi, 0xe9
je 0x4a1ad8
cmp esi, 0x6d
je 0x4a1ad8
cmp esi, 6
jne 0x4a1b2e
mov dword [ebx + 0xc], 7
mov dword [ebx + 0x10], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi + 4]
lea ecx, [edi + 4]
mov dword [ecx + 4], eax
mov dword [edi + 0x10], 0
mov eax, dword [ebx + 0x20014]
test eax, eax
je 0x4a1b27
test esi, esi
je 0x4a1b27
push dword [ebp - 0x10]
add eax, esi
push eax
push esi
push dword [ecx + 4]
call fcn.00443de0
mov dword [edi + 0x10], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x102b2cc0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x102c54a8], 0
mov byte [0x102c54ac], 0
mov dword [0x102c549c], 0x25ec
mov dword [0x102c54a4], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov dword [0x102c54a0], 0xaf6
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x102c54a0]
mov esi, eax
add esi, 0xffffe4f3
mov dword [0x102c549c], esi
mov esi, dword [0x102c54a4]
add esi, 1
mov dword [0x102c54a4], esi
cmp esi, 0x100
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], eax
jl 0x102b2d05
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov dword [0x102c54a4], 0
mov edx, eax
add edx, 0xffffd26b
add eax, 0x2417
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov esi, 0x1b14
mov edi, 0xfffff02c
mov ebx, 0x100
mov dword [0x102c54b0], 0
mov dword [0x102c549c], eax
mov eax, dword [0x102c54a8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + ecx]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x30]
add eax, ecx
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, ecx
xor ecx, ecx
mov dword [ebp - 0x3c], edx
mov edx, ecx
mov ecx, dword [ebp - 0x10]
div ecx
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + edx]
mov ecx, dword [ebp - 0x38]
add ecx, edx
mov dword [0x102c54b0], ecx
mov eax, ecx
cdq
idiv ebx
mov dword [0x102c54a8], edx
mov dword [0x102c549c], 0x1802
mov ecx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x34]
mov cl, byte [ecx + ebx]
mov byte [0x102c54ac], cl
mov ecx, dword [ebp - 0x3c]
mov dword [0x102c549c], ecx
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + ebx], cl
mov cl, byte [0x102c54ac]
mov edx, dword [0x102c54a8]
mov ebx, dword [ebp - 0x18]
mov byte [ebx + edx], cl
mov dword [0x102c549c], 0x2b4
mov dword [0x102c54a0], 0xfffff6fd
mov edx, dword [0x102c54a4]
add edx, 1
mov dword [0x102c54a4], edx
cmp edx, 0x100
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x2c], edi
jl 0x102b2d74
mov dword [0x102c549c], 0xffffeb3b
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x102b2f00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x102c54a4], 0
mov dword [0x102c54a8], 0
mov dword [0x102c54b4], 0
mov edi, dword [0x102c549c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
mov eax, dword [ebp - 0x20]
add eax, 0x3c3
mov dword [0x102c549c], eax
mov dword [0x102c54a0], 0x5f1
mov eax, dword [ebp - 0x10]
cmp eax, 0
je 0x102b30e6
jmp 0x102b2f92
mov eax, dword [0x102c54a4]
mov dword [ebp - 0x24], eax
mov eax, dword [0x102c54a8]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edx
jmp 0x102b2fa3
jmp 0x102b30e6
xor eax, eax
mov ecx, eax
mov edx, eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x34], eax
jmp 0x102b2fa3
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov esi, 0x100
mov dword [0x102c54a0], 0x1cfd
add ecx, 1
mov dword [ebp - 0x38], eax
mov eax, ecx
mov dword [ebp - 0x3c], edx
cdq
idiv esi
mov dword [0x102c54a4], edx
mov dword [0x102c549c], 0x18db
mov ecx, dword [ebp - 0x1c]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x3c]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x40], edx
cdq
idiv esi
mov dword [0x102c54a8], edx
mov dword [0x102c54a0], 0x198a
mov esi, dword [ebp - 0x40]
mov cl, byte [ecx + esi]
mov byte [0x102c54ac], cl
mov dword [0x102c549c], 0x13a5
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov dword [0x102c54a0], 0x1ce8
mov dword [0x102c549c], 0x15f
mov cl, byte [0x102c54ac]
mov edx, dword [0x102c54a8]
mov byte [edi + edx], cl
mov edx, dword [0x102c549c]
add edx, 0xffffedd6
mov dword [0x102c549c], edx
mov edx, dword [0x102c54a4]
movzx edx, byte [edi + edx]
mov ebx, dword [0x102c54a8]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x102c54b4], ebx
mov dword [0x102c549c], 0x2cc
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x38]
mov ch, byte [edx + ebx]
mov edx, dword [0x102c54a0]
mov bl, cl
add bl, byte [0x102c54b9]
mov byte [0x102c54b8], bl
mov byte [0x102c54b9], ch
mov byte [0x102c54ba], cl
xor ch, cl
add edx, 0xffffee6e
mov dword [0x102c54a0], edx
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x38]
mov byte [edx + esi], ch
mov dword [0x102c549c], 0x13c3
add esi, 1
mov edx, dword [ebp - 0x10]
cmp esi, edx
mov dword [ebp - 0x28], esi
je 0x102b2f8d
jmp 0x102b2f6f
mov dword [0x102c549c], 0xb60
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x102b38e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x58
mov eax, dword [ebp + 8]
mov dword [0x102c54a0], 0x1626
mov ecx, dword [0x102c549c]
add ecx, 0x31
mov dword [0x102c549c], ecx
mov dword [ebp - 0x10], eax
call fcn.102b32b0
mov ecx, eax
mov eax, dword [eax + 0x3c]
mov dword [0x102c549c], 0xd6b
add eax, 0x78
mov edx, ecx
add edx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov dword [0x102c549c], 0x12
mov esi, dword [ebp - 0x14]
add esi, dword [esi + edx + 0x20]
mov edi, dword [ebp - 0x14]
mov ebx, dword [edi + edx + 0x24]
mov dword [0x102c54a0], 0x40a
mov ecx, dword [edi + edx + 0x18]
cmp ecx, 0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], eax
je 0x102b3a8c
jmp 0x102b3994
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], edx
jmp 0x102b39ac
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
add eax, ecx
mov dword [ebp - 0x48], eax
xor eax, eax
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], eax
jmp 0x102b3978
mov eax, dword [ebp - 0x44]
mov ecx, eax
mov edx, dword [ebp - 0x40]
add ecx, edx
mov esi, dword [ebp - 0x14]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov bl, cl
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x4d], bh
mov byte [ebp - 0x4e], cl
mov byte [ebp - 0x4f], bl
je 0x102b3a19
mov eax, dword [ebp - 0x4c]
add eax, 1
mov cl, byte [ebp - 0x4d]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x4e]
and ch, dl
cmp eax, 0x20
setb dl
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x55], ch
mov byte [ebp - 0x56], dl
mov al, byte [ebp - 0x55]
mov cl, byte [ebp - 0x56]
and al, cl
test al, 1
mov edx, dword [ebp - 0x54]
mov al, byte [ebp - 0x4e]
mov dword [ebp - 0x44], edx
mov byte [ebp - 0x4f], al
jne 0x102b39ac
mov al, byte [ebp - 0x4f]
test al, 1
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x5c], ecx
jne 0x102b3a56
mov eax, dword [ebp - 0x3c]
add eax, 2
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x64], ecx
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x20]
cmp eax, ecx
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], edx
jb 0x102b3978
jmp 0x102b3a85
mov eax, dword [ebp - 0x5c]
movzx eax, word [eax]
mov dword [0x102c54a0], 0x182a
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x1c]
mov esi, dword [ebp - 0x14]
add esi, dword [ecx + eax*4]
mov dword [0x102c549c], 0x274
mov dword [ebp - 0x2c], esi
jmp 0x102b3a8c
xor eax, eax
mov dword [ebp - 0x2c], eax
jmp 0x102b3a8c
mov eax, dword [ebp - 0x2c]
add esp, 0x58
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x102b3aa0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov eax, dword [0x102c54a0]
add eax, 0x1c78
mov dword [0x102c54a0], eax
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov dword [0x102c54a0], 0x19
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
je 0x102b3b10
mov eax, dword [ebp - 0x14]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], eax
jl 0x102b3ae3
mov eax, dword [ebp - 0x18]
mov dword [0x102c54a0], 0x56e
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x1c], eax
jne 0x102b3bd4
mov dword [0x102c549c], 0x582
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff4
shl eax, 1
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
cmp word [eax], 0x6f
jne 0x102b3bd4
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x102b3bd4
mov dword [0x102c549c], 0x7df
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x102b3bd4
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x102b3bd4
mov dword [0x102c549c], 0x91c
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x102b3bd4
mov dword [0x102c54a0], 0x153e
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0xe], 0x6c
jne 0x102b3bd4
mov eax, 1
mov dword [0x102c54a0], 0x190e
mov dword [ebp - 0x24], eax
jmp 0x102b3be3
xor eax, eax
mov dword [0x102c549c], 0x10e3
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
add esp, 0x24
pop ebp
ret
Function at 0x102b44d0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x98
mov dword [0x102c549c], 0x1594
call fcn.10001090
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x2c], ecx
jne 0x102b4673
lea eax, [esp + 0x30]
mov dword [0x102c54a0], 0x1aa1
mov dword [0x102c549c], 0x17ad
mov dword [esp + 0x28], eax
call fcn.102b3aa0
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
jne 0x102b466b
lea eax, [esp + 0x88]
mov dword [esp], eax
call fcn.102b3cd0
lea ecx, [0x102b29b0]
mov edx, dword [esp + 0x88]
mov dword [esp + 0x80], edx
mov dword [0x102c54a0], 0x1364
mov dword [esp + 0x44], 0x12aa00
mov edx, dword [0x102c5488]
mov dword [esp + 0x64], edx
mov edx, dword [0x102c548c]
mov dword [esp + 0x50], edx
mov edx, dword [0x102c5490]
mov dword [esp + 0x84], edx
mov edx, dword [0x102c5494]
mov dword [esp + 0x5c], edx
mov edx, dword [0x102c5498]
mov dword [esp + 0x34], edx
mov dword [0x102c549c], 0x423
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x18], eax
jne 0x102b45e6
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3c]
add eax, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
cmp dword [eax], 0x4550
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
je 0x102b45fa
mov eax, dword [esp + 0x18]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x1c], eax
jmp 0x102b45aa
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x30]
mov dword [esp + 0x4c], eax
mov dword [0x102c54a0], 0x2099
mov eax, dword [eax + ecx + 0x50]
mov dword [esp + 0x78], eax
mov dword [0x102c549c], 0xa15
mov eax, dword [esp + 0x90]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.102b3610
mov ecx, dword [0x102c549c]
add ecx, 0xbd7
mov dword [0x102c549c], ecx
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [0x102c549c], 0x1824
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
mov esp, ebp
pop ebp
ret
Function at 0x405e90
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x405ece
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x405ec6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x405ed0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x405eb6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x405fb0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x405fe1
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x405fe1
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x405fe1
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x503b67
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x5032dd
mov dword [0x50521c], 2
jmp 0x503b97
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x504088
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c6a
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503c97
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c6a
mov eax, dword [0x505250]
jmp 0x503ca4
call 0x502b16
ret
Function at 0x474e69
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x474e97
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x474eb5
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00474dd3
jmp 0x474eb5
mov eax, dword [esi + 0x14]
test eax, eax
je 0x474eb5
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00474dd3
test edi, edi
mov eax, edi
jne 0x474e9f
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x4bea44]
test ecx, ecx
je 0x474f68
jmp 0x474e68
ret 8

Function at 0x48c630
Capabilities:
Encode data using xor

Disassembly:
pop eax
adc al, 0x75
sbb dh, byte [ebx - 0x5edd81b6]
retf
je 0x48c59a
or byte [edi + 0x12], 0x9b
mov dh, 0x98
iretd
lodsb al, byte [esi]
cmpsb byte [esi], byte es:[edi]
jl 0x48c5c3
salc
adc dword [esi], ebx
sar dword [ecx - 0x34], 1
cmp eax, 0x6892aca
lodsb al, byte es:[esi]
mul dword [edi + 0x7a9e2a01]
mov esi, 0x7787a596
jb 0x48c678
setge byte [eax - 0x37bc70a9]
pop ebx
hlt
enter 0xfffffffffffff45b, 0xfffffffffffffffe
push eax
fcmovne st(0), st(7)
cwde
je 0x48c697
aam 0x16
sub ebx, edi
sbb eax, 0x5e32278e
add byte [edx], 0xd
bound esp, qword [ecx + esi*2 + 0x2d]
loopne 0x48c60c
mov ecx, 0xce0036ec
inc edi
salc
invalid
enter 0xffffffffffff85f8, 0xffffffffffffff90
xor al, 0xa7
inc eax
invalid
adc al, 0x93
sub byte [ecx + 0x63034fe2], dl
pop ds
shr esp, cl
in al, dx
inc edi
fistp dword [ecx + 0x5b1bac05]
test byte fs:[ecx], al
jno 0x48c679
mov ah, 0xa8
and eax, 0xeb7c4254
neg dl
jp 0x48c66f
fbstp tbyte [eax]
inc edi
inc eax
jo 0x48c656
pop ebx
push edi
aam 0x7c
push es
xor eax, 0x92b3b27b
sar dword [ecx + 0x36], 0xba
mov ecx, 0xbf40a7e9
xor dword [edx + 0x7731128], eax
xchg ebp, eax
push ss
dec ebp
lds ebx, [ebx - 0x568b1dfc]
pop esi
cwde
dec ebx
push es
and al, 0xbc
movsb byte es:[edi], byte [esi]
and cl, byte [eax]
sbb bl, byte [esp + edi*4 + 0x50d13af]
stosd dword es:[edi], eax
sti
fcom dword [ebp + 0x28]
invalid