joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43ac7f
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x43ad1c
push ebx
push esi
call fcn.0043ac3b
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0043ab78
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x43acc9
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x43ad1b
push edi
push eax
call fcn.004355e5
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x43ace9
call fcn.00433ae7
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x43ad1a
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0043ab78
add esp, 0x20
test eax, eax
jne 0x43ad08
push edi
call fcn.00433ae7
jmp 0x43ad10
push ebx
call fcn.00433ae7
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x43ad1f
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x43ad30
pop esi
ret
push ebx
push edi
push esi
call fcn.0043ac3b
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.004355e5
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x43ad58
push ebx
push esi
push edi
call fcn.00411760
add esp, 0xc
push 0
call fcn.00433ae7
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x43b63c
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043afcd

Function at 0x43c1ec
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043c0c0

Function at 0x43f0fc
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00438154
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x43f16b
cmp esi, dword [ebp - 4]
je 0x43f166
cmp dword [ebp + 0xc], 0
je 0x43f166
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x43f143
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.0043ec4e
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x43f16d
xor eax, eax
inc eax
jmp 0x43f16d
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x43f1d2
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x797480]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.00438154
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00438154
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x43f249
cmp word [ecx], dx
je 0x43f249
mov eax, dword [0x78a5dc]
push edi
dec eax
push eax
push 0x78a4c8
call fcn.0043f171
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x43f2bc
cmp word [eax], dx
je 0x43f2bc
mov eax, dword [edi]
test eax, eax
je 0x43f26d
cmp word [eax], dx
je 0x43f26d
lea eax, [ebp - 0x10]
push eax
call fcn.0043eb54
jmp 0x43f276
lea eax, [ebp - 0x10]
push eax
call fcn.0043ebef
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x43f2e6
mov eax, dword [0x78a4c4]
push dword [ebp - 0x14]
dec eax
push eax
push 0x78a1b8
call fcn.0043f171
add esp, 0xc
test al, al
je 0x43f2e6
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x43f2b1
cmp word [eax], di
je 0x43f2b1
lea eax, [ebp - 0x10]
push eax
call fcn.0043eb54
pop ecx
jmp 0x43f2e8
lea eax, [ebp - 0x10]
push eax
call fcn.0043ebef
jmp 0x43f2ae
mov eax, dword [edi]
test eax, eax
je 0x43f2d3
cmp word [eax], dx
je 0x43f2d3
lea eax, [ebp - 0x10]
push eax
call fcn.0043eaeb
pop ecx
jmp 0x43f2e6
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x43f3b1
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0043eff6
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x43f3b1
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x43f3b1
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x43f3b1
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x43f33e
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.00434821
test ebx, ebx
je 0x43f3ac
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.00434821
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x43f3b1
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x43f3b1
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.00447329
add esp, 0x10
xor eax, eax
inc eax
jmp 0x43f3b3
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407b68
leave
ret
Function at 0x4485ec
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x798f08]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x44862c
cmp byte [ebx], 0xa
jne 0x44862c
or byte [edi + eax + 0x28], 4
jmp 0x448631
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x448730
mov dl, byte [eax]
cmp dl, 0x1a
je 0x448713
inc eax
cmp dl, 0xd
je 0x44865d
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x448683
cmp eax, ecx
jae 0x448691
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x448645
jmp 0x448730
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44870e
cmp dword [ebp - 0x10], 0
je 0x44870e
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x798f08]
test byte [eax + edi + 0x28], 0x48
je 0x4486e8
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4486d3
mov byte [esi], dl
jmp 0x4486e4
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x798f08]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x448730
cmp byte [ebp - 1], 0xa
jne 0x4486f7
cmp esi, ebx
jne 0x4486f7
mov byte [esi], 0xa
jmp 0x44872f
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0044843e
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x448730
mov byte [esi], 0xd
jmp 0x44872f
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x798f08]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x44872d
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x448730
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x448739
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x798f08]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x44877f
cmp word [ebx], dx
jne 0x44877f
or byte [eax + edi + 0x28], 4
jmp 0x448784
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x4488e7
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x4488c7
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x4487c5
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4487fb
cmp eax, edx
jae 0x448809
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x4487a0
jmp 0x4488e7
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4488c2
cmp dword [ebp - 0x18], 0
je 0x4488c2
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x798f08]
test byte [eax + edi + 0x28], 0x48
je 0x448898
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x44885c
mov word [esi], cx
jmp 0x448893
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x798f08]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x798f08]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x798f08]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x4488e7
pop eax
cmp word [ebp - 4], ax
jne 0x4488a8
cmp esi, ebx
jne 0x4488a8
mov word [esi], ax
jmp 0x4488e4
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0044843e
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x4488e7
push 0xd
pop eax
jmp 0x4488a3
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x798f08]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x4488e1
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x4488e7
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x44d530
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x44d55d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x44d55d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x45cfa4
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x688636
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb4
mov eax, dword [0x7354d0]
push ebx
push ebp
push esi
lea edx, [eax + eax*4]
mov eax, 0x88888889
shl edx, 1
push edi
mul edx
mov edi, ecx
mov esi, edx
mov ecx, dword [0x7354cc]
shr esi, 8
lea eax, [ecx + ecx*4]
lea ecx, [ecx + eax*8]
mov eax, 0xcccccccd
shl ecx, 1
mul ecx
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0xd4]
shr edx, 9
add eax, esi
mov esi, dword [esp + 0xdc]
add edx, ecx
mov dword [esi], edx
mov dword [esi + 4], eax
mov ecx, dword [edi + 4]
mov ebp, dword [ecx + 0x10]
lea ecx, [esp + 0x14]
call fcn.004ff6fd
xor ebx, ebx
push 1
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push ebx
mov dword [esp + 0xdc], ebx
call fcn.0045cc6c
mov ecx, dword [edi + 0x53]
mov al, byte [edi + 0x13e8]
push eax
mov byte [esp + 0xdc], bl
mov edx, dword [ecx]
call dword [edx + 0x110]
mov ecx, eax
call fcn.0045d2af
push eax
lea ecx, [esp + 0x24]
call fcn.004ff89c
mov ecx, dword [esi + 4]
mov eax, 0x20
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x28], ebx
push eax
mov eax, dword [esi]
mov dword [esp + 0x30], ebx
mov edx, dword [ebp]
push 1
push ecx
push eax
mov ecx, ebp
call dword [edx + 0x5c]
mov ecx, dword [esi]
mov eax, dword [esi + 4]
add ecx, 0xfffffffe
add eax, 2
mov dword [esi], ecx
lea ecx, [esp + 0x14]
mov dword [esi + 4], eax
mov dword [esp + 0xcc], 0xffffffff
call fcn.004ff821
mov ecx, dword [esp + 0xc4]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
pop ebx
add esp, 0xc0
ret 0xc
Function at 0x4650de
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x688a8b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd0
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 4]
push edi
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], ebx
mov esi, dword [eax + 0x10]
call fcn.004ff6fd
xor eax, eax
mov dword [esp + 0xe8], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x10ca]
cmp eax, 0x280
jge 0x46513c
mov ecx, dword [ebx + 0x12c6]
mov dword [esp + 0x1c], ecx
jmp 0x465146
mov edx, dword [ebx + 0x12be]
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0xf0]
push 0xa
push 0x71f200
push eax
call fcn.0067cef4
mov edi, 0x71f200
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x108]
not ecx
dec ecx
cmp eax, 1
mov ebp, ecx
mov dword [esp + 0x20], ebp
jne 0x46519a
lea ecx, [esp + 0x10]
lea edx, [esp + 0x28]
push ecx
mov dword [esp + 0x14], 0x60
mov dword [esp + 0x18], 0x3c
push edx
jmp 0x4651b4
lea eax, [esp + 0x10]
lea ecx, [esp + 0x28]
push eax
mov dword [esp + 0x14], 0x30
mov dword [esp + 0x18], 0x28
push ecx
lea ecx, [ebx + 0x10c6]
call fcn.00574ca7
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
xor ecx, ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x100]
mov dword [esp + 0x14], eax
test ecx, ecx
mov dword [esp + 0x18], eax
je 0x465204
mov ecx, dword [esp + 0x104]
cmp ebp, ecx
jge 0x465204
sub ecx, ebp
imul ecx, eax
add dword [esp + 0xf4], ecx
xor edi, edi
test ebp, ebp
jle 0x4652d8
mov ebp, dword [esp + 0xfc]
mov ebx, dword [esp + 0xf8]
test edi, edi
jne 0x465272
cmp byte [0x71f200], 0x2d
jne 0x465272
push 1
push edi
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push edi
call fcn.0045cc6c
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x3c]
mov eax, dword [edx + 0x12b6]
add eax, 0xb2e
push eax
call fcn.004ff89c
mov ecx, dword [ebp]
lea eax, [esp + 0x30]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0xf4]
mov edx, dword [esi]
push eax
push 2
push ebx
push ecx
mov ecx, esi
call dword [edx + 0x5c]
jmp 0x4652cb
push 1
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0
call fcn.0045cc6c
movsx eax, byte [edi + 0x71f200]
mov edx, dword [esp + 0x28]
sub eax, 0x30
lea eax, [eax + eax*2]
lea ecx, [edx + eax*8]
add eax, ecx
lea ecx, [esp + 0x3c]
push eax
call fcn.004ff89c
mov edx, dword [ebp]
lea ecx, [esp + 0x30]
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x18]
imul edx, edi
mov eax, dword [esi]
push ecx
mov ecx, dword [esp + 0xf8]
push 2
add edx, ecx
push ebx
push edx
mov ecx, esi
call dword [eax + 0x5c]
mov eax, dword [esp + 0x20]
inc edi
cmp edi, eax
jl 0x46521c
lea ecx, [esp + 0x30]
mov dword [esp + 0xe8], 0xffffffff
call fcn.004ff821
mov ecx, dword [esp + 0xe0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xdc
ret 0x1c
Function at 0x469b17
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x688beb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd4
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
lea ecx, [esp + 0x30]
mov eax, dword [esi + 4]
mov ebx, dword [eax + 0x10]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
call fcn.004ff6fd
lea ecx, [esp + 0xc]
lea edx, [esp + 0x20]
push ecx
push edx
lea ecx, [esi + 0x10c6]
mov dword [esp + 0xf0], edi
mov dword [esp + 0x14], 0x980
mov dword [esp + 0x1c], 0xa00
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], 0x80
call fcn.00574d22
mov edx, eax
push 1
push edi
mov ecx, dword [edx]
mov dword [esp + 0x14], ecx
push ecx
mov eax, dword [edx + 4]
mov dword [esp + 0x28], esp
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 8]
mov dword [esp + 0x20], eax
sub eax, ecx
mov edx, dword [edx + 0xc]
mov ecx, esp
push edi
mov dword [esp + 0x28], edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
call fcn.0045cc6c
mov eax, dword [esi + 0x12b6]
lea ecx, [esp + 0x3c]
add eax, 0x18e4
push eax
call fcn.004ff89c
mov ecx, dword [esp + 0x10]
mov edx, dword [ebx]
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x10]
push 6
push ecx
push eax
mov ecx, ebx
call dword [edx + 0x5c]
lea ecx, [esp + 0x30]
mov dword [esp + 0xe8], 0xffffffff
call fcn.004ff821
mov ecx, dword [esp + 0xe0]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xe0
ret
Function at 0x47326d
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x688f20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [esp + 0x30]
push ebx
push ebp
push esi
mov esi, ecx
lea edx, [esp + 0xc]
lea ecx, [eax*4]
push edi
lea eax, [esp + 0x18]
mov dword [esp + 0x10], ecx
push edx
push eax
lea ecx, [esi + 0x10c6]
mov dword [esp + 0x1c], 0
call fcn.00574ca7
mov ecx, dword [eax]
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x10], ecx
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x3c]
mov ecx, ebp
push eax
push edi
push ebx
mov dword [esp + 0x20], edx
call fcn.0050e513
test eax, eax
je 0x47333b
push edi
push ebx
mov ecx, ebp
call fcn.0050e57b
mov ecx, eax
cmp ecx, 0x3e8
jge 0x4732fd
push ecx
push 0x7a05bc
jmp 0x473314
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
push edx
push 0x7a05b4
push 0x71ed60
call fcn.006749e4
add esp, 0xc
push 0
sub esp, 0x50
mov ecx, esp
mov dword [esp + 0x94], esp
push 0x71f900
call fcn.0066c3d6
jmp 0x473365
push 0x7a05b0
push 0x71ed60
call fcn.006749e4
add esp, 8
push 0
sub esp, 0x50
mov ecx, esp
mov dword [esp + 0x94], esp
push 0x71f900
call fcn.0066c3d6
push 0
push 0
mov ecx, 0x7354c8
mov dword [esp + 0x84], 0xffffffff
call fcn.00454c33
mov edx, dword [esp + 0xa0]
add eax, 0x14
push eax
mov eax, dword [esp + 0x70]
push 0x71ed60
push edx
lea ecx, [esi + 0x36f1]
push eax
push ecx
mov ecx, esi
call fcn.0047bdfb
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret 0x18
Function at 0x476678
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6890fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe0
push ebx
mov ebx, dword [esp + 0xf8]
push ebp
push esi
mov eax, dword [ebx + 4]
push edi
xor esi, esi
lea ecx, [esp + 0x40]
mov edi, dword [eax + 0x10]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
call fcn.004ff6fd
lea ecx, [esp + 0x30]
mov dword [esp + 0xf8], esi
push ecx
mov ecx, dword [esp + 0x104]
call fcn.00570e81
mov edx, dword [eax]
lea ebp, [ebx + 0x10c6]
mov dword [esp + 0x18], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x18]
mov edx, dword [eax + 8]
push ecx
mov dword [esp + 0x24], edx
lea edx, [esp + 0x34]
mov eax, dword [eax + 0xc]
push edx
mov ecx, ebp
mov dword [esp + 0x2c], eax
call fcn.00574d22
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x30]
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x10]
push eax
push ecx
mov ecx, ebp
mov dword [esp + 0x2c], edx
mov dword [esp + 0x18], 0x100
mov dword [esp + 0x1c], 0x80
call fcn.00574ca7
mov edx, dword [eax]
push 1
push esi
push ecx
mov dword [esp + 0x1c], edx
mov eax, dword [eax + 4]
mov ecx, esp
mov dword [esp + 0x34], esp
push esi
mov dword [esp + 0x24], eax
call fcn.0045cc6c
mov ecx, dword [esp + 0x10c]
mov eax, dword [ecx + 0x2c]
mov ecx, dword [ebx + 0x12b6]
lea eax, [eax + eax*2]
lea edx, [eax + eax*8]
add edx, ecx
lea ecx, [esp + 0x4c]
push edx
call fcn.004ff89c
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov edx, dword [edi]
lea eax, [esp + 0x40]
mov ecx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push 8
push ecx
push eax
mov ecx, edi
call dword [edx + 0x5c]
mov ecx, dword [esp + 0x100]
cmp dword [ecx + 0x2c], 0x108
je 0x47685c
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
push 1
push esi
push ecx
add edx, eax
mov ecx, esp
mov dword [esp + 0x34], esp
push esi
mov dword [esp + 0x40], edx
call fcn.0045cc6c
mov ecx, dword [ebx + 0x12b6]
add ecx, 0x963
push ecx
lea ecx, [esp + 0x50]
call fcn.004ff89c
lea edx, [esp + 0x10]
lea eax, [esp + 0x28]
push edx
push eax
mov ecx, ebp
mov dword [esp + 0x18], 0xbc
mov dword [esp + 0x1c], 0x80
call fcn.00574ca7
mov ecx, eax
mov eax, dword [ecx]
mov dword [esp + 0x10], eax
mov ecx, dword [ecx + 4]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov edx, dword [edi]
push 8
push ecx
push eax
mov ecx, edi
call dword [edx + 0x5c]
lea ecx, [esp + 0x40]
mov dword [esp + 0xf8], 0xffffffff
call fcn.004ff821
mov ecx, dword [esp + 0xf0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xec
ret
Function at 0x47bdfb
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x689518
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
mov eax, dword [esp + 0x20]
push 0x200
push 0x71f700
push eax
mov dword [esp + 0x18], 0
call fcn.0059b291
add esp, 0xc
test eax, eax
je 0x47be7e
mov ecx, dword [esp + 0x80]
lea edx, [esp + 0x30]
push ecx
sub esp, 0x50
mov ecx, esp
mov dword [esp + 0x74], esp
push edx
call fcn.0066c3d6
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x74]
push 0x71f700
push eax
push ecx
push edx
mov ecx, esi
call fcn.0047bea1
lea ecx, [esp + 0x30]
mov dword [esp + 0xc], 0xffffffff
call fcn.0066c3b9
mov ecx, dword [esp + 4]
pop esi
mov dword fs:[0], ecx
add esp, 0xc
ret 0x70

Function at 0x47eb4a
Capabilities:
Log keystrokes via input method manager

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x40
lea eax, [esp]
push 0x40
push eax
mov eax, dword [ecx + 4]
push edx
push eax
call sub.IMM32.dll_ImmGetCompositionStringA
test eax, eax
jl 0x47eb9f
mov ecx, dword [esp + 0x4c]
push edi
push esi
mov byte [esp + eax + 8], 0
push ecx
lea edi, [esp + 0xc]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov esi, dword [esp + 0x54]
lea edx, [esp + 0xc]
not ecx
dec ecx
push esi
push ecx
push edx
push eax
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test esi, esi
je 0x47eb9d
mov word [esi + eax*2], 0
pop esi
pop edi
add esp, 0x40
ret 0xc