joyce8/EMBER2024-capa huggingface dataset:
Function at 0x57d8e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x78000]
push edi
jmp 0x57d8fa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x57d901
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57d8f0
mov eax, 1
add ebx, ebx
jne 0x57d913
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x57d924
jne 0x57d943
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57d943
dec eax
add ebx, ebx
jne 0x57d930
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x57d908
add ebx, ebx
jne 0x57d93f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x57d995
xor ecx, ecx
sub eax, 3
jb 0x57d95b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x57d9ca
sar eax, 1
mov ebp, eax
jmp 0x57d966
add ebx, ebx
jne 0x57d966
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57d934
inc ecx
add ebx, ebx
jne 0x57d974
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57d934
add ebx, ebx
jne 0x57d981
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x57d976
jne 0x57d992
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x57d976
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x57d9b4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x57d9a6
jmp 0x57d8f6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x57d9b4
add edi, ecx
jmp 0x57d8f6
pop esi
mov edi, esi
mov ecx, 0x3ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x57d9d2
cmp byte [edi], 0x11
jne 0x57d9d2
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 0x57d9d7
lea edi, [esi + 0x16f000]
mov eax, dword [edi]
or eax, eax
je 0x57da4f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x17e5d4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x17e778]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x57da04
mov ecx, edi
jns 0x57da33
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 + 0x17e780]
or eax, eax
je 0x57da49
mov dword [ebx], eax
add ebx, 4
jmp 0x57da21
call dword [esi + 0x17e77c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x57da80
cmp al, 0xef
ja 0x57da73
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x57da55
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x57da62
mov ebp, dword [esi + 0x17e784]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x57dab4
sub esp, 0xffffff80
jmp 0x42800a
Function at 0x4ac8e0
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffc30
lea edx, [esp + 0x58]
push edx
push eax
call sub.kernel32.dll_FindNextFileA
push edi
push ebp
push ebx
call sub.kernel32.dll_FindFirstChangeNotificationA
mov eax, dword [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
push esi
call sub.user32.dll_OpenWindowStationA
lea eax, [esp + 0x198]
push eax
mov eax, dword [esp + 0xc]
push eax
call sub.gdi32.dll_GetTextMetricsA
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
call fcn.0042acc8
mov eax, dword [esp + 0x1c]
push eax
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push eax
call sub.kernel32.dll_ClearCommError
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
push eax
call sub.user32.dll_ReleaseDC
lea eax, [esp + 0x1d0]
push eax
call sub.user32.dll_RegisterClassW
lea eax, [esp + 0x23c]
push eax
lea eax, [esp + 0x1fc]
push eax
mov eax, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x50]
push eax
call sub.advapi32.dll_CreateProcessAsUserA
lea eax, [esp + 0x24c]
push eax
call sub.gdi32.dll_CreateColorSpaceA
mov eax, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x54]
push eax
call sub.gdi32.dll_GetObjectW
lea eax, [esp + 0x394]
push eax
call sub.gdi32.dll_CreateFontIndirectA
add esp, 0x3d0
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x431003
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x431072
nop
nop
mov ebx, 0x40915c
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
mov esi, 0x38696140
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x431060
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
je 0x4310d2
nop
nop
nop
nop
nop
mov ebx, 0x42f3f8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x3a330626
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
loop 0x4310c0
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..reloc
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x3bde54c1
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
cmp eax, 0
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x3395691b
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x4cd320
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x88000]
push edi
or ebp, 0xffffffff
jmp 0x4cd342
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4cd349
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4cd338
mov eax, 1
add ebx, ebx
jne 0x4cd35b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4cd36c
jne 0x4cd38b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4cd38b
dec eax
add ebx, ebx
jne 0x4cd378
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4cd350
add ebx, ebx
jne 0x4cd387
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4cd3dd
xor ecx, ecx
sub eax, 3
jb 0x4cd3a3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4cd412
sar eax, 1
mov ebp, eax
jmp 0x4cd3ae
add ebx, ebx
jne 0x4cd3ae
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4cd37c
inc ecx
add ebx, ebx
jne 0x4cd3bc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4cd37c
add ebx, ebx
jne 0x4cd3c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4cd3be
jne 0x4cd3da
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4cd3be
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4cd3fc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4cd3ee
jmp 0x4cd33e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4cd3fc
add edi, ecx
jmp 0x4cd33e
pop esi
mov edi, esi
mov ecx, 0x73b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4cd41a
cmp byte [edi], 9
jne 0x4cd41a
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 0x4cd41f
lea edi, [esi + 0xca000]
mov eax, dword [edi]
or eax, eax
je 0x4cd497
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xe6a24]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xe6aac]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4cd44c
mov ecx, edi
jns 0x4cd47b
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 + 0xe6ab4]
or eax, eax
je 0x4cd491
mov dword [ebx], eax
add ebx, 4
jmp 0x4cd469
call dword [esi + 0xe6ab0]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4cd4c8
cmp al, 0xef
ja 0x4cd4bb
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4cd49d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4cd4aa
mov ebp, dword [esi + 0xe6ab8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x4cd4fc
sub esp, 0xffffff80
jmp 0x40c80f
Function at 0x4015ad
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46507c]
jne 0x4015b7
repz ret
jmp fcn.00401eac

Function at 0x406e0c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x46507c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004044f4
and dword [ebp - 0x14], 0
cmp dword [0x467d8c], 0
mov dword [ebp - 0x18], eax
jne 0x406ebf
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x406f67
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x406f67
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x467d8c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x467d90], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x467d94], eax
call edi
push eax
call esi
mov dword [0x467d9c], eax
test eax, eax
je 0x406ebf
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x467d98], eax
mov eax, dword [0x467d98]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x406f18
cmp dword [0x467d9c], ecx
je 0x406f18
push eax
call esi
push dword [0x467d9c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x406f18
test ebx, ebx
je 0x406f18
call edi
test eax, eax
je 0x406f0f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x406f0f
test byte [ebp - 8], 1
jne 0x406f18
or dword [ebp + 0x10], 0x200000
jmp 0x406f4b
mov eax, dword [0x467d90]
cmp eax, dword [ebp - 0x18]
je 0x406f4b
push eax
call esi
test eax, eax
je 0x406f4b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x406f4b
mov eax, dword [0x467d94]
cmp eax, dword [ebp - 0x18]
je 0x406f4b
push eax
call esi
test eax, eax
je 0x406f4b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x467d8c]
call esi
test eax, eax
je 0x406f67
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x406f69
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004015ad
leave
ret
Function at 0xc152b26
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
lea eax, [eax + 0xc]
mov edx, eax
cmp edx, eax
je 0xc152b80
push eax
push 0xc15168a
call fcn.0c152bbe
push 7
push 0xc35d0bc
push dword [eax + 0x30]
call fcn.0c152f17
cmp eax, 0
jne 0xc152b5a
inc eax
jmp 0xc152b82
push 0xc1516a2
call fcn.0c152bbe
push 7
push 0xc35d0bc
push dword [eax + 0x30]
call fcn.0c152f17
cmp eax, 0
jne 0xc152b7b
inc eax
jmp 0xc152b82
pop eax
mov eax, dword [eax]
jmp 0xc152b34
xor eax, eax
ret

Function at 0xc152b98
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
mov eax, dword fs:[0x30]
mov al, byte [eax + 0x68]
and al, 0x70
cmp al, 0x70
sete al
movzx eax, al
ret

Function at 0xc152bac
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov eax, dword fs:[0x30]
mov al, byte [eax + 2]
test al, al
setne al
movzx eax, al
ret

Function at 0xc152bbe
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
lea edi, [0xc35d0bc]
mov esi, dword [ebp + 8]
lodsw ax, word [esi]
xor ax, 0xdc
stosw word es:[edi], ax
cmp ax, 0
jne 0xc152bcc
pop edi
pop esi
leave
ret 4

Function at 0xc152be0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
lea edi, [0xc35d0bc]
mov esi, dword [ebp + 8]
lodsb al, byte [esi]
xor al, 0xdc
stosb byte es:[edi], al
cmp al, 0
jne 0xc152bee
pop edi
pop esi
leave
ret 4

Function at 0xc152e22
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x3c]
mov eax, dword [eax + ebx + 0x78]
add eax, ebx
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x20]
mov edi, dword [edx + ebx]
test edi, edi
je 0xc152e73
add edi, ebx
xchg esi, eax
push ecx
xor eax, eax
lea ecx, [eax - 1]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg esi, eax
mov esi, dword [ebp + 0xc]
repe cmpsb byte [esi], byte es:[edi]
pop ecx
jne 0xc152e73
sub ecx, dword [eax + 0x18]
neg ecx
mov edx, dword [eax + 0x24]
add edx, ebx
movzx edx, word [edx + ecx*2]
mov eax, dword [eax + 0x1c]
add eax, ebx
mov eax, dword [eax + edx*4]
add eax, ebx
jmp 0xc152e7a
add edx, 4
loop 0xc152e3a
xor eax, eax
pop ebx
pop edi
pop esi
leave
ret 8

Function at 0xc152e81
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
push esi
push edi
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
lea ebp, [eax + 0xc]
mov eax, dword [ebp]
mov esi, dword [eax + 0x30]
movzx ecx, word [eax + 0x2e]
mov edi, dword [esp + 0x10]
mov dx, word [esi]
cmp dx, word [edi]
je 0xc152ecd
cmp dx, 0x41
jb 0xc152eb2
cmp dx, 0x5a
jbe 0xc152eb8
cmp dx, 0x61
jb 0xc152ec4
cmp dx, 0x7a
ja 0xc152ec4
xor dx, 0x20
jmp 0xc152ec6
jmp 0xc152ee0
cmp dx, word [edi]
je 0xc152ecd
jmp 0xc152ee0
add edi, 2
add esi, 2
sub ecx, 2
cmp ecx, 0
jne 0xc152e9e
mov eax, dword [eax + 0x18]
jmp 0xc152ee8
mov eax, dword [eax]
cmp ebp, eax
jne 0xc152e93
xor eax, eax
pop edi
pop esi
pop ebp
ret 4
Function at 0x409a10
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x3000]
push edi
or ebp, 0xffffffff
jmp 0x409a32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x409a39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x409a28
mov eax, 1
add ebx, ebx
jne 0x409a4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x409a40
jne 0x409a5c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x409a40
xor ecx, ecx
sub eax, 3
jb 0x409a70
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x409ae2
mov ebp, eax
add ebx, ebx
jne 0x409a7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x409a88
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x409aac
inc ecx
add ebx, ebx
jne 0x409a98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x409a8d
jne 0x409aa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x409a8d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x409acc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x409abd
jmp 0x409a2e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x409acc
add edi, ecx
jmp 0x409a2e
pop esi
mov edi, esi
mov ecx, 5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x409aea
cmp byte [edi], 1
jne 0x409aea
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 0x409aef
lea edi, [esi + 0x7000]
mov eax, dword [edi]
or eax, eax
je 0x409b5e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x949c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x94d8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x409b1c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x94e0]
or eax, eax
je 0x409b58
mov dword [ebx], eax
add ebx, 4
jmp 0x409b39
call dword [esi + 0x94dc]
mov ebp, dword [esi + 0x94e4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ef]
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 0x409b92
sub esp, 0xffffff80
jmp 0x401356
Function at 0x401000
Capabilities:
Set current directory

Disassembly:
push ebp
lea ebp, [esp - 0xac]
sub esp, 0x12c
mov eax, dword [0x557b14]
xor eax, ebp
mov dword [ebp + 0xa8], eax
push esi
mov esi, dword [ebp + 0xb4]
push edi
mov edi, dword [ebp + 0xbc]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.004e0024
pop ecx
push edi
lea ecx, [ebp - 0x80]
call fcn.00401516
push 0xffffffffffffffff
xor edi, edi
push edi
push eax
mov ecx, 0x572208
call fcn.00401201
push edi
push 1
lea ecx, [ebp - 0x80]
call fcn.00401293
push 0x104
lea eax, [ebp - 0x5c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push str.mem_leaks_log.txt
call fcn.004e3ce3
pop ecx
call fcn.00428e11
mov esi, dword [sym.imp.WINMM.dll_timeGetTime]
call esi
cmp dword [0x577ac8], edi
mov dword [ebp - 0x60], eax
je 0x401145
call fcn.00401d2f
test al, al
je 0x401138
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
call fcn.004014e2
cmp byte [eax + 0x60], 0
je 0x4010d9
call fcn.004014e2
cmp byte [eax + 0x61], 0
je 0x4010d9
push 0
call edi
jmp 0x40112e
push 0
call edi
call esi
mov ebx, eax
sub eax, dword [ebp - 0x60]
cmp eax, 1
jb 0x4010d5
call fcn.004015fb
call fcn.004014e2
mov ecx, ebx
sub ecx, dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
test ecx, ecx
mov eax, dword [eax]
mov dword [ebp - 0x60], ecx
fild dword [ebp - 0x60]
jge 0x401109
fadd qword [0x543a50]
fdiv qword [0x543960]
push ecx
mov ecx, dword [ebp - 0x64]
fstp dword [ebp - 0x60]
fld dword [ebp - 0x60]
fstp dword [esp]
call dword [eax + 0xc]
test eax, eax
jne 0x401127
push 2
jmp 0x401129
push 1
call edi
mov dword [ebp - 0x60], ebx
call fcn.00401d2f
test al, al
jne 0x4010b9
pop ebx
call fcn.004014e2
push eax
call fcn.0041c6c1
jmp 0x401147
xor eax, eax
mov ecx, dword [ebp + 0xa8]
pop edi
xor ecx, ebp
pop esi
call fcn.004e0010
add ebp, 0xac
leave
ret 0x10

Function at 0x4026ab
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xa0
mov eax, dword [0x557b14]
xor eax, ebp
mov dword [ebp + 0x74], eax
cmp byte [0x572773], 0
push esi
je 0x40271c
mov esi, 0x9c
push esi
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.004e03d0
add esp, 0xc
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push eax
call esi
test eax, eax
jne 0x402706
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], 0x94
call esi
test eax, eax
jne 0x402706
xor al, al
jmp 0x402721
cmp dword [ebp - 0x24], 6
mov byte [0x572773], 0
sbb al, al
inc al
mov byte [0x57b4a4], al
jmp 0x402721
mov al, byte [0x57b4a4]
mov ecx, dword [ebp + 0x74]
xor ecx, ebp
pop esi
call fcn.004e0010
add ebp, 0x78
leave
ret
Function at 0x410110
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x40]
xor ebx, ebx
cmp ecx, ebx
push edi
je 0x41012f
cmp ecx, eax
jne 0x410269
cmp eax, ebx
je 0x410269
fldz
mov dword [esi + 0x40], eax
fst dword [esi + 0x68]
mov ecx, dword [eax + 0x84]
cmp ecx, ebx
mov dword [esi + 0x64], ecx
jge 0x410153
mov dword [esi + 0x64], 0xfffffffe
fld dword [eax + 0x7c]
fstp dword [esi + 0x5c]
fld dword [eax + 0x80]
fstp dword [esi + 0x60]
fld dword [eax + 0x8c]
fstp dword [esi + 0x74]
fld dword [eax + 0x88]
fstp dword [esi + 0x6c]
fld dword [eax + 0x90]
fstp dword [esi + 0x70]
mov al, byte [eax + 0x94]
mov byte [esi + 0x98], al
fstp dword [esi + 0x78]
mov dword [esi + 0x94], ebx
mov byte [esi + 0x99], bl
call fcn.0041cc59
mov ecx, dword [esi + 0x40]
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ebx
mov eax, dword [ecx]
push ebx
call dword [eax + 0x20]
mov eax, dword [esp + 0x3c]
cmp eax, ebx
jbe 0x41025c
fldz
lea ecx, [esi + 0x84]
sub esp, 0x10
fstp dword [esp + 0x40]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov edi, esp
lea esi, [esp + 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x20], ecx
movsd dword es:[edi], dword [esi]
call fcn.00410b44
mov esi, dword [esp + 0x10]
push ebx
call fcn.00485787
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x38]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x34]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x38]
lea edi, [esp + 0x1c]
lea esi, [esp + 0x14]
mov dword [esp + 0x20], eax
call fcn.0041d163
test al, al
je 0x41025c
call fcn.00419ec0
mov ecx, dword [eax]
cmp ecx, ebx
je 0x410240
mov eax, dword [ecx]
push 0x577df0
call dword [eax]
jmp 0x410242
xor eax, eax
mov ecx, dword [esp + 0x10]
lea edi, [esp + 0x24]
lea esi, [esp + 0x14]
mov dword [ecx], eax
call fcn.0041d180
add dword [esp + 0x10], 0x10
jmp 0x410211
lea eax, [esp + 0x34]
call fcn.00410cb9
mov al, 1
jmp 0x41026b
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret