joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ceae1
Capabilities:
Parse credit card information

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
xor dl, dl
mov ecx, dword [esi + 0x4c]
cmp ecx, 0xffffffff
je 0x4cec3e
push 0x29
mov eax, ecx
pop ebp
mov ebx, 0x10000000
cmp eax, 0x7c
je 0x4cec3e
cmp eax, ebp
jne 0x4ceb24
cmp dword [esi + 0x10], 0
mov eax, ebp
jne 0x4cec3e
cmp eax, ebp
jne 0x4ceb24
test dword [esi + 0x50], ebx
je 0x4cec4c
cmp eax, 0x2e
jne 0x4ceb3f
push 5
lea ecx, [esi + 0x24]
call fcn.004ced47
mov ecx, esi
call fcn.004ceab6
jmp 0x4cec27
cmp eax, 0x5c
jne 0x4ceb94
mov ecx, esi
call fcn.004ceab6
test byte [esi + 0x50], 0x80
je 0x4ceb88
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x4ceb70
push 4
lea ecx, [esi + 0x24]
call fcn.004ced47
mov ecx, esi
call fcn.004ceab6
jmp 0x4cec2e
cmp eax, 0x42
jne 0x4ceb88
push 4
lea ecx, [esi + 0x24]
call fcn.004ced47
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x4ceb64
mov ecx, esi
call fcn.004cfa85
jmp 0x4cec27
cmp eax, 0x5b
jne 0x4cebb4
mov ecx, esi
call fcn.004ceab6
mov ecx, esi
call fcn.004cfa39
cmp dword [esi + 0x4c], 0x5d
je 0x4ceb33
push 4
jmp 0x4cec4e
cmp eax, 0x28
jne 0x4cebd0
mov ecx, esi
call fcn.004ceab6
mov ecx, esi
call fcn.004cfb31
mov bl, al
cmp dword [esi + 0x4c], ebp
jne 0x4cec4c
jmp 0x4cec1c
cmp eax, 0x5e
jne 0x4cebd9
push 2
jmp 0x4ceb5c
cmp eax, 0x24
jne 0x4cebe5
push 3
jmp 0x4ceb5c
cmp eax, 0x2a
je 0x4cec48
cmp eax, 0x2b
je 0x4cec48
cmp eax, 0x3f
je 0x4cec48
cmp eax, 0x7b
je 0x4cec48
cmp ecx, 0x7d
jne 0x4cec03
test dword [esi + 0x50], ebx
je 0x4cec44
cmp ecx, 0x5d
jne 0x4cec0d
test dword [esi + 0x50], ebx
je 0x4cebad
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.004cfce9
mov bl, 1
mov ecx, esi
call fcn.004ceab6
test bl, bl
je 0x4cec2e
mov ecx, esi
call fcn.004cfc20
mov ecx, dword [esi + 0x4c]
mov dl, 1
mov eax, ecx
cmp ecx, 0xffffffff
jne 0x4ceaf9
pop esi
pop ebp
mov al, dl
pop ebx
ret
push 6
jmp 0x4cec4e
push 0xa
jmp 0x4cec4e
push 5
call fcn.004cdaaa
int3
Function at 0x4d29cd
Capabilities:
Get common file path

