joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d5d9
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0x2a4
mov eax, 0x449e39
call fcn.0043337c
xor esi, esi
push esi
mov ebx, ecx
call fcn.0041e943
push 1
mov ecx, ebx
call fcn.0041aafa
push 0x43
push esi
push esi
push esi
push esi
push 0x46d238
mov ecx, ebx
call fcn.0041ebce
mov ecx, ebx
call fcn.0040d1f5
cmp eax, 0xffffffc3
je 0x40d76d
cmp eax, 0xffffffcc
je 0x40d761
push 0x46a6a0
lea ecx, [ebp - 0x2c]
call fcn.004072b9
push str.DSSomOath.ini
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], esi
call fcn.0040d4c1
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x40d64f
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, 0x44c94c
mov esi, 0x46b550
test eax, eax
je 0x40d6d2
push 0
mov ecx, ebx
call fcn.0041e943
push str.SOMAuth::ExcuteSOM_DSSomOath.ini_exist
push edi
push esi
call fcn.00401ae2
add esp, 0xc
push 0
lea ecx, [ebp - 0x2b0]
call fcn.0040ef1c
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 1
jae 0x40d699
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x2b0]
call fcn.0040eef7
lea ecx, [ebp - 0x2b0]
call fcn.00418768
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x40d6bc
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x2b0]
mov byte [ebp - 4], 0
call fcn.00418029
call fcn.0042171b
mov ecx, dword [eax + 4]
call fcn.0040c168
push str.CSOMAuthorizeDlg::OnAuthOk_PreExcuteSOM
push edi
push esi
call fcn.00401ae2
mov ecx, dword [ebx + 0xc0]
mov eax, dword [ecx]
add esp, 0xc
call dword [eax + 0xc]
test eax, eax
je 0x40d74c
push str.CSOMAuthorizeDlg::OnAuthOk_ExcuteSOM
push edi
push esi
call fcn.00401ae2
mov ecx, dword [ebx + 0xc0]
mov eax, dword [ecx]
add esp, 0xc
call dword [eax + 0x10]
test eax, eax
jne 0x40d733
mov ecx, ebx
call fcn.00418120
push str.SOMAuth::ExcuteSOM_Error____
push edi
push esi
call fcn.00401ae2
add esp, 0xc
jmp 0x40d753
mov ecx, 0x46b070
call fcn.00409ac5
push 0x4524b8
push edi
push esi
call fcn.00401ae2
add esp, 0xc
mov ecx, ebx
call fcn.00418120
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401bef
jmp 0x40d76d
call fcn.0040f199
mov ecx, ebx
call fcn.00418120
call fcn.004333ff
ret
Function at 0x40e032
Capabilities:
Create process on windows

Disassembly:
push 0x54
mov eax, 0x449f41
call fcn.00433313
mov edi, ecx
push 0x44
xor esi, esi
lea eax, [ebp - 0x60]
push esi
push eax
call fcn.00433420
push 0x10
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.00433420
add esp, 0x18
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x60]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp + 8]
mov dword [ebp - 0x60], 0x44
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40e0cf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateProcess:_CreateProcess_Error____Code:_d_
push 0x44c94c
push 0x46b610
call fcn.00401ae2
add esp, 0x10
push str.SOMER011
lea eax, [ebp + 8]
push eax
mov ecx, 0x46b8a0
call fcn.004112d0
push eax
lea ecx, [edi + 0x804]
mov dword [ebp - 4], esi
call fcn.00403159
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004026da
xor eax, eax
jmp 0x40e0d2
xor eax, eax
inc eax
call fcn.004333eb
ret 4

Function at 0x40f199
Capabilities:
Create process on windows

Disassembly:
push ebp
sub esp, 0x81c
lea ebp, [esp - 4]
mov eax, dword [0x467fd0]
xor eax, ebp
mov dword [ebp + 0x81c], eax
push 0x54
mov eax, 0x44a133
call fcn.00433313
push 0x44
xor esi, esi
lea eax, [ebp - 0x60]
push esi
push eax
call fcn.00433420
push 0x10
lea eax, [ebp - 0x1c]
push esi
push eax
mov dword [ebp - 0x60], 0x44
call fcn.00433420
add esp, 0x18
push 0x104
lea eax, [ebp + 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x46a6a0
lea ecx, [ebp]
call fcn.004072b9
push str.SomDeletor.exe
lea ecx, [ebp]
mov dword [ebp - 4], esi
call fcn.0040d4c1
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp]
call fcn.0040d4c1
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x40f226
lea eax, [ebp + 4]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x60]
push ecx
push esi
push esi
push esi
push esi
push esi
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40f247
push str.SOMUtil::SelfDeleteByProcess___CreateProcess_Error___
jmp 0x40f24c
push str.SOMUtil::SelfDeleteByProcess___CreateProcess_Success___
push 0x44d1b8
push 0x46b6d0
call fcn.00403c50
add esp, 0xc
push esi
push 1
lea ecx, [ebp]
call fcn.00401bef
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x81c]
xor ecx, ebp
call fcn.00433304
add ebp, 0x820
leave
ret
Function at 0x40f290
Capabilities:
Get file version info

Disassembly:
sub esp, 0xc
push esi
push edi
mov edi, dword [esp + 0x18]
lea eax, [esp + 8]
push eax
push edi
mov dword [esp + 0x10], 0
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
jne 0x40f2b8
pop edi
pop esi
add esp, 0xc
ret
push ebx
push esi
call fcn.0041513d
mov ecx, dword [esp + 0x10]
add esp, 4
mov ebx, eax
push ebx
push esi
push ecx
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x40f307
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
push 0x44e5c4
push ebx
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
call sub.VERSION.dll_VerQueryValueW
push ebx
test eax, eax
jne 0x40f310
call fcn.00415148
add esp, 4
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0xc
ret
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
call fcn.00415148
add esp, 4
pop ebx
pop edi
mov eax, 1
pop esi
add esp, 0xc
ret

Function at 0x40fb50
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push esi
mov dword [esp + 4], 0
mov esi, 0x20019
call fcn.0040fb10
cmp eax, 1
jne 0x40fb6e
mov esi, 0x20219
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
lea eax, [esp + 4]
push eax
push esi
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
pop esi
test eax, eax
jne 0x40fbbe
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 4]
push ecx
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp]
test eax, eax
je 0x40fbb7
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop ecx
ret
mov eax, dword [esp]
test eax, eax
je 0x40fbcc
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop ecx
ret
Function at 0x410870
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword [esp + 4]
push esi
push eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi], eax
test eax, eax
je 0x410979
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SFC_SKEY_SecretKey_New
push eax
call edi
mov ecx, dword [esi]
push str.SFC_SKEY_SecretKey_Free
push ecx
mov dword [esi + 4], eax
call edi
mov edx, dword [esi]
push str.SFC_SKEY_SecretKey_FromBinary
push edx
mov dword [esi + 8], eax
call edi
mov dword [esi + 0xc], eax
mov eax, dword [esi]
push str.SFC_CIPHER_CTX_New
push eax
call edi
mov ecx, dword [esi]
push str.SFC_CIPHER_CTX_Free
push ecx
mov dword [esi + 0x10], eax
call edi
mov edx, dword [esi]
push str.SFC_Cipher_Encrypt_Init
push edx
mov dword [esi + 0x14], eax
call edi
mov dword [esi + 0x18], eax
mov eax, dword [esi]
push str.SFC_Cipher_Encrypt_Update
push eax
call edi
mov ecx, dword [esi]
push str.SFC_Cipher_Encrypt_Final
push ecx
mov dword [esi + 0x1c], eax
call edi
mov edx, dword [esi]
push str.SFC_Cipher_Decrypt_Init
push edx
mov dword [esi + 0x20], eax
call edi
mov dword [esi + 0x24], eax
mov eax, dword [esi]
push str.SFC_Cipher_Decrypt_Update
push eax
call edi
mov ecx, dword [esi]
push str.SFC_Cipher_Decrypt_Final
push ecx
mov dword [esi + 0x28], eax
call edi
mov edx, dword [esi]
push str.SFC_GetRandom
push edx
mov dword [esi + 0x2c], eax
call edi
cmp dword [esi + 4], 0
mov dword [esi + 0x30], eax
pop edi
je 0x410979
cmp dword [esi + 8], 0
je 0x410979
cmp dword [esi + 0xc], 0
je 0x410979
cmp dword [esi + 0x10], 0
je 0x410979
cmp dword [esi + 0x14], 0
je 0x410979
cmp dword [esi + 0x18], 0
je 0x410979
cmp dword [esi + 0x1c], 0
je 0x410979
cmp dword [esi + 0x20], 0
je 0x410979
cmp dword [esi + 0x24], 0
je 0x410979
cmp dword [esi + 0x28], 0
je 0x410979
cmp dword [esi + 0x2c], 0
je 0x410979
test eax, eax
je 0x410979
mov eax, 1
pop esi
ret 4
xor eax, eax
pop esi
ret 4

Function at 0x412190
Capabilities:
Set registry value

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov eax, edi
mov esi, ecx
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4121a0
mov ecx, dword [esi + 0x10]
sub eax, edx
inc eax
push eax
mov eax, dword [esp + 0x10]
push edi
push 1
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, edi
mov dword [esi + 4], eax
lea edi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x4121c7
sub ecx, edi
xor edx, edx
inc ecx
test eax, eax
sete dl
pop edi
mov dword [esi + 0xc], ecx
mov dword [esi + 8], 1
pop esi
mov eax, edx
ret 8
Function at 0x4121f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x8c
mov eax, dword [0x467fd0]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
mov ebx, dword [esp + 0x98]
push esi
push edi
mov edi, dword [esp + 0x9c]
push 0x80
lea eax, [esp + 0x18]
push 0
push eax
mov esi, ecx
mov dword [esp + 0x18], 0x80
call fcn.00433420
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esi + 0x10]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
push 0
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [esi + 4], eax
mov dword [esi + 8], edx
mov dword [esi + 0xc], ecx
test eax, eax
jne 0x41227a
push ecx
lea eax, [esp + 0x18]
push eax
push ebx
call fcn.00432aa0
add esp, 0xc
mov eax, 1
jmp 0x41227c
xor eax, eax
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00433304
add esp, 0x8c
ret 0xc

Function at 0x4124c0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x40
mov eax, dword [0x467fd0]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
mov ebx, dword [esp + 0x48]
push esi
mov esi, ecx
call fcn.00412470
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x4125be
cmp dword [esi + 4], eax
jne 0x41250c
mov ecx, esi
call fcn.00412470
test eax, eax
jne 0x41250c
mov eax, dword [esi + 0x14]
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.00433304
add esp, 0x40
ret 4
xor eax, eax
push edi
mov edi, dword [esi + 4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov word [esp + 0x24], ax
mov dword [esi + 8], edi
lea eax, [edi + 0x1d8]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x412538
mov dword [esi + 0x14], 0
test edi, edi
je 0x4125ba
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esi + 8]
movzx ecx, byte [eax + 0x199]
movzx edx, byte [eax + 0x198]
push ecx
movzx ecx, byte [eax + 0x197]
push edx
movzx edx, byte [eax + 0x196]
push ecx
movzx ecx, byte [eax + 0x195]
push edx
movzx edx, byte [eax + 0x194]
push ecx
push edx
lea eax, [esp + 0x24]
push str._02X__02X__02X__02X__02X__02X
push eax
call fcn.004345e3
add esp, 0x20
lea ecx, [esp + 0xc]
push ecx
call edi
lea edx, [esp + 0xc]
push ebx
push edx
call fcn.004366cf
add esp, 8
test eax, eax
je 0x4125d1
mov eax, dword [esi + 8]
mov ecx, dword [eax]
mov dword [esi + 8], ecx
test ecx, ecx
jne 0x412550
mov eax, dword [esi + 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.00433304
add esp, 0x40
ret 4
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.00433304
add esp, 0x40
ret 4
Function at 0x413260
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x18], ecx
mov dword [eax + 0x14], ecx
ret

