joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a087
Capabilities:
Access peb ldr_data
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52fb95
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x59d300]
xor eax, esp
mov dword [esp + 0x74], eax
push esi
push edi
mov eax, dword [0x59d300]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
lea eax, [esp + 0x64]
push eax
call fcn.0048d8fa
pop ecx
xor edi, edi
mov dword [esp + 0x90], edi
xor eax, eax
mov dword [esp + 0xc], edi
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], edi
mov word [esp + 0x30], ax
mov byte [esp + 0x90], 1
jmp 0x43a18e
lea eax, [esp + 0x64]
push eax
lea esi, [esp + 0x4c]
call fcn.0040be1c
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x34]
mov ecx, esi
mov byte [esp + 0x98], 2
call fcn.0040b405
mov eax, esi
push eax
lea esi, [esp + 0x14]
call fcn.0040be1c
push str._search.json
mov eax, esi
push eax
mov byte [esp + 0x98], 3
call fcn.0040b547
cmp dword [esp + 0x28], 8
mov eax, dword [esp + 0x14]
jae 0x43a14c
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x43a16e
cmp dword [esp + 0x28], 8
mov eax, dword [esp + 0x14]
jae 0x43a167
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
push 1
lea esi, [esp + 0x18]
call fcn.0040dac5
push edi
push 1
lea esi, [esp + 0x50]
mov byte [esp + 0x98], 1
call fcn.0040dac5
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x10]
call fcn.0048de2d
pop ecx
test al, al
jne 0x43a0f8
push edi
push 1
lea esi, [esp + 0x34]
call fcn.0040dac5
push edi
push 1
lea esi, [esp + 0x6c]
call fcn.0040dac5
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.004ffa47
mov esp, ebp
pop ebp
ret
Function at 0x47307c
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5232d8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x59d300]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x59d300]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
cmp byte [ebp + 0xc], 0
mov esi, dword [ebp + 8]
je 0x4730e7
mov ecx, esi
call fcn.0047320d
test al, al
jne 0x4730e7
xor al, al
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004ffa47
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x18], 8
lea edi, [esi + 4]
jb 0x4730f4
mov eax, dword [edi]
jmp 0x4730f6
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x473105
mov al, 1
jmp 0x4730c9
xor ebx, ebx
xor eax, eax
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], ax
lea eax, [esp + 0x14]
push eax
mov ecx, esi
mov dword [esp + 0x44], ebx
call fcn.0047318e
pop ecx
lea eax, [esp + 0x14]
push ebx
push eax
call fcn.0047307c
pop ecx
pop ecx
push ebx
test al, al
jne 0x47314d
push 1
lea esi, [esp + 0x1c]
call fcn.0040dac5
jmp 0x4730c7
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [esi + 0x18], 8
jb 0x47315b
mov edi, dword [edi]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x47318a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x47318a
xor bl, bl
push 0
push 1
lea esi, [esp + 0x1c]
call fcn.0040dac5
mov al, bl
jmp 0x4730c9
mov bl, 1
jmp 0x473176
Function at 0x474c11
Capabilities:
Create thread

Disassembly:
push esi
mov esi, dword [0x5a1350]
push edi
xor edi, edi
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0xc], eax
lea eax, [esi + 8]
push eax
push edi
push esi
push 0x474bd9
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
cmp eax, edi
mov dword [esi + 4], eax
setne cl
pop edi
mov al, cl
pop esi
ret

Function at 0x47560f
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push 0x64
mov eax, 0x51e815
call fcn.0050669a
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x68], ebx
mov dword [ebp - 4], ebx
push 8
pop ecx
mov esi, 0x55c594
lea edi, [ebp - 0x44]
rep movsd dword es:[edi], dword [esi]
xor eax, eax
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
movsw word es:[edi], word [esi]
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], ebx
mov word [ebp - 0x5c], ax
push 0xf0000000
xor edi, edi
inc edi
push edi
push ebx
push ebx
lea eax, [ebp - 0x70]
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x475686
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp - 0x64]
push 0x54323c
call fcn.0040b812
jmp 0x475756
lea eax, [ebp - 0x6c]
push eax
push ebx
push ebx
push 0x8003
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x4756b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x475674
cmp dword [ebp + 0x24], 8
mov eax, dword [ebp + 0x10]
jae 0x4756bc
lea eax, [ebp + 0x10]
mov ecx, dword [ebp + 0x20]
push ebx
add ecx, ecx
push ecx
push eax
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
push ebx
test eax, eax
jne 0x4756e6
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
jmp 0x475674
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x20]
push eax
push 2
push dword [ebp - 0x6c]
mov dword [ebp - 0x68], 0x10
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x475729
xor esi, esi
cmp dword [ebp - 0x68], ebx
jbe 0x475737
movzx eax, byte [ebp + esi - 0x20]
and eax, 0xf
movzx eax, word [ebp + eax*2 - 0x44]
push eax
lea eax, [ebp - 0x60]
call fcn.00417a41
inc esi
cmp esi, dword [ebp - 0x68]
jb 0x47570b
jmp 0x475737
push 0x54323c
lea eax, [ebp - 0x60]
push eax
call fcn.0040b7ed
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push ebx
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov esi, dword [ebp - 0x64]
lea eax, [ebp - 0x60]
push eax
call fcn.0040be1c
push ebx
push edi
lea esi, [ebp - 0x60]
call fcn.0040dac5
push ebx
push edi
lea esi, [ebp + 0xc]
call fcn.0040dac5
mov eax, dword [ebp - 0x64]
call fcn.0050671d
ret
Function at 0x47e48e
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x528903
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x59d300]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push esi
push edi
mov eax, dword [0x59d300]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
xor eax, eax
mov dword [esp + 0x260], ebx
push str.SoftwareMicrosoftInternet_Explorer
mov word [esp + 0x48], ax
push reloc.OLEAUT32.dll_SysReAllocString
mov eax, 0x20019
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], 0x104
call fcn.0040e4e4
cmp eax, ebx
jne 0x47e52a
push str.Version
lea eax, [esp + 0x18]
push eax
lea esi, [esp + 0x18]
lea edi, [esp + 0x4c]
call fcn.0040e58f
lea esi, [esp + 0x14]
call fcn.0040e486
lea eax, [esp + 0x44]
push eax
call fcn.00500fdf
pop ecx
mov dword [esp + 0x10], eax
cmp eax, 9
jne 0x47e60f
lea eax, [esp + 0x28]
push str.ProgramFiles
push eax
call fcn.004208f1
pop ecx
pop ecx
push str.Internet_Exploreriexplore.exe
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x268], 1
call fcn.0040b547
cmp dword [esp + 0x40], 8
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x24], ebx
jae 0x47e57d
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x24]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebx
jbe 0x47e603
push esi
call fcn.004ff331
mov edi, eax
pop ecx
cmp edi, ebx
je 0x47e603
push esi
push ebx
push edi
call fcn.005060b0
mov eax, dword [esp + 0x38]
add esp, 0xc
cmp dword [esp + 0x40], 8
jae 0x47e5b5
lea eax, [esp + 0x2c]
push edi
push esi
push ebx
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x47e5fc
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
push 0x5418b4
push edi
mov dword [esp + 0x30], 0x104
mov dword [esp + 0x2c], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x47e5fc
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x47e5fc
movzx eax, word [eax + 0xa]
cmp eax, 9
jle 0x47e5fc
mov dword [esp + 0x10], eax
push edi
call fcn.004ffb17
pop ecx
push ebx
push 1
lea esi, [esp + 0x30]
call fcn.0040dac5
lea esi, [esp + 0x14]
call fcn.0040e486
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.004ffa47
mov esp, ebp
pop ebp
ret
Function at 0x488fe2
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, eax
cmp byte [esi + 0x24], 0
je 0x489083
cmp dword [esi + 0x1c], 8
jb 0x488ffa
mov eax, dword [esi + 8]
jmp 0x488ffd
lea eax, [esi + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x489083
push ebx
push edi
lea edi, [esi + 0x20]
mov eax, edi
xor bl, bl
call fcn.004e98af
test al, al
je 0x48907d
push 8
pop ebx
cmp dword [esi + 0x1c], ebx
jb 0x489027
mov esi, dword [esi + 8]
jmp 0x48902a
add esi, 8
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x18], ebx
jb 0x489038
mov edx, dword [eax + 4]
jmp 0x48903b
lea edx, [eax + 4]
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x18], ebx
jb 0x489049
mov ecx, dword [eax + 4]
jmp 0x48904c
lea ecx, [eax + 4]
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x18], ebx
jb 0x48905a
mov eax, dword [eax + 4]
jmp 0x48905d
add eax, 4
push esi
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ebx, eax
mov eax, dword [edi]
dec ebx
neg ebx
sbb bl, bl
inc bl
test eax, eax
je 0x48907d
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop edi
mov al, bl
pop ebx
jmp 0x489085
xor al, al
pop esi
ret 0xc
Function at 0x489c50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x51e252
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x59d300]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x10], ebx
cmp byte [esi + 0x24], bl
je 0x489dd6
cmp dword [esi + 0x1c], 8
jb 0x489c99
mov eax, dword [esi + 8]
jmp 0x489c9c
lea eax, [esi + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x489dd6
lea eax, [esi + 0x20]
mov dword [esp + 0x20], eax
call fcn.004e98af
test al, al
je 0x489dd6
mov eax, dword [0x5a009c]
mov ecx, 0x5a009c
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov edi, dword [ebp + 0x14]
mov dword [esp + 0x40], ebx
mov ebx, dword [edi + 0xc]
lea esi, [esp + 0x24]
call fcn.00471ecf
mov ebx, dword [edi + 0x10]
lea esi, [esp + 0x2c]
call fcn.00471ecf
mov edi, esi
lea esi, [esp + 0x24]
call fcn.0041290f
test al, al
je 0x489db9
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
add eax, 4
add edi, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edi
jmp 0x489d23
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x10]
cmp dword [ecx + 0x18], 8
jb 0x489d2e
mov eax, dword [eax]
push dword [esp + 0x10]
push eax
push str._s_d
lea eax, [esp + 0x20]
call fcn.00412d06
mov eax, dword [ebp + 8]
add esp, 0xc
cmp dword [eax + 0x1c], 8
jb 0x489d52
mov ebx, dword [eax + 8]
jmp 0x489d55
lea ebx, [eax + 8]
lea esi, [esp + 0x24]
call fcn.0047229b
cmp dword [eax + 0x18], 8
jb 0x489d69
mov eax, dword [eax + 4]
jmp 0x489d6c
add eax, 4
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x18], 8
jb 0x489d77
mov edi, dword [edi]
push ebx
push eax
lea esi, [esp + 0x1c]
call fcn.00408f2e
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
inc dword [esp + 0x10]
lea esi, [esp + 0x24]
call fcn.004128e4
mov edi, dword [ebp + 0x14]
mov ebx, dword [edi + 0x10]
lea esi, [esp + 0x2c]
call fcn.00471ecf
mov edi, esi
lea esi, [esp + 0x24]
call fcn.0041290f
test al, al
jne 0x489d1b
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x489dca
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.0040b78a
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x48bb4a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x51db7b
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x59d300]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
mov eax, dword [0x59d300]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x48bbad
xor eax, eax
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.004ffa47
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x24]
mov ecx, dword [eax]
xor edi, edi
cmp ecx, edi
je 0x48bbd5
mov eax, dword [esi + 0x34]
mov edx, dword [eax]
add edx, ecx
cmp ecx, edx
jae 0x48bbd5
dec dword [eax]
mov esi, dword [esi + 0x24]
mov eax, dword [esi]
lea ecx, [eax + 1]
mov dword [esi], ecx
mov byte [eax], bl
mov eax, ebx
jmp 0x48bb8d
mov eax, dword [esi + 0x4c]
cmp eax, edi
jne 0x48bbe1
or eax, 0xffffffff
jmp 0x48bb8d
cmp dword [esi + 0x3c], edi
jne 0x48bbf5
push eax
push ebx
call fcn.0048a252
pop ecx
pop ecx
test al, al
je 0x48bbdc
jmp 0x48bbd1
push edi
push 8
lea ecx, [esp + 0x4c]
mov byte [esp + 0x18], bl
call fcn.0048c278
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x74], edi
call fcn.0048c29e
mov ecx, eax
call fcn.0048c8df
mov edi, dword [esp + 0x58]
mov ebx, eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x48]
call fcn.0048c29e
mov ecx, eax
call fcn.0048c8df
lea edx, [esp + 0x18]
add edi, ebx
push edx
lea ebx, [esi + 0x44]
jmp 0x48bd05
cmp eax, 1
jg 0x48bd2d
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x48]
call fcn.0048c29e
mov ecx, eax
call fcn.0048c8df
mov edi, dword [esp + 0x18]
sub edi, eax
je 0x48bc9a
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x48]
call fcn.0048c29e
mov ecx, eax
call fcn.0048c8df
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0050336a
add esp, 0x10
cmp edi, eax
jne 0x48bd44
lea eax, [esp + 0x10]
mov byte [esi + 0x41], 1
cmp dword [esp + 0x1c], eax
jne 0x48bd5b
test edi, edi
ja 0x48bcc8
cmp dword [esp + 0x58], 0x20
jae 0x48bd44
push 0
push 8
lea ecx, [esp + 0x4c]
call fcn.0040a6ef
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x48]
call fcn.0048c29e
mov ecx, eax
call fcn.0048c8df
mov edi, dword [esp + 0x58]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x48]
call fcn.0048c29e
mov ecx, eax
call fcn.0048c8df
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x24]
add edi, edx
mov ecx, dword [esi + 0x3c]
push edi
push eax
lea edx, [esp + 0x28]
push edx
lea edx, [esp + 0x21]
push edx
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x2c], eax
mov eax, dword [ecx]
push ebx
call dword [eax + 0x14]
test eax, eax
jge 0x48bc48
jmp 0x48bd44
cmp eax, 3
jne 0x48bd44
push dword [esi + 0x4c]
push dword [esp + 0x14]
call fcn.0048a252
pop ecx
pop ecx
test al, al
jne 0x48bd5b
or esi, 0xffffffff
push 0
push 1
lea ecx, [esp + 0x4c]
call fcn.0040cdb3
mov eax, esi
jmp 0x48bb8d
mov esi, dword [ebp + 8]
jmp 0x48bd47
Function at 0x48c55f
Capabilities:
Write file on windows

Disassembly:
push 0x4c
mov eax, 0x51dc40
call fcn.0050669a
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x3c], edi
je 0x48c66b
cmp byte [esi + 0x41], 0
je 0x48c66b
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 4]
cmp eax, 0xffffffff
jne 0x48c595
xor al, al
jmp 0x48c66d
push edi
push 8
lea ecx, [ebp - 0x30]
call fcn.0048c278
mov dword [ebp - 4], edi
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x30]
call fcn.0048c29e
mov ecx, eax
call fcn.0048c8df
mov edi, dword [ebp - 0x1c]
mov ebx, eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x30]
call fcn.0048c29e
mov ecx, eax
call fcn.0048c8df
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x34]
push eax
add edi, ebx
push edi
push dword [ebp - 0x38]
lea eax, [esi + 0x44]
push eax
call dword [edx + 0x18]
sub eax, 0
je 0x48c605
dec eax
je 0x48c609
dec eax
dec eax
je 0x48c667
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.0040cdb3
mov al, bl
jmp 0x48c66d
mov byte [esi + 0x41], 0
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x30]
call fcn.0048c29e
mov ecx, eax
call fcn.0048c8df
mov edi, dword [ebp - 0x34]
sub edi, eax
je 0x48c649
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x30]
call fcn.0048c29e
mov ecx, eax
call fcn.0048c8df
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0050336a
add esp, 0x10
cmp edi, eax
jne 0x48c5f3
cmp byte [esi + 0x41], 0
je 0x48c667
test edi, edi
jne 0x48c5a3
push edi
push 8
lea ecx, [ebp - 0x30]
call fcn.0040a6ef
jmp 0x48c5a3
mov bl, 1
jmp 0x48c5f5
mov al, 1
call fcn.0050671d
ret
Function at 0x493a99
Capabilities:
Parse credit card information

