joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d268
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48aca8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x44d2a1
inc eax
mov dword [esi + 0x10], eax
jmp 0x44d3b4
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x44d2b5
mov eax, 0xffffffc7
jmp 0x44d3b6
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x44d2c6
cmp dword [esi + 8], eax
jne 0x44d2b5
cmp dword [esi + 8], eax
jne 0x44d2df
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x44d2df
mov eax, 0xffffffc7
jmp 0x44d3b6
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x44d2f3
push eax
mov ecx, ebx
call fcn.0044ca98
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00418a28
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x44d324
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00418a48
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.0044c208
test eax, eax
mov dword [esp + 0x38], eax
je 0x44d357
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x5600a8
call fcn.00418c28
mov eax, dword [esp + 0x38]
jmp 0x44d3b6
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.0044d0c8
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x44d39b
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.0044d0e8
mov esi, eax
test esi, esi
jne 0x44d3cb
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.0044d0c8
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x44d36d
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x5600a8
call fcn.00418c28
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x5600a8
call fcn.00418c28
mov eax, esi
jmp 0x44d3b6
Function at 0x452eac
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x58f4c8]
xor edx, edx
cmp eax, edx
jne 0x452ed2
xor eax, eax
mov byte [eax + 0x58f3c8], al
inc eax
cmp eax, 0x100
jl 0x452eba
mov dword [0x58f4c8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x58f3c8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x452f63
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x452f36
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x452f04
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x452fdc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x45302f
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x453016
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4552b8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add dword [esp + eax], eax
add al, 4
add al, byte [ebx]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x45afbc
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x489c48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x44]
mov edx, dword [edi]
add edx, 0x18
mov eax, edx
mov dword [edi], edx
push eax
call fcn.0048753c
mov ebx, dword [edi]
add ebx, eax
mov eax, ebx
mov dword [edi], ebx
push eax
call fcn.0048753c
mov ecx, dword [edi]
add ecx, eax
mov eax, ecx
mov dword [edi], ecx
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
lea esi, [eax + 0xc]
mov eax, dword [0x58f510]
push esi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], eax
mov dword [edi], esi
call fcn.0048753c
mov edx, dword [edi]
mov ebp, dword [esp + 0x58]
add eax, 4
add esp, 0xc
add edx, eax
mov eax, edx
mov dword [edi], edx
test ebp, ebp
mov dword [esp + 0x18], eax
jne 0x45b056
mov ecx, dword [esp + 0x40]
test ecx, ecx
jne 0x45b050
add eax, 4
mov dword [esp + 0x18], eax
mov dword [eax], 0
mov ebx, dword [edi]
add ebx, 0x14
mov dword [edi], ebx
mov ebx, dword [esp + 0x48]
mov edx, dword [ebx]
dec edx
mov dword [ebx], edx
mov ecx, dword [0x58f510]
inc ecx
mov dword [0x58f510], ecx
mov ecx, dword [0x57edd4]
mov dword [esp + 0x44], ecx
test ebp, ebp
mov dword [esp + 0x38], 0
jne 0x45b11f
mov eax, dword [esp + 0x40]
test eax, eax
je 0x45b11f
test byte [esp + 0x14], 1
je 0x45b11f
cmp dword [ebx], 0
jle 0x45b0f9
mov esi, dword [edi]
add esi, 0x18
push esi
call fcn.0048753c
add esi, eax
push esi
call fcn.0048753c
mov edx, dword [esp + 0x24]
add esi, eax
add esp, 8
cmp dword [esi + 4], edx
jle 0x45b0f9
add esi, 0xc
push esi
call fcn.0048753c
lea eax, [esi + eax + 4]
add esp, 4
mov dword [eax], 0
add eax, 0x14
mov dword [edi], eax
mov edx, dword [ebx]
dec edx
mov dword [ebx], edx
mov ecx, dword [0x58f510]
inc ecx
mov dword [0x58f510], ecx
mov eax, dword [ebx]
test eax, eax
jg 0x45b0a5
test ebp, ebp
mov dword [esp + 0x10], 0x10
jne 0x45b13a
test byte [esp + 0x14], 2
je 0x45b13a
mov dword [esp + 0x10], 0x11
call dword [0x48e554]
test ebp, ebp
mov dword [esp + 0x48], eax
jne 0x45b14e
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
cmp dword [ebx], 0
jle 0x45b345
Function at 0x45fe78
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x48b2d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [0x48e424]
push 0
lea ecx, [esp + 0x20]
call 0x4a2fae
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0045f818
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call 0x4a2edc
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call 0x49f717
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call 0x49f717
push 1
push 0
push 0
mov ecx, esi
call 0x49f6bf
push 1
push 0
push 1
mov ecx, esi
call 0x49f6bf
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call 0x4a3020
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x45fff8
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x48b2f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call 0x4a2fae
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0045f818
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call 0x4a2edc
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [0x48e424]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x4600bc
cmp dword [esp + 0x40], 1
jne 0x4600ba
cmp ecx, eax
jge 0x4600bc
mov eax, ecx
cmp eax, 0xc8
jge 0x4600c8
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0045fe78
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [0x48e428]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call 0x4a3020
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x462450
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x4625e8
cmp ebp, ebx
jle 0x4625e8
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x4624ae
dec eax
or eax, 0xfffffff8
inc eax
je 0x4624b5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, 0x80000001
jns 0x4624c4
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x4624cb
inc edi
mov dword [esp + 0x10], edi
push 0x18
call 0x4b59cf
add esp, 4
cmp eax, ebx
je 0x4624ec
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call 0x4b59cf
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x4625de
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x4625c5
mov al, byte [edx]
cmp al, 0xc0
jbe 0x4625b1
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x4625a6
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x4625b4
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x4625b4
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x462550
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x462541
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x47a9a8
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48bb86
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ecx, [esi + 0x14]
call 0x4a213f
mov eax, dword [0x57edd4]
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [esi + 0x48], eax
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
cmp ebx, edi
mov byte [esp + 0x18], 1
mov dword [esi], 0x564764
mov dword [esi + 4], edi
mov dword [esi + 8], ecx
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
je 0x47aa1c
push ebx
call dword [0x48e324]
inc eax
push eax
call 0x4a2ff7
add esp, 4
mov dword [esi + 4], eax
push ebx
push eax
call dword [0x48e3ac]
mov ecx, dword [esp + 0x10]
or eax, 0xffffffff
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x4c], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x481c10
Capabilities:
Access peb ldr_data

Disassembly:
add byte [eax], al
add bh, bh
adc eax, 0x48e424

Function at 0x484758
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48c488
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
mov ebx, dword [esp + 0x68]
push ebp
push edi
mov ebp, ecx
push ebx
call fcn.00485098
test eax, eax
jne 0x484797
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret 8
mov edi, dword [esp + 0x74]
mov ecx, ebp
push edi
call fcn.00485098
test eax, eax
jne 0x4847bb
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret 8
cmp ebx, edi
jne 0x4847d8
pop edi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret 8
mov eax, dword [ebp + 0x90]
push esi
mov esi, ebx
shl esi, 4
mov dword [esp + 0x10], esi
add esi, eax
mov ecx, esi
mov al, byte [esi]
mov byte [esp + 0x34], al

Function at 0x4847f2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
call fcn.0048b448
test eax, eax
jge 0x4847fd
xor eax, eax
lea ecx, [eax*4]
push ecx
call 0x4a2ff7
add esp, 4
mov dword [esp + 0x38], eax
mov ecx, dword [esi + 8]
mov esi, dword [esi + 4]
push eax
push ecx
push esi
lea ecx, [esp + 0x40]
call fcn.00483248
and eax, 0x89ffffea
inc esp
and al, 0x3c

Function at 0x48481f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
and eax, 0x89ffffea
inc esp
and al, 0x3c
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x90]
add byte [ebx + 0x4e6c1f7], cl
mov dword [esp + 0x74], esi
add esi, eax
mov ecx, esi
mov dword [esp + 0x6c], 0
mov dl, byte [esi]
mov byte [esp + 0x14], dl
and al, 0x14
Function at 0x484830
Capabilities:
Resolve function by parsing pe exports

Disassembly:
and eax, 0x89ffffea
inc esp
and al, 0x3c
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x90]
add byte [ebx + 0x4e6c1f7], cl
mov dword [esp + 0x74], esi
add esi, eax
mov ecx, esi
mov dword [esp + 0x6c], 0
mov dl, byte [esi]
mov byte [esp + 0x14], dl
and al, 0x14

Function at 0x48484a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
and al, 0x14
call fcn.0048b448
test eax, eax
jge 0x484857
xor eax, eax
shl eax, 2
push eax
call 0x4a2ff7
add esp, 4
mov dword [esp + 0x18], eax
mov ecx, dword [esi + 8]
mov esi, dword [esi + 4]
push eax
push ecx
push esi
lea ecx, [esp + 0x20]
call fcn.00483248
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x70]
mov byte [esp + 0x6c], 1
mov esi, eax
imul eax, edi
imul esi, ebx
add eax, 2
add esi, 2
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x38]
xor ebx, ebx

Function at 0x48484e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
and al, 0x14
call fcn.0048b448
test eax, eax
jge 0x484857
xor eax, eax
shl eax, 2
push eax
call 0x4a2ff7
add esp, 4
mov dword [esp + 0x18], eax
mov ecx, dword [esi + 8]
mov esi, dword [esi + 4]
push eax
push ecx
push esi
lea ecx, [esp + 0x20]
call fcn.00483248
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x70]
mov byte [esp + 0x6c], 1
mov esi, eax
imul eax, edi
imul esi, ebx
add eax, 2
add esi, 2
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x38]
xor ebx, ebx

Function at 0x4848c6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test eax, eax
je 0x4848f5
mov ecx, dword [esp + 0x3c]
sub ecx, eax
sar ecx, 2
cmp ebx, ecx
jae 0x4848f5
mov edx, dword [eax + ebx*4]
mov ecx, dword [ebp + 0x40]
mov edi, dword [ecx + edx*4]
test edi, edi
je 0x4848f2
call fcn.0048a718
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
sub eax, edx
mov edx, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x48]
sub ecx, eax
push ecx
push edx
push eax
mov ecx, edi
call fcn.0048a7e8
mov eax, dword [esp + 0x38]
inc ebx
jmp 0x4848a1
mov eax, dword [esp + 0x18]
xor ebx, ebx
test eax, eax
je 0x48494b
dec esp
mov ecx, dword [esp + 0x1c]
sub ecx, eax
sar ecx, 2
cmp ebx, ecx
jae 0x48494b
mov edx, dword [eax + ebx*4]
mov ecx, dword [ebp + 0x40]
mov edi, dword [ecx + edx*4]
test edi, edi
je 0x484948
lea edx, [esp + 0x54]
mov ecx, edi
push edx
call fcn.0048a718
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
sub eax, edx
push eax
mov eax, dword [esp + 0x58]
and al, 0x58
sub ecx, eax
push ecx
push esi
push eax
mov ecx, edi
call fcn.0048a7e8
mov eax, dword [esp + 0x18]
inc ebx
jmp 0x4848fb
mov esi, dword [ebp + 0x90]
mov ebx, dword [esp + 0x10]
mov dl, byte [ebx + esi]
lea edi, [ebx + esi + 4]
mov byte [esp + 0x24], dl
mov ecx, dword [edi]
test ecx, ecx

Function at 0x485c68
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x28
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
cmp dword [esi + 0x78], ebp
je 0x485e25
invalid
push ebx
mov dword [esp + 0x18], ebp
Function at 0x403e60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x403e6f
pop dword [ebp - 0x40]
mov eax, 0x403e6f
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x78ebaeb6
add dword [ebp - 0x50], 0xd5669695
mov dword [ebp - 0x4c], 0x27762c11
sub dword [ebp - 0x4c], 0xf542dfcc
mov dword [ebp - 0x48], 0x2e33c831
sub dword [ebp - 0x48], 0xe1e78403
mov dword [ebp - 0x44], 0xba0dde86
add dword [ebp - 0x44], 0x45f2217a
lea eax, [ebp - 0x50]
push eax
mov eax, 0x7182b753
sub eax, 0x71422737
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0x18dee71
add dword [ebp - 0x50], 0x72e47ae5
mov dword [ebp - 0x4c], 0xf52bea23
add dword [ebp - 0x4c], 0x4c407752
mov dword [ebp - 0x48], 0xe889eee3
sub dword [ebp - 0x48], 0x851a8277
mov dword [ebp - 0x44], 0x8962d860
sub dword [ebp - 0x44], 0x8962d860
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0x6472eebe
add eax, 0x9bcda15a
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x381f8
push 0
call eax
mov ecx, 0x3d4f
mov esi, eax
mov edx, 0xcc3a1b33
sub edx, 0xcbf94333
add edx, dword [ebp - 0x40]
mov edi, 0x659ba641
add edi, 0xb927a913
sub dword [ebp - 0x30], 0x75230e6d
mov ebx, dword [edx]
xor ebx, edi
add dword [ebp - 4], 0x8ccea747
mov dword [esi], ebx
add esi, 4
add edx, 4
loop 0x403f86
add eax, 0x772687ad
add eax, 0x88da6062
xor ebx, ebx
add ebx, eax
add eax, 0x56a3c364
sub eax, 0x56a3c35f
mov ecx, 0x7a22bfe8
sub ecx, 0x79e2bfe8
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0x40656e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40b018]
jne 0x406578
repz ret
jmp fcn.004069b9
Function at 0x401070
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call dword [sym.imp.KERNEL32.dll_AllocConsole]
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [ebp - 8], eax
push 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.MSVCRT.dll_strlen
add esp, 4
push eax
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea ecx, [ebp - 4]
push ecx
push 1
push 0x40d044
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esp, ebp
pop ebp
ret

Function at 0x401db0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push str.digitalInputmethod_mutex
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [0x40d9e4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x401e01
push 0
push str.MyInputCls_lrsrf
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 0x28], eax
push 0
push 0
push 0x6f4
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
xor eax, eax
jmp 0x401e9f
lea ecx, [ebp - 4]
call fcn.00406f45
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 4]
call fcn.00406f9f
test eax, eax
jne 0x401e31
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 4]
call fcn.00406f53
mov eax, dword [ebp - 0x2c]
jmp 0x401e9f
mov eax, dword [ebp - 4]
push eax
mov ecx, 0x40d9e8
call fcn.004028dd
push 0x6d
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
mov dword [ebp - 0x24], eax
push 0
push 0
push 0
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x401e8e
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
test eax, eax
jne 0x401e8c
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x401e4e
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x30], edx
lea ecx, [ebp - 4]
call fcn.00406f53
mov eax, dword [ebp - 0x30]
mov esp, ebp
pop ebp
ret 0x10