joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422190
Capabilities:
Get steam token

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [sym.imp.msvcrt.dll_strlen]
push esi
push edi
push str.65_79_41_69_64_48_6C_77_49_6A_6F_67_49_6B_70_58_56_43_49_73_49_43_4A_68_62_47_63_69_4F_69_41_69_52_57_52_45_55_30_45_69_49_48_30
call ebx
mov ecx, eax
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
inc edx
movzx edi, dx
push str.65_79_41_69_64_48_6C_77_49_6A_6F_67_49_6B_70_58_56_43_49_73_49_43_4A_68_62_47_63_69_4F_69_41_69_52_57_52_45_55_30_45_69_49_48_30
mov dword [ebp - 4], edi
xor esi, esi
call ebx
add esp, 8
test eax, eax
je 0x422297
mov edi, dword [ebp + 8]
nop
mov al, byte [esi + str.65_79_41_69_64_48_6C_77_49_6A_6F_67_49_6B_70_58_56_43_49_73_49_43_4A_68_62_47_63_69_4F_69_41_69_52_57_52_45_55_30_45_69_49_48_30]
mov cl, byte [esi + 0x434ff1]
add esi, 3
cmp al, 0x3f
je 0x42226f
cmp cl, 0x3f
je 0x42226f
lea edx, [eax - 0x30]
mov dword [ebp - 0xc], 0
cmp dl, 9
ja 0x422207
cbw
sub ax, 0x30
jmp 0x422225
lea edx, [eax - 0x61]
cmp dl, 0x19
ja 0x422217
cbw
sub ax, 0x57
jmp 0x422225
lea edx, [eax - 0x41]
cmp dl, 0x19
ja 0x422229
cbw
sub ax, 0x37
mov word [ebp - 0xc], ax
lea edx, [ecx - 0x30]
cmp dl, 9
ja 0x42223b
movsx ax, cl
sub ax, 0x30
jmp 0x42225d
lea edx, [ecx - 0x61]
cmp dl, 0x19
ja 0x42224d
movsx ax, cl
sub ax, 0x57
jmp 0x42225d
lea edx, [ecx - 0x41]
cmp dl, 0x19
ja 0x422261
movsx ax, cl
sub ax, 0x37
mov word [ebp - 0xa], ax
mov eax, dword [ebp - 0xc]
shl eax, 4
add eax, dword [ebp - 0xa]
mov word [edi], ax
jmp 0x422277
mov ecx, 0x100
mov word [edi], cx
push str.65_79_41_69_64_48_6C_77_49_6A_6F_67_49_6B_70_58_56_43_49_73_49_43_4A_68_62_47_63_69_4F_69_41_69_52_57_52_45_55_30_45_69_49_48_30
add edi, 2
call ebx
add esp, 4
cmp esi, eax
jb 0x4221d0
mov ax, word [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ax, di
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x424030
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
xor eax, eax
push esi
push edi
cmp byte [0x42cfec], al
je 0x42404d
inc eax
cmp byte [eax + 0x42cfec], 0
jne 0x424043
mov esi, dword [ebp + 8]
mov dword [esi + 8], eax
inc eax
call fcn.00402930
mov dword [esi], eax
test eax, eax
je 0x42406b
push 0x42cfec
push eax
call dword [0x639134]
mov esi, dword [0x638aa4]
xor eax, eax
cmp byte [esi], al
je 0x42407e
inc eax
cmp byte [esi + eax], 0
jne 0x424077
inc eax
call fcn.00402930
mov ebx, eax
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x424095
push esi
push ebx
call dword [0x639134]
lea eax, [ebp - 0x24]
push eax
call dword [0x639044]
mov eax, dword [ebp - 0x16]
xor edi, edi
lea esi, [eax + eax*4]
mov word [0x638ec0], si
cmp dword [ebp + 0xc], edi
jle 0x424109
mov edx, dword [ebp + 8]
mov eax, dword [edx]
movzx ecx, si
mov dword [ebp - 4], eax
mov edi, edi
mov eax, ecx
shr eax, 2
xor eax, ecx
shr eax, 1
xor eax, ecx
shr eax, 2
xor eax, ecx
and eax, 1
mov dword [0x638ec4], eax
shl eax, 0xf
shr si, 1
or si, ax
movzx ecx, si
xor edx, edx
mov ebx, 0xb
mov eax, ecx
div ebx
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
inc edi
mov dl, byte [edx + ebx]
mov byte [eax + edi - 1], dl
cmp edi, dword [ebp + 0xc]
jl 0x4240c0
mov word [0x638ec0], si
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
mov eax, dword [ebp + 0xc]
mov byte [eax + ecx], 0
test ebx, ebx
je 0x424181
mov ecx, dword [ebx - 8]
lea eax, [ebx - 0x10]
mov dword [eax], 1
test ecx, ecx
je 0x424151
cmp dword [ecx], 0
je 0x424151
cmp dword [0x6391c4], ecx
jne 0x42413b
mov dword [0x6391c4], eax
mov esi, dword [ecx + 4]
add dword [eax + 4], esi
mov esi, dword [ecx + 8]
mov dword [eax + 8], esi
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x424151
mov dword [ecx + 0xc], eax
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x424181
cmp dword [ecx], 0
je 0x424181
cmp dword [0x6391c4], eax
jne 0x42416b
mov dword [0x6391c4], ecx
mov esi, dword [eax + 4]
add dword [ecx + 4], esi
mov esi, dword [eax + 8]
mov dword [ecx + 8], esi
mov eax, dword [eax + 8]
test eax, eax
je 0x424181
mov dword [eax + 0xc], ecx
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x98a68c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x98a6b3
call fcn.0092cbf8
mov dword [eax], esi
call fcn.0092cbe5
push 0x16
pop esi
mov dword [eax], esi
call fcn.0092d83a
mov eax, esi
jmp 0x98a708
test dword [ebp + 0xc], 0xfffffff9
jne 0x98a699
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x98a6e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0092cc0b
pop ecx
call fcn.0092cbe5
mov eax, dword [eax]
jmp 0x98a708
test al, 0x10
jne 0x98a706
test al, 1
je 0x98a706
test byte [ebp + 0xc], 2
je 0x98a706
call fcn.0092cbf8
mov dword [eax], 5
call fcn.0092cbe5
mov dword [eax], 0xd
jmp 0x98a6d7
xor eax, eax
pop esi
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x68572ac3
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
nop
mov ecx, 0x681e7f62
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x418010
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0xb0
mov al, byte [0x4c4049]
mov cl, byte [0x4c4048]
xor cl, al
push esi
mov byte [0x4c4048], cl
mov cl, byte [0x4c4043]
or cl, 8
mov esi, dword [esp + 0xb8]
shr cl, 3
and ecx, 0xff
push 5
mov dword [esp + 8], ecx
fild dword [esp + 8]
fdivr qword [0x4c79a0]
fadd qword [0x4c4050]
fstp qword [0x4c7990]
mov dword [esi], 0
call dword [sym.imp.USER32.dll_GetSysColor]
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x41807e
or dword [esi], 0x4000000
mov al, byte [0x4c4046]
mov dl, byte [0x4c4045]
xor al, dl
mov byte [0x4c4046], al
or al, 0x30
shr al, 4
and eax, 0xff
mov dword [esp + 4], eax
fild dword [esp + 4]
fdivr qword [0x4c7a00]
fstp qword [0x4c7990]
fld qword [0x4c4050]
fadd qword [0x4c79a0]
fstp qword [0x4c79a0]
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov eax, esi
pop esi
add esp, 0xb0
ret

Function at 0x4bc4f9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c43a8
cmp edx, dword [eax]
je 0x4bc51b
add eax, 8
inc ecx
cmp eax, 0x4c4438
jl 0x4bc50c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c43a8]
jne 0x4bc649
mov eax, dword [0x4c9d30]
cmp eax, 1
je 0x4bc623
test eax, eax
jne 0x4bc54c
cmp dword [0x4c42d4], 1
je 0x4bc623
cmp edx, 0xfc
je 0x4bc649
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bc583
lea eax, [ebp - 0x1a4]
push 0x4c1918
push eax
call fcn.004bcee0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bd370
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bc5c6
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bd370
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c1914
push edi
call fcn.004bf240
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4c18f8
push eax
call fcn.004bcee0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bcef0
lea eax, [ebp - 0xa0]
push 0x4c18f4
push eax
call fcn.004bcef0
push dword [esi + 0x4c43ac]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bcef0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4c18cc
push eax
call fcn.004bf1b4
add esp, 0x2c
pop edi
jmp 0x4bc649
lea eax, [ebp + 8]
lea esi, [esi + 0x4c43ac]
push 0
push eax
push dword [esi]
call fcn.004bd370
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x10004770
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, ebx
mov eax, ecx
nop
cmp eax, 0x8b8a3b41
cmp eax, 0x35f327e6
inc eax
mov eax, ecx
cmp eax, 0x4fdea1aa
mov eax, ebx
mov eax, ecx
cmp eax, 2
cmp eax, 0x3b
mov eax, ebx
cmp eax, 0x67ae1c83
mov eax, ecx
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
mov eax, ebx
cmp eax, 0xffffffd1
cmp eax, 0xffffffaa
mov eax, ebx
mov eax, ebx
nop
inc eax
mov eax, 0x4fdac499
mov eax, ecx
nop
inc eax
nop
inc eax
mov eax, ebx
cmp eax, 0x5b28af09
inc eax
mov eax, ebx
mov eax, 0xa0982294
nop
inc eax
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
inc eax
mov eax, ecx
cmp eax, 0x77
mov eax, ecx
mov eax, ecx
mov eax, 0xc23697c6
nop
cmp eax, 0xae6a61b
mov eax, 0xa3aebfe8
mov eax, 0x3eba3657
cmp eax, 0xffffffb8
mov eax, ecx
mov eax, 0x21b05972
nop
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
push 0x1002beb4
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, ebx
cmp eax, 0xffffffe9
cmp eax, 0xcc626c62
mov eax, ecx
mov eax, 0x4d197fe6
mov eax, ebx
nop
mov eax, ecx
cmp eax, 0x25
nop
mov eax, ecx
inc eax
nop
cmp eax, 0x49
mov eax, ebx
mov eax, 0x970562dd
inc eax
inc eax
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x1003e22c], eax
cmp eax, 0xb1d0de51
cmp eax, 0x47
cmp eax, 0x926a6db4
mov eax, 0xb41e4f89
cmp eax, 0x59b3d24e
nop
mov eax, ebx
cmp eax, 0xcc65dacc
mov eax, ecx
nop
cmp eax, 0xffffff88
mov eax, 0xae1fc8e8
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
cmp dword [0x1003e22c], 0
jne 0x1000491f
push 0x41030
push str.DllWrap
push str.miss
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 0x39
mov eax, 0x3c3a8bd7
mov eax, ecx
cmp eax, 0x63
cmp eax, 0x12
inc eax
mov eax, ecx
cmp eax, 0x4b69eee8
cmp eax, 0xa6d566c1
cmp eax, 0xffffffc2
cmp eax, 0xffffff89
mov eax, 0xd774fcbb
mov eax, ecx
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
cmp dword [0x1003e22c], 0
je 0x10004931
mov dword [ebp - 4], 1
jmp 0x10004938
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4077a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], 0
mov esi, esp
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cmp esi, esp
call fcn.004f4cf0
cwde
test eax, eax
jge 0x4077d2
mov ecx, dword [ebp - 4]
or ecx, 8
mov dword [ebp - 4], ecx
mov esi, esp
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
cmp esi, esp
call fcn.004f4cf0
movsx edx, ax
test edx, edx
jge 0x4077f3
mov eax, dword [ebp - 4]
or eax, 1
mov dword [ebp - 4], eax
mov esi, esp
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
cmp esi, esp
call fcn.004f4cf0
movsx ecx, ax
test ecx, ecx
jge 0x407814
mov edx, dword [ebp - 4]
or edx, 2
mov dword [ebp - 4], edx
mov esi, esp
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
cmp esi, esp
call fcn.004f4cf0
cwde
test eax, eax
jge 0x407833
mov ecx, dword [ebp - 4]
or ecx, 4
mov dword [ebp - 4], ecx
mov esi, esp
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
cmp esi, esp
call fcn.004f4cf0
movsx edx, ax
test edx, edx
jge 0x407854
mov eax, dword [ebp - 4]
or eax, 0x20
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop esi
add esp, 4
cmp ebp, esp
call fcn.004f4cf0
mov esp, ebp
pop ebp
ret
Function at 0x40ee20
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
push esi
push edi
lea edi, [ebp - 0x268]
mov ecx, 0x9a
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x5ddc34]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x260], ax
push 0x256
push 0
lea ecx, [ebp - 0x25e]
push ecx
call fcn.004f6010
add esp, 0xc
lea edx, [ebp + 0xc]
mov dword [ebp - 0x268], edx
mov esi, esp
mov eax, dword [ebp - 0x268]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x12a
lea edx, [ebp - 0x260]
push edx
call dword [sym.imp.SHLWAPI.dll_wvnsprintfW]
cmp esi, esp
call fcn.004f4cf0
push 0x596c00
lea eax, [ebp - 0x260]
push eax
call fcn.00503470
add esp, 8
mov dword [ebp - 0x268], 0
mov esi, esp
lea ecx, [ebp - 0x260]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp esi, esp
call fcn.004f4cf0
push edx
mov ecx, ebp
push eax
lea edx, [0x40eef8]
call fcn.004f4c90
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f4d70
add esp, 0x268
cmp ebp, esp
call fcn.004f4cf0
mov esp, ebp
pop ebp
ret
Function at 0x4132a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov dword [ebp - 0xc], 0xcccccccc
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
test ecx, ecx
je 0x413319
mov edx, dword [ebp + 8]
movzx eax, word [edx]
cmp eax, 0x3c
jne 0x4132f8
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
call fcn.00411a40
movzx edx, al
test edx, edx
jne 0x4132f6
xor eax, eax
jmp 0x413404
jmp 0x413314
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.00411d80
movzx ecx, al
test ecx, ecx
jne 0x413314
xor eax, eax
jmp 0x413404
jmp 0x4133f0
mov esi, esp
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004067f0
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
cmp esi, esp
call fcn.004f4cf0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x413346
xor eax, eax
jmp 0x413404
mov esi, esp
mov ecx, dword [ebp - 8]
push ecx
call fcn.004067f0
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp esi, esp
call fcn.004f4cf0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x413382
mov esi, esp
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp esi, esp
call fcn.004f4cf0
xor eax, eax
jmp 0x413404
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0x140], ecx
push 0
mov esi, esp
mov edx, dword [ebp - 8]
push edx
call fcn.004067f0
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp esi, esp
call fcn.004f4cf0
push eax
mov esi, esp
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp esi, esp
call fcn.004f4cf0
push eax
mov ecx, dword [ebp - 4]
call fcn.00411ae0
movzx ecx, al
test ecx, ecx
jne 0x4133d1
xor eax, eax
jmp 0x413404
mov esi, esp
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp esi, esp
call fcn.004f4cf0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x144], ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp - 4]
call fcn.00413420
pop esi
add esp, 0xc
cmp ebp, esp
call fcn.004f4cf0
mov esp, ebp
pop ebp
ret 0x14
Function at 0x421820
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x421830
xor eax, eax
jmp 0x4219cd
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x42198e
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x59b4e8]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x59b4e8]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x59b4e8]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x59b4e8]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x59b4e8]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x59b4e8]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x59b4e8]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x59b4e8]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x421839
cmp dword [ebp + 0x10], 0
je 0x4219c7
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x59b4e8]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
jne 0x421994
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x422a60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
movzx edx, byte [ecx]
test edx, edx
je 0x422ad0
mov esi, esp
push 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp esi, esp
call fcn.004f4cf0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x422ac6
mov edx, dword [ebp + 0x14]
mov byte [edx + 8], 1
mov eax, dword [ebp - 0xc]
xor edx, edx
div dword [ebp + 0xc]
jmp 0x422b2a
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x18]
add ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x14]
cmp ecx, dword [edx + 0x14]
jbe 0x422af0
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x14]
mov edx, dword [eax + 0x14]
sub edx, dword [ecx + 0x18]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x10]
mov eax, dword [ebp + 0x14]
add edx, dword [eax + 0x18]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.004f57f0
add esp, 0xc
mov edx, dword [ebp - 4]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x18]
add ecx, dword [ebp - 0x18]
mov edx, dword [ebp + 0x14]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp - 0x18]
xor edx, edx
div dword [ebp + 0xc]
push edx
mov ecx, ebp
push eax
lea edx, [0x422b4c]
call fcn.004f4c90
pop eax
pop edx
pop esi
add esp, 0x18
cmp ebp, esp
call fcn.004f4cf0
mov esp, ebp
pop ebp
ret
Function at 0x424a60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x424a92
mov ecx, dword [ebp - 4]
cmp dword [ecx + 4], 0xffffffff
je 0x424a9c
mov eax, 0x1000000
jmp 0x424b35
mov edx, dword [ebp - 4]
add edx, 0x138
mov esi, esp
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp esi, esp
call fcn.004f4cf0
push 0x59b958
mov eax, dword [ebp - 4]
add eax, 0x138
push eax
call fcn.00503470
add esp, 8
cmp dword [ebp + 0x10], 1
jne 0x424af9
mov esi, esp
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp esi, esp
call fcn.004f4cf0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
je 0x424af9
mov eax, 0x2000000
jmp 0x424b35
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00422640
add esp, 0x10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x424b1f
mov eax, dword [ebp - 0x10]
jmp 0x424b35
mov eax, dword [ebp - 0x18]
push eax
call fcn.00423080
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [0x5e7320]
push edx
mov ecx, ebp
push eax
lea edx, [0x424b58]
call fcn.004f4c90
pop eax
pop edx
pop esi
add esp, 0x18
cmp ebp, esp
call fcn.004f4cf0
mov esp, ebp
pop ebp
ret 0xc
Function at 0x425450
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
push esi
push edi
lea edi, [ebp - 0x430]
mov ecx, 0x10c
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x5ddc34]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0
je 0x425487
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax]
test ecx, ecx
jne 0x42548c
jmp 0x42555f
mov edx, dword [ebp + 0xc]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx]
test edx, edx
je 0x4254c9
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax]
cmp ecx, 0x2f
je 0x4254b8
mov edx, dword [ebp - 0xc]
movzx eax, word [edx]
cmp eax, 0x5c
jne 0x4254be
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0xc]
add edx, 2
mov dword [ebp - 0xc], edx
jmp 0x425498
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp + 0xc]
je 0x425521
mov edx, dword [ebp - 8]
sub edx, dword [ebp + 0xc]
sar edx, 1
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x21c]
push ecx
call fcn.0050e700
add esp, 0xc
mov edx, dword [ebp - 8]
sub edx, dword [ebp + 0xc]
sar edx, 1
xor eax, eax
mov word [ebp + edx*2 - 0x21c], ax
lea ecx, [ebp - 0x21c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00425450
add esp, 8
mov eax, dword [ebp - 0x10]
add eax, 2
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x42c]
push edx
call fcn.005034d0
add esp, 8
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x42c]
push ecx
call fcn.00503470
add esp, 8
mov esi, esp
push 0
lea edx, [ebp - 0x42c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp esi, esp
call fcn.004f4cf0
push edx
mov ecx, ebp
push eax
lea edx, [0x425590]
call fcn.004f4c90
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f4d70
add esp, 0x430
cmp ebp, esp
call fcn.004f4cf0
mov esp, ebp
pop ebp
ret