joyce8/EMBER2024-capa huggingface dataset:
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 0x40705f
Capabilities:
Packed with generic packer

Disassembly:
pushal
push 0x14e7
push section.datetime
push 0x4074e3
call fcn.004074a8
cld
mov esi, section.datetime
mov ecx, 4
sub ecx, esi
cmp esi, 0x404dbe
ja 0x4070a7
lodsb al, byte [esi]
add al, 0x18
sub al, 2
jb 0x40709d
cmp al, 0x25
jne 0x407081
mov al, byte [esi]
and al, 0xf0
cmp al, 0x80
jne 0x407081
inc esi
lea edi, [esi + ecx]
sub dword [esi], edi
add esi, 4
jmp 0x407081
mov edx, 0x400000
lea esi, [edx + 0x4994]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x40710a
add eax, edx
mov edi, dword [esi + 0x10]
mov ebx, dword [esi]
test ebx, ebx
jne 0x4070c6
mov ebx, edi
add ebx, edx
add edi, edx
push edx
push edi
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryA]
pop edi
pop edx
test eax, eax
je 0x407108
mov ecx, eax
mov eax, dword [ebx]
test eax, eax
je 0x407103
btr eax, 0x1f
jb 0x4070eb
lea eax, [eax + edx + 2]
push ecx
push edx
push edi
push eax
push ecx
call dword [sym.imp.kernel32.dll_GetProcAddress]
pop edi
pop edx
pop ecx
test eax, eax
je 0x407108
stosd dword es:[edi], eax
add ebx, 4
jmp 0x4070db
add esi, 0x14
jmp 0x4070b2
popal
ret
popal
jmp 0x4012ac

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x240b3415
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e04e
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x40ab0a07
nop
nop
nop
test eax, eax
nop
je 0x42e084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x403870
Capabilities:
Read file on windows

Disassembly:
cmp dword [esi + 8], 0
push ebp
mov ebp, dword [esp + 8]
push edi
je 0x4038d9
xor edi, edi
test ebx, ebx
jbe 0x40389e
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
je 0x4038ac
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 4]
mov al, byte [ecx + edx]
mov byte [edi + ebp], al
inc dword [esi + 0xc]
inc edi
cmp edi, ebx
jb 0x403882
add dword [esi + 0x10], edi
mov eax, edi
pop edi
adc dword [esi + 0x14], 0
pop ebp
ret 4
mov edx, dword [esi + 4]
mov eax, dword [esi]
push 0
lea ecx, [esp + 0x10]
push ecx
push 0x10000
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x40389e
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
jmp 0x40388a
push esi
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.0040f740
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
jmp 0x40387c
Function at 0x40ec70
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
sub esp, 0x438
push ebx
push esi
push edi
mov edi, eax
lea eax, [esp + 0x20]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryW]
push edi
call fcn.00401a90
call dword [sym.imp.KERNEL32.DLL_IsDebuggerPresent]
test eax, eax
jne 0x43361f
mov eax, dword [0x4a571c]
test eax, eax
je 0x433638
mov byte [esp + 0xf], 0
mov esi, 0x4a68a8
cmp eax, 1
je 0x43364c
push 0x4a571c
lea ecx, [esp + 0x13]
mov eax, 0x4a5734
call fcn.00410760
test al, al
je 0x43366d
mov dl, byte [0x4a68a8]
mov bl, byte [0x4a68a9]
push 0x4a5718
lea eax, [esp + 0x234]
push eax
push 0x104
push 0x4a5734
mov byte [0x4a5720], dl
call dword [sym.imp.KERNEL32.DLL_GetFullPathNameW]
mov ecx, dword [0x4a571c]
push ecx
push 0x4a5734
call fcn.0040e9f0
test eax, eax
jne 0x433681
cmp bl, 1
je 0x4336a5
call fcn.004115d0
call fcn.004117c0
cmp byte [0x4a5720], 0
jne 0x40ed48
mov esi, 0x4a5ee0
call fcn.0040f420
push 1
mov ecx, 0x4a5940
call fcn.00404790
cmp byte [0x4a5720], 0
jne 0x40ed67
mov ecx, 0x4a5ee0
call fcn.00401090
mov ebx, 0x4a68a8
call fcn.0040ffc0
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
pop edi
pop esi
pop ebx
add esp, 0x438
ret
push 0x10
push 0x4856d6
push str.This_is_a_compiled_AutoIt_script._AV_researchers_please_email_avsupport_autoitscript.com_for_support.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x40ed7c
lea ecx, [esp + 0x20]
mov dword [0x494cbc], 0xffffffff
push ecx
jmp 0x40ed76
mov edx, dword [0x4a5724]
push 0xffffffffffffffff
push edx
push 1
xor bl, bl
call fcn.004039c0
mov al, byte [0x494cb0]
mov byte [0x4a68ab], al
jmp 0x40ed09
lea ecx, [esp + 0x20]
mov dword [0x494cbc], 1
push ecx
jmp 0x40ed76
mov ebx, 0x4a68a8
call fcn.0040ffc0
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
mov dword [0x494cbc], 1
jmp 0x40ed7c
call fcn.00437bbb
test al, al
jne 0x40ed2b
push 0x104
lea eax, [esp + 0x234]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
cmp byte [esp + 0xf], 0
je 0x433726
mov edi, 0x485740
lea esi, [esp + 0x10]
call fcn.00401640
mov edi, 0x4a5734
mov eax, esi
call fcn.004013b0
mov edi, 0x485740
mov eax, esi
call fcn.004013b0
mov edx, dword [esp + 0x10]
push 1
lea ecx, [esp + 0x24]
push ecx
push edx
lea eax, [esp + 0x23c]
push eax
push 0x485744
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, esi
call fcn.00402130
jmp 0x40ed67
push 1
lea ecx, [esp + 0x24]
push ecx
push edi
lea edx, [esp + 0x23c]
push edx
push 0x485744
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x40ed67
Function at 0x4109b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1ac
push esi
push 0x4858e8
or eax, 0xffffffff
call fcn.00410940
mov esi, eax
add esp, 4
lea eax, [esp + 0xa8]
push esi
push eax
call fcn.00414e90
push esi
call fcn.0041293d
add esp, 0xc
lea esi, [esp + 0x18]
call fcn.00410a80
lea eax, [esp + 0xa8]
mov ecx, esi
call fcn.00410ab0
mov dword [edi + 8], 0
mov eax, dword [edi + 8]
xor ecx, ecx
lea esp, [esp]
movzx edx, byte [esp + ecx + 0x18]
add eax, edx
movzx edx, byte [esp + ecx + 0x19]
add eax, edx
movzx edx, byte [esp + ecx + 0x1a]
add eax, edx
movzx edx, byte [esp + ecx + 0x1b]
add ecx, 4
add eax, edx
cmp ecx, 0x10
jl 0x410a10
mov dword [edi + 8], eax
mov eax, dword [ebp + 8]
push 0x488434
push eax
call fcn.0041643f
add esp, 8
mov dword [edi], eax
test eax, eax
je 0x42c7aa
push edi
call fcn.00410800
test eax, eax
je 0x42c7b4
mov ecx, dword [edi]
push ecx
mov esi, eax
call fcn.004164cd
add esp, 4
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, 1
jmp 0x410a6f
mov edx, dword [edi]
push edx
push 0x10
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004167e9
add esp, 0x10
push 0x99f2
push 0x10
lea ecx, [esp + 0x10]
push ecx
call fcn.0044d0de
xor eax, eax
mov dword [edi + 8], 0
xor ecx, ecx
movzx edx, byte [esp + eax + 8]
inc eax
imul ecx, edx
cmp eax, 0x10
jl 0x42c7e4
mov eax, dword [edi]
push eax
mov dword [edi + 8], ecx
call fcn.004169b5
add esp, 4
mov dword [edi + 4], eax
xor eax, eax
jmp 0x410a6f

Function at 0x410a80
Capabilities:
Hash data with md5

Disassembly:
push 8
lea eax, [esi + 0x44]
push 0
push eax
call fcn.00414700
add esp, 0xc
mov dword [esi + 0x34], 0x67452301
mov dword [esi + 0x38], 0xefcdab89
mov dword [esi + 0x3c], 0x98badcfe
mov dword [esi + 0x40], 0x10325476
ret

Function at 0x4117c0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x494ce8]
push esi
push 0
mov esi, dword [sym.imp.USER32.dll_CreateWindowExW]
push eax
push 0
push 0
push 0x64
push 0x12c
push SysReAllocString
push SysReAllocString
push 0xcf0000
push str.AutoIt_v3
push str.AutoIt_v3
push 0
call esi
mov ecx, dword [0x494ce8]
push 0
push ecx
push 1
push eax
push 0
push 0
push 0
push 0
push 0x50b008c4
push 0
push str.edit
push 0
mov dword [0x494ce0], eax
call esi
mov edx, dword [0x494ce0]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edx
mov dword [0x494cdc], eax
call esi
mov eax, dword [0x494ce0]
push 0
push eax
call esi
pop esi
ret
Function at 0x424608
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00417e60
and dword [ebp - 4], 0
cmp dword [0x49491c], 0
mov ebx, eax
jne 0x4246b9
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x42476a
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x484de0
push edi
call esi
test eax, eax
je 0x42476a
push eax
call fcn.00417dee
mov dword [esp], 0x484dd0
push edi
mov dword [0x49491c], eax
call esi
push eax
call fcn.00417dee
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x494920], eax
call esi
push eax
call fcn.00417dee
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x494924], eax
call esi
push eax
call fcn.00417dee
pop ecx
mov dword [0x49492c], eax
test eax, eax
je 0x4246b9
push 0x484d88
push edi
call esi
push eax
call fcn.00417dee
pop ecx
mov dword [0x494928], eax
mov eax, dword [0x494928]
cmp eax, ebx
je 0x424711
cmp dword [0x49492c], ebx
je 0x424711
push eax
call fcn.00417e69
push dword [0x49492c]
mov esi, eax
call fcn.00417e69
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x424711
test edi, edi
je 0x424711
call esi
test eax, eax
je 0x424708
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x424708
test byte [ebp - 0xc], 1
jne 0x424711
or dword [ebp + 0x10], 0x200000
jmp 0x42474a
mov eax, dword [0x494920]
cmp eax, ebx
je 0x42474a
push eax
call fcn.00417e69
pop ecx
test eax, eax
je 0x42474a
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x42474a
mov eax, dword [0x494924]
cmp eax, ebx
je 0x42474a
push eax
call fcn.00417e69
pop ecx
test eax, eax
je 0x42474a
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x49491c]
call fcn.00417e69
pop ecx
test eax, eax
je 0x42476a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x42476c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x433f10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.00433c1c
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x433f45
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.00433c57
outsd dx, dword [esi]
xor ebx, dword [edx]
cmp byte [ebp - 0x17af3fbb], cl
invalid
Function at 0x434020
Capabilities:
Contain obfuscated stackstrings

Disassembly:
pop ebp
xchg edi, eax
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.00433c67
push eax
push esi
push dword [ebp + 8]
call fcn.00433c1c
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00433c67
push eax
push esi
push dword [ebp + 8]
call fcn.00433c1c
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00433c57
cmovnp ebp, dword [eax]
inc esp
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.00433c57
insb byte es:[edi], dx
invalid
Function at 0x434324
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x43432e
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
push dword [ebx]
leave
mov edi, 0x60000000
jmp 0x43434c
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x4343aa
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x434391
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x43439a
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x4343a4
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x434386
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x434310
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x4343f7
dec eax
je 0x4343ee
sub eax, 3
je 0x4343e5
mov dword [ebp - 4], 0x40
jmp 0x434414
mov dword [ebp - 4], 4
jmp 0x4343fa
mov dword [ebp - 4], 0x20
jmp 0x4343fa
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x434446
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
invalid
Function at 0x43502e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [edx + 5], ch
mov eax, dword [ebp - 0x378]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax - 0x1d]
push eax
lea eax, [ebp - 0x394]
push eax
call fcn.00433bc8
add esp, 0xc
and dword [ebp - 0x700], 0
jmp 0x435064
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
cmp dword [ebp - 0x700], 5
jge 0x4350ad
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
movsx ecx, byte [ebp - 0x24]
xor eax, ecx
dec dword [edi]
mov esi, 0xc133dc4d
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
not eax
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
jmp 0x435057
call fcn.00433c57
ja 0x43507a
in al, dx
and byte [ebp - 0x72c], 0
inc dword [eax]

Function at 0x43594d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x7ac], 0
and byte [ebp - 0x7ab], 0
mov byte [ebp - 0x7aa], 0xed
and byte [ebp - 0x7a9], 0
mov byte [ebp - 0x7a8], 0x4e
mov byte [ebp - 0x7a7], 0x55
mov byte [ebp - 0x7a6], 0x56
mov byte [ebp - 0x7a5], 0x7e
mov byte [ebp - 0x7a4], 0x21
mov byte [ebp - 0x7a3], 0x20
mov byte [ebp - 0x7a2], 0x3c
mov byte [ebp - 0x7a1], 0x76
mov byte [ebp - 0x7a0], 0x7e
mov byte [ebp - 0x79f], 0x7e
mov byte [ebp - 0x79e], 0x12
push 0xb
lea eax, [ebp - 0x7ac]
push eax
call fcn.00433c67
pop ecx
push eax
mov eax, dword [ebp - 0x338]
lea eax, [ebp + eax - 0x230]
push eax
call fcn.00433bc8
add esp, 0xc
jmp 0x435bcf

Function at 0x435cdd
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 1
pop eax
test eax, eax
je 0x435cfd
lea eax, [ebp - 0x230]
mov dword [ebp - 0x3a0], eax
jne 0x435cf3
call fcn.00433c1c
add esp, 0xc
invalid
invalid
test ah, bh

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

Disassembly:
inc eax
or al, 0x8b
jo 0x435e2e
lodsd eax, dword [esi]
cmp byte [eax + 0x1c], 0x18
je 0x435e1b
xchg esi, eax
lodsd eax, dword [esi]
mov eax, dword [eax + 8]
push eax
call fcn.00433c57
loop 0x435e5f
invalid
sub al, 0x38
push esp
pop es
js 0x435e35
xlatb
sbb byte [ebx - 0x20fcdfa6], cl
invalid

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

Disassembly:
cmp dword [eax + edi], ebp
mov edi, eax
mov eax, dword [edi + 0x3c]
mov edx, dword [edi + eax + 0x78]
add edx, edi
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x20]
add ebx, edi
call fcn.00433c57
or al, 0x85
push dword [ebp + 7]
pop edi
xor eax, eax
pop esi
ret 8
Function at 0x4366fe
Capabilities:
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set current directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x254
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
lea eax, [esp + 0x10]
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp + 8]
push eax
push ecx
xor bl, bl
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x436791
lea ecx, [ecx]
lea edx, [esp + 0x3c]
push 0x487f84
push edx
call fcn.004148f4
add esp, 8
test eax, eax
je 0x436781
lea eax, [esp + 0x3c]
push 0x48adf8
push eax
call fcn.004148f4
add esp, 8
test eax, eax
je 0x436781
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
or eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
not edx
and eax, edx
push eax
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
test eax, eax
je 0x4367ab
mov bl, 1
lea ecx, [esp + 0x10]
push ecx
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x43672e
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_FindClose]
call esi
cmp byte [ebp + 0x14], 0
jne 0x4367bd
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea edx, [esp + 0x10]
push edx
push 0x48adf0
call edi
mov edi, eax
cmp edi, 0xffffffff
je 0x436844
mov ebx, dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
test byte [esp + 0x10], 0x10
je 0x436834
lea eax, [esp + 0x3c]
push 0x487f84
push eax
call fcn.004148f4
add esp, 8
test eax, eax
je 0x436834
lea ecx, [esp + 0x3c]
push 0x48adf8
push ecx
call fcn.004148f4
add esp, 8
test eax, eax
je 0x436834
lea edx, [esp + 0x3c]
push edx
call ebx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push eax
call fcn.004366fe
test al, al
je 0x436852
push 0x48adf8
call ebx
lea ecx, [esp + 0x10]
push ecx
push edi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x4367d6
push edi
call esi
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push edi
call esi
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x436a9d
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
lea eax, [esp]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
mov ecx, dword [esp + 0x210]
push ecx
push 0
push 0x48845c
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.DLL_GetTempFileNameW]
add esp, 0x20c
ret 4

Function at 0x436c46
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x464]
test eax, eax
je 0x436c5c
cmp eax, 0x10000
jne 0x436c80
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x45c]
push eax
push 0x10000
push 1
push ecx
call fcn.004167e9
add esp, 0x10
mov dword [esi + 0x464], 0
mov ecx, dword [esi + 0x464]
mov edx, dword [esi + 0x45c]
mov al, byte [ecx + edx]
inc ecx
mov dword [esi + 0x464], ecx
pop esi
ret 4
Function at 0x437de2
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub esp, 0x28
push esi
mov esi, dword [esp + 0x30]
push edi
test esi, esi
jl 0x437e92
jne 0x437e03
push 0
call dword [sym.imp.KERNEL32.DLL_Sleep]
pop edi
pop esi
add esp, 0x28
ret
cmp esi, 0xf
jae 0x437e8b
mov edi, dword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
lea eax, [esp + 0x18]
push eax
call edi
test eax, eax
je 0x437e8b
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.KERNEL32.DLL_QueryPerformanceFrequency]
push 0
call dword [sym.imp.KERNEL32.DLL_Sleep]
lea edx, [esp + 0x10]
push edx
call edi
fnstcw word [esp + 0x34]
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
sbb ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
fild qword [esp + 0x20]
movzx eax, word [esp + 0x34]
fild qword [esp + 0x28]
or eax, 0xc00
mov dword [esp + 8], eax
fdivp st(1)
fmul qword [0x48d280]
fldcw word [esp + 8]
fistp qword [esp + 8]
mov edx, dword [esp + 8]
fldcw word [esp + 0x34]
cmp edx, esi
jb 0x437e28
pop edi
pop esi
add esp, 0x28
ret
push esi
call dword [sym.imp.KERNEL32.DLL_Sleep]
pop edi
pop esi
add esp, 0x28
ret

Function at 0x4380f2
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
sub esp, 0x29c
push esi
mov esi, dword [esp + 0x2a4]
push edi
mov edi, dword [esp + 0x2ac]
lea eax, [esp + 0x110]
push eax
push 0x101
call sub.WSOCK32.dll_WSAStartup
test eax, eax
jne 0x4381d0
push 0x100
lea ecx, [esp + 0x14]
push ecx
call sub.WSOCK32.dll_gethostname
lea edx, [esp + 0x10]
push edx
call sub.WSOCK32.dll_gethostbyname
test eax, eax
je 0x4381d0
mov eax, dword [eax + 0xc]
xor edx, edx
cmp dword [eax], edx
je 0x43815b
mov ecx, eax
lea esp, [esp]
add ecx, 4
inc edx
cmp dword [ecx], 0
jne 0x438152
cmp esi, edx
jle 0x43817b
push str.0.0.0.0
push edi
call fcn.00412ba1
add esp, 8
call sub.WSOCK32.dll_WSACleanup
pop edi
pop esi
add esp, 0x29c
ret
mov eax, dword [eax + esi*4 - 4]
push 4
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.00412480
mov edx, dword [esp + 0x18]
add esp, 0xc
push edx
call sub.WSOCK32.dll_inet_ntoa
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00414e90
lea ecx, [esp + 0x18]
push 0xffffffffffffffff
push ecx
call fcn.00437534
mov esi, eax
push esi
push edi
call fcn.00412ba1
push esi
call fcn.0041293d
add esp, 0x1c
call sub.WSOCK32.dll_WSACleanup
pop edi
pop esi
add esp, 0x29c
ret
push 0x4858e8
push edi
call fcn.00412ba1
add esp, 8
pop edi
pop esi
add esp, 0x29c
ret