joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4358d3
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x454018]
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.0042ba10
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.0042ba10
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 0x43594a
cmp word [ecx], dx
je 0x43594a
mov eax, dword [0x44494c]
push edi
dec eax
push eax
push 0x444838
call fcn.00435872
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x4359bd
cmp word [eax], dx
je 0x4359bd
mov eax, dword [edi]
test eax, eax
je 0x43596e
cmp word [eax], dx
je 0x43596e
lea eax, [ebp - 0x10]
push eax
call fcn.00435255
jmp 0x435977
lea eax, [ebp - 0x10]
push eax
call fcn.004352f0
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x4359e7
mov eax, dword [0x444834]
push dword [ebp - 0x14]
dec eax
push eax
push 0x444528
call fcn.00435872
add esp, 0xc
test al, al
je 0x4359e7
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x4359b2
cmp word [eax], di
je 0x4359b2
lea eax, [ebp - 0x10]
push eax
call fcn.00435255
pop ecx
jmp 0x4359e9
lea eax, [ebp - 0x10]
push eax
call fcn.004352f0
jmp 0x4359af
mov eax, dword [edi]
test eax, eax
je 0x4359d4
cmp word [eax], dx
je 0x4359d4
lea eax, [ebp - 0x10]
push eax
call fcn.0043520a
pop ecx
jmp 0x4359e7
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 0x435ab2
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.004356f7
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x435ab2
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x435ab2
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x435ab2
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x435a3f
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.0042d7b4
test ebx, ebx
je 0x435aad
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.0042d7b4
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x435ab2
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 0x435ab2
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0043a811
add esp, 0x10
xor eax, eax
inc eax
jmp 0x435ab4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00419926
leave
ret
Function at 0x4382ba
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x454018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x4382fd
call fcn.00425c3b
mov dword [eax], 0xf
call fcn.00425c4e
mov dword [eax], 0xd
call fcn.0041e74f
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00419926
leave
ret
test eax, eax
jne 0x438304
inc eax
jmp 0x4382f1
add eax, 0x40
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
test ecx, ecx
je 0x4382ef
xor eax, eax
cmp ecx, 1
setne al
jmp 0x4382f1
Function at 0x43ae45
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.0043adc1
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x43afb4
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x43afb4
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x43af69
jg 0x43aea1
test eax, eax
je 0x43af5f
push 1
push 0x1000
call fcn.0042d0e0
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x43aec4
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x43af56
push 0x8000
push ebx
call fcn.00429cf5
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x43aeed
jg 0x43aee8
cmp ecx, 0x1000
jb 0x43aeed
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.00439a11
add esp, 0x10
cmp eax, 0xffffffff
je 0x43af32
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x43aee8
jl 0x43af19
test ecx, ecx
jne 0x43aeda
push dword [ebp - 0xc]
push ebx
call fcn.00429cf5
push esi
call fcn.0042bcfb
add esp, 0xc
xor ebx, ebx
jmp 0x43afc2
cmp byte [edi + 0x24], 0
je 0x43af49
cmp dword [edi + 0x20], 5
jne 0x43af49
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x43af54
mov ebx, dword [edi + 0x18]
jmp 0x43af56
xor ebx, ebx
push esi
call fcn.0042bcfb
pop ecx
jmp 0x43afc2
test ecx, ecx
jg 0x43af2b
jl 0x43af69
test eax, eax
jae 0x43af2b
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00438f4e
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x43af89
cmp byte [edi + 0x1c], 0
je 0x43af2b
jmp 0x43afba
push ebx
call fcn.0042e379
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x43af2b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x43afc2
cmp byte [edi + 0x1c], 0
je 0x43afbf
mov ebx, dword [edi + 0x18]
jmp 0x43afc2
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00438f4e
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x43c1e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43c20d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43c20d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x571d0f05
nop
test eax, eax
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e024
nop
nop
nop
nop
nop
mov eax, section..rsrc
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x2ca06955
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0xe8e7188
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..rdata
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x2bd51eb
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219

Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
mov ebx, 0x408ed0
nop
mov ecx, 0x50062669
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x57aa1e54
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x405aa0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4986f0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4ed800]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov edi, dword [ebp + 8]
push edi
mov dword [ebp - 4], 0
call fcn.004527ea
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x405be8
mov eax, edi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
je 0x405be8
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x405be8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x405be8
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x405b56
nop dword [eax + eax]
cmp esi, ecx
jae 0x405be8
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x405b40
cmp esi, ecx
jae 0x405be8
cmp word [esi], 0
je 0x405be8
movzx eax, word [esi]
lea ecx, [esi + 2]
push 0
push 0
push 0
push 0
push eax
push ecx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
js 0x405bfe
mov ebx, dword [ebp - 0x10]
mov edx, 1
mov ecx, dword [ebx]
sub edx, dword [ecx - 4]
mov ecx, dword [ecx - 8]
sub ecx, edi
or edx, ecx
jge 0x405ba6
push edi
mov ecx, ebx
call fcn.00405c10
movzx eax, word [esi]
push 0
push 0
push edi
push dword [ebx]
push eax
lea eax, [esi + 2]
push eax
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebx]
cmp edi, dword [eax - 8]
jg 0x405bfe
mov dword [eax - 0xc], edi
mov eax, dword [ebx]
mov byte [edi + eax], 0
mov eax, 1
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
xor eax, eax
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
push 0x80070057
call fcn.00405270
int3

Function at 0x409370
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
movzx eax, byte [edi + 1]
cmp eax, 2
ja 0x40939e
je 0x4093a5
sub eax, 0
je 0x409397
sub eax, 1
je 0x4093a5
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 8
mov esi, 0xc
jmp 0x4093aa
cmp eax, 0xff
jne 0x40938e
mov esi, 0x1a
mov eax, dword [ebp + 0xc]
xor bl, bl
or bh, 0xff
mov edx, 1
xor cl, cl
mov byte [eax], bl
nop dword [eax + eax]
mov al, byte [edx + edi]
inc edx
or bl, al
movzx ecx, cl
and bh, al
movzx eax, al
xor ecx, eax
mov eax, dword [ebp + 0xc]
mov cl, byte [ecx + 0x4a5fa8]
mov byte [eax], cl
cmp edx, esi
jbe 0x4093c0
test bl, bl
je 0x40938e
pop edi
cmp bh, 0xff
pop esi
setne al
pop ebx
pop ebp
ret 8
Function at 0x40a950
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x498c60
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4ed800]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
movaps xmm0, xmmword [0x4a6c20]
movups xmmword [esi], xmm0
movsd qword [esi + 0x10], xmm0
mov dword [ebp - 4], 1
call fcn.004523c4
mov byte [ebp - 4], 0
test eax, eax
je 0x40aa26
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x18], eax
mov dword [ebp - 4], 3
call fcn.004523c4
mov byte [ebp - 4], 2
test eax, eax
je 0x40aa26
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x1c], eax
mov dword [ebp - 4], 5
call fcn.004523c4
mov byte [ebp - 4], 4
test eax, eax
je 0x40aa26
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov ecx, esi
mov dword [esi + 0x20], eax
xor eax, eax
mov word [esi + 0x24], ax
mov dword [esi + 0x28], eax
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 word [esi + 0x40], 0x100
call fcn.0040c180
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00405270
int3
Function at 0x40d570
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x498c60
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4ed800]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x10], 0
jne 0x40d5d0
push 0x40
push dword [esi + 0x18]
lea eax, [esi + 0x14]
push eax
call fcn.00455a98
mov edx, dword [esi + 0x18]
mov ecx, edx
shl ecx, 6
add ecx, 0xffffffc8
add ecx, eax
add edx, 0xffffffff
js 0x40d5d0
nop dword [eax]
mov eax, dword [esi + 0x10]
mov dword [ecx], eax
mov dword [esi + 0x10], ecx
sub ecx, 0x40
sub edx, 1
jns 0x40d5c0
mov edi, dword [esi + 0x10]
test edi, edi
je 0x40d6bf
mov eax, dword [edi]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 8]
mov dword [edi + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [edi], eax
inc dword [esi + 0xc]
mov dword [edi + 8], vtable.MyLib::CDataFile.0
mov dword [ebp - 4], 1
call fcn.004523c4
mov byte [ebp - 4], 0
test eax, eax
je 0x40d6b5
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [edi + 0x10], eax
mov dword [ebp - 4], 3
call fcn.004523c4
mov byte [ebp - 4], 2
test eax, eax
je 0x40d6b5
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [edi + 0x14], eax
mov dword [ebp - 4], 5
call fcn.004523c4
mov byte [ebp - 4], 4
test eax, eax
je 0x40d6b5
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [edi + 0x1c], eax
mov eax, edi
mov dword [edi + 0x24], vtable.CList_class_MyLib::CDataFile__class_MyLib::CDataFile__.0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0xa
mov byte [edi + 0xc], 0
mov byte [edi + 0x18], 0
mov dword [edi + 0x20], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.00405270
call fcn.004518da
int3
Function at 0x4302c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ab8d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x4ed800]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.00455a60
mov edi, eax
add esp, 4
test edi, edi
je 0x43035d
push 1
mov dword [ebp - 4], 0
call fcn.0046d203
add esp, 4
mov dword [edi + 4], eax
jmp 0x43035f
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov edi, dword [edi + 4]
mov ecx, edi
mov dword [ebp - 0x10], edi
mov eax, dword [edi]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
call fcn.00421df0
add esp, 4
mov ecx, dword [eax]
push 0x20
mov edx, dword [ecx + 0x20]
mov ecx, eax
call edx
mov dword [ebp - 4], 0xffffffff
mov bl, al
test edi, edi
je 0x4303ba
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
test eax, eax
je 0x4303ba
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], bl
jne 0x4303d6
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x4303f9
cmp byte [ebp + 0xc], 0
je 0x4303e5
push esi
call fcn.0046d723
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test cl, 4
je 0x430405
mov esi, str.ios_base::badbit_set
jmp 0x430415
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.00430440
add esp, 8
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.00422d40
push 0x4e57d4
lea eax, [ebp - 0x28]
push eax
call fcn.0046fc9f
int3

Function at 0x433490
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
mov dword [ebp + 8], eax
pop ebp
jmp fcn.00455e5c
Function at 0x434990
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49b045
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4ed800]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
call fcn.00434c50
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x48], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x38], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x30]
movq qword [ebp - 0x18], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.00434c50
push 0
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x49]
push ecx
mov ecx, eax
call fcn.00415bd0
push 0
push esi
lea ecx, [ebp - 0x58]
call fcn.00457d71
push dword [ebp + 8]
lea eax, [esi + 0x20]
mov byte [ebp - 4], 1
push eax
mov byte [esi + 0x28], 0
mov byte [esi + 0x40], 0
call fcn.00406a20
add esp, 8
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.00457dcc
mov edx, dword [ebp + 8]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x434a59
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00469ad1
mov esp, ebp
pop ebp
ret 4
Function at 0x435390
Capabilities:
Log keystrokes via application hook
Set global application hook

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49b285
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4ed800]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.00458624
lea ecx, [edi + 0x120]
mov dword [ebp - 4], 0
mov dword [edi], vtable.CMainFrame.0
call fcn.0045ceae
lea ecx, [edi + 0x1f8]
mov byte [ebp - 4], 1
call fcn.0046bd50
lea ecx, [edi + 0x298]
mov byte [ebp - 4], 2
call fcn.00457dfe
lea ecx, [edi + 0x2a0]
mov byte [ebp - 4], 3
call fcn.0046b730
lea ecx, [edi + 0x348]
mov byte [ebp - 4], 4
call fcn.0046bd50
lea ecx, [edi + 0x3e8]
mov byte [ebp - 4], 5
call fcn.0046bd50
lea ecx, [edi + 0x488]
mov byte [ebp - 4], 6
call fcn.0046bd50
lea ecx, [edi + 0x528]
mov byte [ebp - 4], 7
call fcn.0046bd50
lea ecx, [edi + 0x5c8]
mov byte [ebp - 4], 8
call fcn.0046bd50
lea ecx, [edi + 0x668]
mov byte [ebp - 4], 9
call fcn.0046bd50
lea ecx, [edi + 0x708]
mov byte [ebp - 4], 0xa
call fcn.0046bd50
lea ecx, [edi + 0x7a8]
mov byte [ebp - 4], 0xb
call fcn.0046bd50
lea esi, [edi + 0x848]
mov byte [ebp - 4], 0xc
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.0044a94b
mov dword [esi], vtable.CButton.0
lea esi, [edi + 0x8c8]
mov byte [ebp - 4], 0xd
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.0044a94b
mov dword [esi], vtable.CButton.0
lea esi, [edi + 0x948]
mov byte [ebp - 4], 0xe
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.0044a94b
mov dword [esi], vtable.CButton.0
lea esi, [edi + 0x9c8]
mov byte [ebp - 4], 0xf
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.0044a94b
mov dword [esi], vtable.CButton.0
mov byte [ebp - 4], 0x10
lea ecx, [edi + 0xa48]
call fcn.004060e0
lea ecx, [edi + 0xc30]
mov byte [ebp - 4], 0x11
call fcn.0045c319
lea esi, [edi + 0xd00]
mov byte [ebp - 4], 0x12
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.0044a94b
mov dword [esi], vtable.CListCtrl.0
mov dword [edi + 0xd80], 0
mov dword [edi + 0xd84], 0
mov byte [edi + 0xd88], 0
mov byte [ebp - 4], 0x13
mov dword [0x4f9614], 0
call fcn.004575a7
mov eax, dword [eax + 0x30]
push eax
push 0
push 0x435c40
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x4f9610], eax
test eax, eax
jne 0x435574
push eax
push eax
push str.Error
call fcn.00454ee5
lea ecx, [edi + 0xd8c]
mov byte [ebp - 4], 0x14
call fcn.0046b5d0
mov byte [edi + 0xd94], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret