joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b550
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41262c
push 0x40cbd8
push dword fs:[0]
mov dword fs:[0], esp
sub esp, 8
sub esp, 0x48
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 0x2000000
call fcn.0040e160
pop ecx
mov dword [0x414e08], eax
call fcn.0040d010
test eax, eax
je 0x40b5c1
mov dword [ebp - 4], 0
call fcn.0040d240
call fcn.0040d300
call fcn.0040d350
call fcn.0040d760
call fcn.0040d800
mov ebx, 0x4135f4
cmp ebx, 0x4135f4
jae 0x40b5db
jmp 0x40b5ce
push 0xfffffffffffffffe
call fcn.0040d8c0
pop ecx
jmp 0x40b65f
call dword [ebx]
add ebx, 4
cmp ebx, 0x4135f4
jb 0x40b5ce
mov dword [ebp - 0x34], 0
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, eax
call fcn.0040d9a0
test byte [ebp - 0x34], 1
je 0x40b607
movzx edx, word [ebp - 0x30]
jmp 0x40b60c
mov edx, 0xa
push edx
push eax
push 0
push ebx
call fcn.004012a0
mov ebx, eax
mov esi, 0x4135f4
cmp esi, 0x4135f4
jae 0x40b632
call dword [esi]
add esi, 4
cmp esi, 0x4135f4
jb 0x40b625
push ebx
call fcn.0040d9e0
pop ecx
jmp 0x40b65f
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40d760
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
cmp byte [esi], 0
jne 0x40d792
push 0x104
lea eax, [ebp - 0x10c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea esi, [ebp - 0x10c]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0
push esi
call fcn.0040d5c0
add esp, 0x14
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
lea eax, [edx + eax*4]
push eax
call fcn.0040be60
pop ecx
mov edi, eax
test edi, edi
je 0x40d7e7
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
lea eax, [edi + eax*4]
push eax
push edi
push esi
call fcn.0040d5c0
add esp, 0x14
mov eax, dword [ebp - 4]
dec eax
mov dword [0x414df0], eax
mov dword [0x414df4], edi
jmp 0x40d7ef
push 0xfffffffffffffffc
call fcn.0040d8c0
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40d800
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov edx, eax
mov dword [ebp - 4], edx
test eax, eax
jne 0x40d820
mov eax, dword [0x414ec4]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esi, eax
xor ecx, ecx
jmp 0x40d841
mov edx, esi
or eax, 0xffffffff
inc eax
cmp byte [edx + eax], 0
jne 0x40d82e
lea edi, [eax + 1]
cmp byte [esi], 0x3d
je 0x40d83f
add ecx, edi
add esi, edi
cmp byte [esi], 0
jne 0x40d829
inc ecx
push ecx
call fcn.0040be60
pop ecx
mov ebx, eax
mov dword [0x414dfc], eax
cmp dword [0x414dfc], 0
je 0x40d8ad
mov eax, dword [ebp - 4]
mov esi, eax
jmp 0x40d88f
mov edx, esi
or eax, 0xffffffff
inc eax
cmp byte [edx + eax], 0
jne 0x40d86a
lea edi, [eax + 1]
cmp byte [esi], 0x3d
je 0x40d88d
mov ecx, ebx
mov edx, esi
push ecx
sub ecx, edx
mov al, byte [edx]
mov byte [ecx + edx], al
inc edx
test al, al
jne 0x40d880
pop eax
add ebx, edi
add esi, edi
cmp byte [esi], 0
jne 0x40d865
mov byte [ebx], 0
mov eax, dword [ebp - 4]
cmp eax, dword [0x414ec4]
je 0x40d8b5
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
jmp 0x40d8b5
push 0xfffffffffffffffc
call fcn.0040d8c0
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40d8c0
Capabilities:
Print debug messages

Disassembly:
push ebx
mov eax, dword [esp + 8]
lea edx, [eax + 0x10]
cmp edx, 0xe
ja 0x40d93d
jmp dword [eax*4 + 0x412760]
mov ebx, str.unexpected_error
push 0x4150bc
push str.CRT:
call fcn.0040e240
add esp, 8
push 0x4150bc
push ebx
call fcn.0040e240
add esp, 8
push 0x4150bc
push 0x41276e
call fcn.0040e240
add esp, 8
push str.CRT:
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push ebx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.____terminating_r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0xff
call fcn.0040e270
pop ecx
pop ebx
ret
Function at 0x411600
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 0
mov edx, eax
xor ecx, ecx
cmp eax, 0xffffffff
jne 0x411623
mov edx, ecx
push edx
push edi
push 0
push 1
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
pop edi
pop esi
pop ebx
ret 0xc

Function at 0x4116d0
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push 0x412306
push 0x416260
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
test edi, edi
je 0x41172b
push 1
push 0
push edi
call fcn.00411600
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x400
push 0x416260
push edi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov edi, eax
test edi, edi
je 0x411886
cmp edi, 0x400
jg 0x411886
push 0x400
push 0x415a60
push esi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov edi, eax
test edi, edi
je 0x411886
cmp edi, 0x400
jg 0x411886
push 0x415a60
push 0x416260
push str._s_s_r_n
push 0x415660
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov dword [ebp - 8], eax
push 0x800
push 0x415a60
push str._WIN_
call dword [0x414b6c]
push 4
push 0xc0000000
push 0x415a60
call fcn.00411600
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x411886
push 0
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
add eax, dword [ebp - 8]
add eax, 0xa
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x41187d
push 0
lea eax, [ebp - 4]
push eax
push esi
push edi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41187d
cmp esi, dword [ebp - 4]
jne 0x41187d
push str._Rename__r_n
push edi
call fcn.00411640
test eax, eax
je 0x41182b
add eax, 0xa
push 0x4122ee
push eax
call fcn.00411640
test eax, eax
je 0x411841
lea edx, [esi + edi]
lea ecx, [esi + edi]
add ecx, dword [ebp - 8]
cmp edx, eax
jbe 0x411824
mov bl, byte [edx]
mov byte [ecx], bl
dec edx
dec ecx
cmp edx, eax
ja 0x41181a
sub eax, edi
lea ebx, [eax + 1]
jmp 0x411843
push str._Rename__r_n
lea eax, [esi + edi]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add esi, 0xa
mov ebx, esi
jmp 0x411843
mov ebx, esi
push dword [ebp - 8]
push 0x415660
add ebx, edi
push ebx
call fcn.004116a0
add esi, dword [ebp - 8]
push 0
push 0
push 0
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 4]
push eax
push esi
push edi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x411d70
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push esi
push edi
mov edx, dword [ebp + 8]
lea edi, [ebp - 0x208]
xor eax, eax
mov ecx, 0x104
rep stosw word es:[edi], ax
lea edi, [ebp - 0x410]
xor eax, eax
mov ecx, 0x104
rep stosw word es:[edi], ax
push edx
push 0x104
lea eax, [ebp - 0x410]
push eax
call fcn.0040ca20
add esp, 0xc
lea eax, [ebp - 0x410]
push eax
call fcn.00411c70
push 0x5c
lea eax, [ebp - 0x410]
push eax
call fcn.0040cab0
add esp, 8
mov esi, eax
xor edi, edi
test esi, esi
je 0x411e6a
lea eax, [ebp - 0x410]
neg eax
add eax, esi
sar eax, 1
inc eax
push eax
lea eax, [ebp - 0x410]
push eax
push 0x104
lea eax, [ebp - 0x208]
push eax
call fcn.0040cad0
add esp, 0x10
push 0
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x411e3a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0xb7
je 0x411e52
push 0x5c
lea eax, [esi + 2]
push eax
call fcn.0040cab0
add esp, 8
mov esi, eax
jmp 0x411e62
cmp byte [0x419108], 0
je 0x411e52
lea eax, [ebp - 0x208]
push eax
push 1
call dword [0x414b78]
push 0x5c
lea eax, [esi + 2]
push eax
call fcn.0040cab0
add esp, 8
mov esi, eax
test esi, esi
jne 0x411ddc
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x401031
Capabilities:
Hide graphical window

Disassembly:
push 0
call sub.KERNEL32.dll_GetModuleHandleA
mov dword [0x406101], eax
call sub.KERNEL32.dll_GetCommandLineA
mov dword [0x4060f5], eax
push 0xa
push dword [0x4060f5]
push 0
push dword [0x406101]
call 0x401031
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xffffffa4
push 0x1f4
push dword [ebp + 8]
call sub.USER32.dll_LoadIconA
mov dword [0x406105], eax
mov dword [ebp - 0x30], 0x30
mov dword [ebp - 0x2c], 0x2803
mov dword [ebp - 0x28], 0x401159
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
push dword [ebp + 8]
pop dword [ebp - 0x1c]
mov dword [ebp - 0x10], 0x13
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], str.Project_Class
push dword [0x406105]
pop dword [ebp - 0x18]
push 0x7f00
push 0
call sub.USER32.dll_LoadCursorA
mov dword [ebp - 0x14], eax
push dword [0x406105]
pop dword [ebp - 4]
lea eax, [ebp - 0x30]
push eax
call sub.USER32.dll_RegisterClassExA
push 0
push dword [ebp + 8]
push 0
push 0
push 0x8c
push 0x140
push 0x78
push 0x145
push 0x80000
push str.Keygen___Little_KeygenMe_de_Julio_El_Negro
push str.Project_Class
push 0
call sub.USER32.dll_CreateWindowExA
mov dword [0x4060fd], eax
push 0x258
push dword [0x406101]
call sub.USER32.dll_LoadMenuA
push eax
push dword [0x4060fd]
call sub.USER32.dll_SetMenu
push dword [0x4060fd]
call sub.USER32.dll_GetMenu
mov dword [0x406109], eax
push 1
push dword [0x4060fd]
call sub.USER32.dll_ShowWindow
push dword [0x4060fd]
call sub.USER32.dll_UpdateWindow
push 0
push 0
push 0
lea eax, [ebp - 0x4c]
push eax
call sub.USER32.dll_GetMessageA
cmp eax, 0
je 0x401152
lea eax, [ebp - 0x4c]
push eax
call sub.USER32.dll_TranslateMessage
lea eax, [ebp - 0x4c]
push eax
call sub.USER32.dll_DispatchMessageA
jmp 0x40112a
mov eax, dword [ebp - 0x44]
leave
ret 0x10

Function at 0x40137d
Capabilities:
Get graphical window text

Disassembly:
push 0x32
push 0x406233
push dword [0x40696b]
call sub.USER32.dll_GetWindowTextA
or eax, eax
je 0x4013db
push 0x406233
push eax
push 0x406633
call fcn.004013dc
mov esi, 0x406633
xor ecx, ecx
xor eax, eax
xor ebx, ebx
mov bl, byte [esi + ecx]
test bl, bl
je 0x4013c3
imul ebx, ecx
imul ebx, ebx
add ebx, 0x50
add eax, ebx
inc ecx
jmp 0x4013ac
xor eax, 0x12345678
push eax
push 0x406197
push 0x406833
call sub.USER32.dll_wsprintfA
add esp, 0xc
ret
Function at 0x45fdf0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x39000]
push edi
jmp 0x45fe0a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x45fe11
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45fe00
mov eax, 1
add ebx, ebx
jne 0x45fe23
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x45fe34
jne 0x45fe53
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45fe53
dec eax
add ebx, ebx
jne 0x45fe40
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x45fe18
add ebx, ebx
jne 0x45fe4f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x45fea5
xor ecx, ecx
sub eax, 3
jb 0x45fe6b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x45feda
sar eax, 1
mov ebp, eax
jmp 0x45fe76
add ebx, ebx
jne 0x45fe76
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45fe44
inc ecx
add ebx, ebx
jne 0x45fe84
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45fe44
add ebx, ebx
jne 0x45fe91
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x45fe86
jne 0x45fea2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45fe86
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x45fec4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x45feb6
jmp 0x45fe06
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x45fec4
add edi, ecx
jmp 0x45fe06
pop esi
mov edi, esi
mov ecx, 0x91a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x45fee2
cmp byte [edi], 9
jne 0x45fee2
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 0x45fee7
lea edi, [esi + 0x5d000]
mov eax, dword [edi]
or eax, eax
je 0x45ff5f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x6d4e8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x6d5c8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x45ff14
mov ecx, edi
jns 0x45ff43
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x6d5d0]
or eax, eax
je 0x45ff59
mov dword [ebx], eax
add ebx, 4
jmp 0x45ff31
call dword [esi + 0x6d5cc]
mov ebp, dword [esi + 0x6d5d4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x17f]
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 0x45ff93
sub esp, 0xffffff80
jmp 0x41382f
Function at 0x412c2c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00407610
mov eax, dword [0x427040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00411873
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x412c6e
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x412dca
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0041c000
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x4a5c58]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.00413c29
mov ecx, dword [esi*4 + 0x4a5c58]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x412dc3
cmp eax, dword [ecx + edi + 0x24]
jne 0x412dc3
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x412dc3
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00413c29
add esp, 0x14
test edx, edx
jl 0x412dc3
jg 0x412d39
test eax, eax
jb 0x412dc3
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x412dc3
jl 0x412d53
cmp dword [ebp - 0x1008], eax
ja 0x412dc3
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x412d71
test ebx, ebx
je 0x412daa
cmp ecx, edi
jae 0x412daa
mov al, byte [ecx]
cmp al, 0xd
jne 0x412d8b
lea eax, [edi - 1]
cmp ecx, eax
jae 0x412d97
cmp byte [ecx + 1], 0xa
jne 0x412d97
inc ecx
jmp 0x412d97
movzx eax, al
movsx eax, byte [eax + 0x4272f8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x412d71
cmp edx, ebx
jne 0x412d71
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x412dc8
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00406931
leave
ret
Function at 0x4130c1
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x4a5c58]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x413101
cmp byte [ebx], 0xa
jne 0x413101
or byte [edi + eax + 0x28], 4
jmp 0x413106
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x413205
mov dl, byte [eax]
cmp dl, 0x1a
je 0x4131e8
inc eax
cmp dl, 0xd
je 0x413132
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x413158
cmp eax, ecx
jae 0x413166
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x41311a
jmp 0x413205
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4131e3
cmp dword [ebp - 0x10], 0
je 0x4131e3
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x4a5c58]
test byte [eax + edi + 0x28], 0x48
je 0x4131bd
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4131a8
mov byte [esi], dl
jmp 0x4131b9
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4a5c58]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x413205
cmp byte [ebp - 1], 0xa
jne 0x4131cc
cmp esi, ebx
jne 0x4131cc
mov byte [esi], 0xa
jmp 0x413204
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00413c47
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x413205
mov byte [esi], 0xd
jmp 0x413204
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x4a5c58]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x413202
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x413205
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41320e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x4a5c58]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x413254
cmp word [ebx], dx
jne 0x413254
or byte [eax + edi + 0x28], 4
jmp 0x413259
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x4133bc
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x41339c
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x41329a
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4132d0
cmp eax, edx
jae 0x4132de
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x413275
jmp 0x4133bc
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x413397
cmp dword [ebp - 0x18], 0
je 0x413397
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x4a5c58]
test byte [eax + edi + 0x28], 0x48
je 0x41336d
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x413331
mov word [esi], cx
jmp 0x413368
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x4a5c58]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x4a5c58]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x4a5c58]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x4133bc
pop eax
cmp word [ebp - 4], ax
jne 0x41337d
cmp esi, ebx
jne 0x41337d
mov word [esi], ax
jmp 0x4133b9
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00413c47
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x4133bc
push 0xd
pop eax
jmp 0x413378
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x4a5c58]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x4133b6
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x4133bc
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41b988
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push edi
xor eax, eax
push eax
push eax
push eax
push eax
call fcn.004ceb50
mov dword [esp], 0xc8
mov dword [esp + 4], 0x96
push 0
call fcn.004b920d
mov ebx, eax
push 0
call fcn.004b950d
mov edi, eax
mov eax, edi
mov ecx, 2
cdq
idiv ecx
mov edi, eax
add ebx, edi
mov edi, dword [esp]
mov eax, edi
mov ecx, 2
cdq
idiv ecx
mov edi, eax
sub ebx, edi
mov dword [esp + 8], ebx
push 0
call fcn.004b927a
mov ebx, eax
push 0
call fcn.004b9589
mov edi, eax
mov eax, edi
mov ecx, 2
cdq
idiv ecx
mov edi, eax
add ebx, edi
mov edi, dword [esp + 4]
mov eax, edi
mov ecx, 2
cdq
idiv ecx
mov edi, eax
sub ebx, edi
mov dword [esp + 0xc], ebx
push 0x80000004
push dword [0xf813b8]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push 0x60
call fcn.004b8c38
push 0xb
push 0x67
call fcn.004c78ad
push eax
push 0x1a
push 0xaa
push 0xf
push 0xf
push 0x63
call fcn.004b2fde
push 0xb
push 0x65
call fcn.004c78ad
push eax
push 0x1a
push 0xaa
push 0x2d
push 0xf
push 0x61
call fcn.004b2fde
push 0xb
push 0x66
call fcn.004c78ad
push eax
push 0x1a
push 0xaa
push 0x4b
push 0xf
push 0x62
call fcn.004b2fde
push dword [0xf81504]
push 0x14
push 0xaa
push 0x78
push 0xf
push 0x64
call fcn.004b06be
call fcn.0043bb27
call fcn.004b8c30
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x1c], 0
je 0x41bb99
call fcn.004bca96
push eax
mov ebx, 0x60
cmp ebx, dword [esp]
jne 0x41bb96
push dword [esp + 0x20]
mov ebx, 0x332c
cmp ebx, dword [esp]
jne 0x41bb95
call fcn.004bca87
push eax
mov ebx, 0x63
cmp ebx, dword [esp]
jne 0x41bb4a
mov eax, str.https:__msfree.su_donaties_donations.html
push eax
call fcn.0048e69a
add esp, 0xc
jmp 0x41bbf0
mov ebx, 0x61
cmp ebx, dword [esp]
jne 0x41bb69
mov eax, str.https:__msfree.su_donaties_donations.html
push eax
call fcn.0048e69a
add esp, 0xc
jmp 0x41bbf0
mov ebx, 0x62
cmp ebx, dword [esp]
jne 0x41bb85
mov eax, str.https:__msfree.su_donaties_donations.html
push eax
call fcn.0048e69a
add esp, 0xc
jmp 0x41bbf0
mov ebx, 0x64
cmp ebx, dword [esp]
jne 0x41bb94
add esp, 0xc
jmp 0x41bbf0
pop eax
pop eax
pop eax
jmp 0x41bba3
push 0x60
call fcn.004b8c12
push 0x1b
call sub.USER32.dll_GetKeyState
mov ebx, eax
cmp ebx, 1
jle 0x41bbc7
call fcn.004b9597
mov ebx, eax
cmp ebx, 0x60
jne 0x41bbc7
call fcn.0043bb27
jmp 0x41bbf0
push 0xd
call sub.USER32.dll_GetKeyState
mov ebx, eax
cmp ebx, 1
jle 0x41bbeb
call fcn.004b9597
mov ebx, eax
cmp ebx, 0x60
jne 0x41bbeb
call fcn.0043bb27
jmp 0x41bbf0
jmp 0x41baf3
push 0x60
call fcn.004b89c0
xor eax, eax
add esp, 0x10
pop edi
pop ebx
ret 4
Function at 0x447020
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
xor eax, eax
push eax
push eax
call fcn.004ceb50
mov dword [esp], 0
jmp 0x447033
mov eax, dword [esp + 0x10]
cmp eax, dword [esp]
jl 0x4470ec
push 0
call fcn.004b8af1
and eax, eax
je 0x4470e3
mov dword [esp + 4], 0xffffffff
call fcn.0044d152
mov dword [esp + 4], eax
mov ebx, dword [esp + 4]
and ebx, ebx
jle 0x4470b2
call fcn.004bca96
push eax
mov ebx, dword [0xf81524]
cmp ebx, dword [esp]
jne 0x44708d
push dword [esp + 8]
call fcn.00445b97
mov ebx, eax
and ebx, ebx
jne 0x44708b
jmp 0x4470af
xor ebx, ebx
cmp ebx, dword [esp]
jne 0x4470a5
push dword [esp + 8]
call fcn.00438ecc
mov ebx, eax
and ebx, ebx
jne 0x4470a3
jmp 0x4470af
push 3
call fcn.004b87e3
pop eax
jmp 0x4470bc
push 5
call fcn.004b87e3
push 0x1b
call sub.USER32.dll_GetKeyState
mov ebx, eax
cmp ebx, 1
jle 0x4470d9
mov dword [0xf814d4], 1
jmp 0x4470e3
mov dword [0xf814d4], 0
inc dword [esp]
jno 0x447033
xor eax, eax
add esp, 8
pop ebx
ret 4