joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48836f
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x90]
sub esp, 0x110
mov eax, dword [0x4d2084]
mov ecx, dword [ebp + 0x98]
push ebx
xor eax, ebp
push esi
mov dword [ebp + 0x8c], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x4d29c0]
je 0x4883a6
inc eax
cmp eax, 0x13
jb 0x488397
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x4d29c0]
jne 0x4884c9
mov eax, dword [0x52cbc8]
cmp eax, 1
je 0x4884a4
cmp eax, edx
jne 0x4883d6
cmp dword [0x4d2264], 1
je 0x4884a4
cmp ecx, 0xfc
je 0x4884c9
push 0x104
lea eax, [ebp - 0x7c]
push eax
push edx
mov byte [ebp + 0x88], dl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x48840c
lea eax, [ebp - 0x7c]
push str._program_name_unknown_
push eax
call fcn.00483860
pop ecx
pop ecx
lea edi, [ebp - 0x7c]
mov eax, edi
push eax
call fcn.00480d00
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x488440
mov eax, edi
push eax
call fcn.00480d00
mov edi, eax
lea eax, [ebp - 0x7c]
sub eax, 0x3b
push 3
add edi, eax
push 0x4b7320
push edi
call fcn.0047ef10
add esp, 0x10
push edi
call fcn.00480d00
push dword [esi + 0x4d29c4]
mov ebx, eax
call fcn.00480d00
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.0047f090
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.00483860
push edi
push ebx
call fcn.00483870
push 0x4af0d0
push ebx
call fcn.00483870
push dword [esi + 0x4d29c4]
push ebx
call fcn.00483870
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.0048b112
add esp, 0x2c
jmp 0x4884c9
push edx
lea eax, [ebp - 0x80]
push eax
lea esi, [esi + 0x4d29c4]
push dword [esi]
call fcn.00480d00
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]
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x8c]
xor ecx, ebp
call fcn.0047ece2
add ebp, 0x90
leave
ret
Function at 0x488bc0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.0047f090
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x488c5b
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x52cd54]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x488c5b
cmp eax, 1
je 0x488c7c
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x488c5b
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x488c28
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x488c57
xor eax, eax
inc eax
jmp 0x488c9b
cmp edi, eax
jae 0x488c5f
xor eax, eax
jmp 0x488c9b
cmp eax, esi
jae 0x488c66
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x52cd54]
jmp 0x488c7f
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x48a410
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x48a43e
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x48a445
cmp ebx, dword [eax + 4]
jae 0x48a445
xor eax, eax
jmp 0x48a635
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x48a456
xor eax, eax
inc eax
jmp 0x48a634
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x48a46c
cmp ecx, edx
jae 0x48a5b1
cmp dword [eax + 4], 0
je 0x48a475
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x48a45d
cmp dword [ebp + 8], 0
je 0x48a497
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x48a5b1
cmp eax, esi
jae 0x48a5b1
mov eax, dword [0x52d030]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x48a4bc
cmp dword [esi*4 + 0x52d038], edi
je 0x48a5b5
inc esi
cmp esi, eax
jl 0x48a4aa
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x48a631
cmp dword [ebp - 8], 0x1000000
jne 0x48a631
test byte [ebp - 0xc], 0xcc
je 0x48a53a
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x48a631
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x48a631
cmp word [eax + 0x18], 0x10b
jne 0x48a631
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x48a631
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x48a53a
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x48a53a
test byte [ecx + 0x27], 0x80
jne 0x48a5b1
push 1
push 0x52d078
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x48a44e
mov ecx, dword [0x52d030]
test ecx, ecx
mov edx, ecx
jle 0x48a56e
lea eax, [ecx*4 + 0x52d034]
cmp dword [eax], edi
je 0x48a56e
dec edx
sub eax, 4
test edx, edx
jg 0x48a562
test edx, edx
jne 0x48a59f
push 0xf
pop ebx
cmp ecx, ebx
jg 0x48a57b
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x48a593
lea eax, [edx*4 + 0x52d038]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x48a581
cmp ecx, 0x10
jge 0x48a59f
inc ecx
mov dword [0x52d030], ecx
push 0
push 0x52d078
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x48a44e
xor eax, eax
jmp 0x48a634
test esi, esi
jle 0x48a44e
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x52d078
call ebx
test eax, eax
jne 0x48a44e
cmp dword [esi*4 + 0x52d038], edi
je 0x48a60b
mov eax, dword [0x52d030]
lea esi, [eax - 1]
test esi, esi
jl 0x48a5f9
cmp dword [esi*4 + 0x52d038], edi
je 0x48a5f5
dec esi
jns 0x48a5e9
test esi, esi
jge 0x48a609
cmp eax, 0x10
jge 0x48a604
inc eax
mov dword [0x52d030], eax
lea esi, [eax - 1]
jmp 0x48a60b
je 0x48a623
xor ecx, ecx
test esi, esi
jl 0x48a623
lea eax, [ecx*4 + 0x52d038]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x48a611
push 0
push 0x52d078
call ebx
jmp 0x48a44e
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x48b112
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x52d080], ebx
push esi
push edi
jne 0x48b192
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x48b1cd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
mov dword [0x52d080], eax
je 0x48b1cd
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x52d084], eax
call esi
cmp dword [0x52cd54], 2
mov dword [0x52d088], eax
jne 0x48b192
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x52d090], eax
je 0x48b192
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x52d08c], eax
mov eax, dword [0x52d08c]
test eax, eax
je 0x48b1d7
call eax
test eax, eax
je 0x48b1be
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x52d090]
test eax, eax
je 0x48b1be
test byte [ebp - 8], 1
jne 0x48b1d7
cmp dword [0x52cd60], 4
jb 0x48b1d1
or byte [ebp + 0x12], 0x20
jmp 0x48b1f6
xor eax, eax
jmp 0x48b206
or byte [ebp + 0x12], 4
jmp 0x48b1f6
mov eax, dword [0x52d084]
test eax, eax
je 0x48b1f6
call eax
mov ebx, eax
test ebx, ebx
je 0x48b1f6
mov eax, dword [0x52d088]
test eax, eax
je 0x48b1f6
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x52d080]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x48c760
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x4b8ae0
call fcn.00482504
xor edi, edi
xor ebx, ebx
inc ebx
cmp dword [0x52d098], edi
jne 0x48c7a4
push edi
push edi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x48c78f
mov dword [0x52d098], ebx
jmp 0x48c7a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x48c7a4
mov dword [0x52d098], 2
mov eax, dword [0x52d098]
cmp eax, ebx
jne 0x48c7c4
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x48c887
cmp eax, 2
je 0x48c7cd
cmp eax, edi
jne 0x48c7f5
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x24], edi
cmp dword [ebp + 0x18], edi
jne 0x48c7e0
mov eax, dword [0x52cfc4]
mov dword [ebp + 0x18], eax
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov dword [ebp - 0x20], eax
cmp eax, edi
jne 0x48c7fc
xor eax, eax
jmp 0x48c887
mov dword [ebp - 4], edi
add eax, 3
and eax, 0xfffffffc
call fcn.0047f090
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [ebp - 0x28], esi
or dword [ebp - 4], 0xffffffff
jmp 0x48c82f
cmp esi, edi
jne 0x48c845
push dword [ebp - 0x20]
call fcn.00480ac0
pop ecx
mov esi, eax
cmp esi, edi
je 0x48c7f5
mov dword [ebp - 0x24], ebx
push dword [ebp - 0x20]
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x48c878
cmp dword [ebp + 0x14], edi
jne 0x48c862
push edi
push edi
jmp 0x48c868
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push esi
push ebx
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x24], edi
je 0x48c884
push esi
call fcn.0047fd9e
pop ecx
mov eax, dword [ebp - 0x1c]
lea esp, [ebp - 0x34]
call fcn.0048253f
ret
Function at 0x48c890
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x4b8af0
call fcn.00482504
xor esi, esi
cmp dword [0x52d09c], esi
jne 0x48c8d4
push esi
push esi
xor edi, edi
inc edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x48c8bf
mov dword [0x52d09c], edi
jmp 0x48c8d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x48c8d4
mov dword [0x52d09c], 2
mov eax, dword [0x52d09c]
cmp eax, 2
je 0x48c9b5
cmp eax, esi
je 0x48c9b5
cmp eax, 1
jne 0x48c919
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
cmp dword [ebp + 0x18], esi
jne 0x48c902
mov eax, dword [0x52cfc4]
mov dword [ebp + 0x18], eax
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ebx, eax
mov dword [ebp - 0x24], ebx
cmp ebx, esi
jne 0x48c920
xor eax, eax
jmp 0x48c9c7
mov dword [ebp - 4], esi
lea eax, [ebx + ebx]
add eax, 3
and eax, 0xfffffffc
call fcn.0047f090
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0x28], edi
or dword [ebp - 4], 0xffffffff
jmp 0x48c956
cmp edi, esi
jne 0x48c971
lea eax, [ebx + ebx]
push eax
call fcn.00480ac0
pop ecx
mov edi, eax
cmp edi, esi
je 0x48c919
mov dword [ebp - 0x20], 1
push ebx
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x48c9a4
push esi
push esi
cmp dword [ebp + 0x14], esi
jne 0x48c98e
push esi
push esi
jmp 0x48c994
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push edi
push esi
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], esi
je 0x48c9b0
push edi
call fcn.0047fd9e
pop ecx
mov eax, dword [ebp - 0x1c]
jmp 0x48c9c7
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea esp, [ebp - 0x34]
call fcn.0048253f
ret
Function at 0x48cb6e
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.0047f090
mov eax, dword [0x4d2084]
push ebx
push esi
push 1
xor esi, esi
push esi
push dword [ebp + 8]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.00487135
or ebx, 0xffffffff
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0x1008], eax
je 0x48cca3
push 2
push esi
push dword [ebp + 8]
call fcn.00487135
add esp, 0xc
cmp eax, ebx
je 0x48cca3
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x48cc43
mov ebx, 0x1000
push ebx
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.00483070
push 0x8000
push dword [ebp + 8]
call fcn.0048d521
add esp, 0x14
mov dword [ebp - 0x100c], eax
cmp edi, ebx
mov eax, ebx
jge 0x48cbf9
mov eax, edi
push eax
lea eax, [ebp - 0x1004]
push eax
push dword [ebp + 8]
call fcn.00484a04
add esp, 0xc
cmp eax, 0xffffffff
je 0x48cc19
sub edi, eax
test edi, edi
jg 0x48cbf1
jmp 0x48cc31
call fcn.0048006b
cmp dword [eax], 5
jne 0x48cc2e
call fcn.00480062
mov dword [eax], 0xd
or esi, 0xffffffff
push dword [ebp - 0x100c]
push dword [ebp + 8]
call fcn.0048d521
pop ecx
pop ecx
jmp 0x48cc8b
jge 0x48cc8b
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00487135
push dword [ebp + 8]
call fcn.0048b447
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, ebx
jne 0x48cc8b
call fcn.00480062
mov dword [eax], 0xd
call fcn.0048006b
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
push 0
push dword [ebp - 0x1008]
push dword [ebp + 8]
call fcn.00487135
add esp, 0xc
mov eax, esi
pop edi
jmp 0x48cca5
mov eax, ebx
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0047ece2
leave
ret
Function at 0x48d9e1
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [ebp - 0x10], ebx
jne 0x48d9fa
or eax, 0xffffffff
jmp 0x48da5b
push esi
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 8], esi
je 0x48da57
push 0x3d
push esi
call fcn.0048dbe2
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x48da57
cmp esi, eax
je 0x48da57
xor ecx, ecx
cmp byte [eax + 1], cl
mov eax, dword [0x52cd74]
sete cl
cmp eax, dword [0x52cd78]
mov dword [ebp - 4], ecx
jne 0x48da3d
mov edi, eax
call fcn.0048d980
mov dword [0x52cd74], eax
cmp eax, ebx
jne 0x48da96
cmp dword [ebp + 0xc], ebx
je 0x48da5f
cmp dword [0x52cd7c], ebx
je 0x48da5f
call fcn.0048d423
test eax, eax
je 0x48da96
or eax, 0xffffffff
pop esi
pop edi
pop ebx
leave
ret
cmp dword [ebp - 4], ebx
je 0x48da68
xor eax, eax
jmp 0x48da5a
push 4
call fcn.00480ac0
cmp eax, ebx
pop ecx
mov dword [0x52cd74], eax
je 0x48da57
mov dword [eax], ebx
cmp dword [0x52cd7c], ebx
jne 0x48da96
push 4
call fcn.00480ac0
cmp eax, ebx
pop ecx
mov dword [0x52cd7c], eax
je 0x48da57
mov dword [eax], ebx
mov edi, dword [ebp - 0xc]
mov ebx, dword [0x52cd74]
sub edi, esi
push esi
call fcn.0048d933
mov edi, eax
test edi, edi
pop ecx
jl 0x48dafd
cmp dword [ebx], 0
je 0x48dafd
lea esi, [ebx + edi*4]
push dword [esi]
call fcn.0047fd9e
xor eax, eax
cmp dword [ebp - 4], eax
pop ecx
jne 0x48dadd
mov ecx, dword [ebp - 8]
mov dword [esi], ecx
mov ecx, dword [ebp + 8]
mov esi, dword [ebp - 8]
mov dword [ecx], eax
jmp 0x48db3e
mov ecx, dword [esi + 4]
inc edi
mov dword [esi], ecx
lea esi, [ebx + edi*4]
cmp dword [esi], eax
jne 0x48dad4
mov eax, edi
shl eax, 2
push eax
push dword [0x52cd74]
call fcn.004844f8
test eax, eax
mov esi, dword [ebp - 8]
pop ecx
pop ecx
je 0x48db3e
jmp 0x48db39
cmp dword [ebp - 4], 0
jne 0x48dba5
test edi, edi
jge 0x48db0d
neg edi
lea eax, [edi*4 + 8]
push eax
push dword [0x52cd74]
call fcn.004844f8
test eax, eax
pop ecx
pop ecx
je 0x48da57
lea ecx, [eax + edi*4]
and dword [ecx + 4], 0
mov dword [ecx], esi
mov ecx, dword [ebp + 8]
and dword [ecx], 0
mov dword [0x52cd74], eax
cmp dword [ebp + 0xc], 0
je 0x48db90
push esi
call fcn.00480d00
inc eax
inc eax
push eax
call fcn.00480ac0
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x48db90
push esi
push edi
call fcn.00483860
mov eax, edi
sub eax, esi
add eax, dword [ebp - 0xc]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov byte [eax], 0
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x48db89
or dword [ebp - 0x10], 0xffffffff
push edi
call fcn.0047fd9e
pop ecx
cmp dword [ebp - 4], 0
je 0x48db9d
push esi
call fcn.0047fd9e
pop ecx
mov eax, dword [ebp - 0x10]
jmp 0x48da5a
push esi
call fcn.0047fd9e
mov eax, dword [ebp + 8]
and dword [eax], 0
pop ecx
jmp 0x48da64
Function at 0x48ec70
Capabilities:
Hash data with md5

Disassembly:
jmp 0x493c80
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x493720
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4a3806
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esi + 4]
mov dword [esp + 0xc], esi
mov dword [esi], 0x4b93f4
call fcn.004921a0
lea edi, [esi + 8]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x18], ebx
call fcn.004921a0
mov dword [edi + 0x14], esi
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov al, byte [esp + 0x20]
push 0x4aa28a
mov ecx, edi
mov byte [esp + 0x1c], 1
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x30], bl
mov byte [esi + 0x31], bl
mov byte [esi + 0x32], al
call fcn.00492a90
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x4947b0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x45c
mov eax, dword [0x4d2084]
xor eax, esp
push ebp
mov ebp, dword [esp + 0x468]
push esi
push edi
mov edi, dword [esp + 0x46c]
push 0x4ac648
push edi
mov dword [esp + 0x46c], eax
call fcn.0047f497
mov esi, eax
add esp, 8
test esi, esi
jne 0x494811
push edi
push 0x4b9464
call fcn.0047fe0f
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x458]
xor ecx, esp
call fcn.0047ece2
add esp, 0x45c
ret
push esi
push 0x400
lea eax, [esp + 0x6c]
push 1
push eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x1c], 0x67452301
mov dword [esp + 0x20], 0xefcdab89
mov dword [esp + 0x24], 0x98badcfe
mov dword [esp + 0x28], 0x10325476
call fcn.0047f746
add esp, 0x10
test eax, eax
je 0x494889
lea ebx, [ebx]
push eax
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x14]
push edx
call fcn.004945f0
push esi
push 0x400
lea eax, [esp + 0x78]
push 1
push eax
call fcn.0047f746
add esp, 0x1c
test eax, eax
jne 0x494860
lea ecx, [esp + 0xc]
push ecx
push ebp
call fcn.004946b0
push esi
call fcn.0047f60c
mov ecx, dword [esp + 0x470]
add esp, 0xc
pop edi
pop esi
pop ebp
xor ecx, esp
mov eax, 1
call fcn.0047ece2
add esp, 0x45c
ret

Function at 0x4948c0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x5c
mov eax, dword [0x4d2084]
mov edx, dword [esp + 0x60]
xor eax, esp
push esi
mov esi, dword [esp + 0x68]
mov dword [esp + 0x5c], eax
mov eax, edx
push edi
lea edi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4948e0
sub eax, edi
push eax
push edx
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x18], 0xefcdab89
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
call fcn.004945f0
lea ecx, [esp + 0x14]
push ecx
push esi
call fcn.004946b0
mov ecx, dword [esp + 0x74]
add esp, 0x14
pop edi
pop esi
xor ecx, esp
call fcn.0047ece2
add esp, 0x5c
ret
Function at 0x494950
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x5c
mov eax, dword [0x4d2084]
xor eax, esp
xor ecx, ecx
push esi
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x64]
push ecx
push eax
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x10], 0x67452301
mov dword [esp + 0x14], 0xefcdab89
mov dword [esp + 0x18], 0x98badcfe
mov dword [esp + 0x1c], 0x10325476
call fcn.004945f0
lea eax, [esp + 0x10]
push eax
push esi
call fcn.004946b0
mov ecx, dword [esp + 0x70]
add esp, 0x14
pop esi
xor ecx, esp
call fcn.0047ece2
add esp, 0x5c
ret

Function at 0x498c90
Capabilities:
Terminate process

Disassembly:
push esi
push 0x28
call fcn.00480ac0
mov esi, eax
add esp, 4
test esi, esi
jne 0x498cab
mov eax, str.out_of_dynamic_memory_in_yy_create_buffer__
jmp 0x498c00
mov eax, dword [esp + 0xc]
mov dword [esi + 0xc], eax
add eax, 2
push eax
call fcn.00480ac0
add esp, 4
test eax, eax
mov dword [esi + 4], eax
jne 0x498ccf
mov eax, str.out_of_dynamic_memory_in_yy_create_buffer__
jmp 0x498c00
push esi
mov dword [esi + 0x14], 1
call fcn.00498ba0
mov eax, dword [esp + 0xc]
mov dword [esi], eax
add esp, 4
mov dword [esi + 0x20], 1
mov dword [esi + 0x18], 0
mov eax, esi
pop esi
ret
Function at 0x49ce77
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x49cea5
add al, 0x40
mov byte [ebp + 8], al
lea eax, [ebp + 8]
push eax
mov byte [ebp + 9], 0x3a
mov byte [ebp + 0xa], 0x5c
mov byte [ebp + 0xb], 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
test eax, eax
je 0x49ceaa
cmp eax, 1
je 0x49ceaa
xor eax, eax
inc eax
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x49ceae
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x90]
sub esp, 0x110
mov eax, dword [0x4d2084]
push ebx
mov ebx, dword [ebp + 0x98]
xor eax, ebp
test ebx, ebx
push edi
mov edi, dword [ebp + 0x9c]
mov dword [ebp + 0x8c], eax
je 0x49cf40
push ebx
call fcn.0049ce77
test eax, eax
pop ecx
jne 0x49cf15
call fcn.0048006b
mov dword [eax], 0xf
call fcn.00480062
mov dword [eax], 0xd
xor eax, eax
mov ecx, dword [ebp + 0x8c]
pop edi
xor ecx, ebp
pop ebx
call fcn.0047ece2
add ebp, 0x90
leave
ret
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push 0x104
lea eax, [ebp - 0x7c]
add bl, 0x40
push eax
mov byte [ebp - 0x7c], bl
mov byte [ebp - 0x7b], 0x3a
mov byte [ebp - 0x7a], 0x2e
mov byte [ebp - 0x79], 0
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
jmp 0x49cf4f
lea eax, [ebp - 0x78]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x49cefc
inc eax
cmp eax, 0x104
ja 0x49cefc
test edi, edi
mov ecx, edi
jne 0x49cf8c
cmp eax, dword [ebp + 0xa0]
jg 0x49cf6f
mov eax, dword [ebp + 0xa0]
push eax
call fcn.00480ac0
pop ecx
mov ecx, eax
test ecx, ecx
jne 0x49cfa4
call fcn.00480062
mov dword [eax], 0xc
jmp 0x49cefc
cmp eax, dword [ebp + 0xa0]
jle 0x49cfa4
call fcn.00480062
mov dword [eax], 0x22
jmp 0x49cefc
lea eax, [ebp - 0x78]
push eax
push ecx
call fcn.00483860
pop ecx
pop ecx
jmp 0x49cefe
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
mov ebx, 0x408ed0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x33a54345
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x430060
nop
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x2cd50fb
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219