joyce8/EMBER2024-capa huggingface dataset:
Function at 0x451330
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x480cc3
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4a14c0]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x4a14c0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
mov ebx, dword [ebp + 8]
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
mov word [esp + 0x18], ax
mov dword [esp + 0x78], eax
lea ecx, [esp + 0x34]
push 0x11
push 0x495a3c
mov dword [esp + 0x38], 0x80000001
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], eax
mov word [esp + 0x3c], ax
call fcn.00402890
xor eax, eax
mov byte [esp + 0x78], 1
push eax
push 0x48e8c8
lea ecx, [esp + 0x58]
mov dword [esp + 0x54], 0x80000000
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], edi
mov word [esp + 0x58], ax
call fcn.00402890
mov byte [esp + 0x78], 2
xor esi, esi
lea esp, [esp]
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x24]
call fcn.004024c0
push 0xffffffffffffffff
push 0
push ebx
lea ecx, [esp + 0x24]
call fcn.0040b790
push dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x1c]
call fcn.004510e0
add esp, 4
test eax, eax
jne 0x451430
inc esi
cmp esi, 2
jb 0x4513f0
jmp 0x451435
mov edi, 1
push 0x451490
push 2
push 0x1c
lea eax, [esp + 0x3c]
mov byte [esp + 0x84], 0
push eax
call fcn.0045ffc8
cmp dword [esp + 0x2c], 8
jb 0x451463
push dword [esp + 0x18]
call fcn.0045c481
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.0045c486
mov esp, ebp
pop ebp
ret
Function at 0x4010c0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x108
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x11c]
mov dword [esp + 0x14], 0xffffffff
mov esi, str.SoftwareRtWLan
mov eax, edi
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x401108
test cl, cl
je 0x401104
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x401108
add eax, 2
add esi, 2
test cl, cl
jne 0x4010e0
xor eax, eax
jmp 0x40110d
sbb eax, eax
sbb eax, 0xffffffff
mov esi, dword [esp + 0x124]
mov ebx, dword [esp + 0x120]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x40118d
mov eax, dword [0x403364]
lea ecx, [esp + 0x18]
push eax
push edi
push str._s_s
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea edx, [esp + 0x10]
lea eax, [esp + 0x18]
push edx
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x40117a
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x14]
push esi
push 1
push eax
push ebx
push ecx
call ebp
mov edi, dword [esp + 0x11c]
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4011c2
lea eax, [esp + 0x10]
push eax
push edi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x14]
push esi
push 1
push eax
push ebx
push ecx
call ebp
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret
Function at 0x4013e0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
lea eax, [esp + 8]
push eax
push 0
push 0
push 0x4011b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, eax
push 0x64
push esi
call edi
cmp eax, 0x102
je 0x401432
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 7
mov esi, str.Unable_to_Initialize_Display_
mov edi, 0x409910
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop edi
mov eax, 1
pop esi
pop ecx
ret
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [0x409908]
push 0
push 0
push 0x10
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0xffffffffffffffff
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
pop ecx
ret

Function at 0x401470
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x10]
push 0x2710
mov dword [0x409900], eax
mov dword [0x409904], ecx
call fcn.004013e0
add esp, 4
push 0
call fcn.0040165e
int3

Function at 0x40159b
Capabilities:
Terminate process

Disassembly:
push 8
push 0x407288
call fcn.00401a6c
push 8
call fcn.00401d14
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x409a54], esi
jne 0x4015cf
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x409a50], esi
mov al, byte [ebp + 0x10]
mov byte [0x409a4c], al
cmp dword [ebp + 0xc], edi
jne 0x401619
cmp dword [0x40a22c], edi
je 0x401609
mov eax, dword [0x40a228]
sub eax, 4
mov dword [0x40a228], eax
cmp eax, dword [0x40a22c]
jb 0x401609
mov eax, dword [eax]
cmp eax, edi
je 0x4015ea
call eax
jmp 0x4015ea
push 0x409020
mov eax, 0x40901c
call fcn.00401519
pop ecx
push 0x409028
mov eax, 0x409024
call fcn.00401519
pop ecx
or dword [ebp - 4], 0xffffffff
call 0x40164a
cmp dword [ebp + 0x10], edi
jne 0x401658
mov dword [0x409a54], esi
push dword [ebp + 8]
call fcn.004014d7
xor edi, edi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], edi
je 0x401657
push 8
call fcn.00401c5f
pop ecx
ret
call fcn.00401aa7
ret
Function at 0x4016e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x60
push 0x407298
call fcn.00401a6c
mov edi, 0x94
mov eax, edi
call fcn.00402b60
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x409a14], ecx
mov eax, dword [esi + 4]
mov dword [0x409a20], eax
mov edx, dword [esi + 8]
mov dword [0x409a24], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x409a18], esi
cmp ecx, 2
je 0x401747
or esi, 0x8000
mov dword [0x409a18], esi
shl eax, 8
add eax, edx
mov dword [0x409a1c], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x401782
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401782
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x40179a
cmp eax, 0x20b
je 0x401787
mov dword [ebp - 0x1c], esi
jmp 0x4017ae
cmp dword [ecx + 0x84], 0xe
jbe 0x401782
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x4017a8
cmp dword [ecx + 0x74], 0xe
jbe 0x401782
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.00402b0c
pop ecx
test eax, eax
jne 0x4017c2
push 0x1c
call fcn.004016c3
pop ecx
call fcn.00402a03
test eax, eax
jne 0x4017d3
push 0x10
call fcn.004016c3
pop ecx
call fcn.00401e37
mov dword [ebp - 4], esi
call fcn.00402627
test eax, eax
jge 0x4017ec
push 0x1b
call fcn.0040169e
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x40a220], eax
call fcn.00402505
mov dword [0x409a58], eax
call fcn.00402463
test eax, eax
jge 0x401812
push 8
call fcn.0040169e
pop ecx
call fcn.00402230
test eax, eax
jge 0x401823
push 9
call fcn.0040169e
pop ecx
push 1
call fcn.00401531
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x401839
push eax
call fcn.0040169e
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.004021d3
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x40185a
movzx eax, word [ebp - 0x40]
jmp 0x40185d
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.00401470
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x40187b
push edi
call fcn.0040165e
call fcn.00401680
jmp 0x4018ad
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.00401aa7
ret
Function at 0x401ebf
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x409030]
mov ecx, dword [ebp + 0x94]
push ebx
push esi
mov dword [ebp + 0x88], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x409160]
je 0x401ef4
inc eax
cmp eax, 0x13
jb 0x401ee5
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x409160]
jne 0x40201a
mov eax, dword [0x409a60]
cmp eax, 1
je 0x401ff2
cmp eax, edx
jne 0x401f24
cmp dword [0x409038], 1
je 0x401ff2
cmp ecx, 0xfc
je 0x40201a
push 0x104
lea eax, [ebp - 0x80]
push eax
push edx
mov byte [ebp + 0x84], dl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x401f5a
lea eax, [ebp - 0x80]
push str._program_name_unknown_
push eax
call fcn.00402ca0
pop ecx
pop ecx
lea edi, [ebp - 0x80]
mov eax, edi
push eax
call fcn.00402ed0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x401f8e
mov eax, edi
push eax
call fcn.00402ed0
mov edi, eax
lea eax, [ebp - 0x80]
sub eax, 0x3b
push 3
add edi, eax
push 0x4072dc
push edi
call fcn.00402da0
add esp, 0x10
push edi
call fcn.00402ed0
push dword [esi + 0x409164]
mov ebx, eax
call fcn.00402ed0
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.00402b60
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.00402ca0
push edi
push ebx
call fcn.00402cb0
push 0x4072d8
push ebx
call fcn.00402cb0
push dword [esi + 0x409164]
push ebx
call fcn.00402cb0
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.00402b9d
add esp, 0x2c
jmp 0x40201a
push edx
lea eax, [ebp + 0x94]
push eax
lea esi, [esi + 0x409164]
push dword [esi]
call fcn.00402ed0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea esp, [ebp - 0x8c]
mov ecx, dword [ebp + 0x88]
call fcn.004014c9
pop edi
pop esi
pop ebx
add ebp, 0x8c
leave
ret
Function at 0x402b9d
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x409cdc], ebx
push esi
push edi
jne 0x402c1d
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x402c58
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
mov dword [0x409cdc], eax
je 0x402c58
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x409ce0], eax
call esi
cmp dword [0x409a14], 2
mov dword [0x409ce4], eax
jne 0x402c1d
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x409cec], eax
je 0x402c1d
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x409ce8], eax
mov eax, dword [0x409ce8]
test eax, eax
je 0x402c62
call eax
test eax, eax
je 0x402c49
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x409cec]
test eax, eax
je 0x402c49
test byte [ebp - 8], 1
jne 0x402c62
cmp dword [0x409a20], 4
jb 0x402c5c
or byte [ebp + 0x12], 0x20
jmp 0x402c81
xor eax, eax
jmp 0x402c91
or byte [ebp + 0x12], 4
jmp 0x402c81
mov eax, dword [0x409ce0]
test eax, eax
je 0x402c81
call eax
mov ebx, eax
test ebx, ebx
je 0x402c81
mov eax, dword [0x409ce4]
test eax, eax
je 0x402c81
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x409cdc]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40304a
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x403078
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x40307f
cmp ebx, dword [eax + 4]
jae 0x40307f
xor eax, eax
jmp 0x40326f
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x403090
xor eax, eax
inc eax
jmp 0x40326e
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x4030a6
cmp ecx, edx
jae 0x4031eb
cmp dword [eax + 4], 0
je 0x4030af
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x403097
cmp dword [ebp + 8], 0
je 0x4030d1
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x4031eb
cmp eax, esi
jae 0x4031eb
mov eax, dword [0x409cf0]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x4030f6
cmp dword [esi*4 + 0x409cf8], edi
je 0x4031ef
inc esi
cmp esi, eax
jl 0x4030e4
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x40326b
cmp dword [ebp - 8], 0x1000000
jne 0x40326b
test byte [ebp - 0xc], 0xcc
je 0x403174
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x40326b
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x40326b
cmp word [eax + 0x18], 0x10b
jne 0x40326b
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x40326b
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x403174
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x403174
test byte [ecx + 0x27], 0x80
jne 0x4031eb
push 1
push 0x409d38
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x403088
mov ecx, dword [0x409cf0]
test ecx, ecx
mov edx, ecx
jle 0x4031a8
lea eax, [ecx*4 + 0x409cf4]
cmp dword [eax], edi
je 0x4031a8
dec edx
sub eax, 4
test edx, edx
jg 0x40319c
test edx, edx
jne 0x4031d9
push 0xf
pop ebx
cmp ecx, ebx
jg 0x4031b5
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x4031cd
lea eax, [edx*4 + 0x409cf8]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x4031bb
cmp ecx, 0x10
jge 0x4031d9
inc ecx
mov dword [0x409cf0], ecx
push 0
push 0x409d38
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x403088
xor eax, eax
jmp 0x40326e
test esi, esi
jle 0x403088
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x409d38
call ebx
test eax, eax
jne 0x403088
cmp dword [esi*4 + 0x409cf8], edi
je 0x403245
mov eax, dword [0x409cf0]
lea esi, [eax - 1]
test esi, esi
jl 0x403233
cmp dword [esi*4 + 0x409cf8], edi
je 0x40322f
dec esi
jns 0x403223
test esi, esi
jge 0x403243
cmp eax, 0x10
jge 0x40323e
inc eax
mov dword [0x409cf0], eax
lea esi, [eax - 1]
jmp 0x403245
je 0x40325d
xor ecx, ecx
test esi, esi
jl 0x40325d
lea eax, [ecx*4 + 0x409cf8]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x40324b
push 0
push 0x409d38
call ebx
jmp 0x403088
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x405ca9
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.00402b60
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x405d44
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x409a14]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x405d44
cmp eax, 1
je 0x405d65
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x405d44
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x405d11
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x405d40
xor eax, eax
inc eax
jmp 0x405d84
cmp edi, eax
jae 0x405d48
xor eax, eax
jmp 0x405d84
cmp eax, esi
jae 0x405d4f
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x409a14]
jmp 0x405d68
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x46e000
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 0xe
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.00474b40
add esp, 0xc
jae 0x46e01b
cmp ecx, 0x5fac
lea esi, [esi]
xor esp, 0
ja 0x46e040
pushf
jns 0x46e02c
xor esp, 0
rol edi, 0x15
ror edi, 0x15
test dword [esp + 4], ebx
popf
mov edx, edx
jbe 0x46e040
xor eax, 0x65b073b1
mov cl, 0x73
mov al, 0x65
mov byte [ebp - 3], 0
mov byte [ebp - 0x10], 0x50
mov byte [ebp - 0xb], cl
mov byte [ebp - 6], al
mov byte [ebp - 0xf], 0x72
mov byte [ebp - 0xa], cl
mov byte [ebp - 5], 0x78
mov byte [ebp - 0xe], 0x6f
mov byte [ebp - 9], 0x33
mov byte [ebp - 4], 0x74
mov byte [ebp - 0xd], 0x63
mov byte [ebp - 8], 0x32
mov byte [ebp - 0xc], al
mov byte [ebp - 7], 0x4e
test ebx, 0x64ea
jl 0x46e080
js 0x46e082
jae 0x46e08f
jo 0x46e086
mov edi, edi
xchg esp, esp
jb 0x46e08f
sub eax, 0x8ce8494e
wait
add byte [eax], al
call fcn.00477c20
mov edx, eax
test edx, edx
jne 0x46e0a3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push ecx
add ecx, 0x1a2f
ror ecx, 0x19
pop ecx
jl 0x46e0b0
ror esp, 0
ja 0x46e0cb
pushf
rol eax, 0
dec esi
inc esi
jns 0x46e0be
jnp 0x46e0c0
popf
jno 0x46e0c4
mov esi, esi
jb 0x46e0c8
jbe 0x46e0cb
mov eax, 0x51f04d8d
lea ecx, [ebp - 0x10]
push ecx
push edx
call fcn.00481320
push 0xe
lea edx, [ebp - 0x10]
push 0
push edx
mov esi, eax
call fcn.00474b40
add esp, 0xc
test esi, esi
jne 0x46e0f6
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
jp 0x46e0f8
jg 0x46e105
jno 0x46e0fc
mov ebx, ebx
jno 0x46e100
jmp 0x46e102
jle 0x46e105
call 0x20fcc95f
add dword [eax], eax
push esi
call fcn.004801c0
add esp, 4
lea ecx, [ecx + 0x15a6]
lea ecx, [ecx - 0x15a6]
xchg ebx, ebx
je 0x46e11e
jo 0x46e130
lea edi, [edi + 0x59e9]
lea edi, [edi - 0x59e9]
jno 0x46e130
mov edx, 0xc458be1
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
push ecx
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x46f2c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push 0xf
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.00474b40
add esp, 0xc
lea edx, [edx + 0x1452]
lea edx, [edx - 0x1452]
jb 0x46f2f3
pushf
mov edx, edx
popf
lea esp, [esp]
jae 0x46f2f3
xor eax, 0x72b173b0
mov al, 0x73
mov cl, 0x72
mov byte [ebp - 6], 0
mov byte [ebp - 0x14], 0x50
mov byte [ebp - 0xf], al
mov byte [ebp - 0xa], 0x69
mov byte [ebp - 0x13], cl
mov byte [ebp - 0xe], al
mov byte [ebp - 9], cl
mov byte [ebp - 0x12], 0x6f
mov byte [ebp - 0xd], 0x33
mov byte [ebp - 8], al
mov byte [ebp - 0x11], 0x63
mov byte [ebp - 0xc], 0x32
mov byte [ebp - 0x10], 0x65
mov byte [ebp - 0xb], 0x46
mov byte [ebp - 7], 0x74
call fcn.00477c20
test eax, eax
jne 0x46f340
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.00481320
push 0xf
lea edx, [ebp - 0x14]
mov esi, eax
push 0
push edx
mov dword [ebp - 4], esi
call fcn.00474b40
add esp, 0xc
test esi, esi
jne 0x46f36e
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.0046f373
Function at 0x478c20
Capabilities:
Print debug messages

Disassembly:
add esp, 4
push eax
pop eax
or esi, 0
test eax, 0x1d7f
popf
lea ebx, [ebx + 0x29c9]
lea ebx, [ebx - 0x29c9]
jl 0x478b7c
lcall 0x943a, 0x8108558b
add byte [eax], al
sal byte [ebp + 0x78], 0x75
add cl, al
in al, 0
mov edx, dword [ebp + 8]
cmp dword [edx], 0xc0000094
jne 0x478bff
jne 0x478b89
shl esp, 0
jmp 0x478b8e
xor edi, edx
xor edi, edx
ja 0x478ba3
pushf
xchg esp, esp
popf
mov ecx, ecx
jae 0x478b9e
jp 0x478ba0
jbe 0x478ba3
add eax, 0xc710458b
sub byte [eax + eax + 0x40000], 0
add byte [ebx + 0x46ba5c15], cl
add byte [edx - 0x77], cl
adc eax, 0x46ba5c
mov eax, dword [ebp + 0x10]
mov dword [eax + 0xac], 4
mov edx, dword [0x46ba5c]
dec edx
mov dword [0x46ba5c], edx
je 0x478bbf
std
cld
jne 0x478bc3
jns 0x478bc5
jnp 0x478bd3
pushf
test dword [esp], eax
popf
jnp 0x478bd0
jp 0x478bd3
mov ebx, 0x46bbb0a1
add byte [ebx], dh
sar byte [ecx + 0x3e8], cl
mov eax, dword [0x46bbb0]
xor edx, edx
mov ecx, 0x3e8
div ecx
sub dword [0x46bbb4], edx
sub esp, 0
jae 0x478bf8
jmp 0x478bee
lea eax, [eax]
jae 0x478bf2
mov esp, esp
jb 0x478bf8
sub eax, 0x6425c1bc
mov edx, 0x85040046
or al, 0x24
shl dword [0x46ba64], 4
test dword [esp], ecx
add ebx, dword [esp]
sub ebx, dword [esp]
and esp, 0xffffffff
js 0x478c15
jge 0x478c0f
xchg esp, esp
jns 0x478c15
mov edi, 0x335e5f4c
rcr byte [ebx + 0x5d], 0xc3
nop
nop
nop
nop
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push ebp
push edi
push 0x46a734
call ebx
mov ebp, dword [0x46c078]
mov ecx, dword [0x45a004]
mov eax, ebp
sub eax, ecx
mov dword [0x46bc90], eax
je 0x478d3b
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x14]
lea edi, [eax + ebp]
mov eax, dword [eax + ebp + 4]
test eax, eax
je 0x478d3b
push esi
lea ecx, [eax - 8]
lea esi, [edi + 8]
shr ecx, 1
mov dword [0x46c0a0], ecx
mov edx, dword [edi]
add edx, ebp
mov eax, ecx
dec ecx
mov dword [0x46becc], edx
test eax, eax
mov dword [0x46c0a0], ecx
jle 0x478d2c
jmp 0x478c91
mov edx, dword [0x46becc]
mov ax, word [esi]
mov ebp, eax
and ebp, 0xf000
cmp ebp, 0x3000
jne 0x478d12
mov ecx, dword [0x465a08]
test ecx, ecx
je 0x478cc4
lea ecx, [esp + 0x10]
and eax, 0xfff
push ecx
push 4
add eax, edx
push 4
push eax
call fcn.00487520
mov dx, word [esi]
mov eax, dword [0x46becc]
mov ecx, dword [0x46bc90]
and edx, 0xfff
add eax, edx
mov edx, dword [eax]
add edx, ecx
mov dword [eax], edx
mov eax, dword [0x465a08]
test eax, eax
je 0x478d0c
mov cx, word [esi]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x10]
and ecx, 0xfff
push edx
mov edx, dword [0x46becc]
push eax
add ecx, edx
push 4
push ecx
call fcn.00487520
mov ecx, dword [0x46c0a0]
add esi, 2
mov edx, ecx
dec ecx
test edx, edx
mov dword [0x46c0a0], ecx
jg 0x478c8b
mov ebp, dword [0x46c078]
add edi, dword [edi + 4]
mov eax, dword [edi + 4]
test eax, eax
jne 0x478c60
pop esi
push 0x46a724
call ebx
pop edi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 4