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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ecx
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push edi
mov edi, dword [ebp + 8]
test ecx, ecx
je 0x425f30
test eax, eax
jne 0x425d8a
xor eax, eax
mov byte [ebx + 0x24], 1
push ebx
push eax
push eax
push eax
mov dword [ebx + 0x20], eax
push eax
mov byte [ebx + 0x1c], 1
push eax
mov dword [ebx + 0x18], 0x16
call fcn.0041a12e
add esp, 0x18
or eax, 0xffffffff
jmp 0x425f32
mov eax, edi
mov esi, edi
and eax, 0x3f
sar esi, 6
imul edx, eax, 0x38
mov dword [ebp - 0x10], esi
mov eax, dword [esi*4 + 0x4436b0]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x14], edx
mov al, byte [edx + eax + 0x29]
mov byte [ebp - 1], al
cmp al, 2
je 0x425db6
cmp al, 1
jne 0x425dbe
mov eax, ecx
not eax
test al, 1
je 0x425d60
mov eax, dword [ebp - 0x30]
xor esi, esi
test byte [edx + eax + 0x28], 0x20
je 0x425dd8
push ebx
push 2
push esi
push esi
push edi
call fcn.004286c2
add esp, 0x14
push ebx
push edi
call fcn.004258bb
pop ecx
pop ecx
test al, al
je 0x425e25
mov al, byte [ebp - 1]
test al, al
je 0x425e0f
dec al
cmp al, 1
ja 0x425ef8
push dword [ebp - 0xc]
lea eax, [ebp - 0x2c]
push dword [ebp - 8]
push eax
call fcn.00425853
add esp, 0xc
mov esi, eax
jmp 0x425eb6
push ebx
push dword [ebp - 0xc]
lea eax, [ebp - 0x2c]
push dword [ebp - 8]
push edi
push eax
call fcn.00425481
add esp, 0x14
jmp 0x425e08
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax*4 + 0x4436b0]
mov eax, dword [ebp - 0x14]
cmp byte [eax + ecx + 0x28], 0
jge 0x425e88
movsx eax, byte [ebp - 1]
sub eax, esi
je 0x425e76
sub eax, 1
je 0x425e64
sub eax, 1
jne 0x425ef8
push dword [ebp - 0xc]
lea eax, [ebp - 0x2c]
push dword [ebp - 8]
push edi
push eax
call fcn.00425a14
add esp, 0x10
jmp 0x425e08
push dword [ebp - 0xc]
lea eax, [ebp - 0x2c]
push dword [ebp - 8]
push edi
push eax
call fcn.00425afd
jmp 0x425e5f
push dword [ebp - 0xc]
lea eax, [ebp - 0x2c]
push dword [ebp - 8]
push edi
push eax
call fcn.00425939
jmp 0x425e5f
mov ecx, dword [eax + ecx + 0x18]
lea edi, [ebp - 0x2c]
xor eax, eax
stosd dword es:[edi], eax
push esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0xc]
push dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x425eb3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2c], eax
lea esi, [ebp - 0x2c]
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x425f2b
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x425ef6
push 5
pop ecx
cmp eax, ecx
jne 0x425ee8
mov byte [ebx + 0x1c], 1
mov dword [ebx + 0x18], 9
mov byte [ebx + 0x24], 1
or al, 0x8b
jge 0x425ef4
inc ebp
cld
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret
Function at 0x4261c9
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.00425f6f
out dx, eax
insd dword es:[edi], dx
mov ah, 0x84
lea eax, [ebp - 0x58]
push eax
call fcn.00425f7f
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.00425f34
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x42625d
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67

Function at 0x426385
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00425f7f
call dword [eax + 0x56]

Function at 0x426454
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.00425f6f
dec edx
jge 0x42641a
ror byte [ebp - 0x837b], 1
call dword [eax - 0x18]
sbb al, 0xfb
invalid

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

Disassembly:
and edx, dword [ebp + ebp*4 + 0x30a16445]
add byte [eax], al
add byte [ebx + 0x708b0c40], cl
sbb al, 0xad
Function at 0x42815d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add byte [eax], al
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x1c]
lodsd eax, dword [esi]
cmp byte [eax + 0x1c], 0x18
je 0x428133
xchg esi, eax
lodsd eax, dword [esi]
mov eax, dword [eax + 8]
push eax
call fcn.00425f6f
or esi, dword [edi - 0x7744583]
mov eax, dword [edi + 0x3c]
mov edx, dword [edi + eax + 0x78]
add edx, edi
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x20]
add ebx, edi
call fcn.00425f6f
aad 0x68
and edi, eax
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edi
mov eax, 0x50746547
cmp dword [esi], eax
jne 0x42815c
mov eax, 0x41636f72
cmp dword [esi + 4], eax
jne 0x42815c
call fcn.00425f6f
adc al, 0x30
jle 0x428122
mov ebx, dword [edx + 0x24]
add ebx, edi
mov cx, word [ebx + ecx*2]
mov ebx, dword [edx + 0x1c]
add ebx, edi
mov eax, dword [ebx + ecx*4]
add eax, edi
push eax
call fcn.00425f6f
int3
Function at 0x401434
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x401443
pop dword [ebp - 0x28]
mov eax, 0x8958518c
add eax, 0x76e7c2b7
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x4a8f05a4
sub dword [ebp - 0x38], 0xfc3cc059
mov dword [ebp - 0x34], 0x9047ac00
add dword [ebp - 0x34], 0xa1eba045
mov dword [ebp - 0x30], 0xa63c495
add dword [ebp - 0x30], 0x41e87f99
mov dword [ebp - 0x2c], 0xc2797df5
sub dword [ebp - 0x2c], 0xc2797df5
lea eax, [ebp - 0x38]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x888306d2
add dword [ebp - 0x38], 0xebef6284
mov dword [ebp - 0x34], 0xaee258fa
add dword [ebp - 0x34], 0x928a087b
mov dword [ebp - 0x30], 0xa41f7e6c
add dword [ebp - 0x30], 0xbf4fee00
mov dword [ebp - 0x2c], 0x2798d3e0
add dword [ebp - 0x2c], 0xd8672c20
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0x75863f87
add eax, 0x8aba4179
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x3899e
push 0
call eax
mov ecx, 0x8447d4e1
sub ecx, 0x84478ba3
xor esi, esi
add esi, eax
mov edi, 0x46e400
add edi, dword [ebp - 0x28]
mov ebx, 0xe496dba3
sub ebx, 0x3373651c
xor dword [ebp - 0x18], ebx
mov edx, dword [edi]
xor dword [ebp - 0x24], edi
xor edx, ebx
mov dword [esi], edx
add dword [ebp - 0x1c], 0xd5e84546
add esi, 4
add edi, 0xab173c6e
add edi, 0x54e8c396
loop 0x40155c
add eax, 0x117cb
xor ebx, ebx
add ebx, eax
add eax, 0x17e62e82
add eax, 0xe819d183
mov ecx, 0xb6a03570
add ecx, 0x499fca90
add ecx, dword [ebp - 0x28]
call ebx
leave
ret

Function at 0x402c93
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x42a2f0]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x402d27
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, 0x105
jmp 0x402ce4
cmp dword [ebp + 0x10], ebx
jne 0x402d1b
lea eax, [ebp - 0x210]
push ebx
push eax
push dword [ebp - 4]
call fcn.00401434
test eax, eax
jne 0x402cf6
lea eax, [ebp - 0x210]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402ccb
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
call fcn.004065ec
cmp eax, ebx
je 0x402d2e
push ebx
push dword [0x42a2f0]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402d27
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x42a2f0], ebx
jne 0x402d24
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x402d24
jmp 0x402d27
Function at 0x48c660
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x5f000]
push edi
or ebp, 0xffffffff
jmp 0x48c682
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x48c689
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48c678
mov eax, 1
add ebx, ebx
jne 0x48c69b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x48c6ac
jne 0x48c6cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48c6cb
dec eax
add ebx, ebx
jne 0x48c6b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x48c690
add ebx, ebx
jne 0x48c6c7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x48c71d
xor ecx, ecx
sub eax, 3
jb 0x48c6e3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x48c752
sar eax, 1
mov ebp, eax
jmp 0x48c6ee
add ebx, ebx
jne 0x48c6ee
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48c6bc
inc ecx
add ebx, ebx
jne 0x48c6fc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48c6bc
add ebx, ebx
jne 0x48c709
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x48c6fe
jne 0x48c71a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x48c6fe
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x48c73c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x48c72e
jmp 0x48c67e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x48c73c
add edi, ecx
jmp 0x48c67e
pop esi
mov edi, esi
mov ecx, 0x2ef9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x48c75a
cmp byte [edi], 0xe
jne 0x48c75a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x48c75f
lea edi, [esi + 0x88000]
mov eax, dword [edi]
or eax, eax
je 0x48c7ce
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d668]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8d6e8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x48c78c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8d6f0]
or eax, eax
je 0x48c7c8
mov dword [ebx], eax
add ebx, 4
jmp 0x48c7a9
call dword [esi + 0x8d6ec]
mov ebp, dword [esi + 0x8d6f4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x48c802
sub esp, 0xffffff80
jmp 0x45de58
Function at 0x10001116
Capabilities:
Hide graphical window

Disassembly:
cmp byte [esp + 4], 0
mov eax, dword [esi + 0x208]
je 0x10001127
push 4
jmp 0x10001129
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [esp + 4], 0
je 0x10001146
mov ecx, dword [esi + 0x208]
mov eax, dword [ecx]
push 0
call dword [eax + 0x2c]
ret 4
Function at 0x100180e6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, eax
mov ecx, dword [edi + 4]
or ebx, 0xffffffff
mov byte [edi + 0xc], 0
test ecx, ecx
jbe 0x100181bf
cmp dword [ebp + 0x18], 0x1e
jae 0x100181bf
mov edx, dword [ebp + 0x14]
movsx eax, byte [edx]
xor esi, esi
shl eax, 7
cmp dword [ebp + 0x18], esi
jbe 0x1001812d
movsx ebx, byte [esi + edx]
imul eax, eax, 0xf4243
xor eax, ebx
inc esi
cmp esi, dword [ebp + 0x18]
jb 0x1001811b
imul eax, eax, 0xf4243
xor eax, dword [ebp + 0x18]
xor edx, edx
imul eax, eax, 0xf4243
xor eax, dword [ebp + 0x10]
mov esi, dword [edi]
mov dword [ebp - 4], eax
div ecx
mov ebx, edx
mov eax, ebx
shl eax, 3
add esi, eax
movzx eax, byte [esi]
cmp eax, dword [ebp + 0x10]
jne 0x10018169
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10017fc7
jmp 0x1001816b
xor al, al
test al, al
jne 0x10018231
mov eax, dword [ebp - 4]
imul eax, eax, 0x25
xor edx, edx
div dword [edi + 4]
mov esi, dword [edi]
mov eax, edx
shl eax, 3
add esi, eax
movzx eax, byte [esi]
mov dword [ebp - 4], edx
cmp eax, dword [ebp + 0x10]
jne 0x100181a5
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10017fc7
mov edx, dword [ebp - 4]
jmp 0x100181a7
xor al, al
test al, al
jne 0x10018231
mov eax, dword [edi]
mov cx, word [eax + ebx*8 + 2]
cmp cx, word [eax + edx*8 + 2]
jbe 0x100181bf
mov ebx, edx
mov edx, dword [ebp + 0x10]
push dword [ebp + 0x1c]
imul edx, edx, 0x50
push dword [ebp + 0x18]
mov esi, dword [ebp + 0xc]
mov esi, dword [esi + 0x10]
push dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
lea edx, [edx + esi + 0x2c]
push edx
call dword [eax + 0x58]
test ebx, ebx
jl 0x10018231
inc dword [edi + 8]
cmp dword [edi + 8], 0xea60
jbe 0x10018218
xor ecx, ecx
cmp dword [edi + 4], ecx
jbe 0x10018211
mov eax, dword [edi]
lea eax, [eax + ecx*8]
cmp word [eax + 2], 0
jbe 0x1001820b
xor edx, edx
inc edx
mov word [eax + 2], dx
inc ecx
cmp ecx, dword [edi + 4]
jb 0x100181f8
mov dword [edi + 8], 2
push dword [edi + 8]
mov eax, dword [edi]
push dword [ebp + 0x18]
mov edi, dword [ebp + 0x1c]
push dword [ebp + 0x14]
lea eax, [eax + ebx*8]
push dword [ebp + 0x10]
call fcn.10017f22
pop edi
pop esi
pop ebx
leave
ret 0x18

Function at 0x1001829f
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp dword [esp + 4], eax
je 0x100182bb
movsx edx, byte [ecx]
dec dword [esp + 4]
shl eax, 4
xor eax, edx
inc ecx
cmp dword [esp + 4], 0
jne 0x100182a7
ret
Function at 0x1001a631
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x454
mov eax, dword [0x1005f070]
xor eax, esp
mov dword [esp + 0x450], eax
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0xae4]
mov eax, dword [ecx]
mov dword [esp + 0xc], edi
call dword [eax + 0x30]
mov byte [esp + 0x70], 0
cmp eax, 0xffffffff
je 0x1001a7e4
mov ecx, dword [edi + 0xae4]
mov edx, dword [ecx]
push 0x3e8
lea esi, [esp + 0x74]
push esi
push eax
call dword [edx + 0x38]
mov eax, dword [edi + 0xae4]
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
lea esi, [edi + 0xb8c]
lea ebx, [esp + 0x70]
call fcn.10013769
xor ebx, ebx
push 0x4c
lea eax, [esp + 0x28]
push ebx
push eax
mov dword [esp + 0x2c], ebx
call fcn.1004c240
mov eax, dword [edi + 0xb88]
mov esi, dword [esi]
xor ecx, ecx
add esp, 0xc
cmp eax, ebx
setle cl
mov dword [esp + 0x48], ebx
mov ebx, dword [edi + 0xae8]
sub ebx, dword [edi + 0xaec]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x50], ebx
lea ecx, [ecx*8 + 0x7de]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x3c], esi
test esi, esi
jne 0x1001a6ff
mov dword [esp + 0x3c], 0x10059164
mov eax, dword [edi]
sub esp, 0x50
push 0x14
pop ecx
mov edi, esp
lea esi, [esp + 0x70]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x5c]
mov ecx, esi
call dword [eax + 0x64]
lea edi, [esi + 0x8dc]
cmp byte [edi], 0
je 0x1001a7ef
call fcn.10001149
cmp dword [esi + 0xb88], 0
jg 0x1001a7ef
cmp byte [esi + 0xaf2], 0
mov edi, dword [esi + 0x7e8]
je 0x1001a75b
mov ecx, dword [esi + 0x8cc]
push 1
push 1
mov eax, edi
call fcn.10004aee
mov edi, eax
cmp edi, ebx
jl 0x1001a7ef
mov eax, dword [esi + 0x8cc]
call fcn.100034fb
cmp edi, ebx
je 0x1001a783
sub edi, ebx
je 0x1001a783
mov eax, dword [esi + 0x8cc]
push edi
push ebx
call fcn.10004005
push dword [esi + 0xae8]
mov eax, esi
call fcn.10007d0e
lea eax, [esp + 0x70]
push eax
lea esi, [esp + 0x14]
call fcn.10018238
cmp dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
jne 0x1001a7ae
mov eax, 0x10059164
mov esi, dword [esp + 0xc]
push eax
push ebx
push dword [esi + 0x8cc]
call fcn.100045d4
mov eax, dword [esp + 0x18]
add eax, ebx
push eax
mov eax, esi
call fcn.10007d0e
push dword [esp + 0x10]
call fcn.1004ad48
mov eax, dword [esi + 0x8cc]
pop ecx
call fcn.1000354c
jmp 0x1001a7ef
add edi, 0x8dc
call fcn.10001149
mov ecx, dword [esp + 0x45c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1004a8e4
mov esp, ebp
pop ebp
ret
Function at 0x1001a804
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea edi, [ebx + 0x8dc]
call fcn.10001149
mov esi, dword [ebp + 0x14]
add esi, dword [ebx + 0x5a8]
mov al, byte [ebx + 0xb34]
xor ecx, ecx
test al, al
sete cl
mov dword [ebp + 0x14], esi
dec ecx
and ecx, 6
add ecx, 0x20
test al, al
je 0x1001a871
mov edx, dword [ebx + 0x24]
mov edi, dword [edx + 0xbe8]
lea eax, [edx + 0xbe0]
mov dword [ebp - 4], eax
lea eax, [ebx + 0xaf4]
mov dword [eax + 0x64], edi
mov edx, dword [edx + 0xbec]
mov dword [eax + 0x68], edx
mov edx, dword [ebp - 4]
mov edi, dword [edx]
mov dword [eax + 0x6c], edi
mov edx, dword [edx + 4]
mov dword [eax + 0x70], edx
mov eax, dword [ebx + 0x24]
imul ecx, ecx, 0x50
push esi
push dword [ebp + 0x10]
add ecx, eax
lea eax, [ebx + 4]
push eax
push dword [ecx + 0x1c]
mov eax, ebx
call fcn.10010e55
push eax
push dword [ecx + 0x34]
lea eax, [ebp - 0x14]
push dword [ecx + 0x18]
push dword [ebp + 0xc]
push dword [ebx + 0x7e8]
push eax
lea eax, [ebx + 0xaf4]
call fcn.1000193d
mov eax, dword [ebx]
lea ecx, [ebp - 0x24]
push ecx
mov ecx, ebx
call dword [eax + 0x24]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x18]
jle 0x1001a8cf
mov eax, dword [ebx + 0x5a8]
sub eax, dword [ebp - 0x10]
add eax, dword [ebp - 8]
sub dword [ebp - 0x10], eax
sub dword [ebp - 8], eax
mov eax, dword [ebx]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
call dword [eax + 0xb0]
sub esp, 0xc
mov eax, esp
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [eax], vtable.Window.0
mov ecx, dword [ebx + 8]
and dword [eax + 8], 0
add ebx, 0xb38
mov dword [eax + 4], ecx
movsd dword es:[edi], dword [esi]
call fcn.100160d3
mov eax, dword [ebp + 8]
push 4
push dword [eax + 0xb3c]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x1001b4fa
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1005f070]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
movzx eax, ax
push 0xa
lea ecx, [ebp - 0x10]
push ecx
movzx eax, ax
push 0x1004
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x1001b538
lea eax, [ebp - 0x10]
push eax
call fcn.1004dd2c
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004a8e4
leave
ret
Function at 0x1001b7b5
Capabilities:
Log keystrokes via input method manager

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x1005f070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, 0x800
push edi
mov esi, ecx
test dword [ebp + 0xc], ebx
je 0x1001b8f0
push dword [esi + 8]
call sub.IMM32.dll_ImmGetContext
xor edi, edi
mov dword [ebp - 0x3f4], eax
cmp eax, edi
je 0x1001b8ec
push 0x18e
lea ecx, [ebp - 0x198]
push ecx
push ebx
push eax
call sub.IMM32.dll_ImmGetCompositionStringW
cdq
sub eax, edx
mov ebx, eax
mov eax, esi
sar ebx, 1
call fcn.10010e38
test al, al
je 0x1001b85a
lea eax, [ebp - 0x198]
push ebx
push eax
call fcn.1001e784
mov edi, eax
push edi
lea eax, [ebp - 0x3f0]
push eax
lea eax, [ebp - 0x198]
push ebx
push eax
call fcn.1001e7d4
mov eax, dword [esi]
add esp, 0x18
push 0
push edi
lea ecx, [ebp - 0x3f0]
push ecx
mov ecx, esi
mov byte [ebp + edi - 0x3f0], 0
call dword [eax + 0x40]
jmp 0x1001b896
push edi
push edi
push 0x18f
lea eax, [ebp - 0x328]
push eax
push ebx
lea eax, [ebp - 0x198]
push eax
push edi
call fcn.1001b4fa
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
cmp ebx, edi
jle 0x1001b896
mov al, byte [ebp + edi - 0x328]
mov ecx, esi
call fcn.1000cb85
inc edi
cmp edi, ebx
jl 0x1001b883
push dword [esi + 0x7e8]
lea eax, [ebp - 0x3fc]
push eax
mov ebx, esi
call fcn.1000724d
mov eax, dword [ebp - 0x3fc]
mov dword [ebp - 0x414], eax
mov eax, dword [ebp - 0x3f8]
mov dword [ebp - 0x410], eax
lea eax, [ebp - 0x418]
push eax
push dword [ebp - 0x3f4]
mov dword [ebp - 0x418], 2
call sub.IMM32.dll_ImmSetCompositionWindow
push dword [ebp - 0x3f4]
push dword [esi + 8]
call sub.IMM32.dll_ImmReleaseContext
xor eax, eax
jmp 0x1001b905
push dword [ebp + 0xc]
mov esi, dword [esi + 8]
push dword [ebp + 8]
push 0x10f
push esi
call dword [sym.imp.USER32.dll_DefWindowProcA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1004a8e4
leave
ret 8