joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7556c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push 0x11
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.00752de0
add esp, 0xc
jne 0x7556dc
je 0x7556dc
call 0x7726bd90
mov al, 0x66
mov cl, 0x76
mov byte [ebp - 0x14], 0x53
mov byte [ebp - 0x13], al
mov byte [ebp - 0x12], 0x68
mov byte [ebp - 0x11], 0x52
mov byte [ebp - 0x10], cl
mov byte [ebp - 0xf], al
mov byte [ebp - 0xe], 0x73
mov byte [ebp - 0xd], 0x7a
mov byte [ebp - 0xc], 0x57
mov byte [ebp - 0xb], 0x62
mov byte [ebp - 0xa], 0x6d
mov byte [ebp - 9], cl
mov byte [ebp - 8], al
mov byte [ebp - 7], 0x46
mov byte [ebp - 6], 0x79
mov byte [ebp - 5], 0x42
mov byte [ebp - 4], 0
jne 0x755724
je 0x755724
call 0x8b61acb2
dec ebp
int1
mov dl, byte [ebp - 0x14]
mov cl, byte [ebp - 0xf]
mov al, byte [ebp - 0xa]
dec dl
mov byte [ebp - 0x14], dl
mov dl, byte [ebp - 5]
dec cl
dec al
mov byte [ebp - 0xf], cl
mov cl, byte [ebp - 0x13]
dec dl
mov byte [ebp - 0xa], al
mov al, byte [ebp - 0xe]
mov byte [ebp - 5], dl
mov dl, byte [ebp - 9]
dec cl
dec al
mov byte [ebp - 0x13], cl
mov cl, byte [ebp - 0x12]
dec dl
mov byte [ebp - 0xe], al
mov al, byte [ebp - 0xd]
mov byte [ebp - 9], dl
mov dl, byte [ebp - 8]
dec cl
dec al
mov byte [ebp - 0x12], cl
mov cl, byte [ebp - 0x11]
dec dl
mov byte [ebp - 0xd], al
mov al, byte [ebp - 0xc]
mov byte [ebp - 8], dl
mov dl, byte [ebp - 7]
dec cl
dec al
mov byte [ebp - 0x11], cl
mov cl, byte [ebp - 0x10]
dec dl
mov byte [ebp - 0xc], al
mov al, byte [ebp - 0xb]
mov byte [ebp - 7], dl
mov dl, byte [ebp - 6]
dec cl
dec al
dec dl
mov byte [ebp - 0x10], cl
mov byte [ebp - 0xb], al
mov byte [ebp - 6], dl
jne 0x7557a9
je 0x7557a9
jmp 0x755792
call fcn.0075aea0
test eax, eax
jne 0x7557be
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 0x18
jns 0x7557c3
js 0x7557c3
call 0x5261a554
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.00758a60
push 0x11
lea edx, [ebp - 0x14]
push 0
push edx
mov esi, eax
call fcn.00752de0
add esp, 0xc
test esi, esi
jne 0x7557ef
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 0x18
jb 0x7557f4
jae 0x7557f4
jmp 0x75584b
push esi
call fcn.00755a60
add esp, 4
jb 0x755802
jae 0x755802
or dword [ebx + 0x4d8b1c45], ecx
sbb byte [ebx - 0x74afebab], cl
inc ebp
adc byte [ecx - 0x75], dl
dec ebp
or al, 0x52
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
call esi
pop esi
mov esp, ebp
pop ebp
ret 0x18
adc al, 0x89
or eax, 0x74a308
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp], edx
mov edx, dword [eax + 8]
mov dword [esp + 4], ecx
mov ecx, dword [eax + 0xc]
mov dword [esp + 8], edx
mov edx, dword [eax + 0x10]
lea eax, [esp]
push eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.007581f0
add esp, 0x14
ret
Function at 0x4daac0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x98000]
push edi
jmp 0x4daada
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4daae1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4daad0
mov eax, 1
add ebx, ebx
jne 0x4daaf3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4dab04
jne 0x4dab23
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4dab23
dec eax
add ebx, ebx
jne 0x4dab10
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4daae8
add ebx, ebx
jne 0x4dab1f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4dab75
xor ecx, ecx
sub eax, 3
jb 0x4dab3b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4dabaa
sar eax, 1
mov ebp, eax
jmp 0x4dab46
add ebx, ebx
jne 0x4dab46
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4dab14
inc ecx
add ebx, ebx
jne 0x4dab54
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4dab14
add ebx, ebx
jne 0x4dab61
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4dab56
jne 0x4dab72
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4dab56
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4dab94
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4dab86
jmp 0x4daad6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4dab94
add edi, ecx
jmp 0x4daad6
pop esi
mov edi, esi
mov ecx, 0x377e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4dabb2
cmp byte [edi], 0x11
jne 0x4dabb2
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 0x4dabb7
lea edi, [esi + 0xd6000]
mov eax, dword [edi]
or eax, eax
je 0x4dac2f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x104a58]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x104bac]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4dabe4
mov ecx, edi
jns 0x4dac13
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 + 0x104bb0]
or eax, eax
je 0x4dac29
mov dword [ebx], eax
add ebx, 4
jmp 0x4dac01
call dword [esi + 0x104bc0]
mov ebp, dword [esi + 0x104bb4]
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 0x4dac63
sub esp, 0xffffff80
jmp 0x416310
Function at 0x401000
Capabilities:
Check mutex on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
push str.E5C53971_D80E_4500_BE0D_761BF3CD8457
push 1
push 0
mov dword [0x513f7c], esi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [0x513f8c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x401048
push dword [0x513f8c]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [0x513f8c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x40105d
push 0
push 0x401061
push 0
push 0x65
push esi
call dword [sym.imp.USER32.dll_DialogBoxParamA]
push 1
pop eax
pop esi
ret 0x10

Function at 0x4019ac
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x348
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x208]
push eax
call esi
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [ebp + eax - 0x209], 0x5c
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
je 0x4019f5
lea eax, [ebp - 0x208]
push 0x410094
push eax
call edi
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x104]
push eax
call esi
lea eax, [ebp - 0x104]
push 0x410128
push eax
call edi
lea eax, [ebp - 0x348]
push eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401a35
xor eax, eax
jmp 0x401ac5
cmp byte [ebp - 0x31c], 0x2e
je 0x401a94
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x104]
push eax
call esi
lea eax, [ebp - 0x31c]
push eax
lea eax, [ebp - 0x104]
push eax
call edi
cmp dword [ebp - 0x348], 0x10
jne 0x401a75
lea eax, [ebp - 0x104]
push eax
call fcn.004019ac
jmp 0x401a94
lea eax, [ebp - 0x104]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x348]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x401a35
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x401acc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x401ae4
test al, 0x10
je 0x401ae4
push 1
pop eax
jmp 0x401ae6
xor eax, eax
ret 4
Function at 0x401ae9
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
push esi
push esi
push 2
push esi
push 1
push 0x40000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, dword [ebp + 8]
mov dword [ebp - 8], eax
cmp edi, 0xffffffff
je 0x401b20
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp dword [ebp + 0x10], eax
jbe 0x401b25
or eax, 0xffffffff
jmp 0x401b8c
push ebx
push esi
push esi
mov dword [ebp - 4], esi
push dword [ebp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp + 0xc]
push esi
mov ebx, 0x100000
push eax
mov esi, 0x413e74
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
call edi
test eax, eax
je 0x401b7f
cmp dword [ebp + 0xc], 0
jbe 0x401b7f
lea eax, [ebp - 0xc]
push 0
push eax
push dword [ebp + 0xc]
push esi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0xc]
push 0
add dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push ebx
push esi
push dword [ebp + 8]
jmp 0x401b4d
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop ebx
pop edi
pop esi
leave
ret

Function at 0x401b90
Capabilities:
Parse pe header
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
xor edi, edi
push edi
push edi
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 4]
push edi
push eax
push 0x100000
push 0x413e74
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x401bdc
cmp word [0x413e74], 0x5a4d
jne 0x401bdc
mov ecx, dword [0x413eb0]
cmp dword [ecx + 0x413e74], 0x4550
je 0x401be1
or eax, 0xffffffff
jmp 0x401c0c
push esi
xor eax, eax
movzx esi, word [ecx + 0x413e7a]
cmp esi, edi
jle 0x401c0b
lea edx, [ecx + 0x413f7c]
mov ecx, dword [edx + 4]
add ecx, dword [edx]
cmp ecx, eax
jbe 0x401c00
mov eax, ecx
add edx, 0x28
inc edi
movsx ecx, di
cmp ecx, esi
jl 0x401bf5
pop esi
pop edi
leave
ret
Function at 0x401c0f
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
push 0x44
pop esi
xor edi, edi
push esi
lea eax, [ebp - 0x54]
push edi
push eax
call fcn.00407b80
mov ebx, dword [ebp + 8]
add esp, 0xc
cmp dword [0x513f80], edi
mov dword [ebp - 0x54], esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
je 0x401c47
push str.__AUTOPATCH
push ebx
call esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x401c62
push 0x41012c
push ebx
call esi
push dword [ebp + 0xc]
push ebx
call esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x401cae
cmp dword [ebp + 0x10], edi
je 0x401c99
push 0xffffffffffffffff
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp + 0xc]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x10]
call esi
mov eax, dword [ebp + 0xc]
jmp 0x401cb1
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret

Function at 0x401cb6
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor esi, esi
push edi
push esi
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 8]
mov dword [ebp - 4], esi
push esi
mov ebx, 0x100000
push eax
mov esi, 0x413e74
push ebx
push esi
push dword [ebp + 8]
call edi
test eax, eax
je 0x401d1b
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x401d1b
lea ecx, [ecx + 0x413e74]
mov eax, esi
cmp ecx, esi
jbe 0x401d0e
mov edx, dword [eax]
add eax, 4
add dword [ebp - 4], edx
cmp eax, ecx
jb 0x401d02
lea eax, [ebp - 8]
push 0
push eax
push ebx
push esi
push dword [ebp + 8]
jmp 0x401ce9
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40243e
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x14038
call fcn.00408390
push ebx
push esi
push edi
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00407faf
push 0x410170
push dword [ebp + 0x14]
call fcn.0040815e
add esp, 0x14
mov dword [ebp + 0xc], eax
test eax, eax
je 0x40257b
push 0x38
lea eax, [ebp - 0x38]
push 0
push eax
call fcn.00407b80
push 0x38
push str.1.1.3
lea eax, [ebp - 0x38]
push 0xfffffffffffffff1
push eax
mov dword [ebp - 0x14], 0x402608
mov dword [ebp - 0x18], 0x4025f7
call fcn.00402760
mov edi, dword [ebp + 0x10]
add esp, 0x1c
mov esi, 0xa000
push 1
pop ebx
test edi, edi
jbe 0x40257f
push dword [ebp + 8]
cmp edi, esi
jbe 0x4024c3
push esi
jmp 0x4024c4
push edi
lea eax, [ebp - 0x14038]
push ebx
push eax
call fcn.00407ec7
and dword [ebp - 8], 0
and dword [ebp - 0x24], 0
lea ecx, [ebp - 0x14038]
add esp, 0x10
mov dword [ebp - 0x38], ecx
sub edi, eax
lea ecx, [ebp - 0xa038]
mov dword [ebp - 0x34], eax
test eax, eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], esi
jbe 0x40253b
cmp dword [ebp - 0x28], 0
jne 0x402520
push dword [ebp + 0xc]
lea eax, [ebp - 0xa038]
push esi
push ebx
push eax
call fcn.00407c35
lea eax, [ebp - 0xa038]
add esp, 0x10
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x38]
push 0
push eax
call fcn.00402870
pop ecx
test eax, eax
pop ecx
jl 0x40255f
cmp eax, ebx
je 0x40253b
cmp dword [ebp - 0x34], 0
ja 0x4024fa
mov eax, esi
sub eax, dword [ebp - 0x28]
je 0x4024b1
push dword [ebp + 0xc]
push ebx
push eax
lea eax, [ebp - 0xa038]
push eax
call fcn.00407c35
add esp, 0x10
jmp 0x4024b1
lea eax, [ebp - 0x38]
push eax
call fcn.00402710
push dword [ebp + 0xc]
call fcn.00407d4d
pop ecx
pop ecx
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor al, al
jmp 0x4025f0
lea eax, [ebp - 0xa038]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x28], 0
jne 0x4025b1
push dword [ebp + 0xc]
lea eax, [ebp - 0xa038]
push esi
push ebx
push eax
call fcn.00407c35
lea eax, [ebp - 0xa038]
add esp, 0x10
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x38]
push 4
push eax
call fcn.00402870
pop ecx
test eax, eax
pop ecx
je 0x40258b
sub esi, dword [ebp - 0x28]
je 0x4025db
push dword [ebp + 0xc]
lea eax, [ebp - 0xa038]
push ebx
push esi
push eax
call fcn.00407c35
add esp, 0x10
lea eax, [ebp - 0x38]
push eax
call fcn.00402710
push dword [ebp + 0xc]
call fcn.00407d4d
pop ecx
mov al, bl
pop ecx
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x402613
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
push esi
lea eax, [ebp - 0x12c]
push dword [ebp + 8]
push eax
call fcn.00407be3
lea eax, [ebp - 0x12c]
push 0x5c
push eax
call fcn.00407690
add esp, 0x10
mov esi, eax
test esi, esi
je 0x402686
lea eax, [ebp]
cmp esi, eax
jae 0x402686
and byte [esi], 0
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x402672
lea eax, [ebp - 0x12c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x402682
mov byte [esi], 0x5c
inc esi
push 0x5c
push esi
call fcn.00407690
pop ecx
pop ecx
jmp 0x40263d
xor eax, eax
jmp 0x402689
push 1
pop eax
pop esi
leave
ret 4
Function at 0x40cc1d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x413918
cmp edx, dword [eax]
je 0x40cc3f
add eax, 8
inc ecx
cmp eax, 0x4139a8
jl 0x40cc30
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x413918]
jne 0x40cd6d
mov eax, dword [0x513f9c]
cmp eax, 1
je 0x40cd47
test eax, eax
jne 0x40cc70
cmp dword [0x4115d4], 1
je 0x40cd47
cmp edx, 0xfc
je 0x40cd6d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40cca7
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00407db0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00408310
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40ccea
lea eax, [ebp - 0x1a4]
push eax
call fcn.00408310
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40f6e8
push edi
call fcn.00408040
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00407db0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00407dc0
lea eax, [ebp - 0xa0]
push 0x40f6c8
push eax
call fcn.00407dc0
push dword [esi + 0x41391c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00407dc0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040d87d
add esp, 0x2c
pop edi
jmp 0x40cd6d
lea eax, [ebp + 8]
lea esi, [esi + 0x41391c]
push 0
push eax
push dword [esi]
call fcn.00408310
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 0x435254
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00435404
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x435352
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x4352f5
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x435338
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x43530c
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x435327
test al, 0x40
je 0x43531e
mov ecx, dword [edi + 0x20]
jmp 0x435325
test al, 0x80
je 0x435338
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x435338
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x4352c4
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x43f1ae
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
push ecx
push edx
rdtsc
mov ecx, 0x17
mul ecx
add eax, 7
mov ecx, 0x64
sub ecx, 1
inc ecx
xor edx, edx
div ecx
add edx, 1
mov dword [ebp - 4], edx
rdtsc
mov ecx, 0x17
mul ecx
add eax, 7
mov ecx, 0x10000
sub ecx, 1
inc ecx
xor edx, edx
div ecx
add edx, 1
mov dword [ebp - 8], edx
pop edx
pop ecx
mov eax, dword [ebp - 4]
mov dword [0x84a204], eax
mov eax, dword [ebp - 8]
mov dword [0x84a208], eax
mov dword [ebp - 0x14], esp
push dword [0x84a1fc]
push 0xf
push 0
push 4
push 0
push 0xffffffff
mov eax, 0x3f
call fcn.004b98c5
cmp dword [ebp - 0x14], esp
je 0x43f26d
push 0x2c2
push 0x4032f2e
push 6
call fcn.004b98bf
add esp, 0xc
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], esp
push 0
push 0
push 0
push 2
push dword [ebp - 0xc]
mov eax, 0x40
call fcn.004b98c5
cmp dword [ebp - 0x14], esp
je 0x43f2b0
push 0x323
push 0x4032f2e
push 6
call fcn.004b98bf
add esp, 0xc
mov dword [ebp - 0x10], eax
call fcn.0043f349
push eax
push dword [0x84a208]
push dword [0x84a204]
call fcn.0043f6d9
mov dword [ebp - 0x18], eax
push 0x80000301
push 0
push 0xc8
push 0x80000301
push 0
push dword [ebp - 0x10]
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x43f2f6
mov eax, 0x5a5cbc
push eax
push 3
mov ebx, 0x4bda00
call fcn.004b98cb
add esp, 0x28
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x43f319
push ebx
call fcn.004b98b9
add esp, 4
mov dword [ebp - 0x14], esp
push dword [ebp - 0x10]
mov eax, 0x41
call fcn.004b98c5
cmp dword [ebp - 0x14], esp
je 0x43f345
push 0x3b9
push 0x4032f2e
push 6
call fcn.004b98bf
add esp, 0xc
mov esp, ebp
pop ebp
ret

Function at 0x440ae0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 1
mov eax, str.SeDebugPrivilege
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 1
push dword [ebp + 8]
call fcn.00440b22
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x440b14
push ebx
call fcn.004b98b9
add esp, 4
mov eax, dword [ebp - 8]
jmp 0x440b1c
mov esp, ebp
pop ebp
ret 8
Function at 0x4703ee
Capabilities:
Access peb ldr_data

Disassembly:
xor eax, eax
pushal
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov edi, ebx
mov esi, dword [ebx + 0x28]
xor eax, eax
xor edx, edx
mov ecx, dword [esi]
test cx, cx
je 0x47043b
mov al, cl
cmp al, 0x61
jb 0x470416
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
shr ecx, 0x10
test cx, cx
je 0x47043b
mov al, cl
cmp al, 0x61
jb 0x47042e
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
lea esi, [esi + 4]
jmp 0x470407
cmp edx, dword [esp + 0x18]
je 0x47044b
mov ebx, dword [ebx]
cmp edi, dword [ebx]
jne 0x470400
xor eax, eax
jmp 0x47044e
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x1c], eax
popal
ret

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

Disassembly:
xor eax, eax
pushal
mov ebx, ecx
mov eax, dword [ebx + 0x3c]
mov eax, dword [ebx + eax + 0x78]
test eax, eax
je 0x47053d
lea esi, [ebx + eax]
test edx, 0xffff0000
je 0x470543
mov ecx, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
lea edi, [ebx + edi]
mov ebp, dword [edi + ecx*4 - 4]
lea ebp, [ebx + ebp]
xor eax, eax
xor edx, edx
mov al, byte [ebp]
test al, al
je 0x4704a2
cmp al, 0x61
jb 0x47049a
sub al, 0x20
ror edx, 0xd
add edx, eax
inc ebp
jmp 0x47048d
cmp edx, dword [esp + 0x14]
je 0x4704b2
dec ecx
jne 0x470482
xor eax, eax
jmp 0x47053d
mov edx, dword [esi + 0x24]
lea edx, [ebx + edx]
mov edx, dword [edx + ecx*2 - 2]
and edx, 0xffff
mov eax, dword [esi + 0x1c]
lea eax, [ebx + eax]
mov eax, dword [eax + edx*4]
lea eax, [ebx + eax]
cmp eax, esi
jbe 0x47053d
mov ecx, dword [ebx + 0x3c]
mov ecx, dword [ebx + ecx + 0x7c]
add esi, ecx
cmp eax, esi
jae 0x47053d
mov ebp, eax
xor eax, eax
xor edx, edx
mov al, byte [ebp]
cmp al, 0x61
jb 0x4704ee
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
inc ebp
cmp al, 0x2e
je 0x4704fd
jmp 0x4704e5
ror edx, 0xd
add edx, 0x44
ror edx, 0x1a
add edx, 0x4c
ror edx, 0x1a
add edx, 0x4c
ror edx, 0xd
mov ecx, edx
call fcn.004703ee
test eax, eax
je 0x47053d
mov ecx, eax
xor eax, eax
xor edx, edx
mov al, byte [ebp]
test al, al
je 0x470538
cmp al, 0x61
jb 0x470530
sub al, 0x20
ror edx, 0xd
add edx, eax
inc ebp
jmp 0x470523
call fcn.00470456
mov dword [esp + 0x1c], eax
popal
ret
mov ecx, dword [esi + 0x10]
cmp edx, ecx
jb 0x47055b
mov eax, dword [esi + 0x14]
dec eax
cmp edx, eax
ja 0x47055b
sub edx, ecx
mov ecx, edx
jmp 0x4704b2
xor eax, eax
jmp 0x47053d

Function at 0x47216a
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [0x84a340]
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x4721a5
add dword [esp], 5
retf

Function at 0x472268
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [0x84a340]
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x4722a3
add dword [esp], 5
retf