Disassembly:
push 0x254
mov eax, 0x523ed1
call fcn.004da767
push 0x104
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [ebp - 0x250], eax
add eax, eax
cmp eax, 0x208
jae 0x4d2b7f
sub esp, 0x18
xor ecx, ecx
mov word [ebp + eax - 0x21c], cx
mov ecx, esp
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x260], esp
push eax
call fcn.00404362
xor esi, esi
mov dword [ebp - 4], esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.0046a810
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x234]
push str.msi.dll
call fcn.00404362
mov byte [ebp - 4], 2
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x24c]
call fcn.004301f4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x234]
call fcn.004056f5
mov dword [ebp - 0x25c], esi
mov dword [ebp - 0x258], esi
mov dword [ebp - 0x254], esi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24c]
mov eax, dword [ebp - 0x258]
sub eax, dword [ebp - 0x25c]
sar eax, 1
mov dword [ebp - 0x250], eax
lea eax, [ebp - 0x234]
push eax
call fcn.0046d200
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
jb 0x4d2aba
mov eax, dword [eax]
mov edi, dword [sym.imp.msi.dll_MsiMessageBoxW]
lea ecx, [ebp - 0x250]
push esi
push esi
push ecx
push esi
push eax
call edi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x234]
call fcn.004056f5
mov eax, dword [ebp - 0x250]
lea ecx, [ebp - 0x25c]
inc eax
push ecx
push eax
call fcn.0046e0a0
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x24c]
call fcn.0046d200
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
jb 0x4d2b0e
mov eax, dword [eax]
push esi
push esi
lea ecx, [ebp - 0x250]
push ecx
push dword [ebp - 0x25c]
push eax
call edi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x234]
call fcn.004056f5
mov edi, dword [ebp - 0x25c]
mov edx, esi
cmp edx, dword [ebp - 0x250]
jae 0x4d2b56
movzx eax, word [edi + edx*2]
cmp eax, 0x2e
je 0x4d2b50
imul esi, esi, 0xa
add esi, 0xffffffd0
add esi, eax
inc edx
cmp edx, 3
jb 0x4d2b37
imul esi, esi, 0xa
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x25c]
call fcn.0046dd30
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.004056f5
mov eax, esi
call fcn.004da711
ret
call fcn.004da3a6
int3
Function at 0x4d3d18
Capabilities:
Delete directory

Disassembly:
push 0xc
mov eax, 0x5243a0
call fcn.004da733
mov esi, edx
mov ebx, ecx
call fcn.0040d439
push eax
lea ecx, [ebp - 0x10]
call fcn.0040d250
mov dword [ebp - 4], 1
mov eax, dword [esi]
push 0x5c
pop edi
mov eax, dword [eax - 0xc]
test eax, eax
je 0x4d3dbb
dec eax
mov ecx, esi
push eax
call fcn.004738e0
cmp ax, di
jne 0x4d3dbb
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax - 0xc]
dec eax
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00406df5
mov byte [ebp - 4], 2
mov edx, dword [eax]
mov edi, dword [ebp - 0x10]
add edi, 0xfffffff0
lea ecx, [edx - 0x10]
cmp ecx, edi
je 0x4d3daa
cmp dword [edi + 0xc], 0
jl 0x4d3d9e
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x4d3d9e
call fcn.00407162
mov ecx, edi
mov esi, eax
call fcn.0040d743
lea eax, [esi + 0x10]
mov dword [ebp - 0x10], eax
jmp 0x4d3daa
push dword [edx - 0xc]
lea ecx, [ebp - 0x10]
push edx
call fcn.0040d9ac
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.0040d743
jmp 0x4d3df8
mov edx, dword [esi]
mov edi, dword [ebp - 0x10]
add edi, 0xfffffff0
lea ecx, [edx - 0x10]
cmp ecx, edi
je 0x4d3df8
cmp dword [edi + 0xc], 0
jl 0x4d3dec
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x4d3dec
call fcn.00407162
mov ecx, edi
mov esi, eax
call fcn.0040d743
lea eax, [esi + 0x10]
mov dword [ebp - 0x10], eax
jmp 0x4d3df8
push dword [edx - 0xc]
lea ecx, [ebp - 0x10]
push edx
call fcn.0040d9ac
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebx]
mov eax, dword [eax - 0xc]
cmp eax, dword [ecx - 0xc]
jge 0x4d3e57
push 0x5c
push ecx
call fcn.004dde17
pop ecx
pop ecx
test eax, eax
jne 0x4d3e18
or eax, 0xffffffff
jmp 0x4d3e1c
sub eax, dword [ebx]
sar eax, 1
push eax
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.00406df5
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
je 0x4d3e48
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x14]
call fcn.004d3d18
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040d743
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.0040d743
call fcn.004da6fc
ret
Function at 0x4d3e6c
Capabilities:
Delete file

Disassembly:
push 8
mov eax, 0x5243e3
call fcn.004da733
mov ebx, edx
mov esi, ecx
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x4d3f3c
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.0040d439
push eax
lea ecx, [ebp - 0x10]
call fcn.0040d250
mov dword [ebp - 4], 1
push 0x5c
push dword [esi]
call fcn.004dde17
pop ecx
pop ecx
test eax, eax
je 0x4d3f1d
sub eax, dword [esi]
sar eax, 1
cmp eax, 0xffffffff
je 0x4d3f1d
push eax
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.00406df5
mov byte [ebp - 4], 2
mov edx, dword [eax]
mov esi, dword [ebp - 0x10]
lea ecx, [edx - 0x10]
lea edi, [esi - 0x10]
cmp ecx, edi
je 0x4d3f0c
cmp dword [edi + 0xc], 0
jl 0x4d3efd
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x4d3efd
call fcn.00407162
mov ecx, edi
mov esi, eax
call fcn.0040d743
add esi, 0x10
mov dword [ebp - 0x10], esi
jmp 0x4d3f0c
push dword [edx - 0xc]
lea ecx, [ebp - 0x10]
push edx
call fcn.0040d9ac
mov esi, dword [ebp - 0x10]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040d743
jmp 0x4d3f20
mov esi, dword [ebp - 0x10]
cmp dword [esi - 0xc], 0
je 0x4d3f30
mov edx, ebx
lea ecx, [ebp - 0x10]
call fcn.004d3d18
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.0040d743
call fcn.004da6fc
ret
Function at 0x4d4578
Capabilities:
Check if file exists

Disassembly:
push 0x7c
mov eax, 0x52457d
call fcn.004da767
mov dword [ebp - 0x78], edx
mov edx, ecx
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x74], edx
mov ecx, dword [ebp + 0xc]
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 0x18]
and dword [ebp - 0x7c], 0
mov dword [ebp - 0x80], ecx
mov ecx, edx
push eax
mov dword [ebp - 0x88], edx
call fcn.00404baa
push dword [ebp + 0x1c]
and dword [ebp - 4], 0
xor eax, eax
mov ecx, dword [ebp - 0x78]
inc eax
push esi
push edi
push ebx
push dword [ebp - 0x80]
mov ebx, dword [ebp - 0x84]
mov edx, ebx
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x7c], eax
call fcn.004d4236
add esp, 0x14
mov eax, ebx
cmp dword [ebx + 0x14], 8
jb 0x4d45ed
mov eax, dword [ebx]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call esi
test eax, eax
jne 0x4d470e
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x78], esp
push ebx
call fcn.00404baa
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0
call fcn.0046a810
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x58]
call fcn.0046db60
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x58]
call fcn.0046d190
mov edi, eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x40]
call fcn.0046d190
mov byte [ebp - 4], 5
mov edx, edi
cmp dword [edi + 0x14], 8
jb 0x4d4662
mov edx, dword [edi]
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x4d466c
mov ecx, dword [eax]
mov eax, dword [eax + 0x10]
cmp eax, dword [edi + 0x10]
jne 0x4d4683
push eax
push edx
push ecx
call fcn.00405360
add esp, 0xc
test eax, eax
je 0x4d4687
mov byte [ebp - 0x74], 0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 4
call fcn.0040574e
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.0040574e
cmp byte [ebp - 0x74], 0
je 0x4d46f6
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.0046d200
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 8
jb 0x4d46bd
mov eax, dword [eax]
push eax
call esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
mov esi, eax
call fcn.0040574e
test esi, esi
je 0x4d46f6
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.0046d200
push eax
mov ecx, ebx
mov byte [ebp - 4], 7
call fcn.0040430d
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.0040574e
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.0040dd90
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0
call fcn.0040dd90
mov eax, ebx
call fcn.004da711
ret
Function at 0x4d4db6
Capabilities:
Check os version

Disassembly:
push pe_nt_image_headers32
mov eax, 0x52467c
call fcn.004da767
mov esi, ecx
mov dword [ebp - 0x128], esi
call fcn.0042e309
and dword [ebp - 4], 0
lea edi, [esi + 0x20]
push 0x58
push 0
push edi
call fcn.004dd970
xor eax, eax
mov dword [esi + 0x78], 1
xor ecx, ecx
mov dword [edi], 0x58
lea ebx, [esi + 0x27c]
mov word [esi + 0x7c], cx
push 0x110
mov word [ebx], ax
lea eax, [ebp - 0x120]
push ecx
push eax
mov dword [ebp - 0x124], 0x114
call fcn.004dd970
add esp, 0x18
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4d4e4c
cmp dword [ebp - 0x120], 5
jae 0x4d4e52
cmp dword [ebp - 0x120], 4
jne 0x4d4e4c
cmp dword [ebp - 0x11c], 0x5a
jae 0x4d4e52
mov dword [edi], 0x4c
and dword [esi + 0x5c], 0
lea eax, [esi + 0x7c]
mov dword [esi + 0x44], eax
mov eax, esi
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], 0x104
mov dword [esi + 0x48], 0x100
mov dword [esi + 0x54], 0x880024
mov dword [esi + 0x2c], 0x5492e8
mov ecx, dword [0x57e2d8]
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0x28], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [esi + 0x64], 0x42dbe8
mov dword [esi + 0x24], ecx
call fcn.004da711
ret 0x18

Function at 0x4d51d0
Capabilities:
Hash data with md5

Disassembly:
mov byte [ecx + 0x68], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret
Function at 0x4d8533
Capabilities:
Write file on windows

Disassembly:
push 0x2c
mov eax, 0x524744
call fcn.004da767
mov edi, ecx
mov dword [ebp - 0x30], edi
xor ebx, ebx
cmp dword [edi + 0x38], ebx
je 0x4d8666
cmp byte [edi + 0x3e], bl
je 0x4d8666
mov eax, dword [edi]
mov ecx, 0xffff
push ecx
mov esi, dword [eax + 0xc]
mov ecx, esi
call fcn.004da6bb
mov ecx, edi
call esi
mov ecx, 0xffff
cmp cx, ax
jne 0x4d857f
xor al, al
jmp 0x4d8668
push ebx
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], bl
call fcn.00453446
lea eax, [edi + 0x40]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
lea esi, [ebp - 0x28]
mov dword [ebp - 0x2c], esi
cmp ecx, 0x10
jb 0x4d85b4
mov dword [ebp - 0x2c], eax
lea edx, [ebp - 0x28]
cmp ecx, 0x10
jb 0x4d85be
mov edx, eax
mov edi, dword [edi + 0x38]
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x2c]
mov esi, dword [edi]
push eax
push edx
push dword [ebp - 0x34]
mov ecx, dword [esi + 0x20]
call fcn.004da6bb
mov ecx, edi
call dword [esi + 0x20]
sub eax, ebx
je 0x4d85ed
sub eax, 1
jne 0x4d864b
mov edi, dword [ebp - 0x30]
jmp 0x4d85f3
mov edi, dword [ebp - 0x30]
mov byte [edi + 0x3e], bl
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x28]
cmp ecx, 0x10
jb 0x4d8603
mov edx, eax
mov esi, dword [ebp - 0x38]
sub esi, edx
je 0x4d862d
lea edx, [ebp - 0x28]
cmp ecx, 0x10
jb 0x4d8614
mov edx, eax
push dword [edi + 0x4c]
push esi
push 1
push edx
call fcn.004ebcf9
add esp, 0x10
cmp esi, eax
jne 0x4d8656
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
cmp byte [edi + 0x3e], 0
je 0x4d8654
test esi, esi
jne 0x4d85a6
push ebx
push 8
lea ecx, [ebp - 0x28]
call fcn.00453357
jmp 0x4d85a0
dec eax
sub eax, 1
jne 0x4d865a
inc eax
jmp 0x4d8658
mov bl, 1
mov al, bl
mov bl, al
lea ecx, [ebp - 0x28]
call fcn.00405b42
mov al, bl
jmp 0x4d8668
mov al, 1
call fcn.004da711
ret
Function at 0x4d8b41
Capabilities:
Write file on windows

Disassembly:
push 0x34
mov eax, 0x524799
call fcn.004da767
mov esi, ecx
mov dword [ebp - 0x30], esi
mov edi, dword [ebp + 8]
mov ebx, 0xffff
cmp bx, di
jne 0x4d8b66
xor eax, eax
jmp 0x4d8cec
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x4d8b92
mov edx, dword [esi + 0x30]
mov eax, dword [edx]
lea eax, [ecx + eax*2]
cmp ecx, eax
jae 0x4d8b92
dec dword [edx]
mov ax, di
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], di
jmp 0x4d8cec
cmp dword [esi + 0x4c], 0
je 0x4d8ce9
mov ecx, esi
call fcn.004d8767
xor eax, eax
cmp dword [esi + 0x38], eax
jne 0x4d8bc6
push dword [esi + 0x4c]
push edi
call fcn.004eb1f4
pop ecx
pop ecx
cmp ax, bx
je 0x4d8ce9
movzx ebx, di
jmp 0x4d8ce9
push eax
push 8
lea ecx, [ebp - 0x28]
mov word [ebp - 0x2c], di
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.00453446
and dword [ebp - 4], 0
lea eax, [esi + 0x40]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
lea edi, [ebp - 0x28]
mov dword [ebp - 0x34], edi
cmp ecx, 0x10
jb 0x4d8c00
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x28]
cmp ecx, 0x10
jb 0x4d8c0a
mov edx, eax
mov edi, dword [esi + 0x38]
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x34]
mov esi, dword [edi]
push eax
push edx
lea eax, [ebp - 0x40]
mov ecx, dword [esi + 0x1c]
push eax
lea eax, [ebp - 0x2a]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x38]
call fcn.004da6bb
mov ecx, edi
call dword [esi + 0x1c]
test eax, eax
js 0x4d8ce1
cmp eax, 1
jg 0x4d8cbb
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x28]
cmp ecx, 0x10
jb 0x4d8c54
mov edx, eax
mov edi, dword [ebp - 0x3c]
sub edi, edx
je 0x4d8c83
lea edx, [ebp - 0x28]
cmp ecx, 0x10
jb 0x4d8c65
mov edx, eax
mov esi, dword [ebp - 0x30]
push dword [esi + 0x4c]
push edi
push 1
push edx
call fcn.004ebcf9
add esp, 0x10
cmp edi, eax
jne 0x4d8cb6
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
jmp 0x4d8c86
mov esi, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
mov byte [esi + 0x3e], 1
cmp dword [ebp - 0x40], edx
jne 0x4d8cb0
test edi, edi
jne 0x4d8bf2
cmp dword [ebp - 0x18], 0x20
jae 0x4d8cdb
push edi
push 8
lea ecx, [ebp - 0x28]
call fcn.00453357
jmp 0x4d8bec
mov eax, dword [ebp + 8]
movzx ebx, ax
movzx ebx, bx
jmp 0x4d8cdb
cmp eax, 3
jne 0x4d8ce1
mov eax, dword [ebp - 0x30]
push dword [eax + 0x4c]
push dword [ebp - 0x2c]
call fcn.004eb1f4
pop ecx
pop ecx
cmp ax, bx
je 0x4d8cdb
mov eax, dword [ebp + 8]
movzx ebx, ax
movzx eax, bx
movzx ebx, ax
lea ecx, [ebp - 0x28]
call fcn.00405b42
mov ax, bx
call fcn.004da711
ret 4

Function at 0x4de782
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x528d64
push 0x528d5c
push str.FlsAlloc
push 0
call fcn.004de6fb
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4de7b4
push dword [ebp + 8]
mov ecx, esi
call fcn.004da6bb
call esi
pop esi
pop ebp
ret
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsAlloc]
Function at 0x4de7f6
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x528d74
push 0x528d6c
push str.FlsGetValue
push 2
call fcn.004de6fb
add esp, 0x10
mov esi, eax
push dword [ebp + 8]
test esi, esi
je 0x4de827
mov ecx, esi
call fcn.004da6bb
call esi
jmp 0x4de82d
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
pop esi
pop ebp
ret

Function at 0x4de830
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x528d7c
push 0x528d74
push str.FlsSetValue
push 3
call fcn.004de6fb
add esp, 0x10
mov esi, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
test esi, esi
je 0x4de864
mov ecx, esi
call fcn.004da6bb
call esi
jmp 0x4de86a
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
pop ebp
ret

