joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1e7a9500
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x1e7a9499
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x1e7a94b7
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edi, es
add al, 1
add byte [eax], al
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
push dword [ebx]
ror byte [ecx - 0x3e7443bb], cl
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x1e7a9515
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x1e7a94fc
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x1e7a9505
invalid
add al, 0x80
or al, 8
add bh, byte [ecx]
pop ebp
adc byte [ebp + eax + 3], dh
enter 0x980, 4
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x1e7a950f
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x1e7a94f1
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x1e7a947b
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x1e7a9562
dec eax
je 0x1e7a9559
sub eax, 3
je 0x1e7a9550
mov dword [ebp - 4], 0x40
jmp 0x1e7a957f
mov dword [ebp - 4], 4
jmp 0x1e7a9565
mov dword [ebp - 4], 0x20
jmp 0x1e7a9565
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x1e7a95b1
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x1e7a9531
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.1e7a8dc2
aad 0xf4
add ecx, dword [edi + edi*8]
jne 0x1e7a95bc
push 1
push esi
call edi
mov eax, esi
jmp 0x1e7a95bd
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
rcr byte [edi + 0x5e], 0x5b
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1e7a9a80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push dword [ebp + 8]
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x1e7a9ab6
invalid
Function at 0x407d10
Capabilities:
Encode data using xor
Hash data with crc32
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 8
push esi
or esi, 0xffffffff
test eax, eax
je 0x407ec5
push ebx
push 0
push pe_nt_image_headers32
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 8], ebx
je 0x407ec4
mov eax, dword [0x40c354]
push ebp
push 0x1000
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x10], ebp
je 0x407ebc
push edi
nop
push 0
lea ecx, [esp + 0x20]
push ecx
push 0x1000
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [esp + 0x1c]
cmp edx, 8
mov eax, ebp
mov edi, edx
jb 0x407e7e
mov ebp, edx
shr ebp, 3
lea ebx, [ebx]
movzx ebx, byte [eax]
xor ebx, esi
and ebx, 0xff
add eax, 1
mov ecx, esi
shr ecx, 8
xor ecx, dword [ebx*4 + 0x40a1e0]
movzx ebx, byte [eax]
xor ebx, ecx
and ebx, 0xff
shr ecx, 8
xor ecx, dword [ebx*4 + 0x40a1e0]
movzx ebx, byte [eax + 1]
xor ebx, ecx
and ebx, 0xff
add eax, 1
shr ecx, 8
xor ecx, dword [ebx*4 + 0x40a1e0]
movzx ebx, byte [eax + 1]
xor ebx, ecx
add eax, 1
and ebx, 0xff
shr ecx, 8
xor ecx, dword [ebx*4 + 0x40a1e0]
movzx ebx, byte [eax + 1]
xor ebx, ecx
add eax, 1
and ebx, 0xff
shr ecx, 8
xor ecx, dword [ebx*4 + 0x40a1e0]
movzx ebx, byte [eax + 1]
xor ebx, ecx
add eax, 1
and ebx, 0xff
shr ecx, 8
xor ecx, dword [ebx*4 + 0x40a1e0]
movzx ebx, byte [eax + 1]
add eax, 1
xor ebx, ecx
and ebx, 0xff
shr ecx, 8
xor ecx, dword [ebx*4 + 0x40a1e0]
movzx ebx, byte [eax + 1]
add eax, 1
xor ebx, ecx
and ebx, 0xff
shr ecx, 8
xor ecx, dword [ebx*4 + 0x40a1e0]
add eax, 1
sub edi, 8
sub ebp, 1
mov esi, ecx
jne 0x407da0
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
test edi, edi
je 0x407e9f
movzx ecx, byte [eax]
xor ecx, esi
and ecx, 0xff
shr esi, 8
xor esi, dword [ecx*4 + 0x40a1e0]
add eax, 1
sub edi, 1
jne 0x407e82
cmp edx, 0x1000
je 0x407d70
mov edx, dword [0x40c354]
push ebp
push 0
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop ebx
mov eax, esi
not eax
pop esi
add esp, 8
ret 4

Function at 0x407ed0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

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

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x402fcd
Capabilities:
Write file on windows

Disassembly:
push 0x14
mov eax, 0x436248
call fcn.00413cfd
mov esi, edx
mov eax, ecx
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00405b4e
lea ecx, [ebp - 0x1c]
call fcn.00402c36
add esp, 0x18
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
jne 0x403009
push 3
call fcn.004026ac
jmp 0x40304b
cmp dword [esi + 0x14], 8
jb 0x403013
mov eax, dword [esi]
jmp 0x403015
mov eax, esi
push 0x4450c0
push eax
call fcn.0041d937
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x403052
push 1
call fcn.004026ac
cmp dword [esi + 0x14], 8
jb 0x403037
mov esi, dword [esi]
push esi
push str.Cant_create_file__s_n
push dword [0x44e198]
call fcn.0040116c
add esp, 0xc
mov edi, 0x80004005
jmp 0x403082
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
push ebx
push eax
push 1
push dword [ebp - 0x1c]
call fcn.0041d67d
mov ecx, dword [ebp - 0x18]
add esp, 0x10
sub ecx, dword [ebp - 0x1c]
cmp eax, ecx
je 0x403075
push 2
jmp 0x403076
push edi
call fcn.004026ac
push ebx
call fcn.00418caf
pop ecx
lea ecx, [ebp - 0x1c]
call fcn.00407485
mov eax, edi
call fcn.00413cc6
ret
Function at 0x403092
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.00417e00
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 0x4030d8
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x34], edi
jb 0x4030e3
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.004027dc
test esi, esi
je 0x403121
push str.ShellExecuteEx_Ok_n
push dword [0x44e198]
call fcn.0040116c
pop ecx
pop ecx
jmp 0x403135
push ebx
push str.Error:_0x_X_n
push dword [0x44e198]
call fcn.0040116c
add esp, 0xc
cmp byte [ebp - 1], 0
je 0x4031ae
cmp dword [ebp - 0xc], 0
je 0x4031ae
push str.Waiting_for_installing..._n
push dword [0x44e198]
call fcn.0040116c
push dword [0x44e198]
call fcn.00418be0
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 0x403189
push dword [ebp - 8]
push str.Exit_code:_0x_X_n
jmp 0x403191
call edi
push eax
push str.Cant_get_exit_code._Error:_0x_X_n
push dword [0x44e198]
call fcn.0040116c
add esp, 0xc
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 0xc], 0
jmp 0x4031d5
push 1
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
jne 0x4031d5
call edi
push eax
push str.SetHandleInformation_error:_0x_08X_n
push dword [0x44e198]
call fcn.0040116c
add esp, 0xc
push dword [0x44e198]
call fcn.00418be0
mov eax, dword [ebp - 0xc]
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4031eb
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x436284
mov eax, dword fs:[0]
push eax
mov eax, 0x10090
call fcn.00414480
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.00410d97
and dword [ebp - 4], 0
push 0x445238
call fcn.004013b6
pop ecx
push eax
push 0x445238
lea ecx, [ebp - 0x1002c]
call fcn.00408062
push 0xffffffffffffffff
push 0
push esi
lea ecx, [ebp - 0x1002c]
call fcn.00409a3d
test edi, edi
je 0x4032ff
mov esi, 0x44523c
push esi
call fcn.004013b6
pop ecx
push eax
push esi
lea ecx, [ebp - 0x1002c]
call fcn.00408062
mov edx, edi
lea ecx, [ebp - 0x10044]
call fcn.004111c8
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x1002c]
mov byte [ebp - 4], 1
call fcn.00409a3d
push 0
push 1
lea ecx, [ebp - 0x10044]
mov byte [ebp - 4], 0
call fcn.00407cbb
mov esi, str.___st
push esi
call fcn.004013b6
pop ecx
push eax
push esi
lea ecx, [ebp - 0x1002c]
call fcn.00408062
mov edx, ebx
lea ecx, [ebp - 0x10044]
call fcn.004111c8
push 0xffffffffffffffff
xor ebx, ebx
mov byte [ebp - 4], 2
push ebx
push eax
lea ecx, [ebp - 0x1002c]
call fcn.00409a3d
push ebx
push 1
lea ecx, [ebp - 0x10044]
call fcn.00407cbb
jmp 0x403301
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.0041ce62
add esp, 0xc
mov dword [ebp - 0x1009c], 0x44
lea eax, [ebp - 0x10098]
push 0x40
push ebx
push eax
call fcn.00417e00
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 0x40338f
push dword [ebp - 0x10050]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x10054]
call esi
jmp 0x4033a9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Clone_Error:_0x_08X_n
push dword [0x44e198]
call fcn.0040116c
add esp, 0xc
push ebx
push 1
lea ecx, [ebp - 0x1002c]
call fcn.00407cbb
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.00413365
mov esp, ebp
pop ebp
ret
Function at 0x404854
Capabilities:
Accept command line arguments

Disassembly:
push 0x74
mov eax, 0x4365ab
call fcn.00413d31
mov bl, cl
lea ecx, [ebp - 0x74]
call fcn.00402a45
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.0040a8b8
pop ecx
push edi
push 1
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 2
call fcn.00407cbb
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
lea ecx, [ebp - 0x5c]
call fcn.004111c8
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00409a3d
push edi
push 1
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.00407cbb
mov esi, str..log
push esi
call fcn.004013b6
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.00408062
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 0x4456b0
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.0041d937
push str._n
push eax
mov dword [0x44e198], eax
call fcn.0040116c
mov esi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
add esp, 0x10
call esi
test eax, eax
je 0x404917
call esi
jmp 0x40491c
mov eax, 0x444a3c
push eax
push str.cmd:__s_n
push dword [0x44e198]
call fcn.0040116c
sub esp, 0xc
mov ecx, esp
call fcn.00410d97
lea ecx, [ebp - 0x44]
call fcn.00410df8
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.0040116c
add esp, 0x24
lea ecx, [ebp - 0x5c]
call fcn.00403603
cmp dword [eax + 0x14], 8
jb 0x404974
mov eax, dword [eax]
push eax
push str.os:__s_n
push dword [0x44e198]
call fcn.0040116c
add esp, 0xc
lea ecx, [ebp - 0x5c]
push edi
push 1
call fcn.00407cbb
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 0x4049cc
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 0x4049db
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x445794
test esi, esi
mov eax, 0x44578c
cmove eax, ecx
push eax
push str.elevated:__s_n
push dword [0x44e198]
call fcn.0040116c
add esp, 0xc
lea ecx, [ebp - 0x44]
push edi
push 1
call fcn.00407cbb
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.00407cbb
call fcn.00413cdb
ret
Function at 0x406239
Capabilities:
Write file on windows

Disassembly:
push 0x34
mov eax, 0x436940
call fcn.00413d31
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 0x406265
xor eax, eax
cmp ecx, ebx
cmovne eax, ecx
jmp 0x4063c9
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x406293
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x406293
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 0x4063c9
cmp dword [esi + 0x4c], 0
je 0x4063c7
mov ecx, esi
call fcn.004085ad
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [esi + 0x38], ecx
jne 0x4062c7
push dword [esi + 0x4c]
movsx eax, al
push eax
call fcn.00418910
cmp eax, ebx
pop ecx
cmovne ebx, dword [ebp + 8]
pop ecx
jmp 0x4063c7
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.00408256
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 0x4063bb
cmp eax, 1
jg 0x40639e
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 0x40636f
push dword [esi + 0x4c]
cmp edi, 0x10
lea eax, [ebp - 0x28]
push edx
cmovae eax, ecx
push 1
push eax
call fcn.0041d67d
mov edx, dword [ebp - 0x3c]
add esp, 0x10
cmp edx, eax
jne 0x4063bb
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x29]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x40], eax
jne 0x406399
test edx, edx
jne 0x4062ef
cmp dword [ebp - 0x18], 0x20
jae 0x4063bb
push edx
push 8
lea ecx, [ebp - 0x28]
call fcn.004083b3
jmp 0x4062ec
mov ebx, dword [ebp + 8]
jmp 0x4063bb
cmp eax, 3
jne 0x4063bb
mov eax, dword [ebp - 0x30]
push dword [eax + 0x4c]
movsx eax, byte [ebp - 0x29]
push eax
call fcn.00418910
cmp eax, ebx
pop ecx
cmovne ebx, dword [ebp + 8]
pop ecx
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0040815c
mov eax, ebx
call fcn.00413cdb
ret 4
Function at 0x408635
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x436adf
call fcn.00413d31
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x408735
cmp byte [ebx + 0x3d], 0
je 0x408735
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x40866f
xor al, al
jmp 0x408737
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.00408256
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 0x4086cd
sub eax, 1
je 0x4086d1
dec eax
sub eax, 1
je 0x408723
xor bl, bl
jmp 0x408725
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 0x408709
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.0041d67d
add esp, 0x10
cmp esi, eax
jne 0x4086c9
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
cmp byte [ebx + 0x3d], 0
je 0x408723
test esi, esi
jne 0x408693
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.004083b3
jmp 0x40868d
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040815c
mov al, bl
jmp 0x408737
mov al, 1
call fcn.00413cdb
ret
Function at 0x40cafa
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 0x40cc9d
mov edx, 0x10000000
cmp eax, 0x7c
je 0x40cc9d
cmp eax, 0x29
jne 0x40cb33
cmp dword [esi + 0x10], 0
jne 0x40cc9d
test dword [esi + 0x50], edx
je 0x40cca3
cmp eax, 0x2e
jne 0x40cb4e
push 5
lea ecx, [esi + 0x24]
call fcn.0040cd81
mov ecx, esi
call fcn.0040cad7
jmp 0x40cc87
cmp eax, 0x5c
jne 0x40cba9
mov ecx, esi
call fcn.0040cad7
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x40cb80
cmp byte [esi + 0x48], 0x62
jne 0x40cb80
push 4
lea ecx, [esi + 0x24]
call fcn.0040cd81
mov ecx, esi
call fcn.0040cad7
jmp 0x40cc8e
test eax, eax
je 0x40cb9d
cmp byte [esi + 0x48], 0x42
jne 0x40cb9d
push 4
lea ecx, [esi + 0x24]
call fcn.0040cd81
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x40cb74
mov ecx, esi
call fcn.0040d942
jmp 0x40cc87
cmp eax, 0x5b
jne 0x40cc09
mov ecx, esi
call fcn.0040cad7
lea ecx, [esi + 0x24]
call fcn.0040e714
cmp dword [esi + 0x4c], 0x5e
jne 0x40cbd1
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.0040cad7
test dword [esi + 0x50], 0x20000000
je 0x40cbf1
cmp dword [esi + 0x4c], 0x5d
jne 0x40cbf1
push 0x5d
lea ecx, [esi + 0x24]
call fcn.0040e760
mov ecx, esi
call fcn.0040cad7
mov ecx, esi
call fcn.0040e507
cmp dword [esi + 0x4c], 0x5d
je 0x40cb42
push 4
jmp 0x40cca5
cmp eax, 0x28
jne 0x40cc2d
mov ecx, esi
call fcn.0040cad7
mov ecx, esi
call fcn.0040da25
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x40cca3
mov ecx, esi
call fcn.0040cad7
jmp 0x40cc83
cmp eax, 0x5e
jne 0x40cc39
push 2
jmp 0x40cb6c
cmp eax, 0x24
jne 0x40cc45
push 3
jmp 0x40cb6c
cmp eax, 0x2a
je 0x40cc99
cmp eax, 0x2b
je 0x40cc99
cmp eax, 0x3f
je 0x40cc99
cmp eax, 0x7b
je 0x40cc99
cmp eax, 0x7d
jne 0x40cc63
test dword [esi + 0x50], edx
je 0x40cc95
cmp eax, 0x5d
jne 0x40cc6d
test dword [esi + 0x50], edx
je 0x40cc02
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0040dbdb
mov ecx, esi
call fcn.0040cad7
mov bl, 1
test bl, bl
je 0x40cc8e
mov ecx, esi
call fcn.0040db17
mov cl, 1
jmp 0x40cb01
push 6
jmp 0x40cca5
push 0xa
jmp 0x40cca5
pop edi
pop esi
mov al, cl
pop ebx
ret
push 5
call fcn.00411f75
int3
Function at 0x4108c5
Capabilities:
Create http request

Disassembly:
push 0x54
mov eax, 0x437371
call fcn.00413d31
mov dword [ebp - 0x5c], ecx
xor eax, eax
push eax
push eax
push eax
push eax
push str.Yandex_downloader
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
test edi, edi
jne 0x410905
push str.Failed_to_open_session_for_statistics_n
push dword [0x44e198]
call fcn.0040116c
pop ecx
xor eax, eax
pop ecx
inc eax
jmp 0x410a56
push 0x410846
push edi
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackA]
mov ebx, dword [sym.imp.WININET.dll_InternetSetOptionA]
lea eax, [ebp - 0x60]
push 4
pop esi
push esi
push eax
push 2
push edi
mov dword [ebp - 0x60], 0x7d0
call ebx
test eax, eax
je 0x410a41
push esi
lea eax, [ebp - 0x60]
push eax
push 5
push edi
call ebx
test eax, eax
je 0x410a41
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x40]
call fcn.00410a5c
xor ebx, ebx
lea ecx, [ebp - 0x28]
mov edx, eax
mov dword [ebp - 4], ebx
call fcn.00410aca
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.0040815c
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x5c]
lea edx, [ebp - 0x28]
mov dword [ebp - 0x5c], ebx
cmovae edx, dword [ebp - 0x28]
mov ecx, edi
push eax
sub esp, 0x10
call fcn.0041085c
add esp, 0x14
mov edi, eax
cmp dword [ebp - 0x5c], ebx
je 0x4109b7
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x5c]
push str.An_attempt_to_open_statistics_url_generated_an_exception:__d_n
push dword [0x44e198]
call fcn.0040116c
add esp, 0xc
push 3
pop esi
jmp 0x410a32
test edi, edi
jne 0x410a19
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2ef1
jne 0x410a19
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
add eax, ecx
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x58]
call fcn.0041062a
cmp dword [eax + 0x14], 8
jb 0x4109f6
mov eax, dword [eax]
push eax
push str.Statistics_sent:__s_n
push dword [0x44e198]
call fcn.0040116c
add esp, 0xc
lea ecx, [ebp - 0x58]
push ebx
push 1
call fcn.00407cbb
mov esi, ebx
jmp 0x410a32
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push str.Failed_to_send_statistics_n
push dword [0x44e198]
call fcn.0040116c
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.0040815c
mov eax, esi
jmp 0x410a56
push str.Failed_to_set_internet_options_for_statistics_n
push dword [0x44e198]
call fcn.0040116c
pop ecx
pop ecx
push 2
pop eax
call fcn.00413cdb
ret