Function at 0x413400
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
sub esp, 0x28
mov eax, dword [0x467fd0]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 0x144]
push ebx
push ebp
sub edx, 6
push esi
xor ebp, ebp
xor ebx, ebx
push edi
mov dword [esp + 0x10], eax
test edx, edx
jle 0x413437
mov esi, dword [esp + 0x40]
mov ecx, edx
lea edi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
xor eax, eax
test edx, edx
jle 0x413478
lea ecx, [ecx]
mov esi, dword [esp + 0x10]
cmp ebp, dword [esi + 0x144]
ja 0x4135a2
cmp eax, edx
jge 0x41346a
cmp ebx, 4
jge 0x41346d
mov edi, dword [esp + eax*4 + 0x14]
lea ecx, [ebx + ebp*4]
inc eax
inc ebx
cmp eax, edx
mov dword [esi + ecx*4 + 0x54], edi
jl 0x413454
cmp ebx, 4
jne 0x413472
inc ebp
xor ebx, ebx
cmp eax, edx
jl 0x413440
jmp 0x41347c
mov esi, dword [esp + 0x10]
cmp ebp, dword [esi + 0x144]
ja 0x4135a2
mov dword [esp + 0x10], 0x466838
movzx ecx, byte [esp + edx*4 + 0x11]
mov al, byte [esp + 0x14]
xor al, byte [ecx + str.cw]
mov byte [esp + 0x14], al
movzx ecx, byte [esp + edx*4 + 0x12]
movzx ecx, byte [ecx + str.cw]
xor byte [esp + 0x15], cl
movzx ecx, byte [esp + edx*4 + 0x13]
movzx ecx, byte [ecx + str.cw]
xor byte [esp + 0x16], cl
movzx ecx, byte [esp + edx*4 + 0x10]
movzx ecx, byte [ecx + str.cw]
xor byte [esp + 0x17], cl
mov ecx, dword [esp + 0x10]
xor al, byte [ecx]
add ecx, 4
mov byte [esp + 0x14], al
mov dword [esp + 0x10], ecx
mov eax, 1
cmp edx, 8
je 0x413501
cmp edx, eax
jle 0x413562
mov ecx, dword [esp + eax*4 + 0x10]
xor dword [esp + eax*4 + 0x14], ecx
inc eax
cmp eax, edx
jl 0x4134f2
jmp 0x413562
mov ecx, dword [esp + eax*4 + 0x10]
xor dword [esp + eax*4 + 0x14], ecx
inc eax
cmp eax, 4
jl 0x413501
movzx eax, byte [esp + 0x20]
movzx ecx, byte [eax + str.cw]
movzx eax, byte [esp + 0x21]
xor byte [esp + 0x24], cl
movzx ecx, byte [eax + str.cw]
movzx eax, byte [esp + 0x22]
xor byte [esp + 0x25], cl
movzx ecx, byte [eax + str.cw]
movzx eax, byte [esp + 0x23]
xor byte [esp + 0x26], cl
movzx ecx, byte [eax + str.cw]
xor byte [esp + 0x27], cl
mov eax, 5
mov ecx, dword [esp + eax*4 + 0x10]
xor dword [esp + eax*4 + 0x14], ecx
inc eax
cmp eax, 8
jl 0x413554
xor eax, eax
test edx, edx
jle 0x413596
cmp ebp, dword [esi + 0x144]
ja 0x4135a2
cmp eax, edx
jge 0x41358a
cmp ebx, 4
jge 0x41358d
mov edi, dword [esp + eax*4 + 0x14]
lea ecx, [ebx + ebp*4]
inc eax
inc ebx
cmp eax, edx
mov dword [esi + ecx*4 + 0x54], edi
jl 0x413574
cmp ebx, 4
jne 0x413592
inc ebp
xor ebx, ebx
cmp eax, edx
jl 0x413568
cmp ebp, dword [esi + 0x144]
jbe 0x413490
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00433304
add esp, 0x28
ret
Function at 0x4135c0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov ecx, 1
cmp dword [edx + 0x144], ecx
jbe 0x4136ad
push esi
lea eax, [edx + 0x66]
push edi
lea ebx, [ebx]
movzx esi, byte [eax + 1]
mov esi, dword [esi*4 + 0x466438]
movzx edi, byte [eax - 1]
xor esi, dword [edi*4 + 0x465c38]
movzx edi, byte [eax]
xor esi, dword [edi*4 + 0x466038]
movzx edi, byte [eax - 2]
xor esi, dword [edi*4 + 0x465838]
inc ecx
mov dword [eax - 2], esi
movzx esi, byte [eax + 5]
mov esi, dword [esi*4 + 0x466438]
movzx edi, byte [eax + 4]
xor esi, dword [edi*4 + 0x466038]
movzx edi, byte [eax + 3]
xor esi, dword [edi*4 + 0x465c38]
movzx edi, byte [eax + 2]
xor esi, dword [edi*4 + 0x465838]
add eax, 0x10
mov dword [eax - 0xe], esi
movzx esi, byte [eax - 7]
mov esi, dword [esi*4 + 0x466438]
movzx edi, byte [eax - 8]
xor esi, dword [edi*4 + 0x466038]
movzx edi, byte [eax - 9]
xor esi, dword [edi*4 + 0x465c38]
movzx edi, byte [eax - 0xa]
xor esi, dword [edi*4 + 0x465838]
mov dword [eax - 0xa], esi
movzx esi, byte [eax - 3]
movzx edi, byte [eax - 4]
mov esi, dword [esi*4 + 0x466438]
xor esi, dword [edi*4 + 0x466038]
movzx edi, byte [eax - 5]
xor esi, dword [edi*4 + 0x465c38]
movzx edi, byte [eax - 6]
xor esi, dword [edi*4 + 0x465838]
mov dword [eax - 6], esi
cmp ecx, dword [edx + 0x144]
jb 0x4135e0
pop edi
pop esi
ret
Function at 0x414ca0
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0xc]
sub eax, 0
je 0x414ce4
sub eax, 1
jne 0x414d06
mov eax, dword [esi + 8]
push eax
push 1
lea ecx, [esp + 0x10]
push 1
push ecx
call fcn.0043638e
add esp, 0x10
test eax, eax
ja 0x414cda
mov edx, dword [esp + 0xc]
mov dword [edx], 0xffffffff
or eax, 0xffffffff
pop esi
ret
inc dword [esi + 0x10]
movsx eax, byte [esp + 8]
pop esi
ret
mov ecx, dword [esi + 0x10]
cmp ecx, dword [esi]
jl 0x414cf9
mov eax, dword [esp + 0xc]
mov dword [eax], 0xffffffff
xor eax, eax
pop esi
ret
mov edx, dword [esi + 4]
movsx eax, byte [edx + ecx]
inc ecx
mov dword [esi + 0x10], ecx
pop esi
ret
mov eax, dword [esp + 8]
pop esi
ret

Function at 0x414d10
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0xc]
sub eax, 0
je 0x414d41
sub eax, 1
jne 0x414d59
mov eax, dword [esi + 8]
push eax
push 1
lea ecx, [esp + 0x14]
push 1
push ecx
call fcn.0043650d
add esp, 0x10
inc dword [esi + 0x10]
mov eax, 1
pop esi
ret
mov eax, dword [esi + 0x10]
cmp eax, dword [esi]
jl 0x414d4c
xor eax, eax
pop esi
ret
mov edx, dword [esi + 4]
mov cl, byte [esp + 0xc]
mov byte [eax + edx], cl
inc dword [esi + 0x10]
mov eax, 1
pop esi
ret
Function at 0x414e40
Capabilities:
Encode data using base64

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x28]
push edi
call fcn.00414c70
xor ebp, ebp
add esp, 4
mov dword [esp + 0x18], ebp
xor esi, esi
lea esp, [esp]
mov eax, 0x55555556
imul esi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*2]
mov ecx, eax
mov eax, esi
sub eax, ecx
mov dword [esp + 0x1c], eax
jmp 0x414e80
cmp eax, ebp
jne 0x414e9e
lea edx, [esp + 0x14]
push edx
push edi
mov dword [esp + 0x1c], ebp
call fcn.00414ca0
mov ebx, eax
mov eax, dword [esp + 0x24]
add esp, 8
jmp 0x414ea2
mov ebx, dword [esp + 0x18]
cmp ebx, 0xd
je 0x414e80
cmp ebx, 0xa
je 0x414e80
cmp dword [esp + 0x14], 0xffffffff
je 0x414fd4
lea eax, [esp + 0x14]
push eax
push edi
mov dword [esp + 0x1c], ebp
call fcn.00414ca0
mov edx, eax
add esp, 8
mov dword [esp + 0x18], edx
cmp edx, 0x3d
je 0x414fd4
cmp edx, 0xd
je 0x414eb7
cmp edx, 0xa
je 0x414eb7
cmp dword [esp + 0x14], 0xffffffff
je 0x414fd4
cmp bl, 0x41
jb 0x414eff
cmp bl, 0x5a
ja 0x414eff
movzx eax, bl
sub eax, 0x41
jmp 0x414f48
cmp bl, 0x61
jb 0x414f11
cmp bl, 0x7a
ja 0x414f11
movzx eax, bl
sub eax, 0x47
jmp 0x414f48
cmp bl, 0x30
jb 0x414f23
cmp bl, 0x39
ja 0x414f23
movzx eax, bl
add eax, 4
jmp 0x414f48
cmp bl, 0x2a
jne 0x414f2f
mov eax, 0x3e
jmp 0x414f48
cmp bl, 0x2f
jne 0x414f3b
mov eax, 0x3f
jmp 0x414f48
xor eax, eax
cmp bl, 0x3d
setne al
dec eax
and eax, 0x41
dec eax
mov ebx, dword [esp + 0x1c]
lea ecx, [ebx + ebx + 2]
shl al, cl
mov byte [esp + 0x13], al
cmp dl, 0x41
jb 0x414f68
cmp dl, 0x5a
ja 0x414f68
movzx eax, dl
sub eax, 0x41
jmp 0x414fb1
cmp dl, 0x61
jb 0x414f7a
cmp dl, 0x7a
ja 0x414f7a
movzx eax, dl
sub eax, 0x47
jmp 0x414fb1
cmp dl, 0x30
jb 0x414f8c
cmp dl, 0x39
ja 0x414f8c
movzx eax, dl
add eax, 4
jmp 0x414fb1
cmp dl, 0x2a
jne 0x414f98
mov eax, 0x3e
jmp 0x414fb1
cmp dl, 0x2f
jne 0x414fa4
mov eax, 0x3f
jmp 0x414fb1
xor eax, eax
cmp dl, 0x3d
setne al
dec eax
and eax, 0x41
dec eax
mov edx, dword [esp + 0x24]
mov cl, 2
sub cl, bl
add cl, cl
shr al, cl
or al, byte [esp + 0x13]
movzx ecx, al
push ecx
push edx
call fcn.00414d10
add esp, 8
inc esi
jmp 0x414e60
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10
ret

Function at 0x4189a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x4189c4
cmp dword [edi + 0x54], 0
jne 0x4189c4
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0042171b
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00418961
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x41e052
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x41e099
call fcn.0042171b
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41e099
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x41e0b5
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0041dbca
mov esi, eax
test edi, edi
je 0x41e0b3
test ebx, ebx
je 0x41e0b3
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x41ef02
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x449fdc
call fcn.00433313
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x41ef27
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x41ef6d
lea ecx, [ebp - 0x10]
call fcn.00416364
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00415d79
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004026da
mov eax, esi
call fcn.004333eb
ret 8

Function at 0x421d37
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x421d7f
call fcn.0042171b
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x421d7f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x421dc2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x421dab
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x421dab
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x421dbf
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x433304
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x467fd0]
jne 0x43330e
repz ret
jmp fcn.0043b82c