joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001367f
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x100192e0]
push edi
xor edi, edi
cmp dword [ebp + 0x3b0], edi
mov dword [ebp + 0x39c], eax
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], edi
jne 0x100136b0
xor eax, eax
jmp 0x10013839
mov eax, dword [ebp + 0x3a8]
push ebx
mov ebx, dword [ebp + 0x3a8]
and eax, 0x1f
sar ebx, 5
push esi
lea esi, [eax + eax*8]
lea ebx, [ebx*4 + 0x1001af80]
mov eax, dword [ebx]
shl esi, 2
test byte [eax + esi + 4], 0x20
je 0x100136ec
push 2
push edi
push edi
push dword [ebp + 0x3a8]
call fcn.10014047
add esp, 0x10
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x100137c7
cmp dword [ebp + 0x3b0], edi
mov eax, dword [ebp + 0x3ac]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x6c], edi
jbe 0x10013805
mov ecx, dword [ebp - 0x74]
sub ecx, dword [ebp + 0x3ac]
lea eax, [ebp - 0x68]
mov dword [ebp - 0x70], edi
cmp ecx, dword [ebp + 0x3b0]
jae 0x10013750
mov edx, dword [ebp - 0x74]
inc dword [ebp - 0x74]
mov dl, byte [edx]
inc ecx
cmp dl, 0xa
jne 0x10013741
inc dword [ebp - 0x7c]
mov byte [eax], 0xd
inc eax
inc dword [ebp - 0x70]
mov byte [eax], dl
inc eax
inc dword [ebp - 0x70]
cmp dword [ebp - 0x70], 0x400
jl 0x10013721
mov edi, eax
lea eax, [ebp - 0x68]
sub edi, eax
push 0
lea eax, [ebp - 0x80]
push eax
push edi
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10013790
mov eax, dword [ebp - 0x80]
add dword [ebp - 0x78], eax
cmp eax, edi
jl 0x10013799
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp + 0x3ac]
xor edi, edi
cmp eax, dword [ebp + 0x3b0]
jb 0x10013712
jmp 0x1001379b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
xor edi, edi
mov eax, dword [ebp - 0x78]
cmp eax, edi
jne 0x10013834
cmp dword [ebp - 0x6c], edi
je 0x10013805
push 5
pop esi
cmp dword [ebp - 0x6c], esi
jne 0x100137fa
call fcn.100110c8
mov dword [eax], 9
call fcn.100110d1
mov dword [eax], esi
jmp 0x1001382f
push edi
lea ecx, [ebp - 0x80]
push ecx
push dword [ebp + 0x3b0]
push dword [ebp + 0x3ac]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x100137ef
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x78], eax
jmp 0x1001379b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
jmp 0x1001379b
push dword [ebp - 0x6c]
call fcn.100110da
pop ecx
jmp 0x1001382f
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x1001381d
mov eax, dword [ebp + 0x3ac]
cmp byte [eax], 0x1a
jne 0x1001381d
xor eax, eax
jmp 0x10013837
call fcn.100110c8
mov dword [eax], 0x1c
call fcn.100110d1
mov dword [eax], edi
or eax, 0xffffffff
jmp 0x10013837
sub eax, dword [ebp - 0x7c]
pop esi
pop ebx
mov ecx, dword [ebp + 0x39c]
pop edi
call fcn.1000ca3e
add ebp, 0x3a0
leave
ret
Function at 0x19fac20
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x19fae04
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1511000]
push edi
or ebp, 0xffffffff
jmp 0x19fac4a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x19fac51
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x19fac40
mov eax, 1
add ebx, ebx
jne 0x19fac63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x19fac74
jne 0x19fac93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x19fac93
dec eax
add ebx, ebx
jne 0x19fac80
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x19fac58
add ebx, ebx
jne 0x19fac8f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x19face5
xor ecx, ecx
sub eax, 3
jb 0x19facab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x19fad1a
sar eax, 1
mov ebp, eax
jmp 0x19facb6
add ebx, ebx
jne 0x19facb6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x19fac84
inc ecx
add ebx, ebx
jne 0x19facc4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x19fac84
add ebx, ebx
jne 0x19facd1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x19facc6
jne 0x19face2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x19facc6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x19fad04
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x19facf6
jmp 0x19fac46
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x19fad04
add edi, ecx
jmp 0x19fac46
pop esi
mov edi, esi
mov ecx, 0xfc6d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x19fad22
cmp byte [edi], 0x7b
jne 0x19fad22
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x19fad27
lea edi, [esi + 0x1994000]
mov eax, dword [edi]
or eax, eax
je 0x19fad96
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19bc26c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x19bc3b0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x19fad54
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x19bc3b4]
or eax, eax
je 0x19fad90
mov dword [ebx], eax
add ebx, 4
jmp 0x19fad71
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x19fadc7
cmp al, 0xef
ja 0x19fadba
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x19fad9c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x19fada9
mov ebp, dword [esi + 0x19bc3b8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x19fadfb
sub esp, 0xffffff80
jmp 0x3505e0
Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Read file on windows

Disassembly:
push esi
push edi
push str.ShellExecuteW
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
xor edi, edi
push edi
push edi
push 0x10002054
push str.open
push edi
call eax
push 0x40
mov esi, 0x1000
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push str.desktop.ini
mov dword [0x10003228], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000322c], eax
cmp eax, 0xffffffff
je 0x100011f3
push edi
push 0x10003230
push esi
push dword [0x10003228]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x10003228]
movzx ecx, byte [eax]
xor ecx, 0x4e
xor esi, esi
cmp dword [0x10003230], edi
jbe 0x100011f1
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003230]
jb 0x100011dd
call eax
pop edi
pop esi
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x407ef8
mov ecx, 0x3d607ae
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
mov ecx, 0x954532
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x4031e3
Capabilities:
Create directory
Get common file path

Disassembly:
push 0x224
mov eax, 0x436481
call fcn.00414681
mov esi, ecx
mov dword [ebp - 0x228], esi
xor ebx, ebx
lea eax, [ebp - 0x220]
push 0x20a
mov dword [ebp - 4], ebx
push ebx
push eax
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x224], ebx
call fcn.00418730
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor edi, edi
inc edi
cmp eax, 0x104
ja 0x40323f
push edi
jmp 0x403240
push ebx
call fcn.0040275d
lea eax, [ebp - 0x220]
mov ecx, esi
push eax
call fcn.004063ec
mov dword [ebp - 4], ebx
mov dword [ebp - 0x224], edi
mov edi, str.7F4987FB1A6E43d69E3E94B29EB75926
push edi
call fcn.00401366
pop ecx
push eax
push edi
mov ecx, esi
call fcn.0040892e
cmp dword [esi + 0x14], 8
jb 0x40327b
mov eax, dword [esi]
jmp 0x40327d
mov eax, esi
push ebx
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push eax
call fcn.004027bd
mov eax, esi
call fcn.0041462b
ret
Function at 0x4037fa
Capabilities:
Write file on windows

Disassembly:
push 0x14
mov eax, 0x436526
call fcn.0041464d
mov esi, edx
mov eax, ecx
sub esp, 0x18
mov ecx, esp
push eax
call fcn.0040641d
lea ecx, [ebp - 0x1c]
call fcn.0040343f
add esp, 0x18
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
jne 0x40384a
push 3
call fcn.00402825
mov esi, 0xff
push esi
call fcn.00402885
push esi
call fcn.004028e5
jmp 0x4038fa
cmp dword [esi + 0x14], 8
jb 0x403854
mov eax, dword [esi]
jmp 0x403856
mov eax, esi
push 0x445120
push eax
call fcn.0041e172
pop ecx
pop ecx
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00402885
test ebx, ebx
jne 0x4038a4
push 1
call fcn.00402825
push 0xff
call fcn.004028e5
cmp dword [esi + 0x14], 8
jb 0x40388e
mov esi, dword [esi]
push esi
push str.Cant_create_file__s_n
push dword [0x44e198]
call fcn.0040111c
add esp, 0xc
jmp 0x4038fa
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
push ebx
push eax
push 1
push dword [ebp - 0x1c]
call fcn.0041dfcd
add esp, 0x10
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004028e5
push ebx
call fcn.004195df
pop ecx
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x1c]
cmp esi, ecx
je 0x403901
push 2
call fcn.00402825
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
push eax
push esi
push str.Write_error:__d_bytes_have_been_written_instead_of__d_n
push dword [0x44e198]
call fcn.0040111c
add esp, 0x10
mov edi, 0x80004005
jmp 0x403907
push edi
call fcn.00402825
lea ecx, [ebp - 0x1c]
call fcn.00407d51
mov eax, edi
call fcn.00414616
ret
Function at 0x403917
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov al, byte [0x44e194]
push ebx
push esi
push edi
push 0x38
mov byte [ebp - 1], al
mov esi, edx
lea eax, [ebp - 0x40]
mov edi, ecx
push 0
push eax
call fcn.00418730
and dword [ebp - 0x3c], 0
add esp, 0xc
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x44], 0x3c
mov dword [ebp - 0x40], 0x440
mov dword [ebp - 0x38], str.open
jb 0x40395d
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x34], edi
jb 0x403968
mov esi, dword [esi]
lea eax, [ebp - 0x44]
mov dword [ebp - 0x30], esi
push eax
mov dword [ebp - 0x28], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call edi
mov ebx, eax
push ebx
call fcn.00402ae5
test esi, esi
je 0x4039a6
push str.ShellExecuteEx_Ok_n
push dword [0x44e198]
call fcn.0040111c
pop ecx
pop ecx
jmp 0x4039ba
push ebx
push str.Error:_0x_X_n
push dword [0x44e198]
call fcn.0040111c
add esp, 0xc
cmp byte [ebp - 1], 0
je 0x403a33
cmp dword [ebp - 0xc], 0
je 0x403a33
push str.Waiting_for_installing..._n
push dword [0x44e198]
call fcn.0040111c
push dword [0x44e198]
call fcn.00419510
add esp, 0xc
push 0xffffffffffffffff
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x403a0e
push dword [ebp - 8]
push str.Exit_code:_0x_X_n
jmp 0x403a16
call edi
push eax
push str.Cant_get_exit_code._Error:_0x_X_n
push dword [0x44e198]
call fcn.0040111c
add esp, 0xc
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 0xc], 0
jmp 0x403a5a
push 1
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
jne 0x403a5a
call edi
push eax
push str.SetHandleInformation_error:_0x_08X_n
push dword [0x44e198]
call fcn.0040111c
add esp, 0xc
push dword [0x44e198]
call fcn.00419510
mov eax, dword [ebp - 0xc]
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403a70
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x436562
mov eax, dword fs:[0]
push eax
mov eax, 0x10090
call fcn.00414db0
mov eax, dword [0x44c084]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x1002c]
call fcn.004116c6
and dword [ebp - 4], 0
push 0x445308
call fcn.00401366
pop ecx
push eax
push 0x445308
lea ecx, [ebp - 0x1002c]
call fcn.0040892e
push 0xffffffffffffffff
push 0
push esi
lea ecx, [ebp - 0x1002c]
call fcn.0040a309
test edi, edi
je 0x403b84
mov esi, 0x44530c
push esi
call fcn.00401366
pop ecx
push eax
push esi
lea ecx, [ebp - 0x1002c]
call fcn.0040892e
mov edx, edi
lea ecx, [ebp - 0x10044]
call fcn.00411af7
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x1002c]
mov byte [ebp - 4], 1
call fcn.0040a309
push 0
push 1
lea ecx, [ebp - 0x10044]
mov byte [ebp - 4], 0
call fcn.00408587
mov esi, str.___st
push esi
call fcn.00401366
pop ecx
push eax
push esi
lea ecx, [ebp - 0x1002c]
call fcn.0040892e
mov edx, ebx
lea ecx, [ebp - 0x10044]
call fcn.00411af7
push 0xffffffffffffffff
xor ebx, ebx
mov byte [ebp - 4], 2
push ebx
push eax
lea ecx, [ebp - 0x1002c]
call fcn.0040a309
push ebx
push 1
lea ecx, [ebp - 0x10044]
call fcn.00408587
jmp 0x403b86
xor ebx, ebx
cmp dword [ebp - 0x10018], 8
lea eax, [ebp - 0x1002c]
cmovae eax, dword [ebp - 0x1002c]
push eax
lea eax, [ebp - 0x10014]
push 0x8000
push eax
call fcn.0041d7b3
add esp, 0xc
mov dword [ebp - 0x1009c], 0x44
lea eax, [ebp - 0x10098]
push 0x40
push ebx
push eax
call fcn.00418730
add esp, 0xc
lea eax, [ebp - 0x10054]
xorps xmm0, xmm0
movups xmmword [ebp - 0x10054], xmm0
push eax
lea eax, [ebp - 0x1009c]
push eax
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
lea eax, [ebp - 0x10014]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x403c14
push dword [ebp - 0x10050]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x10054]
call esi
jmp 0x403c2e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Clone_Error:_0x_08X_n
push dword [0x44e198]
call fcn.0040111c
add esp, 0xc
push ebx
push 1
lea ecx, [ebp - 0x1002c]
call fcn.00408587
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00413cb5
mov esp, ebp
pop ebp
ret
Function at 0x40511e
Capabilities:
Accept command line arguments

Disassembly:
push 0x74
mov eax, 0x436889
call fcn.00414681
mov bl, cl
lea ecx, [ebp - 0x74]
call fcn.004031e3
xor edi, edi
mov edx, str.downloader.
test bl, bl
mov dword [ebp - 4], edi
mov ecx, str._stat.
cmove ecx, edx
mov edx, eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0040b1e7
pop ecx
push edi
push 1
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 2
call fcn.00408587
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
lea ecx, [ebp - 0x5c]
call fcn.00411af7
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0040a309
push edi
push 1
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.00408587
mov esi, str..log
push esi
call fcn.00401366
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.0040892e
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 0x445780
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.0041e172
push str._n
push eax
mov dword [0x44e198], eax
call fcn.0040111c
mov esi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
add esp, 0x10
call esi
test eax, eax
je 0x4051e1
call esi
jmp 0x4051e6
mov eax, 0x444a3c
push eax
push str.cmd:__s_n
push dword [0x44e198]
call fcn.0040111c
sub esp, 0xc
mov ecx, esp
call fcn.004116c6
lea ecx, [ebp - 0x44]
call fcn.00411727
push 4
pop ebx
mov byte [ebp - 4], bl
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
cmovae eax, dword [ebp - 0x44]
push eax
push str.ver:__s_n
push dword [0x44e198]
call fcn.0040111c
add esp, 0x24
lea ecx, [ebp - 0x5c]
call fcn.00403ed0
cmp dword [eax + 0x14], 8
jb 0x40523e
mov eax, dword [eax]
push eax
push str.os:__s_n
push dword [0x44e198]
call fcn.0040111c
add esp, 0xc
lea ecx, [ebp - 0x5c]
push edi
push 1
call fcn.00408587
lea eax, [ebp - 0x78]
mov dword [ebp - 0x78], edi
push eax
push 8
mov esi, edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x405296
lea eax, [ebp - 0x80]
mov dword [ebp - 0x80], ebx
push eax
push ebx
lea eax, [ebp - 0x7c]
push eax
push 0x14
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
cmovne esi, dword [ebp - 0x7c]
cmp dword [ebp - 0x78], 0
je 0x4052a5
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x445864
test esi, esi
mov eax, 0x44585c
cmove eax, ecx
push eax
push str.elevated:__s_n
push dword [0x44e198]
call fcn.0040111c
add esp, 0xc
lea ecx, [ebp - 0x44]
push edi
push 1
call fcn.00408587
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.00408587
call fcn.0041462b
ret
Function at 0x406b08
Capabilities:
Write file on windows

Disassembly:
push 0x34
mov eax, 0x436c1e
call fcn.00414681
mov esi, ecx
mov dword [ebp - 0x30], esi
mov ecx, dword [ebp + 8]
or ebx, 0xffffffff
cmp ecx, ebx
sete al
test al, al
je 0x406b34
xor eax, eax
cmp ecx, ebx
cmovne eax, ecx
jmp 0x406c98
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x406b62
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x406b62
mov eax, dword [ebp + 8]
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], al
jmp 0x406c98
cmp dword [esi + 0x4c], 0
je 0x406c96
mov ecx, esi
call fcn.00408e79
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [esi + 0x38], ecx
jne 0x406b96
push dword [esi + 0x4c]
movsx eax, al
push eax
call fcn.00419240
cmp eax, ebx
pop ecx
cmovne ebx, dword [ebp + 8]
pop ecx
jmp 0x406c96
push ecx
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0x28], cl
lea ecx, [ebp - 0x28]
push 8
mov byte [ebp - 0x29], al
mov dword [ebp - 0x14], 0xf
call fcn.00408b22
and dword [ebp - 4], 0
lea eax, [esi + 0x40]
mov dword [ebp - 0x34], eax
mov edi, dword [ebp - 0x14]
mov esi, dword [esi + 0x38]
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
cmp edi, 0x10
lea edx, [ebp - 0x28]
mov edi, dword [esi]
cmovae ecx, dword [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
add eax, ecx
push eax
push edx
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x29]
push eax
push dword [ebp - 0x34]
call dword [edi + 0x1c]
test eax, eax
js 0x406c8a
cmp eax, 1
jg 0x406c6d
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
cmp edi, 0x10
mov edx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x30]
cmovae eax, ecx
sub edx, eax
mov dword [ebp - 0x3c], edx
je 0x406c3e
push dword [esi + 0x4c]
cmp edi, 0x10
lea eax, [ebp - 0x28]
push edx
cmovae eax, ecx
push 1
push eax
call fcn.0041dfcd
mov edx, dword [ebp - 0x3c]
add esp, 0x10
cmp edx, eax
jne 0x406c8a
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x29]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x40], eax
jne 0x406c68
test edx, edx
jne 0x406bbe
cmp dword [ebp - 0x18], 0x20
jae 0x406c8a
push edx
push 8
lea ecx, [ebp - 0x28]
call fcn.00408c7f
jmp 0x406bbb
mov ebx, dword [ebp + 8]
jmp 0x406c8a
cmp eax, 3
jne 0x406c8a
mov eax, dword [ebp - 0x30]
push dword [eax + 0x4c]
movsx eax, byte [ebp - 0x29]
push eax
call fcn.00419240
cmp eax, ebx
pop ecx
cmovne ebx, dword [ebp + 8]
pop ecx
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00408a28
mov eax, ebx
call fcn.0041462b
ret 4
Function at 0x408f01
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x436dbd
call fcn.00414681
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x409001
cmp byte [ebx + 0x3d], 0
je 0x409001
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x408f3b
xor al, al
jmp 0x409003
xor eax, eax
mov dword [ebp - 0x18], 0xf
push eax
push 8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x2c], al
call fcn.00408b22
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
lea eax, [ebp - 0x30]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x1c]
lea esi, [ebp - 0x2c]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x408f99
sub eax, 1
je 0x408f9d
dec eax
sub eax, 1
je 0x408fef
xor bl, bl
jmp 0x408ff1
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x2c]
cmp ecx, 0x10
mov esi, dword [ebp - 0x30]
cmovae eax, edx
sub esi, eax
je 0x408fd5
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.0041dfcd
add esp, 0x10
cmp esi, eax
jne 0x408f95
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
cmp byte [ebx + 0x3d], 0
je 0x408fef
test esi, esi
jne 0x408f5f
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.00408c7f
jmp 0x408f59
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00408a28
mov al, bl
jmp 0x409003
mov al, 1
call fcn.0041462b
ret
Function at 0x40d429
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov esi, ecx
xor cl, cl
push edi
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x40d5cc
mov edx, 0x10000000
cmp eax, 0x7c
je 0x40d5cc
cmp eax, 0x29
jne 0x40d462
cmp dword [esi + 0x10], 0
jne 0x40d5cc
test dword [esi + 0x50], edx
je 0x40d5d2
cmp eax, 0x2e
jne 0x40d47d
push 5
lea ecx, [esi + 0x24]
call fcn.0040d6b0
mov ecx, esi
call fcn.0040d406
jmp 0x40d5b6
cmp eax, 0x5c
jne 0x40d4d8
mov ecx, esi
call fcn.0040d406
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x40d4af
cmp byte [esi + 0x48], 0x62
jne 0x40d4af
push 4
lea ecx, [esi + 0x24]
call fcn.0040d6b0
mov ecx, esi
call fcn.0040d406
jmp 0x40d5bd
test eax, eax
je 0x40d4cc
cmp byte [esi + 0x48], 0x42
jne 0x40d4cc
push 4
lea ecx, [esi + 0x24]
call fcn.0040d6b0
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x40d4a3
mov ecx, esi
call fcn.0040e271
jmp 0x40d5b6
cmp eax, 0x5b
jne 0x40d538
mov ecx, esi
call fcn.0040d406
lea ecx, [esi + 0x24]
call fcn.0040f043
cmp dword [esi + 0x4c], 0x5e
jne 0x40d500
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.0040d406
test dword [esi + 0x50], 0x20000000
je 0x40d520
cmp dword [esi + 0x4c], 0x5d
jne 0x40d520
push 0x5d
lea ecx, [esi + 0x24]
call fcn.0040f08f
mov ecx, esi
call fcn.0040d406
mov ecx, esi
call fcn.0040ee36
cmp dword [esi + 0x4c], 0x5d
je 0x40d471
push 4
jmp 0x40d5d4
cmp eax, 0x28
jne 0x40d55c
mov ecx, esi
call fcn.0040d406
mov ecx, esi
call fcn.0040e354
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x40d5d2
mov ecx, esi
call fcn.0040d406
jmp 0x40d5b2
cmp eax, 0x5e
jne 0x40d568
push 2
jmp 0x40d49b
cmp eax, 0x24
jne 0x40d574
push 3
jmp 0x40d49b
cmp eax, 0x2a
je 0x40d5c8
cmp eax, 0x2b
je 0x40d5c8
cmp eax, 0x3f
je 0x40d5c8
cmp eax, 0x7b
je 0x40d5c8
cmp eax, 0x7d
jne 0x40d592
test dword [esi + 0x50], edx
je 0x40d5c4
cmp eax, 0x5d
jne 0x40d59c
test dword [esi + 0x50], edx
je 0x40d531
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0040e50a
mov ecx, esi
call fcn.0040d406
mov bl, 1
test bl, bl
je 0x40d5bd
mov ecx, esi
call fcn.0040e446
mov cl, 1
jmp 0x40d430
push 6
jmp 0x40d5d4
push 0xa
jmp 0x40d5d4
pop edi
pop esi
mov al, cl
pop ebx
ret
push 5
call fcn.004128c1
int3