Function at 0x4f568b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004f534e

Function at 0x4f5696
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004f54cf

Function at 0x4fe18d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x24
mov eax, dword [0x57c074]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
push edi
mov esi, ecx
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esp + 0x3c]
mov edi, dword [esi + 0x30]
movsx ebx, ax
shr eax, 0x10
movsx ebp, ax
jmp 0x4fe1fc
mov esi, dword [edi]
lea ecx, [esp + 0x1c]
xorps xmm0, xmm0
movups xmmword [esp + 0x1c], xmm0
push ecx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x38]
push ebp
push ebx
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4fe1f9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x78]
test al, al
je 0x4fe1f9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x80]
test al, al
jne 0x4fe202
mov edi, dword [edi + 8]
test edi, edi
jne 0x4fe1b9
jmp 0x4fe228
xor eax, eax
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x38], 0x205
lea ecx, [esp + 0x10]
push ecx
sete al
mov dword [esp + 0x18], ebp
inc eax
mov ecx, esi
mov dword [esp + 0x1c], eax
mov eax, dword [esi]
call dword [eax + 0x4c]
mov ecx, dword [esp + 0x2c]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004d9b30
add esp, 0x24
ret 8
Function at 0x4fe39c
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x3c
mov eax, dword [0x57c074]
xor eax, esp
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
push ebx
push ebp
movsx ebp, ax
mov ebx, ecx
shr eax, 0x10
and dword [edx], 0
push esi
cwde
push edi
mov edi, dword [ebx + 0x30]
mov dword [esp + 0x14], eax
jmp 0x4fe411
mov esi, dword [edi]
lea ecx, [esp + 0x34]
xorps xmm0, xmm0
movups xmmword [esp + 0x34], xmm0
push ecx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x38]
push dword [esp + 0x14]
lea eax, [esp + 0x38]
push ebp
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4fe40e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x78]
test al, al
je 0x4fe40e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x80]
test al, al
jne 0x4fe43b
mov edi, dword [edi + 8]
test edi, edi
jne 0x4fe3cb
mov ecx, dword [ebx + 0x34]
test ecx, ecx
je 0x4fe424
mov eax, dword [ecx]
call dword [eax + 0x54]
and dword [ebx + 0x34], edi
mov ecx, dword [esp + 0x44]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004d9b30
add esp, 0x3c
ret 0x10
mov ecx, dword [ebx + 0x34]
cmp esi, ecx
je 0x4fe44e
test ecx, ecx
je 0x4fe44b
mov eax, dword [ecx]
call dword [eax + 0x54]
mov dword [ebx + 0x34], esi
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
mov dword [esp + 0x18], ebp
and ax, cx
lea edx, [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], ecx
xor cx, cx
cmp cx, ax
mov ecx, dword [ebx + 0x34]
push edx
sbb eax, eax
neg eax
mov dword [esp + 0x24], eax
mov eax, dword [ecx]
call dword [eax + 0x50]
xor eax, eax
lea edi, [esp + 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], 0x10
mov dword [esp + 0x2c], 2
call dword [sym.imp.USER32.dll_TrackMouseEvent]
jmp 0x4fe424
Function at 0x408510
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
cmp dword [0x43120c], 0
mov ebp, esp
push edi
mov ecx, dword [ebp + 0xc]
push esi
push ebx
mov ebx, dword [ebp + 0x10]
jne 0x408551
xor edx, edx
mov eax, edx
mov esi, 8
mov edi, eax
and eax, 1
neg eax
shr edi, 1
and eax, 0xedb88320
xor eax, edi
dec esi
jne 0x40852e
mov dword [edx*4 + 0x431208], eax
inc edx
cmp edx, 0x100
jne 0x408527
mov eax, dword [ebp + 8]
not eax
jmp 0x40856b
mov dl, byte [ecx]
dec ebx
inc ecx
xor edx, eax
movzx edx, dl
shr eax, 8
xor eax, dword [edx*4 + 0x431208]
test ebx, ebx
jne 0x408558
pop ebx
not eax
pop esi
pop edi
pop ebp
ret 0xc

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130