joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
jmp loc.00401219

Function at 0x461f20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x455015
lea edi, [esi - 0x54015]
push edi
or ebp, 0xffffffff
jmp 0x461f42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x461f49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x461f38
mov eax, 1
add ebx, ebx
jne 0x461f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x461f50
jne 0x461f6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f50
xor ecx, ecx
sub eax, 3
jb 0x461f80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x461ff2
mov ebp, eax
add ebx, ebx
jne 0x461f8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x461f98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x461fbc
inc ecx
add ebx, ebx
jne 0x461fa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x461f9d
jne 0x461fb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x461fdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x461fcd
jmp 0x461f3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x461fdc
add edi, ecx
jmp 0x461f3e
pop esi
mov edi, esi
mov ecx, 0x32d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x461ffa
cmp byte [edi], 0
jne 0x461ffa
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 eax, ebx
loop 0x461fff
lea edi, [esi + 0x5f000]
mov eax, dword [edi]
or eax, eax
je 0x46206e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x621f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x62254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46202c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x62258]
or eax, eax
je 0x462068
mov dword [ebx], eax
add ebx, 4
jmp 0x462049
call dword [esi + 0x6225c]
popal
jmp 0x4095a4
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
mov ecx, 0x697d4827
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
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 0x433024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
mov ecx, 0x2bea3fc9
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
popal
nop
nop
nop
nop
jmp 0x431219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403e6a
nop
nop
sub eax, 0x403e10
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x403613
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x414
mov eax, dword [0x467040]
xor eax, esp
mov dword [esp + 0x410], eax
cmp dword [ebp + 0x1c], 0
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], edx
jne 0x40379f
xor edi, edi
inc edi
cmp dword [ebp + 0xc], 0x110
push 2
pop edx
jne 0x4036ba
push ecx
push ecx
mov dword [esi + 0x98], edi
call fcn.00403801
mov dword [ebx], eax
cmp dword [esi + 0x98], 0
jne 0x4036df
mov edx, dword [ebp + 0xc]
mov ecx, dword [esp + 0x10]
push ebx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.00402a49
add esp, 0xc
test eax, eax
jne 0x4036df
cmp dword [ebp + 0xc], 0x111
mov eax, dword [esi + 0x50]
mov dword [esp + 0x14], eax
jne 0x403748
cmp di, word [ebp + 0x10]
jne 0x403772
push edi
push dword [esi + 4]
mov dword [esi + 0x50], edi
call dword [sym.imp.USER32.dll_EndDialog]
and dword [ebx], 0
jmp 0x40376c
cmp dword [ebp + 0xc], 0x111
jne 0x40366d
mov eax, dword [ebp + 0x10]
movzx eax, ax
mov ecx, eax
cmp dx, ax
jne 0x4036e6
push edx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
xor edi, edi
inc edi
mov dword [ebx], edi
mov eax, edi
jmp 0x4037a1
cmp di, cx
jne 0x40372e
push 0x400
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.0041cfc0
add esp, 0xc
lea eax, [esp + 0x18]
push 0x200
push eax
push dword [esi + 0x60]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [esp + 0x18]
push eax
lea ecx, [esi + 0x80]
call fcn.00402214
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x4036dd
push 0x4d
pop eax
cmp ax, cx
jne 0x40366d
sub esp, 0x10
mov ecx, esi
call fcn.00403c59
mov dword [ebx], eax
jmp 0x4036df
cmp dword [ebp + 0xc], 0x10
jne 0x403755
push 2
jmp 0x4036a6
cmp dword [ebp + 0xc], 0x110
jne 0x403772
push ecx
push ecx
mov ecx, esi
mov dword [esi + 0x50], edi
call fcn.0040293c
mov dword [ebx], eax
cmp dword [esi + 0x50], 0
jne 0x40378c
mov edx, dword [ebp + 0xc]
mov ecx, dword [esp + 0x10]
push ebx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.00402a49
add esp, 0xc
test eax, eax
je 0x403798
mov eax, dword [esp + 0x14]
mov dword [esi + 0x50], eax
jmp 0x4036df
mov eax, dword [esp + 0x14]
mov dword [esi + 0x50], eax
xor eax, eax
mov ecx, dword [esp + 0x41c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041b293
mov esp, ebp
pop ebp
ret 0x18

Function at 0x4075ac
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x44c1ad
call fcn.0041bb9e
mov esi, ecx
push 4
xor ebx, ebx
call fcn.0041b2d2
mov edx, dword [ebp + 8]
mov dword [ebp + 8], eax
mov dword [eax], edx
lea edi, [esi + 4]
mov dword [ebp - 4], ebx
push edi
push ebx
push eax
push 0x407998
push ebx
push ebx
call fcn.00426f6d
add esp, 0x1c
mov dword [esi], eax
test eax, eax
je 0x4075f3
mov eax, esi
call fcn.0041bb6c
ret 4
push 6
mov dword [edi], ebx
call fcn.0041a330
int3
Function at 0x408171
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
xor ebx, ebx
test ecx, ecx
je 0x408194
cmp word [ecx], bx
je 0x408194
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x408194
push 1
test al, 0x10
movzx ebx, bl
pop ecx
cmove ebx, ecx
mov al, bl
pop ebx
ret

Function at 0x408251
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x467040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
xor eax, eax
push esi
push edi
push 0xa
pop ecx
push dword [ebp + 8]
lea edi, [ebp - 0x2c]
mov esi, edx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2c]
push 0x45dae0
push eax
call fcn.0040682b
add esp, 0xc
lea eax, [ebp - 0x2c]
push esi
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x4082ff
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4082ff
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x4082ff
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
je 0x4082ff
lea eax, [esi + 1]
cmp eax, dword [ebx + 0x10]
ja 0x4082df
cmp dword [ebx + 0x14], 0xf
mov edx, ebx
jbe 0x4082d5
mov edx, dword [ebx]
xor ecx, ecx
mov dword [ebx + 0x10], eax
mov byte [edx + eax], cl
jmp 0x4082eb
sub eax, dword [ebx + 0x10]
push ecx
push eax
mov ecx, ebx
call fcn.00408a65
push ecx
mov ecx, ebx
call fcn.0040677f
push esi
push edi
call fcn.00402136
xor ecx, ecx
inc ecx
jmp 0x408301
xor ecx, ecx
mov eax, ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b293
leave
ret

Function at 0x408312
Capabilities:
Get file version info

Disassembly:
push 0x18
mov eax, 0x44c2d0
call fcn.0041bc07
mov esi, edx
mov ebx, ecx
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
push eax
mov dword [ebp - 0x1c], eax
call fcn.0041b558
pop ecx
mov edi, eax
xor eax, eax
push edi
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
push eax
push ebx
mov dword [ebp - 0x14], eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x408396
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x45d9e8
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x408396
mov ax, word [ecx + 0xa]
mov word [esi], ax
mov ax, word [ecx + 8]
mov word [esi + 2], ax
mov ax, word [ecx + 0xe]
mov word [esi + 4], ax
mov ax, word [ecx + 0xc]
mov word [esi + 6], ax
xor esi, esi
inc esi
test edi, edi
je 0x4083af
push edi
call fcn.0041b553
pop ecx
jmp 0x4083af
mov eax, esi
call fcn.0041bb6c
ret
Function at 0x4083bc
Capabilities:
Get common file path

Disassembly:
push 0x854
mov eax, 0x44c308
call fcn.0041bbd1
mov ebx, ecx
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.0041cfc0
add esp, 0xc
lea eax, [ebp - 0x810]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x840]
call fcn.00401a84
and dword [ebp - 4], 0
lea edi, [ebp - 0x828]
xor eax, eax
stosd dword es:[edi], eax
push 7
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
pop edi
mov ecx, edi
mov word [ebp - 0x828], ax
mov dword [ebp - 0x814], ecx
mov byte [ebp - 4], 1
cmp ecx, edi
lea eax, [ebp - 0x828]
push 0xa
cmova eax, dword [ebp - 0x828]
lea edx, [ebp - 0x828]
and dword [ebp - 0x818], 0
xor ecx, ecx
mov word [eax], cx
pop ecx
call fcn.00409e08
lea eax, [ebp - 0x828]
push eax
lea edx, [ebp - 0x840]
lea ecx, [ebp - 0x858]
call fcn.00408d86
pop ecx
cmp dword [eax + 0x14], edi
jbe 0x408478
mov eax, dword [eax]
push 0
push eax
call fcn.00426938
pop ecx
pop ecx
lea ecx, [ebp - 0x858]
mov esi, eax
call fcn.004024eb
test esi, esi
jne 0x40849b
mov ecx, dword [ebp - 0x814]
jmp 0x40842f
lea eax, [ebp - 0x828]
push eax
lea edx, [ebp - 0x840]
lea ecx, [ebp - 0x858]
call fcn.00408d86
pop ecx
push eax
mov ecx, ebx
call fcn.00401a4d
lea ecx, [ebp - 0x858]
call fcn.004024eb
cmp dword [ebx + 0x14], edi
jbe 0x4084ce
mov ebx, dword [ebx]
mov eax, dword [ebp - 0x814]
cmp eax, edi
jbe 0x408522
mov ecx, dword [ebp - 0x828]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x85c], eax
mov dword [ebp - 0x860], ecx
cmp eax, 0x1000
jb 0x408519
lea eax, [ebp - 0x85c]
push eax
lea eax, [ebp - 0x860]
push eax
call fcn.0040249b
mov eax, dword [ebp - 0x85c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x860]
push eax
push ecx
call fcn.0041b2a1
pop ecx
pop ecx
and dword [ebp - 0x818], 0
lea ecx, [ebp - 0x840]
xor eax, eax
mov dword [ebp - 0x814], edi
mov word [ebp - 0x828], ax
call fcn.004024eb
mov eax, ebx
call fcn.0041bb80
ret
Function at 0x40854b
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push 0x844
mov eax, 0x44c376
call fcn.0041bbd1
mov esi, ecx
xor ebx, ebx
push ebx
mov dword [ebp - 0x84c], ebx
mov dword [ebp - 0x844], ebx
call fcn.004054b4
mov edx, str.JaqKKLKJSDKTn9NPjHsGku6Tny6RJL6TSDpRjHcSkm6NJLrSoarRj1IJXuMOcLbSSL_RrabSkuMRau6T
lea ecx, [ebp - 0x840]
call fcn.00410234
mov edx, eax
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x828]
call fcn.00409cf4
cmp dword [eax + 0x14], 7
jbe 0x408598
mov eax, dword [eax]
lea ecx, [ebp - 0x844]
push ecx
push 0x20019
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [ebp - 0x828]
call fcn.004024eb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x840]
call fcn.004021de
push 0x800
lea eax, [ebp - 0x810]
push ebx
push eax
call fcn.0041cfc0
add esp, 0xc
mov dword [ebp - 0x848], 0x400
cmp dword [ebp - 0x844], 0
je 0x4086a2
lea eax, [ebp - 0x848]
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x850]
push eax
push ebx
push str.TEMP
push dword [ebp - 0x844]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x408696
lea eax, [ebp - 0x810]
mov ecx, esi
push eax
call fcn.00402214
push ebx
push dword [0x48e0e4]
mov ecx, esi
call fcn.00408a2d
mov edi, eax
cmp edi, 0xffffffff
je 0x408696
push 0x400
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x408696
push dword [0x48e0e4]
call fcn.00428f2a
pop ecx
lea edx, [ebp - 0x810]
mov ecx, eax
lea ebx, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, word [ebp - 0x84c]
jne 0x408672
sub edx, ebx
lea eax, [ebp - 0x810]
sar edx, 1
push edx
push eax
push ecx
push edi
mov ecx, esi
call fcn.00408abf
push dword [ebp - 0x844]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.0041bb80
ret
Function at 0x408772
Capabilities:
Create directory
Get common file path

Disassembly:
push 0x870
mov eax, 0x44c3c6
call fcn.0041bbd1
mov esi, ecx
mov dword [ebp - 0x874], esi
push 0x800
xor ebx, ebx
mov dword [ebp - 0x874], esi
lea eax, [ebp - 0x810]
push ebx
push eax
call fcn.0041cfc0
add esp, 0xc
lea eax, [ebp - 0x810]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x858]
call fcn.00401a84
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x858]
mov eax, dword [ebp - 0x848]
push 7
pop ebx
cmp dword [ebp - 0x844], ebx
cmova ecx, dword [ebp - 0x858]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x408801
push 0x45d9e8
lea ecx, [ebp - 0x858]
call fcn.00401e31
xor eax, eax
lea edi, [ebp - 0x840]
stosd dword es:[edi], eax
mov ecx, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x82c], ecx
mov word [ebp - 0x840], ax
lea edi, [ebp - 0x828]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x814], ebx
mov word [ebp - 0x828], ax
mov byte [ebp - 4], 2
xor edi, edi
cmp ecx, ebx
mov dword [ebp - 0x830], edi
lea eax, [ebp - 0x840]
cmova eax, dword [ebp - 0x840]
lea edx, [ebp - 0x840]
xor ecx, ecx
push 8
mov word [eax], cx
lea eax, [ebp - 0x828]
cmp dword [ebp - 0x814], ebx
mov dword [ebp - 0x818], edi
cmova eax, dword [ebp - 0x828]
mov word [eax], cx
pop ecx
call fcn.00409e08
push eax
lea edx, [ebp - 0x858]
lea ecx, [ebp - 0x870]
call fcn.00408d86
pop ecx
push eax
lea ecx, [ebp - 0x828]
call fcn.00401a4d
lea ecx, [ebp - 0x870]
call fcn.004024eb
cmp dword [ebp - 0x814], ebx
lea ecx, [ebp - 0x828]
cmova ecx, dword [ebp - 0x828]
call fcn.00408198
test al, al
je 0x4088d2
mov ecx, dword [ebp - 0x82c]
jmp 0x40883d
cmp dword [ebp - 0x814], ebx
lea eax, [ebp - 0x828]
cmova eax, dword [ebp - 0x828]
push eax
call fcn.00427d41
pop ecx
lea eax, [ebp - 0x828]
mov ecx, esi
push eax
call fcn.00401d75
mov eax, dword [ebp - 0x814]
cmp eax, ebx
jbe 0x40894e
mov ecx, dword [ebp - 0x828]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x878], eax
mov dword [ebp - 0x874], ecx
cmp eax, 0x1000
jb 0x408945
lea eax, [ebp - 0x878]
push eax
lea eax, [ebp - 0x874]
push eax
call fcn.0040249b
mov eax, dword [ebp - 0x878]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x874]
push eax
push ecx
call fcn.0041b2a1
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x818], edi
mov word [ebp - 0x828], ax
mov eax, dword [ebp - 0x82c]
mov dword [ebp - 0x814], ebx
cmp eax, ebx
jbe 0x4089b7
mov ecx, dword [ebp - 0x840]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x874], eax
mov dword [ebp - 0x878], ecx
cmp eax, 0x1000
jb 0x4089ae
lea eax, [ebp - 0x874]
push eax
lea eax, [ebp - 0x878]
push eax
call fcn.0040249b
mov eax, dword [ebp - 0x874]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x878]
push eax
push ecx
call fcn.0041b2a1
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x830], edi
lea ecx, [ebp - 0x858]
mov dword [ebp - 0x82c], ebx
mov word [ebp - 0x840], ax
call fcn.004024eb
mov eax, esi
call fcn.0041bb80
ret
Function at 0x409d71
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, edx
xor bl, bl
push 0xb1
mov ecx, esi
call fcn.0040a3f1
jmp 0x409df6
call fcn.00421b3b
push 0x24
cdq
pop ecx
idiv ecx
cmp edx, 9
ja 0x409d9f
add dl, 0x30
jmp 0x409da2
add dl, 0x57
mov byte [ebp - 4], dl
lea eax, [edx - 0x30]
test edi, edi
jne 0x409db4
cmp al, 9
jbe 0x409df6
test edi, edi
je 0x409dc4
cmp dword [esi + 0x14], 0xf
mov ecx, esi
jbe 0x409dbe
mov ecx, dword [esi]
cmp byte [edi + ecx - 1], dl
je 0x409df6
test bl, bl
jne 0x409dea
cmp al, 9
ja 0x409dd0
inc bl
jmp 0x409dea
cmp dword [esi + 0x10], 0xb0
jne 0x409dea
call fcn.00421b3b
push 0xa
cdq
pop ecx
idiv ecx
add dl, 0x30
mov byte [ebp - 4], dl
push dword [ebp - 4]
mov ecx, esi
push 1
call fcn.0040a452
mov edi, dword [esi + 0x10]
cmp edi, 0xb1
jb 0x409d8a
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x40bc20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, ecx
mov dword [ebp - 4], eax
add eax, 4
cmp dword [eax + 0x14], 7
jbe 0x40bc34
mov eax, dword [eax]
push esi
push 0x45da38
push eax
call fcn.00421653
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x40bcb3
push ebx
push edi
mov ecx, esi
call fcn.00408207
mov ebx, eax
push ebx
call fcn.0041b558
push ebx
mov edi, eax
push 0
push edi
call fcn.0041cfc0
push esi
push 1
push ebx
push edi
call fcn.00427935
push esi
call fcn.00421a91
mov ecx, dword [ebp - 4]
add esp, 0x24
cmp dword [ecx + 0x2c], 0
je 0x40bc9b
add ecx, 0x1c
cmp dword [ecx + 0x14], 0xf
jbe 0x40bc8b
mov ecx, dword [ecx]
mov esi, dword [ebp + 8]
mov edx, edi
push esi
push ebx
call fcn.0041051b
pop ecx
pop ecx
jmp 0x40bca7
mov esi, dword [ebp + 8]
mov ecx, esi
push ebx
push edi
call fcn.00402136
push edi
call fcn.0041b553
mov eax, dword [esi + 0x10]
pop ecx
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x40fc97
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44d211
mov eax, dword fs:[0]
push eax
mov eax, 0x1040
call fcn.0041c350
mov eax, dword [0x467040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.0040f8f0
mov ebx, 0x800
mov esi, eax
push ebx
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.0041cfc0
xor eax, eax
push ebx
push eax
mov dword [ebp - 0x1044], eax
mov dword [ebp - 0x104c], eax
mov dword [ebp - 0x1048], eax
lea eax, [ebp - 0x810]
push eax
call fcn.0041cfc0
add esp, 0x18
lea ecx, [ebp - 0x1040]
mov edx, str.3eoB
call fcn.00410234
and dword [ebp - 4], 0
lea ecx, [ebp - 0x1028]
mov edx, eax
call fcn.00409cf4
lea ecx, [ebp - 0x1040]
call fcn.004021de
cmp dword [ebp - 0x1014], 7
lea ecx, [ebp - 0x810]
mov edx, 0x400
lea eax, [ebp - 0x1028]
cmova eax, dword [ebp - 0x1028]
push edx
push ecx
lea ecx, [ebp - 0x1048]
push ecx
lea ecx, [ebp - 0x104c]
push ecx
lea ecx, [ebp - 0x1044]
push ecx
push edx
lea ecx, [ebp - 0x1010]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov ecx, dword [ebp - 0x1044]
mov edx, esi
push edi
call fcn.0040fbf7
pop ecx
lea ecx, [ebp - 0x1028]
call fcn.004024eb
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041b293
leave
ret
Function at 0x413a0b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0xc], esi
mov ebx, dword [esi + 0x2c]
lea ecx, [esi + 0x38]
mov dword [ebp - 0x18], ebx
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 0x3c]
add eax, 0xfffffefa
sub edi, dword [esi + 0x74]
add eax, ebx
sub edi, dword [esi + 0x6c]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], edi
cmp dword [esi + 0x6c], eax
jb 0x413acf
mov ecx, dword [ecx]
push ebx
lea eax, [ecx + ebx]
push eax
push ecx
call fcn.0041ca40
mov ecx, dword [esi + 0x4c]
add esp, 0xc
mov eax, dword [esi + 0x44]
sub dword [esi + 0x70], ebx
sub dword [esi + 0x6c], ebx
sub dword [esi + 0x5c], ebx
mov dword [ebp - 8], ecx
lea esi, [eax + ecx*2]
mov edi, dword [ebp - 8]
movzx ecx, bx
mov dword [ebp - 4], ecx
lea esi, [esi - 2]
movzx eax, word [esi]
mov edx, eax
sub eax, ecx
xor ecx, ecx
movzx eax, ax
cmp edx, ebx
cmovae ecx, eax
mov word [esi], cx
mov ecx, dword [ebp - 4]
sub edi, 1
jne 0x413a72
mov esi, dword [ebp - 0xc]
mov edi, ebx
movzx ecx, bx
mov dword [ebp - 8], ecx
mov eax, dword [esi + 0x40]
lea esi, [eax + ebx*2]
lea esi, [esi - 2]
movzx eax, word [esi]
mov edx, eax
sub eax, ecx
xor ecx, ecx
movzx eax, ax
cmp edx, ebx
cmovae ecx, eax
mov word [esi], cx
mov ecx, dword [ebp - 8]
sub edi, 1
jne 0x413aa2
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
add edi, ebx
lea ecx, [esi + 0x38]
mov dword [ebp - 8], ecx
mov ebx, dword [esi]
mov dword [ebp - 0x10], ebx
mov eax, dword [ebx + 4]
test eax, eax
je 0x413b9f
mov ebx, dword [esi + 0x74]
add ebx, dword [ecx]
mov edx, dword [esi + 0x6c]
add ebx, edx
cmp eax, edi
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
cmovbe edi, eax
test edi, edi
jne 0x413afc
xor edi, edi
jmp 0x413b5b
sub eax, edi
mov dword [ebx + 4], eax
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 0x18]
cmp eax, 1
jne 0x413b1d
mov edx, dword [ebx]
mov ecx, dword [ebx + 0x30]
push edi
call fcn.0041444f
pop ecx
mov ecx, dword [ebp - 8]
jmp 0x413b3c
mov dword [ebp - 4], ecx
cmp eax, 2
jne 0x413b42
mov edx, dword [ebx]
test edx, edx
jne 0x413b2f
xor eax, eax
jmp 0x413b39
mov ecx, dword [ebx + 0x30]
push edi
call fcn.004115d6
pop ecx
lea ecx, [esi + 0x38]
mov dword [ebp - 4], ecx
mov dword [ebx + 0x30], eax
push edi
push dword [ebx]
push dword [ebp - 0x14]
call fcn.0041ca40
add dword [ebx], edi
add esp, 0xc
add dword [ebx + 8], edi
mov edx, dword [esi + 0x6c]
mov ecx, dword [ebp - 4]
add edi, dword [esi + 0x74]
mov dword [esi + 0x74], edi
cmp edi, 3
jb 0x413b84
mov eax, dword [ecx]
mov ecx, dword [esi + 0x58]
movzx edx, byte [eax + edx]
mov dword [esi + 0x48], edx
shl edx, cl
mov ecx, dword [esi + 0x6c]
movzx eax, byte [eax + ecx + 1]
xor edx, eax
and edx, dword [esi + 0x54]
mov dword [esi + 0x48], edx
cmp edi, 0x106
jae 0x413b9f
mov eax, dword [esi]
cmp dword [eax + 4], 0
je 0x413b9f
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
jmp 0x413a22
pop edi
pop esi
pop ebx
leave
ret