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

Disassembly:
push ebp
lea ebp, [esp - 0x39c]
sub esp, 0x41c
mov ecx, dword [ebp + 0x3a4]
cmp ecx, dword [0x40f148]
mov eax, dword [0x40d088]
push ebx
push esi
mov dword [ebp + 0x398], eax
push edi
jae 0x4058d2
mov eax, ecx
sar eax, 5
lea ebx, [eax*4 + 0x40f160]
mov eax, dword [ebx]
mov esi, ecx
and esi, 0x1f
shl esi, 3
mov al, byte [eax + esi + 4]
test al, 1
mov dword [ebp - 0x80], ebx
je 0x4058d2
xor edi, edi
cmp dword [ebp + 0x3ac], edi
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x7c], edi
jne 0x405776
xor eax, eax
jmp 0x4058e6
test al, 0x20
je 0x405787
push 2
push edi
push edi
push ecx
call fcn.004088e4
add esp, 0x10
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x40585c
cmp dword [ebp + 0x3ac], edi
mov eax, dword [ebp + 0x3a8]
mov dword [ebp - 0x70], eax
mov dword [ebp + 0x3a4], edi
jbe 0x4058a3
mov ecx, dword [ebp - 0x70]
sub ecx, dword [ebp + 0x3a8]
lea eax, [ebp - 0x6c]
cmp ecx, dword [ebp + 0x3ac]
jae 0x4057e9
mov edx, dword [ebp - 0x70]
inc dword [ebp - 0x70]
mov dl, byte [edx]
inc ecx
cmp dl, 0xa
jne 0x4057da
inc dword [ebp - 0x7c]
mov byte [eax], 0xd
inc eax
inc edi
mov ebx, dword [ebp - 0x80]
mov byte [eax], dl
inc eax
inc edi
cmp edi, 0x400
jl 0x4057bc
mov edi, eax
lea eax, [ebp - 0x6c]
sub edi, eax
push 0
lea eax, [ebp - 0x78]
push eax
push edi
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x405829
mov eax, dword [ebp - 0x78]
add dword [ebp - 0x74], eax
cmp eax, edi
jl 0x405835
mov eax, dword [ebp - 0x70]
sub eax, dword [ebp + 0x3a8]
xor edi, edi
cmp eax, dword [ebp + 0x3ac]
jb 0x4057b0
jmp 0x405837
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 0x3a4], eax
xor edi, edi
mov eax, dword [ebp - 0x74]
cmp eax, edi
jne 0x4058cd
cmp dword [ebp + 0x3a4], edi
je 0x4058a3
push 5
pop eax
cmp dword [ebp + 0x3a4], eax
jne 0x405895
mov dword [0x40db88], eax
jmp 0x4058d9
push edi
lea ecx, [ebp - 0x78]
push ecx
push dword [ebp + 0x3ac]
push dword [ebp + 0x3a8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x405887
mov eax, dword [ebp - 0x78]
mov dword [ebp + 0x3a4], edi
mov dword [ebp - 0x74], eax
jmp 0x405837
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 0x3a4], eax
jmp 0x405837
push dword [ebp + 0x3a4]
call fcn.00403c02
pop ecx
jmp 0x4058e3
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x4058bb
mov eax, dword [ebp + 0x3a8]
cmp byte [eax], 0x1a
je 0x40576f
mov dword [0x40db84], 0x1c
mov dword [0x40db88], edi
jmp 0x4058e3
sub eax, dword [ebp - 0x7c]
jmp 0x4058e6
and dword [0x40db88], 0
mov dword [0x40db84], 9
or eax, 0xffffffff
mov ecx, dword [ebp + 0x398]
pop edi
pop esi
pop ebx
call fcn.004027d5
add ebp, 0x39c
leave
ret
Function at 0x40651c
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x40d088]
mov ecx, dword [ebp + 0x94]
push ebx
push esi
mov dword [ebp + 0x88], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x40d240]
je 0x406551
inc eax
cmp eax, 0x13
jb 0x406542
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x40d240]
jne 0x406677
mov eax, dword [0x40db7c]
cmp eax, 1
je 0x40664f
cmp eax, edx
jne 0x406581
cmp dword [0x40d0a0], 1
je 0x40664f
cmp ecx, 0xfc
je 0x406677
push 0x104
lea eax, [ebp - 0x80]
push eax
push edx
mov byte [ebp + 0x84], dl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4065b7
lea eax, [ebp - 0x80]
push str._program_name_unknown_
push eax
call fcn.00407b60
pop ecx
pop ecx
lea edi, [ebp - 0x80]
mov eax, edi
push eax
call fcn.00407c60
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4065eb
mov eax, edi
push eax
call fcn.00407c60
mov edi, eax
lea eax, [ebp - 0x80]
sub eax, 0x3b
push 3
add edi, eax
push 0x40b674
push edi
call fcn.00408a80
add esp, 0x10
push edi
call fcn.00407c60
push dword [esi + 0x40d244]
mov ebx, eax
call fcn.00407c60
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.00407000
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.00407b60
push edi
push ebx
call fcn.00407b70
push 0x40b670
push ebx
call fcn.00407b70
push dword [esi + 0x40d244]
push ebx
call fcn.00407b70
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.00408983
add esp, 0x2c
jmp 0x406677
push edx
lea eax, [ebp + 0x94]
push eax
lea esi, [esi + 0x40d244]
push dword [esi]
call fcn.00407c60
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]
mov ecx, dword [ebp + 0x88]
call fcn.004027d5
pop edi
pop esi
pop ebx
add ebp, 0x8c
leave
ret
Function at 0x406b4c
Capabilities:
Query environment variable

Disassembly:
push ecx
push ecx
mov eax, dword [0x40de0c]
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push esi
push edi
xor ebx, ebx
xor esi, esi
xor edi, edi
cmp eax, ebx
jne 0x406b95
call ebp
mov esi, eax
cmp esi, ebx
je 0x406b7b
mov dword [0x40de0c], 1
jmp 0x406b9a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x406b90
push 2
pop eax
mov dword [0x40de0c], eax
jmp 0x406b95
mov eax, dword [0x40de0c]
cmp eax, 1
jne 0x406bf2
cmp esi, ebx
jne 0x406bad
call ebp
mov esi, eax
cmp esi, ebx
jne 0x406bad
xor eax, eax
jmp 0x406c99
cmp word [esi], bx
mov eax, esi
je 0x406bc2
inc eax
inc eax
cmp word [eax], bx
jne 0x406bb4
inc eax
inc eax
cmp word [eax], bx
jne 0x406bb4
sub eax, esi
inc eax
inc eax
mov ebp, eax
push ebp
call fcn.00402ef4
mov edi, eax
cmp edi, ebx
pop ecx
jne 0x406be5
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
jmp 0x406c99
push ebp
push esi
push edi
call fcn.00403550
add esp, 0xc
jmp 0x406bd7
cmp eax, 2
je 0x406bfb
cmp eax, ebx
jne 0x406ba6
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov ebp, eax
cmp ebp, ebx
je 0x406ba6
cmp byte [ebp], bl
mov esi, ebp
je 0x406c31
push ebx
push ebx
push 0xffffffffffffffff
push esi
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
je 0x406ba6
push esi
add edi, eax
call fcn.00407c60
lea esi, [esi + eax + 1]
cmp byte [esi], bl
pop ecx
jne 0x406c0e
inc edi
lea eax, [edi + edi]
push eax
mov dword [esp + 0x18], edi
call fcn.00402ef4
cmp eax, ebx
pop ecx
mov dword [esp + 0x10], eax
je 0x406caa
cmp byte [ebp], bl
mov edi, ebp
mov esi, eax
je 0x406c8b
mov ecx, dword [esp + 0x14]
mov eax, esi
sub eax, dword [esp + 0x10]
sar eax, 1
sub ecx, eax
push ecx
push esi
push 0xffffffffffffffff
push edi
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x406ca0
push edi
call fcn.00407c60
push esi
lea edi, [edi + eax + 1]
call fcn.00409191
cmp byte [edi], bl
pop ecx
pop ecx
lea esi, [esi + eax*2 + 2]
jne 0x406c51
push ebp
mov word [esi], bx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
push dword [esp + 0x10]
call fcn.00403052
pop ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
jmp 0x406ba6
Function at 0x406cb6
Capabilities:
Accept command line arguments

Disassembly:
mov eax, dword [0x40de10]
push ebp
xor ebp, ebp
cmp eax, ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
jne 0x406cf6
call esi
test eax, eax
je 0x406cdb
mov dword [0x40de10], 1
jmp 0x406cfb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x406cf2
mov dword [0x40de10], 2
jmp 0x406d04
xor eax, eax
jmp 0x406d52
cmp eax, 1
jne 0x406cff
call esi
jmp 0x406d52
cmp eax, 2
jne 0x406cf2
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebp
push ebp
push 0xffffffffffffffff
mov ebx, eax
push ebx
push 1
push ebp
call edi
mov esi, eax
cmp esi, ebp
je 0x406d4a
lea eax, [esi + esi]
push eax
call fcn.00402ef4
mov ebp, eax
test ebp, ebp
pop ecx
je 0x406d4a
push esi
push ebp
push 0xffffffffffffffff
push ebx
push 1
push 0
call edi
test eax, eax
jne 0x406d4e
push ebp
call fcn.00403052
pop ecx
xor eax, eax
jmp 0x406d50
mov eax, ebp
pop edi
pop ebx
pop esi
pop ebp
ret

Function at 0x4087c0
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.00407000
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x40885b
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 [0x40db90]
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 0x40885b
cmp eax, 1
je 0x40887c
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 0x40885b
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x408828
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x408857
xor eax, eax
inc eax
jmp 0x40889b
cmp edi, eax
jae 0x40885f
xor eax, eax
jmp 0x40889b
cmp eax, esi
jae 0x408866
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 [0x40db90]
jmp 0x40887f
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 0x408983
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x40de24], ebx
push esi
push edi
jne 0x408a03
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x408a3e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
mov dword [0x40de24], eax
je 0x408a3e
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x40de28], eax
call esi
cmp dword [0x40db90], 2
mov dword [0x40de2c], eax
jne 0x408a03
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x40de34], eax
je 0x408a03
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x40de30], eax
mov eax, dword [0x40de30]
test eax, eax
je 0x408a48
call eax
test eax, eax
je 0x408a2f
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x40de34]
test eax, eax
je 0x408a2f
test byte [ebp - 8], 1
jne 0x408a48
cmp dword [0x40db9c], 4
jb 0x408a42
or byte [ebp + 0x12], 0x20
jmp 0x408a67
xor eax, eax
jmp 0x408a77
or byte [ebp + 0x12], 4
jmp 0x408a67
mov eax, dword [0x40de28]
test eax, eax
je 0x408a67
call eax
mov ebx, eax
test ebx, ebx
je 0x408a67
mov eax, dword [0x40de2c]
test eax, eax
je 0x408a67
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x40de24]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x408ba4
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 0x408bd2
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 0x408bd9
cmp ebx, dword [eax + 4]
jae 0x408bd9
xor eax, eax
jmp 0x408dc9
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x408bea
xor eax, eax
inc eax
jmp 0x408dc8
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x408c00
cmp ecx, edx
jae 0x408d45
cmp dword [eax + 4], 0
je 0x408c09
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x408bf1
cmp dword [ebp + 8], 0
je 0x408c2b
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x408d45
cmp eax, esi
jae 0x408d45
mov eax, dword [0x40de38]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x408c50
cmp dword [esi*4 + 0x40de40], edi
je 0x408d49
inc esi
cmp esi, eax
jl 0x408c3e
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x408dc5
cmp dword [ebp - 8], 0x1000000
jne 0x408dc5
test byte [ebp - 0xc], 0xcc
je 0x408cce
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x408dc5
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x408dc5
cmp word [eax + 0x18], 0x10b
jne 0x408dc5
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x408dc5
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x408cce
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x408cce
test byte [ecx + 0x27], 0x80
jne 0x408d45
push 1
push 0x40de80
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x408be2
mov ecx, dword [0x40de38]
test ecx, ecx
mov edx, ecx
jle 0x408d02
lea eax, [ecx*4 + 0x40de3c]
cmp dword [eax], edi
je 0x408d02
dec edx
sub eax, 4
test edx, edx
jg 0x408cf6
test edx, edx
jne 0x408d33
push 0xf
pop ebx
cmp ecx, ebx
jg 0x408d0f
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x408d27
lea eax, [edx*4 + 0x40de40]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x408d15
cmp ecx, 0x10
jge 0x408d33
inc ecx
mov dword [0x40de38], ecx
push 0
push 0x40de80
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x408be2
xor eax, eax
jmp 0x408dc8
test esi, esi
jle 0x408be2
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x40de80
call ebx
test eax, eax
jne 0x408be2
cmp dword [esi*4 + 0x40de40], edi
je 0x408d9f
mov eax, dword [0x40de38]
lea esi, [eax - 1]
test esi, esi
jl 0x408d8d
cmp dword [esi*4 + 0x40de40], edi
je 0x408d89
dec esi
jns 0x408d7d
test esi, esi
jge 0x408d9d
cmp eax, 0x10
jge 0x408d98
inc eax
mov dword [0x40de38], eax
lea esi, [eax - 1]
jmp 0x408d9f
je 0x408db7
xor ecx, ecx
test esi, esi
jl 0x408db7
lea eax, [ecx*4 + 0x40de40]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x408da5
push 0
push 0x40de80
call ebx
jmp 0x408be2
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40927a
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.00407000
mov eax, dword [0x40d088]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
cmp ebx, dword [0x40f148]
mov dword [ebp - 4], eax
jae 0x4093bd
mov eax, ebx
sar eax, 5
mov eax, dword [eax*4 + 0x40f160]
mov ecx, ebx
and ecx, 0x1f
test byte [eax + ecx*8 + 4], 1
je 0x4093bd
push 1
push esi
push ebx
call fcn.00408105
add esp, 0xc
cmp eax, 0xffffffff
mov dword [ebp - 0x1008], eax
je 0x4093c7
push 2
push esi
push ebx
call fcn.00408105
add esp, 0xc
cmp eax, 0xffffffff
je 0x4093c7
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x409367
push 0x1000
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.00408760
push 0x8000
push ebx
call fcn.004096fb
add esp, 0x14
mov dword [ebp + 8], eax
mov eax, 0x1000
cmp edi, eax
jge 0x409326
mov eax, edi
push eax
lea eax, [ebp - 0x1004]
push eax
push ebx
call fcn.0040570c
add esp, 0xc
cmp eax, 0xffffffff
je 0x409344
sub edi, eax
test edi, edi
jg 0x40931b
jmp 0x40935a
cmp dword [0x40db88], 5
jne 0x409357
mov dword [0x40db84], 0xd
or esi, 0xffffffff
push dword [ebp + 8]
push ebx
call fcn.004096fb
pop ecx
pop ecx
jmp 0x4093a7
jge 0x4093a7
push 0
push dword [ebp + 0xc]
push ebx
call fcn.00408105
push ebx
call fcn.00407f74
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, 0xffffffff
jne 0x4093a7
mov dword [0x40db84], 0xd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x40db88], eax
push 0
push dword [ebp - 0x1008]
push ebx
call fcn.00408105
add esp, 0xc
mov eax, esi
pop edi
jmp 0x4093ca
mov dword [0x40db84], 9
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.004027d5
leave
ret
Function at 0x1ed8ee0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x19c3000]
push edi
or ebp, 0xffffffff
jmp 0x1ed8f02
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1ed8f09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1ed8ef8
mov eax, 1
add ebx, ebx
jne 0x1ed8f1b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1ed8f2c
jne 0x1ed8f4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1ed8f4b
dec eax
add ebx, ebx
jne 0x1ed8f38
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1ed8f10
add ebx, ebx
jne 0x1ed8f47
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1ed8f9d
xor ecx, ecx
sub eax, 3
jb 0x1ed8f63
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1ed8fd2
sar eax, 1
mov ebp, eax
jmp 0x1ed8f6e
add ebx, ebx
jne 0x1ed8f6e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1ed8f3c
inc ecx
add ebx, ebx
jne 0x1ed8f7c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1ed8f3c
add ebx, ebx
jne 0x1ed8f89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1ed8f7e
jne 0x1ed8f9a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1ed8f7e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1ed8fbc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1ed8fae
jmp 0x1ed8efe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1ed8fbc
add edi, ecx
jmp 0x1ed8efe
pop esi
mov edi, esi
mov ecx, 0x1219c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1ed8fda
cmp byte [edi], 0x82
jne 0x1ed8fda
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 0x1ed8fdf
lea edi, [esi + 0x1abe000]
mov eax, dword [edi]
or eax, eax
je 0x1ed9057
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1ad9f9c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1ada108]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1ed900c
mov ecx, edi
jns 0x1ed903b
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 + 0x1ada110]
or eax, eax
je 0x1ed9051
mov dword [ebx], eax
add ebx, 4
jmp 0x1ed9029
call dword [esi + 0x1ada10c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1ed9088
cmp al, 0xef
ja 0x1ed907b
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1ed905d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1ed906a
mov ebp, dword [esi + 0x1ada114]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x247]
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 0x1ed90bc
sub esp, 0xffffff80
jmp 0x65f283
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408ecc
mov ecx, 0xce266fc
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
mov ecx, 0x9941243
nop
nop
nop
nop
nop
test eax, eax
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x4e2770
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x8c000]
push edi
or ebp, 0xffffffff
jmp 0x4e2792
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4e2799
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e2788
mov eax, 1
add ebx, ebx
jne 0x4e27ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4e27bc
jne 0x4e27db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e27db
dec eax
add ebx, ebx
jne 0x4e27c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4e27a0
add ebx, ebx
jne 0x4e27d7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4e282d
xor ecx, ecx
sub eax, 3
jb 0x4e27f3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4e2862
sar eax, 1
mov ebp, eax
jmp 0x4e27fe
add ebx, ebx
jne 0x4e27fe
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e27cc
inc ecx
add ebx, ebx
jne 0x4e280c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e27cc
add ebx, ebx
jne 0x4e2819
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4e280e
jne 0x4e282a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4e280e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4e284c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4e283e
jmp 0x4e278e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4e284c
add edi, ecx
jmp 0x4e278e
pop esi
mov edi, esi
mov ecx, 0x43d9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4e286a
cmp byte [edi], 0x22
jne 0x4e286a
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 0x4e286f
lea edi, [esi + 0xdf000]
mov eax, dword [edi]
or eax, eax
je 0x4e28e7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xe71ec]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xe72f0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4e289c
mov ecx, edi
jns 0x4e28cb
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 + 0xe72f4]
or eax, eax
je 0x4e28e1
mov dword [ebx], eax
add ebx, 4
jmp 0x4e28b9
call dword [esi + 0xe7304]
mov ebp, dword [esi + 0xe72f8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x4e291b
sub esp, 0xffffff80
jmp 0x43ba63

Function at 0x484d0b
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x484a08
add edi, 0x98bd0860
add ebx, 0x13a8e901
sub edi, 0xb85143c4
call fcn.00484d5d
mov edi, 0x28cf85c3
and edi, ebx
and edi, edi
xor dword [edx], eax
add ebx, 1
dec ebx
add edx, 2
sub ebx, 0xcec51cf1
add ebx, 0x41b62e0e
cmp edx, ecx
jl fcn.00484d0b
add ebx, 0x5e85c7ea
mov ebx, 0x58669ed3
ret