joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41126a
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00409556
xor ebx, ebx
cmp dword [0x41b780], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x41133f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x4112aa
xor eax, eax
jmp 0x411403
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4176a8
push edi
call esi
cmp eax, ebx
je 0x4112a3
push eax
call fcn.004094f3
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x41b780], eax
call esi
push eax
call fcn.004094f3
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x41b784], eax
call esi
push eax
call fcn.004094f3
mov dword [0x41b788], eax
lea eax, [ebp - 8]
push eax
call fcn.00409c58
test eax, eax
pop ecx
pop ecx
je 0x41130d
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00407bab
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x41133f
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004094f3
cmp eax, ebx
pop ecx
mov dword [0x41b790], eax
je 0x41133f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004094f3
pop ecx
mov dword [0x41b78c], eax
mov eax, dword [0x41b78c]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x4113b8
cmp dword [0x41b790], esi
je 0x4113b8
push eax
call fcn.0040955f
pop ecx
call eax
cmp eax, ebx
je 0x411385
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x41b790]
call fcn.0040955f
pop ecx
call eax
test eax, eax
je 0x411385
test byte [ebp - 0x18], 1
jne 0x4113b8
lea eax, [ebp - 0xc]
push eax
call fcn.00409c8f
test eax, eax
pop ecx
je 0x4113a0
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00407bab
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x4113af
or dword [ebp + 0x10], 0x200000
jmp 0x4113e9
or dword [ebp + 0x10], 0x40000
jmp 0x4113e9
mov eax, dword [0x41b784]
cmp eax, esi
je 0x4113e9
push eax
call fcn.0040955f
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4113e9
mov eax, dword [0x41b788]
cmp eax, esi
je 0x4113e9
push dword [ebp - 4]
push eax
call fcn.0040955f
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x41b780]
call fcn.0040955f
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402e38
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push 0
mov eax, dword [ebp + 8]
push eax
push dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
push eax
push dword [ebp + 0x14]
call sub.kernel32.dll_WriteFile
test eax, eax
setne al
movsx eax, al
push eax
call fcn.00402cd8
mov esi, eax
cmp dword [0x407e7c], 0xffffffff
je 0x402e99
mov eax, dword [ebp + 0x14]
cmp eax, dword [0x407e78]
jne 0x402e99
lea eax, [ebp - 0x1c]
push eax
push dword [0x407e78]
call sub.kernel32.dll_GetConsoleScreenBufferInfo
movsx eax, word [ebp - 0x18]
mov dword [0x407e84], eax
movsx eax, word [ebp - 0x16]
mov dword [0x407e88], eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x402fb0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38c
push esi
push edi
mov edi, 3
push 0x4089b4
call fcn.004060ac
mov esi, dword [eax]
push 0x4089b4
call fcn.004060ac
mov dword [eax], 0x40
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x38c]
push eax
push 0
call fcn.00405914
call fcn.00405790
lea eax, [ebp - 0x150]
push eax
push 1
call fcn.0040581c
call fcn.0040443c
test eax, eax
jne 0x4030f1
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x190]
push eax
push 0x40
push 0
call fcn.004058f4
call fcn.0040443c
test eax, eax
jne 0x403067
cmp word [ebp - 0x190], 0x5a4d
jne 0x403067
lea eax, [ebp - 0x150]
push eax
push dword [ebp - 0x154]
call fcn.00405838
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x190]
push eax
push 2
push 0
call fcn.004058f4
jmp 0x403071
mov dword [ebp - 0x154], 0
lea eax, [ebp - 0x150]
push eax
push dword [ebp - 0x154]
call fcn.00405838
call fcn.0040443c
test eax, eax
jne 0x4030d5
cmp word [ebp - 0x190], 0x4550
jne 0x4030d5
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x288]
push eax
push 0xf8
push 0
call fcn.004058f4
call fcn.0040443c
test eax, eax
jne 0x4030d5
cmp dword [ebp - 0x288], 0x4550
jne 0x4030d5
cmp word [ebp - 0x22c], 3
jne 0x4030d5
mov edi, 2
lea eax, [ebp - 0x150]
push eax
call fcn.00405868
push 0x4089ac
call fcn.004060ac
mov dword [eax], 0
push 0x4089b4
call fcn.004060ac
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x403148
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov eax, dword [ebp + 8]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push dword [ebp + 0x14]
push dword [ebp + 0x18]
push dword [ebp + 0x1c]
call sub.kernel32.dll_CreateThread
mov esi, eax
push esi
call sub.kernel32.dll_CloseHandle
test esi, esi
setne al
movsx eax, al
push eax
call fcn.00402cd8
mov esi, eax
mov eax, esi
pop esi
pop ebp
ret 0x18
Function at 0x4031ec
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
push esi
push edi
cmp dword [0x407f1c], 0
je 0x40320e
mov eax, dword [0x407f1c]
mov dword [ebp - 4], eax
jmp 0x4032a3
push 0x104
call fcn.00404510
mov dword [ebp - 4], eax
push 0x104
push dword [ebp - 4]
push 0
call sub.kernel32.dll_GetModuleFileNameA
push dword [ebp - 4]
call fcn.00403fd8
inc eax
mov ebx, eax
call sub.kernel32.dll_GetCommandLineA
mov esi, eax
mov al, byte [esi]
dec al
cmp al, 0x1f
jbe 0x403253
push esi
lea eax, [ebp - 0x108]
push eax
call fcn.00403184
mov esi, eax
inc esi
push esi
call fcn.00403fd8
inc eax
mov edi, eax
lea eax, [ebp - 4]
push eax
mov eax, ebx
add eax, edi
inc eax
push eax
call fcn.00404570
call sub.kernel32.dll_AreFileApisANSI
test eax, eax
jne 0x403284
push edi
mov eax, dword [ebp - 4]
add eax, ebx
push eax
push esi
call sub.user32.dll_CharToOemBuffA
jmp 0x403291
push esi
mov eax, dword [ebp - 4]
add eax, ebx
push eax
push edi
call fcn.00404d50
mov eax, dword [ebp - 4]
add eax, ebx
add eax, edi
mov byte [eax], 0
mov eax, dword [ebp - 4]
mov dword [0x407f1c], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x403380
Capabilities:
Contain obfuscated stackstrings
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov dword [ebp - 0x24], 0x52414853
mov dword [ebp - 0x20], 0x454d4445
mov dword [ebp - 0x1c], 0x5356354d
call sub.kernel32.dll_GetCurrentProcessId
push eax
push 0
lea eax, [ebp - 0x18]
push eax
push 0xb
call fcn.00404cc4
xor eax, eax
mov bl, 0
cmp dword [0x407ec0], 0
jne 0x4033ce
push 0x407c10
push 1
call fcn.00402be4
mov dword [0x407ec0], eax
cmp dword [0x407ec0], 0
jne 0x4033e7
push 0x8000
call fcn.00404510
mov esi, eax
mov bl, 1
jmp 0x403421
lea eax, [ebp - 0x24]
push eax
push 0
push 6
call dword [0x407ec0]
test eax, eax
jne 0x403411
lea eax, [ebp - 0x24]
push eax
push 0x8000
push 0
push 4
push 0
push 0xffffffffffffffff
call sub.kernel32.dll_CreateFileMappingA
mov bl, 1
push 0
push 0
push 0
push 6
push eax
call sub.kernel32.dll_MapViewOfFile
mov esi, eax
test bl, bl
je 0x40344a
push esi
push 0x8000
push 0xff
call fcn.00404dac
push esi
push 0x24
push 0
call fcn.00404dac
mov eax, esi
add eax, 0xc
push eax
call fcn.004045f8
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4037f8
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
push esi
call fcn.00403784
lea edx, [ebp - 0x400]
movzx ecx, word [ebp + 0x14]
dec ecx
xor esi, esi
jmp 0x403830
mov eax, dword [ebp + 8]
movzx eax, byte [eax]
mov word [edx + 2], ax
mov eax, dword [ebp + 0x18]
movzx eax, byte [eax]
mov word [edx], ax
inc dword [ebp + 0x18]
add edx, 4
inc esi
cmp ecx, esi
jge 0x403816
mov ax, word [ebp + 0x14]
mov word [ebp - 0x404], ax
mov word [ebp - 0x402], 1
mov word [ebp - 0x408], 0
mov word [ebp - 0x406], 0
mov ax, word [ebp + 0x10]
mov word [ebp - 0x410], ax
mov ax, word [ebp + 0xc]
mov word [ebp - 0x40e], ax
movzx ecx, word [ebp + 0x10]
movzx eax, word [ebp + 0x14]
add ecx, eax
dec ecx
mov word [ebp - 0x40c], cx
mov ax, word [ebp + 0xc]
mov word [ebp - 0x40a], ax
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x408]
push dword [ebp - 0x404]
lea eax, [ebp - 0x400]
push eax
push dword [0x407e78]
call sub.kernel32.dll_WriteConsoleOutputA
pop esi
mov esp, ebp
pop ebp
ret 0x14

Function at 0x403bd8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x403bf8
mov al, byte [ebp - 4]
jmp 0x403bfb
mov al, byte [ebp + 8]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x405bcc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
or edi, 0xffffffff
or eax, 0xffffffff
mov dword [ebp - 0x24], 0
xor esi, esi
mov edx, dword [0x408270]
add edx, 0x24
mov esi, edx
cmp dword [edx], 0xffffffff
je 0x405c0a
mov ecx, dword [edx + 8]
cmp ecx, dword [ebp + 0x10]
ja 0x405c05
mov ecx, dword [edx + 8]
cmp ecx, dword [esi + 8]
jbe 0x405c05
mov esi, edx
add edx, 0x10
jmp 0x405bee
mov edx, esi
cmp dword [edx], 0xffffffff
je 0x405d1e
mov ecx, dword [edx + 8]
cmp ecx, dword [ebp + 0x10]
ja 0x405d1e
mov ecx, dword [edx + 8]
cmp ecx, dword [ebp + 0x10]
ja 0x405d1c
mov ecx, dword [edx + 8]
sub dword [ebp + 0x10], ecx
mov ecx, dword [edx + 8]
mov dword [ebp - 0x18], ecx
mov edx, dword [edx + 0xc]
test edx, edx
je 0x405d1c
mov cl, byte [edx]
sub cl, 0x3c
jne 0x405c52
jmp 0x405d1c
sub cl, 3
jne 0x405c6c
inc edx
mov dword [ebp - 0xc], edx
movzx ecx, byte [edx]
inc ecx
add edx, ecx
mov byte [ebp - 0x25], 1
jmp 0x405d17
inc cl
jne 0x405c80
movzx ecx, word [edx + 1]
add edi, ecx
add edx, 3
jmp 0x405d17
inc cl
jne 0x405c94
movzx ecx, word [edx + 1]
add edi, ecx
mov ecx, dword [edx + 3]
add eax, ecx
add edx, 7
jmp 0x405ca7
movzx ecx, byte [edx]
shr ecx, 6
add edi, ecx
mov cl, byte [edx]
and cl, 0x3f
movzx ecx, cl
add eax, ecx
inc edx
cmp eax, dword [ebp + 0x10]
jne 0x405cb1
mov esi, eax
mov dword [ebp - 0x24], edi
cmp eax, dword [ebp + 0x10]
jl 0x405d0e
sub eax, dword [ebp + 0x10]
cmp eax, 0xa
jle 0x405cc4
cmp byte [ebp - 0x25], 0
jne 0x405d0c
mov eax, dword [ebp - 0xc]
mov cl, byte [eax]
mov eax, dword [ebp + 0xc]
mov byte [eax], cl
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
cmp eax, dword [ebp - 0x14]
jle 0x405cfa
inc dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
mov dl, byte [eax + ecx]
xor dl, 0xaa
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov byte [eax + ecx], dl
jmp 0x405cd5
movzx eax, word [ebp - 0x24]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
add esi, dword [ebp - 0x18]
mov eax, esi
jmp 0x405d1e
jmp 0x405d1c
mov esi, eax
mov dword [ebp - 0x24], edi
mov byte [ebp - 0x25], 0
jmp 0x405c44
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4061f4
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x10
cld
push ecx
call fcn.004061d0
call fcn.00403380
mov dword [0x408270], eax
lea edx, [eax + 0x18]
mov dword [0x4082d0], edx
pop edx
call fcn.00406050
call sub.kernel32.dll_GetEnvironmentStrings
mov dword [0x40829c], eax
push 0
call sub.kernel32.dll_GetModuleHandleA
mov dword [0x4082b0], eax
mov dword [0x4082d8], eax
call fcn.00402fb0
cmp eax, 3
setb byte [0x408279]
call fcn.00403fd0
lea eax, [esp]
xor edx, edx
mov ecx, dword fs:[edx]
mov dword fs:[edx], eax
mov dword [eax], ecx
mov dword [eax + 4], 0x406480
mov dword [eax + 8], ebp
jmp dword [esp + 0x10]
Function at 0x402e80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
mov esi, ecx
push edi
or edi, 0xffffffff
mov eax, esi
cmp dword [esi + 0x14], 0x10
jb 0x402e91
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x402eb1
test al, 0x10
je 0x402eb1
cmp dword [esi + 0x14], 0x10
jb 0x402ea9
mov esi, dword [esi]
push esi
call fcn.00409151
jmp 0x402ed9
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x402ebb
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x402eec
test al, 0x10
jne 0x402eec
cmp dword [esi + 0x14], 0x10
jb 0x402ed3
mov esi, dword [esi]
push esi
call fcn.00408ccb
mov edi, eax
add esp, 4
test edi, edi
je 0x402eec
call fcn.00408dae
call fcn.00408dae
cmp edi, 0xffffffff
pop edi
setne al
pop esi
ret

Function at 0x4035c0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x416545
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x423028]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp - 0x58]
push eax
call fcn.00402fc0
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x4035ff
mov ecx, dword [eax]
push 0
push 0x417256
push dword [eax + 0x10]
push ecx
call fcn.00401f80
mov edx, dword [ebp - 0x44]
add esp, 0x10
mov bl, al
cmp edx, 0x10
jb 0x403648
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40363e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40372d
push edx
push ecx
call fcn.00403d14
add esp, 8
test bl, bl
jne 0x4036ed
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00402fc0
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.004023b0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x4036a3
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403699
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403732
push edx
push ecx
call fcn.00403d14
add esp, 8
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.004035c0
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x4036ed
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4036e3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403737
push edx
push ecx
call fcn.00403d14
add esp, 8
cmp dword [esi + 0x14], 0x10
jb 0x4036f5
mov esi, dword [esi]
push esi
call fcn.004090e7
add esp, 4
test eax, eax
je 0x403710
call fcn.00408dae
cmp dword [eax], 0x11
je 0x403710
xor al, al
jmp 0x403712
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00403d22
mov esp, ebp
pop ebp
ret
call fcn.00406f9f
call fcn.00406f9f
call fcn.00406f9f
int3
Function at 0x41bdf0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x411015
lea edi, [esi - 0x10015]
push edi
or ebp, 0xffffffff
jmp 0x41be12
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41be19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41be08
mov eax, 1
add ebx, ebx
jne 0x41be2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41be20
jne 0x41be3c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41be20
xor ecx, ecx
sub eax, 3
jb 0x41be50
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41bec2
mov ebp, eax
add ebx, ebx
jne 0x41be5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41be68
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41be8c
inc ecx
add ebx, ebx
jne 0x41be78
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41be6d
jne 0x41be89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41be6d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41beac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41be9d
jmp 0x41be0e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41beac
add edi, ecx
jmp 0x41be0e
pop esi
mov edi, esi
mov ecx, 0x6b8
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41beca
cmp byte [edi], 6
jne 0x41beca
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 0x41becf
lea edi, [esi + 0x19000]
mov eax, dword [edi]
or eax, eax
je 0x41bf3e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1b4c0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1b598]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41befc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1b5a0]
or eax, eax
je 0x41bf38
mov dword [ebx], eax
add ebx, 4
jmp 0x41bf19
call dword [esi + 0x1b59c]
mov ebp, dword [esi + 0x1b5a4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x41bf72
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
nop
mov ecx, 0x9ea76c4
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
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
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x2d4c6ef5
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x40a7d0
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40a99f
sub esp, 0x34
mov eax, dword [esp + 0x38]
cmp eax, 0x7000000
jle 0x40a972
mov eax, 0x7000000
mov dword [esp + 0x38], eax
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x90]
mov ebx, dword [ecx + 0x94]
mov dword [ecx + 0x90], ebx
mov ebp, edx
shl edx, 0x11
xor edx, ebp
mov ebp, ebx
xor ebx, edx
shr edx, 7
xor edx, ebx
mov ebx, ebp
shr ebp, 0x10
xor ebp, edx
mov dword [ecx + 0x94], ebp
lea ecx, [ebp + ebx]
and ecx, 0x3ffffff
inc ecx
mov dword [esp], ecx
call fcn.00455ed0
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x24], xmm0
mov eax, dword [esp + 0x28]
mov ecx, eax
shr eax, 0x14
and eax, 0x7ff
mov edx, eax
add eax, 0xfffffc01
mov ebx, ecx
shr ecx, 0xf
and ecx, 0x1f
mov ebp, ecx
add ecx, 1
mov esi, 0
adc esi, 0
mov edi, dword [esp + 0x24]
shr edi, 0x1b
shl ebx, 5
or edi, ebx
test esi, esi
jne 0x40a992
cmp ecx, 0x21
jae 0x40a986
mov dword [esp + 0x10], edi
lea ebx, [0x5eeee0]
movsd xmm0, qword [ebx + ebp*8]
movsd qword [esp + 0x14], xmm0
movsd xmm1, qword [ebx + ecx*8]
movsd qword [esp + 0x1c], xmm1
mov dword [esp], eax
add edx, 0xfffffc01
mov eax, 0xffffffff
adc eax, 0
mov dword [esp + 4], eax
call fcn.00450a90
mov eax, dword [esp + 0x10]
and eax, 0xfffff
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x2c], xmm0
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00450b80
movsd xmm0, qword [esp + 0x2c]
movsd xmm1, qword [esp + 0x14]
addsd xmm0, xmm1
movsd xmm2, qword [esp + 0x1c]
subsd xmm2, xmm1
mulsd xmm2, qword [esp + 8]
movsd xmm1, qword [0x542dd0]
mulsd xmm1, xmm2
addsd xmm0, xmm1
movsd xmm1, qword [0x542e40]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40a94d
xorps xmm0, xmm0
mov eax, dword [esp + 0x38]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x542e78]
mulsd xmm1, xmm2
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
inc eax
mov dword [esp + 0x3c], eax
add esp, 0x34
ret
test eax, eax
jne 0x40a7fd
mov dword [esp + 0x3c], 0
add esp, 0x34
ret
mov eax, ecx
mov ecx, 0x21
call fcn.00455fb0
mov eax, ecx
mov ecx, 0x21
call fcn.00456080
nop
call fcn.004546e0
jmp fcn.0040a7d0
Function at 0x412950
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x412b6c
sub esp, 0x18
mov eax, dword [0x613238]
test eax, eax
jne 0x412b55
lea eax, [0x613224]
mov dword [esp], eax
call fcn.004085d0
mov eax, dword [0x60179c]
test eax, eax
je 0x41299c
cmp dword [eax + 8], 0xcc
jne 0x412a64
mov edx, dword [0x601794]
test edx, edx
jne 0x412a46
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x6148d8]
mov dword [esp + 8], eax
call fcn.0040a9b0
mov eax, dword [esp + 0xc]
mov dword [0x601794], eax
mov ecx, dword [0x601770]
mov dword [eax], ecx
mov eax, dword [0x601794]
mov dword [0x601770], eax
movzx eax, byte [0x613540]
test al, al
jne 0x412a46
xor eax, eax
jmp 0x412a03
lea esi, [0x613540]
xchg ebp, eax
mov byte [esi + ebx], al
xchg ebp, eax
lea eax, [ebx + 1]
cmp eax, 0x80
jge 0x412a46
mov ecx, eax
mov eax, 0xcccccccd
imul ecx
add edx, ecx
sar edx, 2
mov eax, ecx
sar ecx, 0x1f
sub edx, ecx
lea edx, [edx + edx*4]
mov ebx, eax
sub eax, edx
cmp eax, 5
jae 0x412b4b
lea edx, [0x5ea11c]
movzx ebp, byte [edx + eax]
cmp ebx, 0x80
jb 0x4129f5
jmp 0x412b3f
mov edx, dword [0x601794]
mov ebx, dword [edx + 4]
mov dword [0x601794], ebx
mov ebx, dword [0x60179c]
mov dword [edx + 4], ebx
mov dword [0x60179c], edx
mov edx, dword [0x60179c]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x412b35
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
lea eax, [edx + 8]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004020a0
mov eax, dword [esp + 0x10]
lea eax, [eax + eax*4]
mov ecx, dword [esp + 0x14]
lea edi, [ecx + eax*4 + 0x10]
mov edx, dword [0x613370]
lea ebx, [ecx + eax*4 + 0x1c]
lea ebp, [ecx + eax*4 + 0x20]
lea esi, [ecx + eax*4 + 0x14]
test edx, edx
jne 0x412b26
mov edx, dword [esp + 0x20]
mov dword [ecx + eax*4 + 0x10], edx
mov edx, dword [esp + 0x24]
mov dword [ecx + eax*4 + 0x18], edx
mov edx, dword [0x613370]
test edx, edx
jne 0x412b03
mov edx, dword [esp + 0x28]
mov dword [ecx + eax*4 + 0x1c], edx
mov edx, dword [esp + 0x2c]
mov dword [ecx + eax*4 + 0x20], edx
mov edx, dword [esp + 0x1c]
mov dword [ecx + eax*4 + 0x14], edx
mov byte [0x6131c9], 1
lea eax, [0x613224]
mov dword [esp], eax
call fcn.004087b0
add esp, 0x18
ret
mov edi, ebx
mov eax, dword [esp + 0x28]
call fcn.00455f20
mov edi, ebp
mov eax, dword [esp + 0x2c]
call fcn.00455f20
mov edi, esi
mov eax, dword [esp + 0x1c]
call fcn.00455f20
jmp 0x412aea
mov edx, eax
mov eax, dword [esp + 0x20]
call fcn.00455f20
mov eax, edx
jmp 0x412ac0
mov ecx, 0xcc
call fcn.00455fb0
mov eax, ebx
mov ecx, pe_nt_image_headers32
call fcn.00455fa0
mov ecx, 5
call fcn.00455fa0
lea eax, [0x5207da]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.0042dee0
nop
call fcn.004546e0
jmp fcn.00412950
Function at 0x421d50
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x421e59
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 1
je 0x421dd7
cmp cl, 2
jne 0x421e42
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.00426b60
lea eax, [0x607230]
mov dword [esp], eax
call fcn.004085d0
nop
mov eax, dword [0x607224]
sub eax, dword [0x60720c]
mov dword [0x607224], eax
mov eax, dword [0x607218]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x607218], ecx
lea eax, [0x607230]
mov dword [esp], eax
call fcn.004087b0
add esp, 0x14
ret
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
mov ebp, dword [eax + 0x14]
mov esi, dword [esp + 0x1c]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.00412950
lea eax, [0x607230]
mov dword [esp], eax
call fcn.004085d0
nop
mov eax, dword [0x607200]
sub eax, dword [0x6071e8]
mov dword [0x607200], eax
mov eax, dword [0x6071f4]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x6071f4], ecx
lea eax, [0x607230]
mov dword [esp], eax
call fcn.004087b0
jmp 0x421dd3
lea eax, [0x51de9f]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.0042dee0
nop
call fcn.004546e0
jmp fcn.00421d50