Disassembly:
push ecx
mov ecx, dword [esi + 0x40]
push ebx
xor al, al
push edi
mov bl, 1
cmp ecx, 0xffffffff
je 0x493c2f
mov edi, 0x10000000
cmp ecx, 0x7c
je 0x493c2f
cmp ecx, 0x29
jne 0x493adb
cmp dword [esi + 0x10], 0
jne 0x493c2f
test dword [esi + 0x44], edi
jne 0x493adb
push 5
call fcn.004ff664
pop ecx
jmp 0x493c18
cmp ecx, 0x2e
jne 0x493af7
push 5
lea eax, [esi + 0x18]
push eax
call fcn.00493d12
mov eax, esi
call fcn.00493a71
jmp 0x493c18
cmp ecx, 0x5c
jne 0x493b56
mov eax, esi
call fcn.00493a71
mov eax, dword [esi + 0x44]
and eax, 0x80
je 0x493b2a
cmp byte [esi + 0x3e], 0x62
jne 0x493b2a
push 4
lea eax, [esi + 0x18]
push eax
call fcn.00493d12
mov eax, esi
call fcn.00493a71
jmp 0x493c1f
test eax, eax
je 0x493b4a
cmp byte [esi + 0x3e], 0x42
jne 0x493b4a
push 4
lea eax, [esi + 0x18]
push eax
call fcn.00493d12
mov eax, dword [esi + 0x1c]
add eax, 8
or dword [eax], 1
jmp 0x493b1e
mov eax, esi
call fcn.0049448b
jmp 0x493c18
cmp ecx, 0x5b
jne 0x493b80
mov eax, esi
call fcn.00493a71
mov eax, esi
call fcn.00494440
cmp dword [esi + 0x40], 0x5d
je 0x493aeb
push 4
call fcn.004ff664
pop ecx
jmp 0x493aeb
cmp ecx, 0x28
jne 0x493bac
mov eax, esi
call fcn.00493a71
mov eax, esi
call fcn.00494557
cmp dword [esi + 0x40], 0x29
mov bl, al
je 0x493ba3
push 5
call fcn.004ff664
pop ecx
mov eax, esi
call fcn.00493a71
jmp 0x493c14
cmp ecx, 0x5e
jne 0x493bb8
push 2
jmp 0x493b15
cmp ecx, 0x24
jne 0x493bc4
push 3
jmp 0x493b15
cmp ecx, 0x2a
je 0x493c0c
cmp ecx, 0x2b
je 0x493c0c
cmp ecx, 0x3f
je 0x493c0c
cmp ecx, 0x7b
je 0x493c0c
cmp ecx, 0x7d
jne 0x493be9
test dword [esi + 0x44], edi
jne 0x493be9
push 6
jmp 0x493ad0
cmp ecx, 0x5d
jne 0x493bfa
test dword [esi + 0x44], edi
jne 0x493bfa
push 4
jmp 0x493ad0
movzx eax, byte [esi + 0x3e]
push eax
lea eax, [esi + 0x18]
call fcn.004946ed
jmp 0x493aeb
push 0xa
call fcn.004ff664
pop ecx
test bl, bl
je 0x493c1f
mov eax, esi
call fcn.00494625
mov ecx, dword [esi + 0x40]
mov al, 1
mov bl, al
cmp ecx, 0xffffffff
jne 0x493ab1
pop edi
pop ebx
pop ecx
ret
Function at 0x49c5bc
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp dword [esp + 4], eax
jle 0x49c5e5
push esi
movzx edx, byte [ecx]
movzx edx, byte [edx + 0x558860]
mov esi, eax
shl esi, 3
xor edx, esi
xor eax, edx
inc ecx
dec dword [esp + 8]
cmp dword [esp + 8], 0
jg 0x49c5c5
pop esi
ret

Function at 0x49cbca
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x20]
push esi
push edi
test eax, eax
je 0x49cc0a
cdq
mov esi, eax
add eax, dword [ebp + 0xc]
mov edi, edx
mov ecx, edx
adc ecx, dword [ebp + 0x10]
push edi
sub eax, 1
push esi
sbb ecx, 0
push ecx
push eax
call fcn.0050fcd0
push edi
push esi
push edx
push eax
call fcn.005143f0
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], edx
push dword [ebp + 0x10]
mov edi, ebx
push dword [ebp + 0xc]
call fcn.0049ca6b
pop ecx
pop ecx
test eax, eax
jne 0x49cc33
push dword [ebx + 8]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x49cc3a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x10], eax
mov dword [ebp - 4], 0x60a
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x49cc66
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
lea eax, [ebp + 8]
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x49cc96
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x49cc96
mov dword [esi + 0x10], eax
mov eax, 0x70a
jmp 0x49ccb6
push 1
push 0
push 0
push dword [ebp + 8]
call fcn.005143f0
mov ecx, eax
xor eax, eax
add ecx, edi
adc edx, eax
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
mov dword [eax + 4], edx
xor eax, eax
pop edi
pop esi
pop ebp
ret
Function at 0x49d6a2
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
mov eax, dword [0x59d300]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x5a14c4]
push ebx
push esi
test eax, eax
je 0x49d6dc
push eax
push 0x562d90
lea eax, [ebp - 0x110]
push eax
push 0xe6
call fcn.0049b2bb
add esp, 0x10
jmp 0x49d754
call fcn.0049c882
mov esi, 0xe6
test eax, eax
je 0x49d71c
lea eax, [ebp - 0x318]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x318]
push eax
call fcn.0049c92f
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x49d738
push 7
pop eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004ffa47
leave
ret
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x218]
push eax
call fcn.0049c9f0
jmp 0x49d704
push ebx
push 0x562d90
lea eax, [ebp - 0x110]
push eax
push esi
call fcn.0049b2bb
push ebx
call fcn.00500055
add esp, 0x14
mov ecx, str.etilqs_
call fcn.0049ba5f
lea ecx, [ebp - 0x110]
mov edx, eax
call fcn.0049ba5f
lea eax, [edx + eax + 0x11]
cmp eax, 0x105
jl 0x49d77b
xor eax, eax
inc eax
jmp 0x49d70e
lea ecx, [ebp - 0x110]
call fcn.0049ba5f
test eax, eax
jbe 0x49d794
dec ecx
cmp byte [ecx + eax], 0x5c
jne 0x49d794
dec eax
jne 0x49d78b
mov byte [ebp + eax - 0x110], 0
lea eax, [ebp - 0x110]
push eax
push str._setilqs_
push edi
push 0xf4
call fcn.0049b2bb
mov ecx, edi
call fcn.0049ba5f
mov esi, eax
lea eax, [edi + esi]
push eax
push 0xf
call fcn.0049b4ba
add esp, 0x18
push 0xf
pop ecx
movzx eax, byte [edi + esi]
xor edx, edx
push 0x3e
pop ebx
div ebx
mov al, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi], al
inc esi
dec ecx
jne 0x49d7cd
mov byte [edi + esi], cl
xor eax, eax
jmp 0x49d70e

Function at 0x49da73
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebx
push ebp
push edi
push dword [esp + 0x14]
xor ebp, ebp
xor ebx, ebx
call fcn.0049d66b
mov edi, eax
pop ecx
test edi, edi
jne 0x49da92
push 7
pop eax
jmp 0x49db1b
push esi
call fcn.0049c882
test eax, eax
je 0x49dace
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x49dabe
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 5
jne 0x49db00
inc ebp
cmp ebp, 5
jge 0x49db00
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x49da9c
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x49daf0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 5
jne 0x49db00
inc ebp
cmp ebp, 5
jge 0x49db00
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x49dace
push edi
call fcn.00500055
pop ecx
cmp esi, 0xffffffff
pop esi
jne 0x49db16
cmp ebx, 2
jne 0x49db16
xor eax, eax
jmp 0x49db1b
mov eax, 0xa0a
pop edi
pop ebp
pop ebx
ret