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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
xor eax, eax
jmp 0x1001af20
mov cl, byte [eax + 0x10059d68]
mov byte [ebp + eax - 0x104], cl
inc eax
test cl, cl
jne 0x1001af20
push 0x1005c15c
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
mov eax, 0x1005c15c
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1001af44
push esi
push edi
lea edi, [ebp - 0x104]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1001af56
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x104]
pop edi
dec eax
pop esi
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1001af77
mov ecx, dword [str.pass.log]
mov edx, dword [0x10049c80]
mov dword [eax], ecx
mov cl, byte [0x10049c84]
mov dword [eax + 4], edx
lea edx, [ebp - 0x104]
push edx
mov byte [eax + 8], cl
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov esp, ebp
pop ebp
ret

Function at 0x1001b390
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x1005a05c]
test eax, eax
je 0x1001b3a6
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0
push 0
push 0
push 0x1001b240
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x1005a05c], eax
test eax, eax
je 0x1001b3eb
push esi
lea ecx, [ebp - 4]
push ecx
push eax
mov esi, eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x1001b3ea
test byte [ebp - 4], 2
jne 0x1001b3ea
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1001c710
Capabilities:
Check if file exists
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10c
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenMutexA]
push str.LocalEAF799BF_8989_4fe1_9A0D_95CD39D44014
push 0
push 0x100000
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, eax
test esi, esi
jne 0x1001c758
nop
push 0x64
call ebx
push str.LocalEAF799BF_8989_4fe1_9A0D_95CD39D44014
push 0
push 0x100000
call edi
mov esi, eax
test esi, esi
je 0x1001c740
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov dword [esp + 0xc], 0
test esi, esi
je 0x1001c789
lea eax, [esp + 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x1001c789
test byte [esp + 0xc], 2
jne 0x1001c789
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x1005a184]
test eax, eax
je 0x1001c79b
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0
push 0
push 0
push 0x1001c1f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xea60
mov dword [0x1005a184], eax
call ebx
xor eax, eax
mov edi, edi
mov cl, byte [eax + 0x10059d68]
mov byte [esp + eax + 0x10], cl
inc eax
test cl, cl
jne 0x1001c7c0
push 0x1005c260
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
mov eax, 0x1005c260
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1001c7e1
lea edi, [esp + 0x10]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1001c7f1
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x10]
rep movsb byte es:[edi], byte [esi]
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1001c810
mov ecx, dword [str.pass.log]
mov edx, dword [0x10049c80]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov dword [eax], ecx
mov cl, byte [0x10049c84]
mov dword [eax + 4], edx
lea edx, [esp + 0x10]
push edx
mov byte [eax + 8], cl
call ebx
test eax, eax
je 0x1001c8e7
xor eax, eax
lea esp, [esp]
mov cl, byte [eax + 0x10059d68]
mov byte [esp + eax + 0x10], cl
inc eax
test cl, cl
jne 0x1001c850
push 0x1005c260
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
mov eax, 0x1005c260
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1001c871
lea edi, [esp + 0x10]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1001c881
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x10]
rep movsb byte es:[edi], byte [esi]
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1001c8a0
mov ecx, dword [str.path.txt]
mov edx, dword [0x10049f08]
mov dword [eax], ecx
mov cl, byte [0x10049f0c]
mov dword [eax + 4], edx
lea edx, [esp + 0x10]
push edx
mov byte [eax + 8], cl
call ebx
test eax, eax
jne 0x1001c8e7
push 0x1005c260
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
push 0x1004a06c
push 0x1005c260
call fcn.10013590
call fcn.1001c710
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001dac0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x1001dad2
xor eax, eax
pop ebx
pop ebp
ret 4
cmp dword [0x1005a068], 0
push esi
push edi
jne 0x1001dc95
cmp dword [0x1005a078], 0
je 0x1001dc95
mov esi, dword [sym.imp.SHLWAPI.dll_StrStrIA]
push str.self.cer
push ebx
call esi
mov edi, eax
test edi, edi
jne 0x1001db81
push str.crypto_
push ebx
call esi
test eax, eax
je 0x1001db20
push 0x10046228
inc eax
push eax
call esi
mov edi, eax
test edi, edi
je 0x1001db20
inc edi
jmp 0x1001db81
push 0x10046228
push ebx
call esi
mov edi, eax
test edi, edi
je 0x1001db65
push str.crypto
inc edi
push edi
call esi
mov edi, eax
test edi, edi
je 0x1001db65
push 0x10046228
inc edi
push edi
call esi
mov edi, eax
test edi, edi
je 0x1001db65
push str.private_
push ebx
inc edi
call esi
test eax, eax
jne 0x1001db81
push str.public_
push ebx
call esi
test eax, eax
jne 0x1001db81
push str.private_
push ebx
call esi
test eax, eax
jne 0x1001db81
push str.public_
push ebx
call esi
test eax, eax
je 0x1001dc95
push str.microscrypto_
push ebx
call esi
test eax, eax
jne 0x1001dc95
push str.maxthon3public_
push ebx
call esi
test eax, eax
jne 0x1001dc95
push str.microsoftcrypto_
push ebx
call esi
test eax, eax
jne 0x1001dc95
push str.crypto_pro_
push ebx
call esi
test eax, eax
jne 0x1001dc95
push str.progra1crypto1_
push ebx
call esi
test eax, eax
jne 0x1001dc95
push str._temporary_internet_files_
push ebx
call esi
test eax, eax
jne 0x1001dc95
push str.:userspublic
push ebx
call esi
test eax, eax
jne 0x1001dc95
push 0x1004a214
push ebx
call esi
test eax, eax
je 0x1001dc0d
push 0x10046228
push eax
call esi
test eax, eax
jne 0x1001dc95
push str.cryptokit_
push ebx
call esi
test eax, eax
jne 0x1001dc95
push str.:progra1common1crypto1
push ebx
call esi
test eax, eax
jne 0x1001dc95
xor esi, esi
cmp edi, esi
je 0x1001dc79
push esi
push esi
push ebx
push 0x1001c350
push esi
push esi
mov dword [0x1005a068], 1
mov byte [edi], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
cmp edi, esi
je 0x1001dc6d
lea ecx, [ebp + 8]
push ecx
push edi
mov dword [ebp + 8], esi
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x1001dc6d
test byte [ebp + 8], 2
jne 0x1001dc6d
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 4
push esi
push esi
push ebx
push 0x1001bc10
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
cmp edi, esi
je 0x1001dc6d
lea eax, [ebp + 8]
push eax
jmp 0x1001dc52
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 4
Function at 0x1001dca0
Capabilities:
Check if file exists
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push ebx
push esi
push edi
push 0x103
lea eax, [ebp - 0x10f]
push 0
push eax
mov byte [ebp - 0x110], 0
call sub.MSVCRT.dll_memset
add esp, 0xc
cmp dword [0x1005a078], 0
jne 0x1001debc
cmp dword [0x1005a070], 0
je 0x1001de60
cmp dword [0x1005a07c], 0
je 0x1001de57
mov ecx, dword [ebp + 8]
push 0x1004a24c
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x1001de57
xor eax, eax
lea esp, [esp]
mov cl, byte [eax + 0x10059d68]
mov byte [ebp + eax - 0x110], cl
inc eax
test cl, cl
jne 0x1001dd10
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
push 0x1005c260
call ebx
mov eax, 0x1005c260
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1001dd36
lea edi, [ebp - 0x110]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1001dd48
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 0x1005c260
rep movsb byte es:[edi], byte [esi]
call ebx
mov eax, 0x1005c260
call fcn.100031c0
lea esi, [ebp - 0x110]
call fcn.10007700
mov eax, esi
dec eax
lea ecx, [ecx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1001dd80
mov edx, dword [str.pass.log]
mov ecx, dword [0x10049c80]
mov dword [eax], edx
mov dl, byte [0x10049c84]
mov dword [eax + 4], ecx
mov byte [eax + 8], dl
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x1001de57
lea eax, [ebp - 0x110]
call fcn.10007120
mov esi, eax
cmp esi, 0xffffffff
je 0x1001de57
mov edx, dword [0x1005a07c]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1001ddd8
sub eax, edi
push edx
mov edi, eax
call fcn.100073a0
mov ecx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push ecx
call fcn.100073a0
call fcn.10025580
mov esi, dword [0x1005a07c]
call fcn.10013d60
push 0
push 0
push 0
push 0x1001b480
push 0
push 0
mov dword [0x1005a070], 0
mov dword [0x1005a078], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x1001de57
lea edx, [ebp - 4]
push edx
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x1001de57
test byte [ebp - 4], 2
jne 0x1001de57
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x1005a070], 0
jne 0x1001debc
mov edi, dword [ebp + 8]
cmp dword [edi], 0x54534f50
jne 0x1001dec5
cmp byte [edi + 4], 0x20
jne 0x1001dec5
push str.bsi.dll
push edi
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je 0x1001dec5
mov esi, dword [0x1005a07c]
mov dword [0x1005a070], 1
test esi, esi
je 0x1001de9d
call fcn.10013d60
mov esi, dword [ebp + 0xc]
lea ecx, [esi + 1]
call fcn.10013d20
mov dword [0x1005a07c], eax
test eax, eax
je 0x1001debc
push esi
push edi
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
mov dword [0x1005a070], 0
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1001def0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, eax
test esi, esi
je 0x1001e079
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1001df02
push 0
sub eax, edx
push eax
push esi
call fcn.10044900
cmp eax, dword [0x1005a28c]
je 0x1001e079
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_StrStrIA]
push edi
push 0x1004a258
push esi
mov dword [0x1005a28c], eax
call ebx
mov edi, eax
test edi, edi
je 0x1001df47
push str.cvv
push esi
call ebx
test eax, eax
je 0x1001df83
push 0x1004a268
push esi
call ebx
mov edi, eax
test edi, edi
je 0x1001df61
push str.cvv2
push esi
call ebx
test eax, eax
je 0x1001df83
push 0x1004a278
push esi
call ebx
mov edi, eax
test edi, edi
je 0x1001e077
push str.cvc
push esi
call ebx
test eax, eax
jne 0x1001e077
mov ebx, dword [sym.imp.MSVCRT.dll_strstr]
push str.domainletitbit.net
push esi
call ebx
add esp, 8
test eax, eax
jne 0x1001e077
push 0x100499d4
push edi
call ebx
add esp, 8
test eax, eax
je 0x1001e077
mov cl, byte [eax + 1]
inc eax
cmp cl, 0x30
jl 0x1001e077
cmp cl, 0x39
jg 0x1001e077
mov cl, byte [eax + 1]
cmp cl, 0x30
jl 0x1001e077
cmp cl, 0x39
jg 0x1001e077
mov al, byte [eax + 2]
cmp al, 0x30
jl 0x1001e077
cmp al, 0x39
jg 0x1001e077
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1001dff2
sub eax, edx
lea edi, [eax + 1]
test edi, edi
je 0x1001e077
add edi, 0x13
and edi, 0xfffffff0
push edi
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x1001e077
push edi
push 0
push ebx
call sub.MSVCRT.dll_memset
mov edx, ebx
add esp, 0xc
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x1001e030
push 0
push 0
push ebx
push 0x1001e080
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x1001e077
lea eax, [ebp - 4]
push eax
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x1001e077
test byte [ebp - 4], 2
jne 0x1001e077
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1001ea20
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x1005a294]
test eax, eax
je 0x1001ea36
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0
push 0
push 0
push 0x1001e8d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x1005a294], eax
test eax, eax
je 0x1001ea7b
push esi
lea ecx, [ebp - 4]
push ecx
push eax
mov esi, eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x1001ea7a
test byte [ebp - 4], 2
jne 0x1001ea7a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1001f1b0
Capabilities:
Check mutex on windows
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenMutexA]
push str.LocalAAFEE2BF_8989_4fe1_9A0D_95CD39DC0A14
push 0
push 0x100000
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, eax
test esi, esi
jne 0x1001f1f8
lea ebx, [ebx]
push 0x64
call ebx
push str.LocalAAFEE2BF_8989_4fe1_9A0D_95CD39DC0A14
push 0
push 0x100000
call edi
mov esi, eax
test esi, esi
je 0x1001f1e0
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov edi, dword [sym.imp.KERNEL32.dll_GetHandleInformation]
mov dword [esp + 0xc], 0
test esi, esi
je 0x1001f22b
lea eax, [esp + 0xc]
push eax
push esi
call edi
test eax, eax
je 0x1001f22b
test byte [esp + 0xc], 2
jne 0x1001f22b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push 0
push 0x1001edd0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x1001f278
push 0x9c40
call ebx
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [esp + 0xc]
push ecx
push esi
mov dword [esp + 0x14], 0
call edi
test eax, eax
je 0x1001f278
test byte [esp + 0xc], 2
jne 0x1001f278
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1005c670
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
push str.FAKTURA
push 0x1005c670
call fcn.10013590
push 0x9c40
call ebx
call fcn.1001f1b0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001f2b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
xor eax, eax
jmp 0x1001f2c0
mov cl, byte [eax + 0x10059d68]
mov byte [ebp + eax - 0x104], cl
inc eax
test cl, cl
jne 0x1001f2c0
push 0x1005c774
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
mov eax, 0x1005c774
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1001f2e4
push esi
push edi
lea edi, [ebp - 0x104]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1001f2f6
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x104]
pop edi
dec eax
pop esi
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1001f317
mov ecx, dword [str.pass.log]
mov edx, dword [0x10049c80]
mov dword [eax], ecx
mov cl, byte [0x10049c84]
mov dword [eax + 4], edx
lea edx, [ebp - 0x104]
push edx
mov byte [eax + 8], cl
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov esp, ebp
pop ebp
ret

Function at 0x1001f350
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
cmp dword [0x1005a29c], 0
push esi
mov esi, eax
je 0x1001f36c
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x1001f365
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1001f373
sub eax, edx
sar eax, 1
je 0x1001f39b
lea ecx, [esi + eax*2 - 2]
movzx edx, word [ecx]
cmp edx, 0x5c
je 0x1001f39b
cmp edx, 0x2f
je 0x1001f39b
sub ecx, 2
dec eax
jne 0x1001f388
push ebx
lea ebx, [esi + eax*2]
test ebx, ebx
jne 0x1001f3ab
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov edx, 0xe
mov eax, str.private
mov ecx, ebx
push edi
jmp 0x1001f3c0
mov edi, dword [ecx]
cmp edi, dword [eax]
jne 0x1001f4c3
sub edx, 4
add eax, 4
add ecx, 4
cmp edx, 4
jae 0x1001f3c0
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1001f4c3
mov al, byte [eax + 1]
cmp al, byte [ecx + 1]
jne 0x1001f4c3
call fcn.1001f2b0
test eax, eax
je 0x1001f4c3
lea edx, [ebp - 0x208]
mov eax, esi
sub edx, esi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1001f405
lea eax, [ebp - 0x208]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1001f420
sub eax, edx
sar eax, 1
je 0x1001f44b
lea ecx, [ebp + eax*2 - 0x20a]
movzx edx, word [ecx]
cmp edx, 0x5c
je 0x1001f44b
cmp edx, 0x2f
je 0x1001f44b
sub ecx, 2
dec eax
jne 0x1001f438
lea edi, [ebp + eax*2 - 0x208]
mov eax, str.public
mov edx, edi
sub edx, eax
jmp 0x1001f460
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1001f460
lea eax, [ebx + 0xe]
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1001f474
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x1001f484
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1001f4c3
pop edi
mov eax, 1
pop ebx
mov dword [0x1005a29c], eax
pop esi
mov esp, ebp
pop ebp
ret
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1001f930
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x1005a2a0]
test eax, eax
je 0x1001f946
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0
push 0
push 0
push 0x1001f7e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x1005a2a0], eax
test eax, eax
je 0x1001f98b
push esi
lea ecx, [ebp - 4]
push ecx
push eax
mov esi, eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x1001f98a
test byte [ebp - 4], 2
jne 0x1001f98a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1001fa20
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
xor eax, eax
push ebx
push esi
push edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], eax
cmp dword [0x1005a2a4], eax
jne 0x1001fbb7
mov edi, dword [ebp + 0xc]
cmp edi, eax
je 0x1001fbb7
mov esi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
push str.java_
push edi
call esi
test eax, eax
jne 0x1001fbb7
push str.windows_
push edi
call esi
test eax, eax
jne 0x1001fbb7
xor esi, esi
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push edi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
test ebx, ebx
je 0x1001fad7
lea eax, [ebx + ebx]
test eax, eax
je 0x1001fac0
lea edi, [eax + 0x13]
and edi, 0xfffffff0
push edi
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x1001fabd
push edi
push 0
push esi
call sub.MSVCRT.dll_memset
add esp, 0xc
mov edi, dword [ebp + 0xc]
test esi, esi
je 0x1001fad7
push 0
push 0
push ebx
push esi
push 0xffffffffffffffff
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [esp + 0x10], esi
test esi, esi
je 0x1001fbb7
push 0x104
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
je 0x1001fbb7
mov ebx, dword [ebp + 8]
lea eax, [esp + 0x18]
push eax
xor esi, esi
push ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov eax, dword [esp + 0x18]
cmp eax, 0x64
jb 0x1001fbba
cmp eax, 0x5000
ja 0x1001fbba
push 1
push esi
push esi
push ebx
mov dword [esp + 0x28], esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
push 4
push 0
mov esi, eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LockFile]
push 0
lea ecx, [esp + 0x1c]
push ecx
push 4
lea edx, [esp + 0x20]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
push 4
push 0
push esi
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_UnlockFile]
test edi, edi
je 0x1001fbba
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp ecx, 0x534b4269
sete al
mov dword [esp + 0xc], eax
test eax, eax
je 0x1001fb94
mov dword [0x1005a2a4], 1
jmp 0x1001fbba
xor edx, edx
mov eax, 0x4b50
cmp cx, ax
setne dl
mov eax, edx
mov dword [esp + 0xc], eax
test eax, eax
je 0x1001fbba
mov dword [0x1005a2a4], 1
jmp 0x1001fbba
mov ebx, dword [ebp + 8]
xor ecx, ecx
push ecx
push ecx
push ecx
xor eax, eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1001fbf7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
push 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapValidate]
test eax, eax
je 0x1001fbf7
mov eax, dword [esp + 0x10]
push eax
push 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10020070
Capabilities:
Check mutex on windows
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenMutexA]
push str.LocalEAF799BF_8989_4fe1_9A0D_95CD39DC0214
push 0
push 0x100000
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, eax
test esi, esi
jne 0x100200b8
lea ebx, [ebx]
push 0x64
call ebx
push str.LocalEAF799BF_8989_4fe1_9A0D_95CD39DC0214
push 0
push 0x100000
call edi
mov esi, eax
test esi, esi
je 0x100200a0
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov edi, dword [sym.imp.KERNEL32.dll_GetHandleInformation]
mov dword [esp + 0xc], 0
test esi, esi
je 0x100200eb
lea eax, [esp + 0xc]
push eax
push esi
call edi
test eax, eax
je 0x100200eb
test byte [esp + 0xc], 2
jne 0x100200eb
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push 0
push 0x1001ff20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x10020138
push 0x9c40
call ebx
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [esp + 0xc]
push ecx
push esi
mov dword [esp + 0x14], 0
call edi
test eax, eax
je 0x10020138
test byte [esp + 0xc], 2
jne 0x10020138
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1005c878
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
push str.IBANK
push 0x1005c878
call fcn.10013590
push 0x9c40
call ebx
call fcn.10020070
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret