joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1006deb
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x324
push 0x17
call sub.KERNEL32.dll_IsProcessorFeaturePresent
test eax, eax
je 0x1006e06
push 2
pop ecx
int 0x29
mov dword [0x1008440], eax
mov dword [0x100843c], ecx
mov dword [0x1008438], edx
mov dword [0x1008434], ebx
mov dword [0x1008430], esi
mov dword [0x100842c], edi
mov word [0x1008458], ss
mov word [0x100844c], cs
mov word [0x1008428], ds
mov word [0x1008424], es
mov word [0x1008420], fs
mov word [0x100841c], gs
pushfd
pop dword [0x1008450]
mov eax, dword [ebp]
mov dword [0x1008444], eax
mov eax, dword [ebp + 4]
mov dword [0x1008448], eax
lea eax, [ebp + 8]
mov dword [0x1008454], eax
mov eax, dword [ebp - 0x324]
mov dword [0x1008390], 0x10001
mov eax, dword [0x1008448]
mov dword [0x100834c], eax
mov dword [0x1008340], 0xc0000409
mov dword [0x1008344], 1
mov eax, dword [section..data]
mov dword [ebp - 8], eax
mov eax, dword [0x1008004]
mov dword [ebp - 4], eax
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x10011ac
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
push 0xc0000409
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
leave
ret

Function at 0x10072f0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x1007306
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x1007321
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x1007330
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
movzx ebx, word [ecx + 6]
add eax, 0x18
push esi
xor edx, edx
add eax, ecx
push edi
test ebx, ebx
je 0x100736e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x1007366
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x1007370
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x1007356
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x404861
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0xa
mov edi, eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x4048ed
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4048c6
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push 2
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4048c6
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x4048ca
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
jmp 0x4048ec
push edi
push ebx
push eax
call fcn.0041c800
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 4]
push eax
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov eax, dword [ebp - 4]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x404f8d
Capabilities:
Get graphical window text

Disassembly:
push 0x14
mov eax, 0x43cb69
call fcn.0041a42a
mov edi, edx
mov ebx, ecx
mov dword [ebp - 0x10], ebx
and dword [ebp - 0x14], 0
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
inc eax
lea ecx, [ebp - 0x20]
push eax
call fcn.004056b4
and dword [ebp - 4], 0
mov esi, dword [ebp - 0x1c]
mov eax, esi
sub eax, dword [ebp - 0x20]
sar eax, 1
push eax
push dword [ebp - 0x20]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
and dword [ebx + 0x10], 0
lea eax, [esi - 2]
xor ecx, ecx
mov dword [ebx + 0x14], 7
mov word [ebx], cx
cmp dword [ebp - 0x20], eax
je 0x404ff6
sub eax, dword [ebp - 0x20]
mov ecx, ebx
sar eax, 1
push eax
push dword [ebp - 0x20]
call fcn.00403a30
lea ecx, [ebp - 0x20]
call fcn.00405983
mov eax, ebx
call fcn.0041a3f3
ret
Function at 0x406d0c
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push 0x2c
mov eax, 0x43cdcc
call fcn.0041a45e
xor eax, eax
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x18], ax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
push eax
push 3
lea eax, [ebp - 0x1c]
push eax
push 4
push 0x10
call dword [sym.imp.KERNEL32.dll_GetUserGeoID]
push eax
call dword [sym.imp.KERNEL32.dll_GetGeoInfoW]
cmp eax, 3
je 0x406d4b
xor al, al
jmp 0x406dc7
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x34]
call fcn.00405952
and dword [ebp - 4], 0
lea ecx, [ebp - 0x34]
cmp dword [ebp - 0x20], 8
lea edi, [ebp - 0x34]
mov eax, dword [ebp - 0x24]
lea esi, [ebp - 0x34]
cmovae ecx, dword [ebp - 0x34]
cmovae edi, dword [ebp - 0x34]
cmovae esi, dword [ebp - 0x34]
xor ebx, ebx
xor edx, edx
lea eax, [ecx + eax*2]
mov ecx, eax
sub ecx, edi
inc ecx
shr ecx, 1
cmp edi, eax
cmova ecx, edx
mov dword [ebp - 0x38], ecx
test ecx, ecx
je 0x406daa
sub edi, esi
movzx eax, word [edi + esi]
push eax
call fcn.0041f6ed
inc ebx
mov word [esi], ax
lea esi, [esi + 2]
pop ecx
cmp ebx, dword [ebp - 0x38]
jne 0x406d93
mov edx, 0x44c074
lea ecx, [ebp - 0x34]
call fcn.00408af4
push 0
push 1
lea ecx, [ebp - 0x34]
mov bl, al
call fcn.00401a8a
mov al, bl
call fcn.0041a408
ret
Function at 0x40a42d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
sub esp, 0x18
mov eax, ecx
mov ecx, esp
mov esi, edx
push eax
call fcn.004028f0
lea ecx, [ebp - 0x10]
call fcn.0040a0cf
mov eax, dword [ebp - 0xc]
add esp, 0x18
sub eax, dword [ebp - 0x10]
je 0x40a492
cmp dword [esi + 0x14], 8
jb 0x40a461
mov eax, dword [esi]
jmp 0x40a463
mov eax, esi
push 0x44cbf0
push eax
call fcn.00424506
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x40a4a7
cmp dword [esi + 0x14], 8
jb 0x40a47e
mov esi, dword [esi]
push esi
push str.Cant_create_file__s_n
push dword [0x4575c4]
call fcn.00408bde
add esp, 0xc
mov esi, 0x80004005
lea ecx, [ebp - 0x10]
call fcn.0040e413
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x10]
push edi
push eax
push 1
push dword [ebp - 0x10]
call fcn.0042424c
push edi
call fcn.0041fb9f
add esp, 0x14
xor esi, esi
jmp 0x40a497

Function at 0x40a4c6
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
mov bl, byte [0x4575c0]
lea eax, [ebp - 0x3c]
push esi
push edi
push 0x38
push 0
push eax
mov esi, edx
mov edi, ecx
call fcn.0041e8d0
and dword [ebp - 0x38], 0
add esp, 0xc
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], 0x440
mov dword [ebp - 0x34], str.open
jb 0x40a50a
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x30], edi
jb 0x40a515
mov esi, dword [esi]
lea eax, [ebp - 0x40]
mov dword [ebp - 0x2c], esi
push eax
mov dword [ebp - 0x24], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x40a547
push str.ShellExecuteEx_Ok_n
push dword [0x4575c4]
call fcn.00408bde
pop ecx
pop ecx
jmp 0x40a55d
call esi
push eax
push str.Error:_0x_X_n
push dword [0x4575c4]
call fcn.00408bde
add esp, 0xc
test bl, bl
je 0x40a5d4
cmp dword [ebp - 8], 0
je 0x40a5d4
push str.Waiting_for_installing..._n
push dword [0x4575c4]
call fcn.00408bde
push dword [0x4575c4]
call fcn.0041fad0
add esp, 0xc
push 0xffffffffffffffff
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x40a5af
push dword [ebp - 4]
push str.Exit_code:_0x_X_n
jmp 0x40a5b7
call esi
push eax
push str.Cant_get_exit_code._Error:_0x_X_n
push dword [0x4575c4]
call fcn.00408bde
add esp, 0xc
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 8], 0
jmp 0x40a5fb
push 1
push 1
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
jne 0x40a5fb
call esi
push eax
push str.SetHandleInformation_error:_0x_08X_n
push dword [0x4575c4]
call fcn.00408bde
add esp, 0xc
push dword [0x4575c4]
call fcn.0041fad0
mov eax, dword [ebp - 8]
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40a611
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43d36f
mov eax, dword fs:[0]
push eax
mov eax, 0x10090
call fcn.0041ab60
mov eax, dword [0x455070]
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.00417160
and dword [ebp - 4], 0
push 0x44cd68
call fcn.00403009
pop ecx
push eax
push 0x44cd68
lea ecx, [ebp - 0x1002c]
call fcn.00404010
push 0xffffffffffffffff
push 0
push esi
lea ecx, [ebp - 0x1002c]
call fcn.004043e5
test edi, edi
je 0x40a725
mov esi, 0x44cd6c
push esi
call fcn.00403009
pop ecx
push eax
push esi
lea ecx, [ebp - 0x1002c]
call fcn.00404010
mov edx, edi
lea ecx, [ebp - 0x10044]
call fcn.00417591
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x1002c]
mov byte [ebp - 4], 1
call fcn.004043e5
push 0
push 1
lea ecx, [ebp - 0x10044]
mov byte [ebp - 4], 0
call fcn.00401a8a
mov esi, str.___st
push esi
call fcn.00403009
pop ecx
push eax
push esi
lea ecx, [ebp - 0x1002c]
call fcn.00404010
mov edx, ebx
lea ecx, [ebp - 0x10044]
call fcn.00417591
push 0xffffffffffffffff
xor ebx, ebx
mov byte [ebp - 4], 2
push ebx
push eax
lea ecx, [ebp - 0x1002c]
call fcn.004043e5
push ebx
push 1
lea ecx, [ebp - 0x10044]
call fcn.00401a8a
jmp 0x40a727
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.00423cd5
add esp, 0xc
mov dword [ebp - 0x1009c], 0x44
lea eax, [ebp - 0x10098]
push 0x40
push ebx
push eax
call fcn.0041e8d0
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 0x40a7b5
push dword [ebp - 0x10050]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x10054]
call esi
jmp 0x40a7cf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Clone_Error:_0x_08X_n
push dword [0x4575c4]
call fcn.00408bde
add esp, 0xc
push ebx
push 1
lea ecx, [ebp - 0x1002c]
call fcn.00401a8a
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.00419a78
mov esp, ebp
pop ebp
ret
Function at 0x40bc56
Capabilities:
Accept command line arguments

Disassembly:
push 0x74
mov eax, 0x43d696
call fcn.0041a45e
mov bl, cl
lea ecx, [ebp - 0x74]
call fcn.00409ef7
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.00403e6b
pop ecx
push edi
push 1
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 2
call fcn.00401a8a
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
lea ecx, [ebp - 0x5c]
call fcn.00417591
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.004043e5
push edi
push 1
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.00401a8a
mov esi, str..log
push esi
call fcn.00403009
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.00404010
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 0x44d1e0
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.00424506
push str._n
push eax
mov dword [0x4575c4], eax
call fcn.00408bde
mov esi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
add esp, 0x10
call esi
test eax, eax
je 0x40bd19
call esi
jmp 0x40bd1e
mov eax, 0x44c594
push eax
push str.cmd:__s_n
push dword [0x4575c4]
call fcn.00408bde
sub esp, 0xc
mov ecx, esp
call fcn.00417160
lea ecx, [ebp - 0x44]
call fcn.004171c1
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 [0x4575c4]
call fcn.00408bde
add esp, 0x24
lea ecx, [ebp - 0x5c]
call fcn.0040aa08
cmp dword [eax + 0x14], 8
jb 0x40bd76
mov eax, dword [eax]
push eax
push str.os:__s_n
push dword [0x4575c4]
call fcn.00408bde
add esp, 0xc
lea ecx, [ebp - 0x5c]
push edi
push 1
call fcn.00401a8a
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 0x40bdce
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 0x40bddd
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x44d2c4
test esi, esi
mov eax, 0x44d2bc
cmove eax, ecx
push eax
push str.elevated:__s_n
push dword [0x4575c4]
call fcn.00408bde
add esp, 0xc
lea ecx, [ebp - 0x44]
push edi
push 1
call fcn.00401a8a
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401a8a
call fcn.0041a408
ret
Function at 0x40d487
Capabilities:
Write file on windows

Disassembly:
push 0x34
mov eax, 0x43d9c3
call fcn.0041a45e
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 0x40d4b3
xor eax, eax
cmp ecx, ebx
cmovne eax, ecx
jmp 0x40d617
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x40d4e1
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x40d4e1
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 0x40d617
cmp dword [esi + 0x4c], 0
je 0x40d615
mov ecx, esi
call fcn.0040e929
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [esi + 0x38], ecx
jne 0x40d515
push dword [esi + 0x4c]
movsx eax, al
push eax
call fcn.0041f80b
cmp eax, ebx
pop ecx
cmovne ebx, dword [ebp + 8]
pop ecx
jmp 0x40d615
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.0040e5d2
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 0x40d609
cmp eax, 1
jg 0x40d5ec
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 0x40d5bd
push dword [esi + 0x4c]
cmp edi, 0x10
lea eax, [ebp - 0x28]
push edx
cmovae eax, ecx
push 1
push eax
call fcn.0042424c
mov edx, dword [ebp - 0x3c]
add esp, 0x10
cmp edx, eax
jne 0x40d609
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x29]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x40], eax
jne 0x40d5e7
test edx, edx
jne 0x40d53d
cmp dword [ebp - 0x18], 0x20
jae 0x40d609
push edx
push 8
lea ecx, [ebp - 0x28]
call fcn.0040e72f
jmp 0x40d53a
mov ebx, dword [ebp + 8]
jmp 0x40d609
cmp eax, 3
jne 0x40d609
mov eax, dword [ebp - 0x30]
push dword [eax + 0x4c]
movsx eax, byte [ebp - 0x29]
push eax
call fcn.0041f80b
cmp eax, ebx
pop ecx
cmovne ebx, dword [ebp + 8]
pop ecx
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0040e4d8
mov eax, ebx
call fcn.0041a408
ret 4
Function at 0x40e9b1
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x43d9f0
call fcn.0041a45e
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x40eab1
cmp byte [ebx + 0x3d], 0
je 0x40eab1
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x40e9eb
xor al, al
jmp 0x40eab3
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.0040e5d2
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 0x40ea49
sub eax, 1
je 0x40ea4d
dec eax
sub eax, 1
je 0x40ea9f
xor bl, bl
jmp 0x40eaa1
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 0x40ea85
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.0042424c
add esp, 0x10
cmp esi, eax
jne 0x40ea45
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
cmp byte [ebx + 0x3d], 0
je 0x40ea9f
test esi, esi
jne 0x40ea0f
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.0040e72f
jmp 0x40ea09
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040e4d8
mov al, bl
jmp 0x40eab3
mov al, 1
call fcn.0041a408
ret
Function at 0x411864
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 0x411a07
mov edx, 0x10000000
cmp eax, 0x7c
je 0x411a07
cmp eax, 0x29
jne 0x41189d
cmp dword [esi + 0x10], 0
jne 0x411a07
test dword [esi + 0x50], edx
je 0x411a0d
cmp eax, 0x2e
jne 0x4118b8
push 5
lea ecx, [esi + 0x24]
call fcn.00411aeb
mov ecx, esi
call fcn.00411841
jmp 0x4119f1
cmp eax, 0x5c
jne 0x411913
mov ecx, esi
call fcn.00411841
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x4118ea
cmp byte [esi + 0x48], 0x62
jne 0x4118ea
push 4
lea ecx, [esi + 0x24]
call fcn.00411aeb
mov ecx, esi
call fcn.00411841
jmp 0x4119f8
test eax, eax
je 0x411907
cmp byte [esi + 0x48], 0x42
jne 0x411907
push 4
lea ecx, [esi + 0x24]
call fcn.00411aeb
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x4118de
mov ecx, esi
call fcn.004125fc
jmp 0x4119f1
cmp eax, 0x5b
jne 0x411973
mov ecx, esi
call fcn.00411841
lea ecx, [esi + 0x24]
call fcn.004133ce
cmp dword [esi + 0x4c], 0x5e
jne 0x41193b
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.00411841
test dword [esi + 0x50], 0x20000000
je 0x41195b
cmp dword [esi + 0x4c], 0x5d
jne 0x41195b
push 0x5d
lea ecx, [esi + 0x24]
call fcn.0041341a
mov ecx, esi
call fcn.00411841
mov ecx, esi
call fcn.004131c1
cmp dword [esi + 0x4c], 0x5d
je 0x4118ac
push 4
jmp 0x411a0f
cmp eax, 0x28
jne 0x411997
mov ecx, esi
call fcn.00411841
mov ecx, esi
call fcn.004126df
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x411a0d
mov ecx, esi
call fcn.00411841
jmp 0x4119ed
cmp eax, 0x5e
jne 0x4119a3
push 2
jmp 0x4118d6
cmp eax, 0x24
jne 0x4119af
push 3
jmp 0x4118d6
cmp eax, 0x2a
je 0x411a03
cmp eax, 0x2b
je 0x411a03
cmp eax, 0x3f
je 0x411a03
cmp eax, 0x7b
je 0x411a03
cmp eax, 0x7d
jne 0x4119cd
test dword [esi + 0x50], edx
je 0x4119ff
cmp eax, 0x5d
jne 0x4119d7
test dword [esi + 0x50], edx
je 0x41196c
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.00412895
mov ecx, esi
call fcn.00411841
mov bl, 1
test bl, bl
je 0x4119f8
mov ecx, esi
call fcn.004127d1
mov cl, 1
jmp 0x41186b
push 6
jmp 0x411a0f
push 0xa
jmp 0x411a0f
pop edi
pop esi
mov al, cl
pop ebx
ret
push 5
call fcn.004184ed
int3
Function at 0x416c8e
Capabilities:
Create http request

Disassembly:
push 0x54
mov eax, 0x43e36c
call fcn.0041a45e
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 0x416cce
push str.Failed_to_open_session_for_statistics_n
push dword [0x4575c4]
call fcn.00408bde
pop ecx
xor eax, eax
pop ecx
inc eax
jmp 0x416e1f
push 0x416c0f
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 0x416e0a
push esi
lea eax, [ebp - 0x60]
push eax
push 5
push edi
call ebx
test eax, eax
je 0x416e0a
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x40]
call fcn.00416e25
xor ebx, ebx
lea ecx, [ebp - 0x28]
mov edx, eax
mov dword [ebp - 4], ebx
call fcn.00416e93
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.0040e4d8
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.00416c25
add esp, 0x14
mov edi, eax
cmp dword [ebp - 0x5c], ebx
je 0x416d80
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 [0x4575c4]
call fcn.00408bde
add esp, 0xc
push 3
pop esi
jmp 0x416dfb
test edi, edi
jne 0x416de2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2ef1
jne 0x416de2
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.004169f3
cmp dword [eax + 0x14], 8
jb 0x416dbf
mov eax, dword [eax]
push eax
push str.Statistics_sent:__s_n
push dword [0x4575c4]
call fcn.00408bde
add esp, 0xc
lea ecx, [ebp - 0x58]
push ebx
push 1
call fcn.00401a8a
mov esi, ebx
jmp 0x416dfb
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push str.Failed_to_send_statistics_n
push dword [0x4575c4]
call fcn.00408bde
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.0040e4d8
mov eax, esi
jmp 0x416e1f
push str.Failed_to_set_internet_options_for_statistics_n
push dword [0x4575c4]
call fcn.00408bde
pop ecx
pop ecx
push 2
pop eax
call fcn.0041a408
ret