joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432730
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cc812
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x50a8c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], 0
mov dword [esi], 0x4f118c
mov dword [esi + 0x70], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
lea edi, [esi + 0x10]
mov eax, dword [esi]
mov dword [ebp - 0x10], 1
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push ecx
push edi
lea eax, [ecx - 0x18]
mov dword [ecx + esi - 4], eax
mov eax, dword [esi]
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov ecx, dword [eax + 4]
add ecx, esi
call fcn.0042c350
mov dword [ebp - 4], 2
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ecx + esi - 4], eax
mov ecx, edi
call fcn.0042c230
lea eax, [edi + 4]
mov dword [edi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [edi + 0xc], eax
lea ecx, [edi + 8]
lea eax, [edi + 0x14]
mov byte [edi + 0x4c], 0
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov byte [edi + 0x45], 0
mov dword [edi + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, dword [0x513c14]
mov dword [edi + 0x50], 0
mov dword [edi + 0x48], eax
mov dword [edi + 0x40], 0
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 3
cmp dword [ecx + 0x14], 8
jb 0x432865
mov ecx, dword [ecx]
mov eax, dword [ebp + 0xc]
push ecx
or eax, 1
push eax
push ecx
mov ecx, edi
call fcn.004328f0
test eax, eax
jne 0x432898
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + esi + 0xc]
add ecx, esi
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x432890
or eax, 4
push 0
push eax
call fcn.0042cda0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x436370
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ecx
xor eax, eax
mov edx, eax
mov ecx, eax
and edx, 1
shr ecx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov dword [eax*4 + 0x516260], ecx
inc eax
cmp eax, 0x100
jb 0x436373
cmp eax, 0x800
jae 0x436443
nop
mov edx, dword [eax*4 + 0x515e60]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x516260]
mov dword [eax*4 + 0x516260], edx
inc eax
cmp eax, 0x800
jb 0x436420
mov dword [0x518260], 0x437fb0
mov dword [0x516248], 0x437fb0
mov dword [0x518264], 0x438050
call fcn.00438260
mov ecx, dword [0x516248]
test eax, eax
mov edx, 0x438050
cmove ecx, edx
mov dword [0x516248], ecx
pop ecx
ret
Function at 0x43b240
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
xor edi, edi
mov dword [ebp - 4], ebx
mov esi, dword [esi]
and esi, 7
cmp edx, 5
jae 0x43b266
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
add dword [ebp + 8], 5
sub edx, 4
add edx, ebx
mov dword [ebp - 0xc], edx
lea eax, [edi + ebx]
cmp eax, edx
jae 0x43b28f
lea esp, [esp]
mov cl, byte [eax]
and cl, 0xfe
cmp cl, 0xe8
je 0x43b28f
inc eax
cmp eax, edx
jb 0x43b280
mov ecx, eax
sub ecx, edi
mov edi, eax
sub ecx, ebx
sub edi, ebx
cmp eax, edx
jae 0x43b372
cmp ecx, 2
jbe 0x43b332
xor esi, esi
movzx ebx, byte [eax + 4]
lea ecx, [ebx + 1]
test cl, 0xfe
jne 0x43b364
movzx ecx, byte [eax + 3]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [eax + 2]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [eax + 1]
shl ebx, 8
or ebx, ecx
mov ecx, dword [ebp + 8]
add ecx, edi
add edi, 5
sub ebx, ecx
mov dword [ebp - 8], ecx
test esi, esi
je 0x43b30c
and esi, 6
mov edx, ebx
shl esi, 2
mov ecx, esi
shr edx, cl
inc edx
test dl, 0xfe
jne 0x43b307
mov edx, 0x100
shl edx, cl
dec edx
xor ebx, edx
sub ebx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
xor esi, esi
mov ecx, ebx
mov byte [eax + 1], bl
shr ecx, 8
mov byte [eax + 2], cl
mov ecx, ebx
shr ebx, 0x18
and bl, 1
shr ecx, 0x10
neg bl
mov byte [eax + 3], cl
mov byte [eax + 4], bl
mov ebx, dword [ebp - 4]
jmp 0x43b272
shr esi, cl
test esi, esi
je 0x43b2ac
cmp esi, 4
ja 0x43b359
cmp esi, 3
je 0x43b359
mov ecx, esi
shr ecx, 1
movzx ecx, byte [ecx + eax + 1]
inc ecx
test cl, 0xfe
jne 0x43b2ac
or esi, 8
shr esi, 1
inc edi
jmp 0x43b272
mov ebx, dword [ebp - 4]
or esi, 8
shr esi, 1
inc edi
jmp 0x43b272
cmp ecx, 2
jbe 0x43b387
mov eax, dword [ebp + 0xc]
xor esi, esi
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
shr esi, cl
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43e250
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cce82
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x50a8c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], 0
mov dword [esi], 0x4f18f8
mov dword [esi + 0x10], 0x4f18f0
mov dword [esi + 0x78], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
push ecx
lea edi, [esi + 0x18]
mov dword [ebp - 4], 0
push edi
mov dword [ebp - 0x10], 1
call fcn.0043e140
mov dword [ebp - 4], 1
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_fstream_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x78]
mov dword [ecx + esi - 4], eax
mov ecx, edi
call fcn.0042c230
lea eax, [edi + 4]
mov dword [edi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [edi + 0xc], eax
lea ecx, [edi + 8]
lea eax, [edi + 0x14]
mov byte [edi + 0x4c], 0
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov byte [edi + 0x45], 0
mov dword [edi + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, dword [0x513c14]
mov dword [edi + 0x50], 0
mov dword [edi + 0x48], eax
mov dword [edi + 0x40], 0
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x43e35f
mov eax, dword [eax]
push ecx
push 0xb
push eax
mov ecx, edi
call fcn.004328f0
test eax, eax
jne 0x43e38d
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + esi + 0xc]
add ecx, esi
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x43e385
or eax, 4
push 0
push eax
call fcn.0042cda0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x43eee0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cd026
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x50a8c8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x238], 0
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call fcn.0049fd20
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x21c]
cmp word [ebp - 0x21c], 0
je 0x43ef89
jmp 0x43ef80
add eax, 2
cmp word [eax], 0
jne 0x43ef80
push eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x234]
call fcn.0040b0f0
push str.ChangZhi2
lea edx, [ebp - 0x234]
mov dword [ebp - 4], 1
mov ecx, 0x5150b8
call fcn.00440070
add esp, 4
cmp dword [ebp - 0x220], 8
jb 0x43efd2
push dword [ebp - 0x234]
call fcn.0047ad70
add esp, 4
mov eax, 0x5150b8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00493b03
mov esp, ebp
pop ebp
ret 4

Function at 0x43f0a0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cd08b
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x50a8c8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x224], 0
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
mov dword [ebp - 0x220], 0x5150d4
call fcn.0049fd20
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
mov dword [0x5150e8], 7
mov dword [0x5150e4], 0
mov word [0x5150d4], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x21c]
cmp word [ebp - 0x21c], 0
je 0x43f14a
add eax, 2
cmp word [eax], 0
jne 0x43f141
push eax
lea eax, [ebp - 0x21c]
mov ecx, 0x5150d4
push eax
call fcn.0040b0f0
mov eax, 0x5150d4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00493b03
mov esp, ebp
pop ebp
ret 4
Function at 0x442420
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cd962
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x50a8c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], 0
mov dword [esi], 0x4f1184
mov dword [esi + 0x60], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
lea edi, [esi + 4]
mov eax, dword [esi]
mov dword [ebp - 0x10], 1
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push ecx
push edi
lea eax, [ecx - 8]
mov dword [ecx + esi - 4], eax
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
call fcn.0042c350
mov dword [ebp - 4], 2
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ecx + esi - 4], eax
mov ecx, edi
call fcn.0042c230
lea eax, [edi + 4]
mov dword [edi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [edi + 0xc], eax
lea ecx, [edi + 8]
lea eax, [edi + 0x14]
mov byte [edi + 0x4c], 0
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov byte [edi + 0x45], 0
mov dword [edi + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, dword [0x513c14]
mov dword [edi + 0x50], 0
mov dword [edi + 0x48], eax
mov dword [edi + 0x40], 0
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x442547
mov eax, dword [eax]
push ecx
push 2
push eax
mov ecx, edi
call fcn.004328f0
test eax, eax
jne 0x442575
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + esi + 0xc]
add ecx, esi
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x44256d
or eax, 4
push 0
push eax
call fcn.0042cda0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x446d30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cdffb
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x50a8c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
sub esp, 8
mov dword [ebp - 4], 0
call fcn.0041d200
mov byte [ebp - 4], 1
lea ecx, [edi + 0x34]
mov eax, dword [edi + 0x10]
mov dword [edi + 0x30], eax
xor eax, eax
push 0xffffffffffffffff
mov dword [edi + 0x48], 7
mov dword [edi + 0x44], 0
push eax
mov word [edi + 0x34], ax
lea eax, [ebp + 8]
push eax
call fcn.00406720
mov byte [ebp - 4], 2
lea edx, [edi + 0x34]
mov ecx, edi
mov byte [edi + 0x4c], 0
call fcn.00446290
cmp dword [edi + 0xc], 0
jne 0x446dcc
mov ecx, edi
call fcn.0041f0b0
mov dword [edi + 0xc], 3
xorps xmm0, xmm0
movq qword [edi], xmm0
mov dword [edi + 8], 0
cmp dword [ebp + 0x1c], 8
mov byte [edi + 0x4c], 0
jb 0x446de1
push dword [ebp + 8]
call fcn.0047ad70
add esp, 4
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 0x18

Function at 0x44b830
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44b875
cmp byte [ebp + 8], 0
je 0x44b869
cmp byte [ebp + 0xc], 0
mov ecx, 1
mov eax, 4
cmovne eax, ecx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
xor eax, eax
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
Function at 0x44e7c0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce868
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x50a8c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 0x1a0], ebx
call fcn.0044ea30
mov esi, eax
cmp word [edi], bx
je 0x44e819
cmp word [edi + 2], 0x3a
jne 0x44e819
mov eax, edi
jmp 0x44e850
mov ecx, esi
call fcn.0044ab10
test al, al
jne 0x44e92e
push edi
lea eax, [ebp - 0x19c]
mov ecx, esi
push eax
call fcn.0044a300
mov ebx, 1
mov dword [ebp - 4], 0
mov ecx, eax
mov dword [ebp - 0x1a0], ebx
call fcn.0044a930
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x118]
call fcn.0044a0c0
mov dword [ebp - 4], 2
test bl, 1
je 0x44e875
lea ecx, [ebp - 0x19c]
call fcn.0044a1c0
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
lea ecx, [ebp - 0x118]
call fcn.0044a930
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x44e91c
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x44e91c
push esi
mov dword [ebp - 0x1a8], 0
call fcn.00448ad9
add esp, 4
mov dword [ebp - 0x1a0], eax
lea ecx, [ebp - 0x1a8]
push 0
push ecx
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x1a8], esi
jne 0x44e90e
mov eax, dword [ebp - 0x1a4]
lea ecx, [ebp - 0x118]
mov dword [ebp - 4], 0xffffffff
mov dword [eax], esi
call fcn.0044a1c0
mov eax, dword [ebp - 0x1a0]
jmp 0x44e9ff
push dword [ebp - 0x1a0]
call fcn.0049522e
add esp, 4
lea ecx, [ebp - 0x118]
mov dword [ebp - 4], 0xffffffff
call fcn.0044a1c0
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x94]
call fcn.0044a0c0
push 0x4ec600
push 0x4eaad0
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 3
call fcn.0044ad60
lea eax, [ebp - 0x94]
mov ecx, 0x511d14
push eax
call fcn.004544b0
mov esi, eax
mov eax, dword [0x511d14]
cmp esi, eax
je 0x44e997
lea ecx, [esi + 0x10]
call fcn.0044a930
push eax
lea ecx, [ebp - 0x94]
call fcn.0044a390
test al, al
mov dword [ebp - 0x1a0], esi
mov eax, dword [0x511d14]
je 0x44e99d
mov dword [ebp - 0x1a0], eax
lea esi, [ebp - 0x1a0]
mov esi, dword [esi]
cmp esi, eax
je 0x44e9dd
mov ebx, dword [esi + 0xa4]
push ebx
call fcn.00448ad9
add esi, 0x94
add esp, 4
mov edi, eax
cmp dword [esi + 0x14], 0x10
jb 0x44e9c8
mov esi, dword [esi]
push ebx
push esi
push edi
call fcn.0049cf30
mov eax, dword [ebp - 0x1a4]
add esp, 0xc
mov dword [eax], ebx
jmp 0x44e9eb
mov eax, dword [ebp - 0x1a4]
xor edi, edi
mov dword [eax], 0
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
call fcn.0044a1c0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00493b03
mov esp, ebp
pop ebp
ret
Function at 0x44ec50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x4f0998
push dword [ebp + 8]
call fcn.0044ea20
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x44ecaa
push edi
push esi
call fcn.0044ea20
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x44eca9
push esi
call fcn.0044ea20
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x44eca9
push 0x455060
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call fcn.004325c0
add esp, 0xc
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop esi
pop ebp
jmp 0x44ecc0
push str.multi_language.tsv
call fcn.0044ecf0
push str.multi_language_online.tsv
call fcn.0044ecf0
push str.multi_language_patch.tsv
call fcn.0044ecf0
add esp, 0xc
ret

Function at 0x44ecf0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce8e6
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x50a8c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x118]
push eax
call fcn.0044e590
add esp, 4
push esi
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0
push ecx
mov ecx, eax
call fcn.0044a300
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 2
call fcn.0044a1c0
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
lea ecx, [ebp - 0x94]
call fcn.0044a930
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x44edea
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x44ee25
cmp esi, 0x400000
ja 0x44ee25
push esi
mov dword [ebp - 0x11c], 0
call fcn.00448ad9
add esp, 4
mov edi, eax
lea eax, [ebp - 0x11c]
push 0
push eax
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x11c], esi
jne 0x44eddf
push esi
push edi
call fcn.0044f0c0
add esp, 8
push edi
call fcn.0049522e
add esp, 4
jmp 0x44ee25
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x11c], 0
push eax
push esi
call fcn.0044e7c0
mov esi, eax
add esp, 8
test esi, esi
je 0x44ee25
mov eax, dword [ebp - 0x11c]
cmp eax, 0xa
jbe 0x44ee25
push eax
push esi
call fcn.0044f0c0
push esi
call fcn.0049522e
add esp, 0xc
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
call fcn.0044a1c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00493b03
mov esp, ebp
pop ebp
ret

Function at 0x44f380
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
test ax, ax
mov ecx, 8
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x44f3a5
or esi, 2
push 1
call edi
test ax, ax
jns 0x44f3b1
or esi, 1
push 0x10
call edi
test ax, ax
jns 0x44f3bd
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x44f3c9
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x451d50
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, ecx
push esi
push edi
xor esi, esi
lea ecx, [ebx + 0x354]
call fcn.004840b0
mov edi, dword [ebp + 8]
test eax, eax
jle 0x451dab
nop
push esi
lea ecx, [ebx + 0x354]
mov byte [ebp + 0xb], 0
call fcn.0044a2f0
lea ecx, [ebp + 0xb]
push ecx
push dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, eax
push dword [ebp + 0xc]
push edi
call dword [edx]
cmp byte [ebp + 0xb], 0
jne 0x451f0e
lea ecx, [ebx + 0x354]
inc esi
call fcn.004840b0
cmp esi, eax
jl 0x451d70
sub edi, 0x100
je 0x451e97
sub edi, 4
je 0x451e27
sub edi, 2
jne 0x451e8c
cmp dword [ebx + 0xe0], edi
je 0x451e8c
push dword [ebp + 0xc]
xor eax, eax
mov dword [ebp + 8], eax
call fcn.00494a84
mov ecx, dword [ebx + 0xe0]
lea edx, [ebp + 8]
add esp, 4
mov word [ebp + 8], ax
mov eax, dword [ecx]
push shutdown
push edx
push 0x454780
call dword [eax + 0x110]
mov esi, eax
test esi, esi
je 0x451e8c
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x104]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x20]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebx + 0xe4]
test eax, eax
je 0x451e8c
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movdqu xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
movq qword [ebp - 0xc], xmm0
mov word [ebp - 0xc], ax
mov eax, dword [ebx + 0xf4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0xf8]
mov dword [ebp - 0x20], 6
mov dword [ebp - 0x10], eax
call fcn.0044f380
mov word [ebp - 0xa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0xe4]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x451e8c
mov ecx, dword [ebx + 0xe4]
test ecx, ecx
je 0x451ef5
mov eax, dword [ecx]
mov eax, dword [eax + 0xdc]
call eax
test al, al
je 0x451ef5
mov ecx, dword [ebx + 0xe4]
mov eax, dword [ecx]
mov eax, dword [eax + 0xe8]
call eax
test al, al
je 0x451ef5
mov ecx, dword [ebx + 0xe4]
push str.RichEdit
mov eax, dword [ecx]
call dword [eax + 0x10]
push eax
call fcn.0049b290
add esp, 8
test eax, eax
je 0x451ef5
mov ecx, dword [ebx + 0xe4]
call fcn.004687f0
test al, al
jne 0x451e8c
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, ebx
setns al
movzx eax, al
push eax
call fcn.00453650
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10