joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401050
Capabilities:
Print debug messages
Terminate process

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x200
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x214]
push edi
mov dword [esi + 0x634], eax
or eax, 0xffffffff
xor ebp, ebp
mov dword [esi + 0x638], ecx
mov dword [esi + 0x63c], eax
mov dword [esi + 0x640], eax
mov ecx, 0x41
xor eax, eax
lea edi, [esi + 0x10]
mov dword [esi], ebp
mov dword [esi + 0xc], ebp
mov dword [esi + 0x62c], ebp
mov dword [esi + 0x630], ebp
mov dword [esi + 0x644], ebp
mov dword [esi + 0x648], ebp
mov dword [esi + 0x64c], ebp
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esi + 0x218]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esi + 0x420]
rep stosd dword es:[edi], eax
push str.upgres.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebp
mov dword [0x413560], eax
jne 0x4010ec
push str.upgres.dll_could_not_be_loaded__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea edx, [esp + 0x10]
push edx
call fcn.00403351
lea eax, [esp + 0x114]
push eax
call fcn.004032c1
mov eax, dword [0x413560]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
add esp, 8
cmp eax, ebp
je 0x40113f
lea ecx, [esp + 0x10]
lea edx, [esp + 0x110]
push ecx
push edx
push 0x100
push 0x835
push 0x413560
call fcn.00401b70
mov edi, eax
add esp, 0x14
cmp edi, ebp
jne 0x401171
push 0x200
push 8
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
cmp edi, ebp
je 0x40118c
lea eax, [esp + 0x10]
lea ecx, [esp + 0x110]
push eax
push ecx
push str.Start_Time:__s__s_r_n
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push edi
push 0x410cb0
call fcn.004031d6
add esp, 8
push edi
push ebp
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor edi, edi
push ebp
call dword [sym.imp.ole32.dll_CoInitialize]
lea edx, [esi + 8]
push edx
push 0x40c2e0
push 1
push ebp
push 0x40c2a0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x40122c
cmp dword [0x413560], ebp
je 0x4011e2
push 0x800
push ebp
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
cmp edi, ebp
je 0x4011e6
mov eax, dword [0x413560]
push 0x400
push edi
push 0x837
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
cmp edi, ebp
jne 0x401208
push 0x200
push 8
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
cmp edi, ebp
je 0x401221
push str.SQL_DMO_is_not_properly_registered._Run_regsvr32_sqldmo.dll_from_your_BINN_directory._r_n
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push edi
push 0x410cd0
call fcn.004031d6
add esp, 8
push edi
push ebp
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 0xffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x200
ret 8
Function at 0x401240
Capabilities:
Delete file
Move file

Disassembly:
sub esp, 0x200
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x63c]
cmp eax, 0xffffffff
je 0x40126e
push eax
call edi
lea eax, [esi + 0x420]
push eax
call ebx
mov eax, dword [esi + 0x640]
cmp eax, 0xffffffff
je 0x4012ad
push eax
call edi
mov eax, dword [esi + 0x630]
test eax, eax
je 0x4012a4
lea edi, [esi + 0x420]
lea ecx, [esi + 0x218]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push edi
mov ecx, esi
call fcn.00402940
jmp 0x4012ad
lea edx, [esi + 0x218]
push edx
call ebx
mov eax, dword [esi + 0x644]
mov edi, dword [sym.imp.KERNEL32.dll_HeapDestroy]
test eax, eax
je 0x4012c0
push eax
call edi
mov eax, dword [esi + 0x648]
test eax, eax
je 0x4012cd
push eax
call edi
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4012da
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 8]
test eax, eax
je 0x4012f3
mov edx, dword [eax]
push eax
call dword [edx + 0x160]
mov esi, dword [esi + 8]
push esi
mov eax, dword [esi]
call dword [eax + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esp + 0xc]
push ecx
call fcn.00403351
lea edx, [esp + 0x110]
push edx
call fcn.004032c1
mov eax, dword [0x413560]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
add esp, 8
test eax, eax
je 0x40134c
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10c]
push eax
push ecx
push 0x100
push 0x836
push 0x413560
call fcn.00401b70
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x40137e
push 0x200
push 8
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x401398
lea edx, [esp + 0xc]
lea eax, [esp + 0x10c]
push edx
push eax
push str.Stop_Time:__s__s_r_n
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push esi
push 0x410cb0
call fcn.004031d6
add esp, 8
push esi
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
pop ebx
add esp, 0x200
ret
Function at 0x402860
Capabilities:
Get file size
Write file on windows

Disassembly:
mov eax, dword [esp + 0xc]
push esi
push edi
push 0
test eax, eax
mov edi, ecx
push 0x80
je 0x4028ea
mov eax, dword [esp + 0x14]
push 4
push 0
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, dword [esp + 0x10]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x40289b
pop edi
xor eax, eax
pop esi
ret 0xc
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test eax, eax
je 0x4028c6
mov ecx, dword [esi]
push 2
push 0
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [esi]
xor eax, eax
cmp ecx, 0xffffffff
pop edi
setne al
pop esi
ret 0xc
cmp dword [edi + 0x638], 2
jne 0x40292e
mov ecx, dword [esi]
lea edx, [esp + 0x10]
push 0
push edx
lea eax, [esp + 0x14]
push 2
push eax
mov dword [esp + 0x1c], 0xfeff
push ecx
jmp 0x402928
mov edx, dword [esp + 0x14]
push 2
push 0
push 1
push 0xc0000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, dword [esp + 0x10]
mov dword [esi], eax
mov ecx, dword [edi + 0x638]
cmp ecx, 2
jne 0x40292e
lea ecx, [esp + 0x10]
push 0
push ecx
lea edx, [esp + 0x14]
push 2
push edx
mov dword [esp + 0x1c], 0xfeff
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esi]
xor eax, eax
cmp ecx, 0xffffffff
pop edi
setne al
pop esi
ret 0xc

Function at 0x402b60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
push edi
xor edi, edi
test ebx, ebx
jle 0x402baf
mov esi, dword [esp + 0x14]
mov eax, dword [esi]
push eax
call fcn.00403ba2
push 0x410b70
push eax
call fcn.00403a46
add esp, 0xc
test eax, eax
jne 0x402ba3
mov ecx, dword [esi]
push ecx
push 0x410b68
push 0x410cd0
call fcn.004031d6
add esp, 0xc
jmp 0x402ba7
inc edi
add esi, 4
inc edi
add esi, 4
cmp edi, ebx
jl 0x402b72
push 0x410b64
push 0x410cd0
call fcn.004031d6
add esp, 8
push 0x410b58
push 0x65
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x402bef
push str.Couldnt_load_usage_instructions__n
call fcn.00403b71
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea ebx, [eax + eax + 2]
push ebx
push 8
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
jne 0x402c2d
push str.Out_of_memory_creating_UNICODE_buffer__n
call fcn.00403b71
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
ret
push ebx
push esi
push 0xffffffffffffffff
push edi
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x402c5f
push esi
push 0x410ab8
call fcn.00403b71
add esp, 8
push esi
push 0
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
pop ebp
pop ebx
ret
push str.Could_not_convert_resource__n
call fcn.00403b71
add esp, 4
push esi
push 0
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x406869
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x410ff8
cmp edx, dword [eax]
je 0x40688b
add eax, 8
inc ecx
cmp eax, 0x411088
jl 0x40687c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x410ff8]
jne 0x4069b9
mov eax, dword [0x414374]
cmp eax, 1
je 0x406993
test eax, eax
jne 0x4068bc
cmp dword [0x410f40], 1
je 0x406993
cmp edx, 0xfc
je 0x4069b9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4068f3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00409b20
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00408e00
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x406936
lea eax, [ebp - 0x1a4]
push eax
call fcn.00408e00
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40e654
push edi
call fcn.004099f0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00409b20
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00409b30
lea eax, [ebp - 0xa0]
push 0x40e634
push eax
call fcn.00409b30
push dword [esi + 0x410ffc]
lea eax, [ebp - 0xa0]
push eax
call fcn.00409b30
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040a3c8
add esp, 0x2c
pop edi
jmp 0x4069b9
lea eax, [ebp + 8]
lea esi, [esi + 0x410ffc]
push 0
push eax
push dword [esi]
call fcn.00408e00
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x50f3f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7b000]
push edi
or ebp, 0xffffffff
jmp 0x50f412
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x50f419
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50f408
mov eax, 1
add ebx, ebx
jne 0x50f42b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x50f43c
jne 0x50f45b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50f45b
dec eax
add ebx, ebx
jne 0x50f448
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x50f420
add ebx, ebx
jne 0x50f457
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x50f4ad
xor ecx, ecx
sub eax, 3
jb 0x50f473
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x50f4e2
sar eax, 1
mov ebp, eax
jmp 0x50f47e
add ebx, ebx
jne 0x50f47e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50f44c
inc ecx
add ebx, ebx
jne 0x50f48c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50f44c
add ebx, ebx
jne 0x50f499
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x50f48e
jne 0x50f4aa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x50f48e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x50f4cc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x50f4be
jmp 0x50f40e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x50f4cc
add edi, ecx
jmp 0x50f40e
pop esi
mov edi, esi
mov ecx, 0xe79c9
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0x50f507
cmp byte [edi], 0x1e
jne 0x50f4ec
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0x50f4ea
lea edi, [esi + 0x10d000]
mov eax, dword [edi]
or eax, eax
je 0x50f558
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12c1ec]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12c228]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x50f50d
mov ecx, edi
jns 0x50f53c
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 + 0x12c22c]
or eax, eax
je 0x50f552
mov dword [ebx], eax
add ebx, 4
jmp 0x50f52a
call dword [esi + 0x12c23c]
mov ebp, dword [esi + 0x12c230]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1e7]
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 0x50f58c
sub esp, 0xffffff80
jmp 0x4060a8
Function at 0x429128
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00428fa7

Function at 0x42e72f
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042e3dd

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x380e4790
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x72870e03
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x43a6f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2f000]
push edi
jmp 0x43a70a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x43a711
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x43a700
mov eax, 1
add ebx, ebx
jne 0x43a723
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x43a718
jne 0x43a734
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43a718
xor ecx, ecx
sub eax, 3
jb 0x43a748
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x43a7ba
mov ebp, eax
add ebx, ebx
jne 0x43a753
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x43a760
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x43a784
inc ecx
add ebx, ebx
jne 0x43a770
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x43a765
jne 0x43a781
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43a765
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x43a7a4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x43a795
jmp 0x43a706
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x43a7a4
add edi, ecx
jmp 0x43a706
pop esi
mov edi, esi
mov ecx, 0x6d0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x43a7c2
cmp byte [edi], 0x11
jne 0x43a7c2
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 0x43a7c7
lea edi, [esi + 0x38000]
mov eax, dword [edi]
or eax, eax
je 0x43a83f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x51e50]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x51f18]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x43a7f4
mov ecx, edi
jns 0x43a823
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 + 0x51f1c]
or eax, eax
je 0x43a839
mov dword [ebx], eax
add ebx, 4
jmp 0x43a811
call dword [esi + 0x51f2c]
mov ebp, dword [esi + 0x51f20]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x43a873
sub esp, 0xffffff80
jmp 0x40a7b1
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

Function at 0x42e000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x42e01e
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x49d33b
Capabilities:
Encode data using xor

Disassembly:
mov dword [esp], ebx
lea eax, [ecx - 0x3c87add6]
cwde
call fcn.00497573
add byte [eax], al
inc edi
je 0x49d3a4
outsd dx, dword [esi]
jo 0x49d3aa
imul ebp, dword [esi + 0x64], 0x6600776f
shr edi, 0xa
insb byte es:[edi], dx
xor esi, dword [edx]
insb byte es:[edi], dx