joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425ab0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov dword [ebp - 0x60], 0x13c
mov dword [ebp - 0x64], 0xe4
mov dword [ebp - 0x54], 0x217
mov dword [ebp - 0x68], 0x70
mov dword [ebp - 0x10], 0x174
mov dword [ebp - 0x6c], 0x198
mov dword [ebp - 0x14], 0x1b3
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x5c], 0x2ca
mov dword [ebp - 0x48], 0xee
mov dword [ebp - 0x20], 0x345
mov dword [ebp - 0x34], 0x29d
mov dword [ebp - 0x74], 0x1a7
mov dword [ebp - 4], 0x135
mov dword [ebp - 0x78], 0x48
mov dword [ebp - 0x30], 0x33a
mov dword [ebp - 0x7c], 0xe
mov dword [ebp - 0x1c], 0xe
mov dword [ebp - 0x58], 0x3c5
mov dword [ebp - 0x50], 0x1a5
mov dword [ebp - 0x24], 0x1ab
mov dword [ebp - 0x44], 0x2a9
mov dword [ebp - 8], 0x32e
mov dword [ebp - 0x80], 0x32c
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x1c]
jge 0x425b72
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], 0
jmp 0x425b84
mov edx, dword [ebp - 0xc]
inc edx
nop
nop
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x24]
add eax, 0xfffe77b5
cmp dword [ebp - 0xc], eax
jge 0x425bf9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [ebp - 0x48]
jge 0x425ba8
mov dword [ebp - 0x28], 1
jmp 0x425baf
mov dword [ebp - 0x28], 0
mov edx, dword [ebp - 0x10]
nop
dec edx
nop
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x30]
jge 0x425bc9
mov dword [ebp - 0x2c], 1
jmp 0x425bd0
mov dword [ebp - 0x2c], 0
mov ecx, dword [ebp - 0x34]
add ecx, dword [ebp - 0x14]
and ecx, dword [ebp - 0x28]
and ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x14]
sub edx, 1
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x4c], 0
je 0x425bf7
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
jmp 0x425b7b
mov dword [ebp - 0x18], 0
jmp 0x425c0b
mov ecx, dword [ebp - 0x18]
nop
nop
inc ecx
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x50]
sub edx, 0x18845
cmp dword [ebp - 0x18], edx
jge 0x425c2a
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov eax, dword [ebp - 0x1c]
dec eax
nop
nop
mov dword [ebp - 0x1c], eax
jmp 0x425c02
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x30]
cmp edx, dword [ebp - 4]
jge 0x425c44
mov dword [ebp - 0x38], 1
jmp 0x425c4b
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x54]
jge 0x425c5c
mov dword [ebp - 0x3c], 1
jmp 0x425c63
mov dword [ebp - 0x3c], 0
mov ecx, dword [ebp - 0x20]
nop
inc ecx
nop
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x58]
and edx, dword [ebp - 0x20]
cmp edx, dword [ebp - 0x5c]
jge 0x425c80
mov dword [ebp - 0x40], 1
jmp 0x425c87
mov dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x38]
or eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x3c]
and ecx, dword [ebp - 0x40]
or eax, ecx
je 0x425ca0
mov edx, dword [ebp - 8]
sub edx, 1
mov dword [ebp - 8], edx
mov esp, ebp
pop ebp
ret
Function at 0x47fc7d
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x47fcbc
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x47fcbc
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x47fcbc
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x47fcbc
cmp dword [ecx + 0x74], 0xe
jbe 0x47fcbc
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x48c344
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x48c383
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x48c383
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x48c383
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x48c383
cmp dword [ecx + 0x74], 0xe
jbe 0x48c383
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4abfc9
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004abe9d
Function at 0x4acac4
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x518300]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x4acb0f
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004acf64
test al, al
jne 0x4acb09
sub edx, 2
cmp edx, edi
jne 0x4acaef
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4acb31
lea eax, [edi + 2]
cmp edx, eax
je 0x4acb31
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.004ac78b
add esp, 0x10
jmp 0x4acc2b
push esi
lea ecx, [ebp - 0x255]
call fcn.004acf64
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4acb74
push dword [ebp - 0x25c]
jmp 0x4acb21
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4acbb1
cmp word [ebp - 0x226], 0
je 0x4acbd2
cmp word [ebp - 0x226], ax
jne 0x4acbb1
cmp word [ebp - 0x224], 0
je 0x4acbd2
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.004ac78b
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4acc1e
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4acb8b
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4acc06
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4acc2b
push 0x4ac1db
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004b7d40
add esp, 0x10
jmp 0x4acbfb
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004801f9
leave
ret
Function at 0x4ae4ab
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x4ae548
push ebx
push esi
call fcn.004ae467
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.004ae3a4
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4ae4f5
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4ae547
push edi
push eax
call fcn.004b0cae
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4ae515
call fcn.004ac189
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4ae546
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.004ae3a4
add esp, 0x20
test eax, eax
jne 0x4ae534
push edi
call fcn.004ac189
jmp 0x4ae53c
push ebx
call fcn.004ac189
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x4ae54b
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x4ae55c
pop esi
ret
push ebx
push edi
push esi
call fcn.004ae467
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.004b0cae
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4ae584
push ebx
push esi
push edi
call fcn.00488db0
add esp, 0xc
push 0
call fcn.004ac189
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x4aee73
Capabilities:
Set environment variable

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

Function at 0x4b2fc6
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.004ab4e3
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4b3035
cmp esi, dword [ebp - 4]
je 0x4b3030
cmp dword [ebp + 0xc], 0
je 0x4b3030
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4b300d
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.004b2b18
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x4b3037
xor eax, eax
inc eax
jmp 0x4b3037
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x4b309c
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x518300]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.004ab4e3
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.004ab4e3
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x4b3113
cmp word [ecx], dx
je 0x4b3113
mov eax, dword [0x507a14]
push edi
dec eax
push eax
push 0x507900
call fcn.004b303b
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x4b3186
cmp word [eax], dx
je 0x4b3186
mov eax, dword [edi]
test eax, eax
je 0x4b3137
cmp word [eax], dx
je 0x4b3137
lea eax, [ebp - 0x10]
push eax
call fcn.004b2a1e
jmp 0x4b3140
lea eax, [ebp - 0x10]
push eax
call fcn.004b2ab9
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x4b31b0
mov eax, dword [0x5078fc]
push dword [ebp - 0x14]
dec eax
push eax
push 0x5075f0
call fcn.004b303b
add esp, 0xc
test al, al
je 0x4b31b0
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x4b317b
cmp word [eax], di
je 0x4b317b
lea eax, [ebp - 0x10]
push eax
call fcn.004b2a1e
pop ecx
jmp 0x4b31b2
lea eax, [ebp - 0x10]
push eax
call fcn.004b2ab9
jmp 0x4b3178
mov eax, dword [edi]
test eax, eax
je 0x4b319d
cmp word [eax], dx
je 0x4b319d
lea eax, [ebp - 0x10]
push eax
call fcn.004b29b5
pop ecx
jmp 0x4b31b0
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x4b327b
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.004b2ec0
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4b327b
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x4b327b
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x4b327b
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4b3208
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
sub eax, 0xfffffdb0
push eax
push dword [ebp - 0xc]
call fcn.004b3f89
test ebx, ebx
je 0x4b3276
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.004b3f89
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4b327b
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4b327b
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.004b9203
add esp, 0x10
xor eax, eax
inc eax
jmp 0x4b327d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004801f9
leave
ret
Function at 0x4b3bfb
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x508c3c
push 0x508c34
push str.FlsAlloc
push 0x1f
call fcn.004b38c9
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4b3c2f
push dword [ebp + 8]
mov ecx, esi
call dword [0x4c9204]
call esi
jmp 0x4b3c35
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4b3c79
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x508c4c
push 0x508c44
push str.FlsGetValue
push 0x21
call fcn.004b38c9
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4b3cb0
push dword [ebp + 8]
mov ecx, esi
call dword [0x4c9204]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x4b3cb8
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x508c54
push 0x508c4c
push str.FlsSetValue
push 0x22
call fcn.004b38c9
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4b3cf2
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x4c9204]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x4c036b
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 + 0x519c90]
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 0x4c03ab
cmp byte [ebx], 0xa
jne 0x4c03ab
or byte [edi + eax + 0x28], 4
jmp 0x4c03b0
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 0x4c04af
mov dl, byte [eax]
cmp dl, 0x1a
je 0x4c0492
inc eax
cmp dl, 0xd
je 0x4c03dc
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x4c0402
cmp eax, ecx
jae 0x4c0410
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 0x4c03c4
jmp 0x4c04af
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 0x4c048d
cmp dword [ebp - 0x10], 0
je 0x4c048d
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x519c90]
test byte [eax + edi + 0x28], 0x48
je 0x4c0467
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4c0452
mov byte [esi], dl
jmp 0x4c0463
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x519c90]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4c04af
cmp byte [ebp - 1], 0xa
jne 0x4c0476
cmp esi, ebx
jne 0x4c0476
mov byte [esi], 0xa
jmp 0x4c04ae
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004c01bd
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4c04af
mov byte [esi], 0xd
jmp 0x4c04ae
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x519c90]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4c04ac
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4c04af
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4c04b8
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 + 0x519c90]
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 0x4c04fe
cmp word [ebx], dx
jne 0x4c04fe
or byte [eax + edi + 0x28], 4
jmp 0x4c0503
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 0x4c0666
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 0x4c0646
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x4c0544
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4c057a
cmp eax, edx
jae 0x4c0588
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 0x4c051f
jmp 0x4c0666
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 0x4c0641
cmp dword [ebp - 0x18], 0
je 0x4c0641
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x519c90]
test byte [eax + edi + 0x28], 0x48
je 0x4c0617
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 0x4c05db
mov word [esi], cx
jmp 0x4c0612
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x519c90]
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 + 0x519c90]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x519c90]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x4c0666
pop eax
cmp word [ebp - 4], ax
jne 0x4c0627
cmp esi, ebx
jne 0x4c0627
mov word [esi], ax
jmp 0x4c0663
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.004c01bd
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x4c0666
push 0xd
pop eax
jmp 0x4c0622
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x519c90]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x4c0660
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x4c0666
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 0x4c5030
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4c505d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4c505d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4220b0
Capabilities:
Terminate process

