joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4096c0
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
mov eax, dword [0x40d018]
xor eax, ebp
mov dword [ebp - 0x40], eax
xor eax, eax
mov word [ebp - 0x248], ax
push 0x206
push 0
lea ecx, [ebp - 0x246]
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
xor edx, edx
mov word [ebp - 0x450], dx
push 0x206
push 0
lea eax, [ebp - 0x44e]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.MSVCR90.dll_wcslen]
add esp, 4
test eax, eax
jbe 0x40974f
mov edx, dword [ebp + 0xc]
push edx
push 0x104
lea eax, [ebp - 0x450]
push eax
call fcn.004062c0
push 0x40b3b4
push 0x104
lea ecx, [ebp - 0x450]
push ecx
call fcn.00406310
jmp 0x40979e
lea edx, [ebp - 0x450]
push edx
push 0
push 0
push 0x2b
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x409780
push 0x40b3b8
push 0x104
lea eax, [ebp - 0x450]
push eax
call fcn.00406310
jmp 0x40979e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x40b3d8
push str.SHGetFolderPath_failed
call fcn.004080a0
add esp, 0xc
jmp 0x409874
lea ecx, [ebp - 0x450]
push ecx
push 0x104
lea edx, [ebp - 0x248]
push edx
call fcn.004062c0
push str.AdobeARMHelper.exe
push 0x104
lea eax, [ebp - 0x248]
push eax
call fcn.00406310
push 0xffffffffffffffff
lea ecx, [ebp - 0x248]
push ecx
call fcn.004095f0
add esp, 8
test eax, eax
jne 0x4097fc
push 0x357
lea edx, [ebp - 0x248]
push edx
push str.Service_workflow_failed__file_not_valid:
call fcn.004080a0
add esp, 0xc
jmp 0x409874
mov dword [ebp - 0x3c], 0
push 0x38
push 0
lea eax, [ebp - 0x38]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x540
mov dword [ebp - 0x20], 5
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x28], ecx
lea edx, [ebp - 0x248]
mov dword [ebp - 0x2c], edx
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x40985b
push 0
push 0x40b48c
push str.ShellExecuteEx_succeeded
call fcn.004080a0
add esp, 0xc
jmp 0x409874
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x40b4c4
push str.ShellExecuteEx_failed
call fcn.004080a0
add esp, 0xc
mov ecx, dword [ebp - 0x40]
xor ecx, ebp
call fcn.00407458
mov esp, ebp
pop ebp
ret

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

Disassembly:
call 0x43100c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403e6a
nop
nop
sub eax, 0x403e10
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
jne 0x43101e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x1901037
Capabilities:
Check if file exists
Delete directory
Get common file path
Get file attributes
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x190105e
xor eax, eax
inc eax
jmp 0x1901094
push esi
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov ecx, edi
call fcn.019013d6
mov esi, eax
lea eax, [ebp - 0x108]
push eax
and esi, 1
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
and eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.01903196
mov esp, ebp
pop ebp
ret

Function at 0x19010a3
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push 0x3c
lea eax, [ebp - 0x3c]
mov esi, edx
push 0
push eax
call fcn.01908b70
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x24], 0x191b110
mov dword [ebp - 0x38], 0x740
mov dword [ebp - 0x20], 1
push eax
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], 0x1915683
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
pop esi
test eax, eax
je 0x19010f6
mov eax, dword [ebp - 4]
jmp 0x19010f9
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret 4

Function at 0x19010ff
Capabilities:
Enumerate process modules

Disassembly:
mov eax, 0x1010
call fcn.0190cd00
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x100c], eax
push ebp
lea eax, [esp + 8]
mov byte [0x191aff0], 0
push eax
push 0x1000
lea eax, [esp + 0x18]
mov ebp, ecx
push eax
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
je 0x1901185
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
shr esi, 2
xor edi, edi
test esi, esi
je 0x1901180
cmp dword [esp + edi*4 + 0x1c], ebp
jne 0x190117b
push ebp
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x190117b
lea eax, [esp + 0x18]
push eax
push 4
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
jne 0x190119b
inc edi
cmp edi, esi
jb 0x190114a
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1010]
pop ebp
xor ecx, esp
call fcn.01903196
add esp, 0x1010
ret
push 0x104
mov esi, 0x191aff0
push esi
push dword [esp + 0x18]
push ebx
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExA]
mov eax, esi
jmp 0x1901182
Function at 0x19011fb
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, ecx
push edi
push ebx
call esi
cmp eax, 0xffffffff
jne 0x19012e7
lea edx, [ebp - 0x108]
mov ecx, ebx
call fcn.019020ec
jmp 0x1901272
cmp byte [ebp - 0x108], 0
je 0x1901280
lea edx, [ebp - 0x20c]
lea ecx, [ebp - 0x108]
call fcn.019020ec
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.019035b2
add esp, 0xc
cmp byte [ebp - 0x108], 0
je 0x19012e3
lea eax, [ebp - 0x108]
push eax
call esi
cmp eax, 0xffffffff
je 0x1901234
lea ecx, [ebp - 0x108]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1901289
sub ecx, edx
lea esi, [ebx + ecx]
mov al, byte [esi]
mov byte [ebp + ecx - 0x108], al
test al, al
je 0x19012cc
lea edi, [ebp - 0x108]
sub edi, ebx
inc esi
cmp byte [esi], 0x5c
jne 0x19012c3
push 0
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x19012e3
mov al, byte [esi]
mov byte [edi + esi], al
test al, al
jne 0x19012aa
push 0
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
neg eax
sbb eax, eax
neg eax
jmp 0x19012ea
xor eax, eax
jmp 0x19012ea
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01903196
mov esp, ebp
pop ebp
ret

Function at 0x19012fb
Capabilities:
Check if file exists
Delete file
Enumerate files on windows
Get file attributes
Set current directory

Disassembly:
push ebp
lea ebp, [esp - 0xc4]
sub esp, 0x144
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp + 0xc0], eax
push esi
push edi
push 0x13e
lea eax, [ebp - 0x80]
mov esi, ecx
push 0
push eax
call fcn.01908b70
add esp, 0xc
xor edi, edi
inc edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1901341
xor eax, eax
inc eax
jmp 0x19013bf
push esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
je 0x19013bf
lea eax, [ebp - 0x80]
push eax
push 0x1915684
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x19013bd
test byte [ebp - 0x80], 0x10
jne 0x19013a2
push 1
lea eax, [ebp - 0x54]
push 0x1915688
push eax
call fcn.019033e0
add esp, 0xc
test eax, eax
je 0x19013a2
push 2
lea eax, [ebp - 0x54]
push 0x191568c
push eax
call fcn.019033e0
add esp, 0xc
test eax, eax
je 0x19013a2
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
and edi, eax
lea eax, [ebp - 0x80]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
neg eax
sbb eax, eax
inc eax
test eax, eax
je 0x1901362
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, edi
mov ecx, dword [ebp + 0xc0]
pop edi
xor ecx, ebp
pop esi
call fcn.01903196
lea esp, [ebp + 0xc4]
pop ebp
ret
Function at 0x19013d6
Capabilities:
Check if file exists
Delete directory
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set current directory

Disassembly:
push ebp
lea ebp, [esp - 0x1c8]
sub esp, 0x248
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp + 0x1c4], eax
push esi
mov esi, ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1901408
xor eax, eax
inc eax
jmp 0x19014d9
push esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
je 0x19014d9
push ebx
push edi
mov ecx, esi
call fcn.019012fb
mov edi, eax
mov dword [ebp - 0x80], 0x10
lea eax, [ebp - 0x80]
and edi, 1
push eax
push 0x1915690
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x19014d5
test byte [ebp - 0x80], 0x10
je 0x19014b6
push 1
lea eax, [ebp - 0x54]
push 0x1915688
push eax
call fcn.019033e0
add esp, 0xc
test eax, eax
je 0x19014b6
push 2
lea eax, [ebp - 0x54]
push 0x191568c
push eax
call fcn.019033e0
add esp, 0xc
test eax, eax
je 0x19014b6
lea eax, [ebp - 0x54]
push eax
push esi
lea eax, [ebp + 0xc0]
push 0x1915694
push eax
call fcn.019020d1
add esp, 0x10
lea ecx, [ebp + 0xc0]
call fcn.019013d6
push esi
and edi, eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea eax, [ebp + 0xc0]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
and edi, eax
lea eax, [ebp - 0x80]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
neg eax
sbb eax, eax
inc eax
test eax, eax
je 0x1901446
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, edi
pop edi
pop ebx
mov ecx, dword [ebp + 0x1c4]
xor ecx, ebp
pop esi
call fcn.01903196
lea esp, [ebp + 0x1c8]
pop ebp
ret
Function at 0x190213d
Capabilities:
Get file attributes

Disassembly:
push ebp
push esi
xor esi, esi
mov ebp, 0x80000000
cmp dword [0x1923450], esi
jne 0x1902186
call dword [sym.imp.KERNEL32.dll_GetVersion]
test ebp, eax
je 0x1902175
push str.___.___
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push str.Unicows.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x192344c], eax
jmp 0x190217a
mov eax, dword [0x192344c]
mov dword [0x1923450], 1
jmp 0x190218b
mov eax, dword [0x192344c]
test eax, eax
je 0x19021a0
push dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
jne 0x19021e3
mov eax, dword [0x1923454]
test eax, eax
jne 0x19021d6
call dword [sym.imp.KERNEL32.dll_GetVersion]
test ebp, eax
je 0x19021c1
push dword [0x191714c]
call dword [0x1917148]
jmp 0x19021cd
push dword [0x1917144]
call dword [0x1917140]
test eax, eax
je 0x19021e3
mov dword [0x1923454], eax
push dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x1902935
Capabilities:
Create thread

Disassembly:
xor eax, eax
push eax
push eax
push 0x1902858
mov byte [0x191b216], al
mov dword [0x191b234], eax
mov dword [0x191b238], eax
call fcn.01903744
add esp, 0xc
jmp 0x1902968
cmp byte [0x191b216], 0
jne 0x1902971
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x191b238], 0
je 0x1902957
ret
Function at 0x1902986
Capabilities:
Create thread
Read data from internet
Receive data

Disassembly:
mov eax, 0x1008
call fcn.0190cd00
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x1004], eax
push edi
xor edi, edi
inc edi
cmp dword [0x191b234], 0
jne 0x19029b2
xor eax, eax
jmp 0x1902ab7
push ebx
xor ebx, ebx
push ecx
push ebx
push 0x190287d
mov dword [0x191b22c], ebx
mov dword [0x191b10c], ebx
mov dword [0x191b230], ebx
call fcn.01903744
add esp, 0xc
jmp 0x19029e7
cmp byte [0x191b216], bl
jne 0x1902a09
push edi
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x191b230], ebx
je 0x19029d8
cmp byte [0x191b216], bl
jne 0x1902a09
cmp dword [0x191b22c], ebx
je 0x1902a09
mov ecx, dword [0x191b10c]
test ecx, ecx
jne 0x1902a10
xor eax, eax
jmp 0x1902ab6
push ebp
push esi
inc ecx
call fcn.0190258d
mov esi, eax
mov dword [esp + 0x10], ebx
mov ebp, ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp byte [0x191b216], bl
jne 0x1902aab
lea eax, [esp + 0x10]
push eax
push 0x400
lea eax, [esp + 0x1c]
push eax
push dword [0x191b22c]
call dword [sym.imp.WININET.dll_InternetReadFile]
mov bl, byte [0x191b216]
and edi, eax
je 0x1902a8f
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x1902a8f
lea eax, [ecx + ebp]
cmp eax, dword [0x191b10c]
ja 0x1902a8f
push ecx
lea eax, [esp + 0x18]
push eax
lea eax, [esi + ebp]
push eax
call fcn.01909700
add ebp, dword [esp + 0x1c]
add esp, 0xc
cmp dword [esp + 0x10], 0x400
jb 0x1902a8f
and dword [esp + 0x10], 0
test bl, bl
je 0x1902a2e
test bl, bl
jne 0x1902aab
push dword [0x191b22c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [0x191b10c]
mov byte [eax + esi], bl
mov eax, esi
jmp 0x1902ab4
mov ecx, esi
call fcn.019025c5
xor eax, eax
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1008]
pop edi
xor ecx, esp
call fcn.01903196
add esp, 0x1008
ret
Function at 0x1902acd
Capabilities:
Create thread
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
sub esp, 0x410
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x40c], eax
push ebp
push esi
mov esi, dword [esp + 0x420]
mov ebp, edx
push edi
xor edi, edi
inc edi
mov dword [esp + 0x10], edi
test esi, esi
je 0x1902afe
mov dword [esi], 4
cmp dword [0x191b234], 0
jne 0x1902b0e
xor eax, eax
jmp 0x1902ca9
push ebx
xor ebx, ebx
push ecx
push ebx
push 0x190287d
mov dword [0x191b22c], ebx
mov dword [0x191b230], ebx
call fcn.01903744
add esp, 0xc
jmp 0x1902b41
cmp byte [0x191b216], bl
jne 0x1902ca6
push edi
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x191b230], ebx
je 0x1902b2e
cmp byte [0x191b216], bl
jne 0x1902ca6
cmp dword [0x191b22c], ebx
jne 0x1902b6c
test esi, esi
je 0x1902ca6
mov dword [esi], edi
jmp 0x1902ca6
mov eax, fcn.01901582
test eax, eax
je 0x1902b7c
push ebx
push ebp
call fcn.01901582
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x1902bc5
push dword [0x191b22c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x1902ca6
mov dword [esi], 2
jmp 0x1902ca6
cmp edi, 0xffffffff
jne 0x1902be9
push dword [0x191b22c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
test esi, esi
je 0x1902ca6
mov dword [esi], 3
jmp 0x1902ca6
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], ebx
cmp byte [0x191b216], bl
jne 0x1902c93
and dword [esp + 0x10], 0
cmp dword [esp + 0x14], 0
je 0x1902cc3
lea eax, [esp + 0x10]
push eax
push 0x400
lea eax, [esp + 0x24]
push eax
push dword [0x191b22c]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1902cc3
cmp dword [esp + 0x10], 0
je 0x1902cc3
push 0
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x18]
lea eax, [esp + 0x28]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
mov eax, dword [esp + 0x10]
je 0x1902c66
mov dword [esp + 0x14], 1
add ebx, eax
jmp 0x1902c6b
and dword [esp + 0x14], 0
mov ecx, fcn.01901582
test ecx, ecx
je 0x1902c7f
push ebx
push ebp
call fcn.01901582
mov eax, dword [esp + 0x10]
cmp eax, 0x400
jb 0x1902cc3
cmp byte [0x191b216], 0
je 0x1902bfd
push dword [0x191b22c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x418]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.01903196
add esp, 0x410
ret 8
push dword [0x191b22c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, fcn.01901582
test eax, eax
je 0x1902ce6
push ebx
push ebp
call fcn.01901582
test esi, esi
je 0x1902ced
and dword [esi], 0
mov eax, ebx
jmp 0x1902ca8
Function at 0x1902df1
Capabilities:
Create thread

Disassembly:
cmp dword [0x191b228], 0
mov dword [0x191b224], 0x190179f
jne fcn.01902db5
xor eax, eax
push eax
push eax
push 0x1902da1
mov dword [0x191b228], eax
call fcn.01903744
add esp, 0xc
jmp 0x1902e28
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x191b228], 0
je 0x1902e20
ret

Function at 0x1902f0a
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
push esi
push edi
mov ebp, 0x191b110
mov dword [0x191b21c], ecx
push ebp
mov edi, 0x104
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0x97
push dword [0x191b21c]
call dword [sym.imp.USER32.dll_LoadIconA]
push edi
mov dword [0x191b220], eax
call fcn.01903bf9
mov esi, eax
pop ecx
test esi, esi
je 0x1902f65
push str.HotA_settings.ini
push ebp
push 0x1915694
call fcn.019011b5
push eax
push edi
push esi
call fcn.019035b2
add esp, 0x18
jmp 0x1902f67
xor esi, esi
push esi
push 0
push str.Language
push str.Global_Settings
mov dword [0x191b100], esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
pop edi
pop esi
mov byte [0x191b214], 0
lea ecx, [eax - 1]
neg ecx
pop ebp
sbb ecx, ecx
and dword [0x191b108], 0
not ecx
and ecx, eax
mov dword [0x191b104], ecx
ret
Function at 0x1902fca
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt
Read file on windows

Disassembly:
sub esp, 0x438
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x434], eax
push ebx
push esi
push edi
mov esi, str.0123456789abcdef
lea edi, [esp + 0x1c]
xor ebx, ebx
push ebx
push 0x8000000
movsd dword es:[edi], dword [esi]
push 3
push ebx
push 1
movsd dword es:[edi], dword [esi]
push 0x80000000
push ecx
mov byte [0x1923470], bl
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], ebx
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x30], ebx
movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x190302f
mov eax, 0x19171a0
jmp 0x19030df
push 0xf0000000
push 1
push ebx
push ebx
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x1903050
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1903025
lea eax, [esp + 0x10]
push eax
push ebx
push ebx
push 0x8003
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x190307e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x1903025
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebp
mov ebp, 0x400
jmp 0x19030aa
cmp dword [esp + 0x1c], ebx
je 0x19030f7
push ebx
push dword [esp + 0x20]
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x19030bd
push ebx
lea eax, [esp + 0x20]
push eax
push ebp
lea eax, [esp + 0x50]
push eax
push esi
call edi
test eax, eax
jne 0x190308c
push ebx
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x19171a0
pop ebp
mov ecx, dword [esp + 0x440]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.01903196
add esp, 0x438
ret
test eax, eax
je 0x19030bd
push ebx
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0x10
push eax
lea eax, [esp + 0x3c]
push eax
push 2
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x190317c
mov edx, ebx
cmp dword [esp + 0x18], edx
jbe 0x1903150
movzx ecx, byte [esp + edx + 0x34]
mov eax, ecx
and ecx, 0xf
shr eax, 4
mov al, byte [esp + eax + 0x20]
mov byte [edx*2 + 0x1923470], al
mov al, byte [esp + ecx + 0x20]
mov byte [edx*2 + 0x1923471], al
inc edx
cmp edx, dword [esp + 0x18]
jb 0x1903126
push dword [esp + 0x14]
mov byte [0x1923490], bl
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push ebx
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x1923470
jmp 0x19030de
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push ebx
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x19030d2
Function at 0x190bbd2
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.01907218
mov dword [ebp - 0x14], eax
cmp dword [0x191af8c], esi
jne 0x190bcc5
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x190bc52
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x190bda5
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x190bda5
push 0x1914e98
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x190bda5
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x191af8c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x191af90], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x191af94], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x191af9c], eax
test eax, eax
je 0x190bcc2
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x191af98], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x190bcea
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x190bcdd
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x190bcff
push 4
pop eax
jmp 0x190bda7
cmp dword [ebp - 0x14], esi
je 0x190bcff
push dword [0x191af8c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x190bce4
mov eax, dword [0x191af98]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x190bd5d
cmp dword [0x191af9c], edi
je 0x190bd5d
push eax
call ebx
push dword [0x191af9c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x190bd5d
test eax, eax
je 0x190bd5d
call ecx
test eax, eax
je 0x190bd52
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x190bd52
test byte [ebp - 8], 1
jne 0x190bd5d
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x190bd8d
mov eax, dword [0x191af90]
cmp eax, edi
je 0x190bd8a
push eax
call ebx
test eax, eax
je 0x190bd8a
call eax
mov esi, eax
test esi, esi
je 0x190bd8a
mov eax, dword [0x191af94]
cmp eax, edi
je 0x190bd8a
push eax
call ebx
test eax, eax
je 0x190bd8a
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x191af8c]
call ebx
test eax, eax
je 0x190bda5
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x190bda7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01903196
mov esp, ebp
pop ebp
ret