Disassembly:
push esi
sub esp, 0x10
mov eax, dword [esp + 0x18]
mov dword [esp + 0xc], eax
mov eax, dword [0x48a0f0]
inc eax
mov dword [0x48a0f0], eax
xor eax, 0xebf023d4
cmp eax, 0x588b8b84
jg 0x422122
mov eax, 0x401905c
mov cx, word [0x486fd0]
movsx edx, cx
mov cx, word [0x487424]
movsx esi, cx
shl esi, 8
and edx, esi
mov esi, dword [0x48d5e0]
xor edx, esi
cmp eax, edx
jl 0x42211d
mov ax, word [0x487d80]
mov cx, ax
or ecx, 0x84dc
mov ax, cx
mov word [0x487d80], ax
jmp 0x422122
mov eax, 1
mov ecx, dword [0x49da64]
mov edx, esp
mov dword [edx], ecx
mov dword [esp + 8], eax
call fcn.00402860
mov ecx, dword [0x48adc8]
mov edx, 0xa5eb5230
sub edx, ecx
xor edx, 0x5dc0
mov si, word [0x485806]
mov cx, si
imul ecx, edx
mov si, cx
mov word [0x485806], si
mov dword [esp], 1
mov byte [esp + 7], al
call fcn.004561ed
int3
Function at 0x44ebb0
Capabilities:
Hash data with md5

Disassembly:
push edi
push esi
sub esp, 8
mov dword [esp + 4], ecx
mov ax, word [0x4882a6]
mov dx, ax
dec edx
mov ax, dx
mov word [0x4882a6], ax
movsx edx, ax
mov esi, dword [0x48ec14]
cmp edx, esi
mov dword [esp], ecx
jle 0x44ebf8
mov eax, dword [0x48da04]
mov ecx, dword [0x4974c4]
or ecx, eax
mov dword [0x4974c4], ecx
jmp 0x44ec12
mov eax, dword [0x498c30]
dec eax
mov dword [0x498c30], eax
xor eax, 0xb74a
mov cx, ax
mov word [0x4897aa], cx
mov eax, 0x183a1400
mov ecx, dword [esp]
mov dword [ecx], 0
mov dx, word [0x485fd8]
mov si, dx
inc esi
mov di, si
mov word [0x485fd8], di
movsx esi, dx
or esi, 0x72462ca3
cmp eax, esi
jg 0x44ecc9
mov ax, word [0x488116]
movsx ecx, ax
or ecx, 0x113831d
cmp ecx, 0x14906128
jle 0x44ec8d
mov eax, dword [0x48c9e4]
dec eax
mov dword [0x48c9e4], eax
imul eax, eax, 0xcfae3bd6
mov ecx, dword [0x4928c4]
and eax, ecx
mov ecx, dword [0x48e524]
sub ecx, eax
mov dword [0x48e524], ecx
jmp 0x44ecc4
mov eax, 0x88f010f9
mov ecx, dword [0x49a124]
mov dx, word [0x483056]
mov si, dx
inc esi
mov di, si
mov word [0x483056], di
movsx esi, dx
or ecx, esi
cmp eax, ecx
jg 0x44ecbf
jmp 0x44ecbf
jmp 0x44ecc4
jmp 0x44ecd8
mov eax, dword [0x48b840]
and eax, 0xd4469772
mov dword [0x48b840], eax
mov eax, dword [esp]
mov dword [eax + 4], 0
mov ecx, dword [0x495f50]
shl ecx, 6
mov edx, 0x831cc5e3
sub edx, ecx
mov si, dx
mov word [0x486dca], si
mov dword [eax + 8], 0x67452301
mov word [0x488dfe], 0xc7a
mov dword [eax + 0xc], 0xefcdab89
mov si, word [0x480a6c]
mov cx, si
add ecx, 0x81670d1f
mov si, cx
mov word [0x480a6c], si
mov dword [eax + 0x10], 0x98badcfe
mov ecx, dword [0x48a96c]
sar ecx, 7
and ecx, 0x4c56533e
xor ecx, 0x219f630e
mov edx, dword [0x48c424]
sub edx, ecx
mov dword [0x48c424], edx
mov dword [eax + 0x14], 0x10325476
mov si, word [0x47fe8e]
movsx ecx, si
mov edx, 0x2e51424a
sub edx, ecx
xor edx, 0xe0b7145
mov ecx, dword [0x49b504]
and ecx, edx
mov dword [0x49b504], ecx
add esp, 8
pop esi
pop edi
ret
Function at 0x45d447
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x47ebe0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00459eb6
mov dword [ebp - 0x14], eax
cmp dword [0x49ecc4], esi
jne 0x45d53a
push 0x800
push esi
push 0x474258
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x45d4c7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x45d61a
push esi
push esi
push 0x474258
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x45d61a
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45d61a
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x49ecc4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x49ecc8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x49eccc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x49ecd4], eax
test eax, eax
je 0x45d537
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x49ecd0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x45d55f
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x45d552
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x45d574
push 4
pop eax
jmp 0x45d61c
cmp dword [ebp - 0x14], esi
je 0x45d574
push dword [0x49ecc4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x45d559
mov eax, dword [0x49ecd0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x45d5d2
cmp dword [0x49ecd4], edi
je 0x45d5d2
push eax
call ebx
push dword [0x49ecd4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x45d5d2
test eax, eax
je 0x45d5d2
call ecx
test eax, eax
je 0x45d5c7
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x45d5c7
test byte [ebp - 8], 1
jne 0x45d5d2
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x45d602
mov eax, dword [0x49ecc8]
cmp eax, edi
je 0x45d5ff
push eax
call ebx
test eax, eax
je 0x45d5ff
call eax
mov esi, eax
test esi, esi
je 0x45d5ff
mov eax, dword [0x49eccc]
cmp eax, edi
je 0x45d5ff
push eax
call ebx
test eax, eax
je 0x45d5ff
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x49ecc4]
call ebx
test eax, eax
je 0x45d61a
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x45d61c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045d64b
mov esp, ebp
pop ebp
ret