joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412000
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x3c
mov edx, dword [0x4d04f8]
mov dword [esp + 0x1c], eax
test edx, edx
jne 0x412063
test eax, eax
mov dword [0x4d04f8], 1
je 0x412067
mov dword [esp + 8], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 4], 0x49fa1c
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x14
mov dword [esp + 4], 1
mov dword [esp], str.Assembler_messages:_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
add esp, 0x3c
ret
lea eax, [esp + 0x2c]
mov dword [esp + 4], eax
lea eax, [esp + 0x1c]
mov dword [esp], eax
call fcn.0040db20
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x41203b
jmp 0x41201f

Function at 0x4124e0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
call fcn.00412090
mov eax, dword [sym.imp.msvcrt.dll__iob]
lea ebx, [esp + 0x24]
mov dword [esp + 8], 0xd
mov dword [esp + 4], 1
mov dword [esp], str.Fatal_error:
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_vfprintf
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp], 0xa
add eax, 0x40
mov dword [esp + 4], eax
call sub.msvcrt.dll_putc
mov eax, dword [0x4d5038]
test eax, eax
je 0x41255a
mov dword [esp], eax
call fcn.0047e520
mov dword [esp], 1
call fcn.0047eff0
lea esi, [esi]
lea edi, [edi]

Function at 0x412570
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x28
mov ebx, dword [esp + 0x38]
call fcn.00412090
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x10
mov dword [esp + 4], 1
mov dword [esp], str.Internal_error__n
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
test ebx, ebx
mov eax, dword [esp + 0x34]
je 0x412609
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Assertion_failure_in__s_at__s:_d._n
mov dword [esp + 0xc], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x18
mov dword [esp + 4], 1
mov dword [esp], 0x49facc
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov dword [esp], 1
call fcn.0047eff0
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], str.Assertion_failure_at__s:_d._n
mov dword [esp + 8], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
jmp 0x4125d5
Function at 0x412630
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x28
mov ebx, dword [esp + 0x38]
call fcn.00412090
test ebx, ebx
je 0x4126a1
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], ebx
mov dword [esp + 4], str.Internal_error__aborting_at__s:_d_in__s_n
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 8], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x18
mov dword [esp + 4], 1
mov dword [esp], 0x49facc
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov dword [esp], 1
call fcn.0047eff0
mov eax, dword [esp + 0x34]
mov dword [esp + 4], str.Internal_error__aborting_at__s:_d_n
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 8], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
jmp 0x41266d

Function at 0x41a390
Capabilities:
Write file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov esi, dword [esp + 0x40]
mov dword [esp + 8], 0xd
mov dword [esp + 4], 1
mov dword [esp], str.frag_chains:_n
mov dword [esp + 0xc], esi
call sub.msvcrt.dll_fwrite
mov eax, dword [0x4d5144]
mov edi, dword [eax + 0x64]
test edi, edi
je 0x41a436
mov eax, dword [edi]
cmp byte [eax], 0x2a
je 0x41a42f
mov eax, dword [edi + 0x68]
test eax, eax
je 0x41a42f
mov ebp, dword [eax]
test ebp, ebp
je 0x41a42f
nop
lea esi, [esi]
mov eax, dword [ebp]
xor ebx, ebx
test eax, eax
je 0x41a3fa
lea esi, [esi]
mov eax, dword [eax + 0x1c]
add ebx, 1
test eax, eax
jne 0x41a3f0
mov dword [esp + 4], esi
mov dword [esp], 0xa
call sub.msvcrt.dll_fputc
mov eax, dword [edi]
mov dword [esp + 8], ebp
mov dword [esp + 0x10], ebx
mov dword [esp + 4], str._t_p___10s_t_10d_frags_n
mov dword [esp + 0xc], eax
mov dword [esp], esi
call sub.msvcrt.dll_fprintf
mov ebp, dword [ebp + 8]
test ebp, ebp
jne 0x41a3e0
mov edi, dword [edi + 0xc]
test edi, edi
jne 0x41a3c7
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x422500
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, eax
push edi
mov edi, 0x4a456c
push esi
mov esi, 0x3e8
push ebx
mov ebx, str.avr1
sub esp, 0x2c
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x10
mov dword [esp + 4], 1
mov dword [esp], str.Known_MCU_names:
call sub.msvcrt.dll_fwrite
mov edx, 4
jmp 0x422568
mov dword [esp + 8], ebx
add edi, 0xc
mov dword [esp + 4], 0x4a29d6
mov dword [esp], ebp
call sub.msvcrt.dll_fprintf
mov ebx, dword [edi - 0xc]
test ebx, ebx
je 0x42259a
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
mov edx, eax
lea esi, [esi + edx + 1]
cmp esi, 0x4a
jle 0x422540
mov dword [esp + 8], ebx
add edi, 0xc
mov dword [esp + 4], str._n___s
mov dword [esp], ebp
mov dword [esp + 0x1c], edx
call sub.msvcrt.dll_fprintf
mov ebx, dword [edi - 0xc]
mov edx, dword [esp + 0x1c]
test ebx, ebx
lea esi, [edx + 2]
jne 0x42255e
mov dword [esp + 4], ebp
mov dword [esp], 0xa
call sub.msvcrt.dll_fputc
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x42ac10
Capabilities:
Encode data using xor

Disassembly:
push ebp
xor edx, edx
push edi
push esi
push ebx
sub esp, 0x2c
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x48]
lea ebp, [ebx + 1]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x1c], eax
movzx eax, byte [ebx]
test eax, eax
je 0x42ac5b
nop
mov ecx, eax
add ebp, 1
shl ecx, 0x11
add eax, ecx
add eax, edx
mov edx, eax
shr edx, 2
xor edx, eax
movzx eax, byte [ebp - 1]
test eax, eax
jne 0x42ac40
sub ebp, ebx
mov ecx, dword [esp + 0x14]
sub ebp, 1
mov eax, ebp
add edx, ebp
shl eax, 0x11
add edx, eax
mov esi, edx
shr esi, 2
xor esi, edx
xor edx, edx
mov eax, esi
div dword [ecx + 0xc]
mov eax, dword [ecx]
mov edi, dword [eax + edx*4]
test edi, edi
jne 0x42ac8c
jmp 0x42acb0
mov edi, dword [edi]
test edi, edi
je 0x42acb0
cmp dword [edi + 8], esi
nop
jne 0x42ac86
mov dword [esp + 4], ebx
mov eax, dword [edi + 4]
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x42ac86
mov eax, edi
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [esp + 0x18]
test edx, edx
je 0x42ad44
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x42ad40
mov eax, dword [esp + 0x14]
mov edi, ebp
add edi, 1
mov eax, dword [eax + 8]
jne 0x42ad20
mov edx, dword [eax + 4]
mov ebp, 8
cmp edx, ebp
jae 0x42ad2f
mov dword [esp + 4], ebp
mov dword [esp], eax
call fcn.004852b0
mov ebp, eax
test ebp, ebp
je 0x42ad4b
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov dword [esp], ebp
call sub.msvcrt.dll_memcpy
mov eax, dword [esp + 0x14]
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], eax
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.0042aa00
add ebp, 8
and ebp, 0xfffffff8
je 0x42acde
mov edx, dword [eax + 4]
cmp edx, ebp
jb 0x42acde
mov ecx, dword [eax]
sub edx, ebp
mov dword [eax + 4], edx
add ecx, ebp
mov dword [eax], ecx
sub ecx, ebp
mov ebp, ecx
jmp 0x42acec
mov ebp, ebx
jmp 0x42ad00
xor eax, eax
jmp 0x42aca7
mov dword [esp], 6
call fcn.00429650
xor eax, eax
jmp 0x42aca7
Function at 0x4424c0
Capabilities:
Query environment variable

Disassembly:
push edi
push esi
push ebx
sub esp, 0x10
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
test eax, eax
je 0x442540
mov edi, str.default
mov ecx, 8
mov esi, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x442500
mov eax, dword [0x49a384]
test eax, eax
je 0x442530
test ebx, ebx
je 0x4424f6
or byte [ebx + 0x2b], 1
mov dword [ebx + 4], eax
add esp, 0x10
pop ebx
pop esi
pop edi
ret
test ebx, ebx
je 0x442520
and byte [ebx + 0x2b], 0xfe
call fcn.004423c0
test eax, eax
je 0x442529
mov dword [ebx + 4], eax
add esp, 0x10
pop ebx
pop esi
pop edi
ret
call fcn.004423c0
test eax, eax
jne 0x4424f6
xor eax, eax
jmp 0x4424f6
mov eax, dword [0x49a38c]
mov eax, dword [eax]
jmp 0x4424eb
mov dword [esp], str.GNUTARGET
call sub.msvcrt.dll_getenv
test eax, eax
je 0x4424e2
jmp 0x4424d2
Function at 0x494ef0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1b
lea ebx, [esp + 0x24]
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
jmp fcn.00494f50
Function at 0x4958e0
Capabilities:
Enumerate pe sections

Disassembly:
push esi
push ebx
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
add edx, dword [edx + 0x3c]
movzx esi, word [edx + 6]
movzx eax, word [edx + 0x14]
test esi, esi
lea eax, [edx + eax + 0x18]
je 0x495918
xor edx, edx
nop
mov ecx, dword [eax + 0xc]
cmp ecx, ebx
ja 0x49590e
add ecx, dword [eax + 8]
cmp ebx, ecx
jb 0x49591a
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x495900
xor eax, eax
pop ebx
pop esi
ret

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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x12c
mov ebx, dword [ebp + 8]
call sub.msvcrt.dll__errno
test ebx, ebx
mov dword [eax], 0
je 0x49687e
cmp byte [ebx], 0
je 0x496848
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
sub esp, 4
cmp eax, 0xffffffff
je 0x496860
test al, 0x10
je 0x496848
lea edi, [ebp - 0x11c]
mov dword [esp + 4], ebx
mov ebx, edi
mov dword [esp + 8], 0x104
mov dword [esp], edi
call sub.msvcrt.dll__fullpath
mov edx, dword [ebx]
add ebx, 4
lea eax, [edx - 0x1010101]
not edx
and eax, edx
and eax, 0x80808080
je 0x496734
mov edx, eax
shr edx, 0x10
test eax, 0x8080
cmove eax, edx
lea edx, [ebx + 2]
cmove ebx, edx
add al, al
sbb ebx, 3
sub ebx, edi
lea eax, [ebx + 0x233]
mov dword [esp], eax
call sub.msvcrt.dll_malloc
test eax, eax
mov esi, eax
je 0x49686f
lea edx, [eax + 0x22c]
lea eax, [ebx + 1]
mov dword [esp], edx
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [ebp - 0x12c], edx
call sub.msvcrt.dll_memcpy
mov edx, dword [ebp - 0x12c]
cmp byte [esi + 0x22c], 0
je 0x4967c3
movzx eax, byte [esi + ebx + 0x22b]
cmp al, 0x2f
je 0x4967c3
cmp al, 0x5c
je 0x4967c3
mov edi, 0x5c
mov word [edx + ebx], di
mov eax, edx
mov ecx, dword [eax]
add eax, 4
lea edx, [ecx - 0x1010101]
not ecx
and edx, ecx
and edx, 0x80808080
je 0x4967c5
mov ecx, edx
shr ecx, 0x10
test edx, 0x8080
cmove edx, ecx
lea ecx, [eax + 2]
cmove eax, ecx
add dl, dl
sbb eax, 3
mov edx, 0x2a
mov word [eax], dx
xor ecx, ecx
xor eax, eax
lea edx, [esi + 0x120]
xor ebx, ebx
mov word [esi + 0x11c], cx
mov edi, edx
mov ecx, 0x41
mov dword [esi + 0x224], 0xffffffff
mov dword [esi + 0x228], 0
mov dword [esi + 0x118], 0
mov word [esi + 0x11e], bx
rep stosd dword es:[edi], eax
mov eax, esi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
call sub.msvcrt.dll__errno
mov dword [eax], 0x14
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
call sub.msvcrt.dll__errno
mov dword [eax], 2
xor eax, eax
jmp 0x496840
call sub.msvcrt.dll__errno
mov dword [eax], 0xc
xor eax, eax
jmp 0x496840
call sub.msvcrt.dll__errno
mov dword [eax], 0xe
xor eax, eax
jmp 0x496840
Function at 0x40181e
Capabilities:
Create directory

Disassembly:
push ebx
push edi
mov edi, edx
mov ebx, ecx
push str.SHGetSpecialFolderPathW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x401842
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x4018cb
push 0
push 0x1c
push ebx
push 0
call eax
test eax, eax
je 0x401834
push esi
push 0x41a7ac
push ebx
call fcn.00405080
mov dword [esp], 0x41a7ac
lea esi, [eax + 1]
call fcn.00405080
pop ecx
add eax, esi
push eax
push ebx
call fcn.0040500b
add esp, 0xc
push str.Applet
push ebx
call fcn.00405080
mov dword [esp], str.Applet
lea esi, [eax + 1]
call fcn.00405080
pop ecx
add eax, esi
push eax
push ebx
call fcn.0040500b
add esp, 0xc
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop esi
test eax, eax
jne 0x4018bd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x401834
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push ebx
call fcn.00405080
pop ecx
pop edi
pop ebx
ret

Function at 0x4018ce
Capabilities:
Set current directory

Disassembly:
push ecx
push esi
push edi
mov edi, ecx
mov esi, edx
xor eax, eax
push str.shell32.dll
mov word [edi], ax
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x401933
mov edx, eax
mov ecx, edi
call fcn.0040181e
test eax, eax
je 0x401933
cmp eax, 0x103
ja 0x401933
push esi
mov ecx, edi
call fcn.0040162f
pop ecx
test eax, eax
jne 0x401912
push 2
pop eax
jmp 0x401936
push esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne 0x40192f
push edi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push esi
call fcn.004011fb
pop ecx
push 3
jmp 0x40190f
xor eax, eax
jmp 0x401936
xor eax, eax
inc eax
pop edi
pop esi
pop ecx
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x405c30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48d018
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4d3980]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp - 0x68]
cmp dword [eax + 0x3c], 0
je 0x405c70
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x405c7c
mov al, 1
jmp 0x405e1f
mov dword [ebp - 0x10], 8
call fcn.004078c0
push eax
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x68]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x3c], eax
call fcn.004078c0
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.00407890
add esp, 8
movzx eax, al
test eax, eax
je 0x405cbf
xor al, al
jmp 0x405e1f
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.00405710
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x34]
call fcn.004057c0
mov ecx, eax
call fcn.00405fa0
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.00403be0
add esi, eax
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
call fcn.004057c0
mov ecx, eax
call fcn.00405fa0
push eax
mov ecx, dword [ebp - 0x68]
add ecx, 0x44
push ecx
mov edx, dword [ebp - 0x68]
mov ecx, dword [edx + 0x3c]
call fcn.004063e0
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x405d3a
cmp dword [ebp - 0x6c], 1
je 0x405d41
cmp dword [ebp - 0x6c], 3
je 0x405ddb
jmp 0x405df3
mov eax, dword [ebp - 0x68]
mov byte [eax + 0x41], 0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x34]
call fcn.004057c0
mov ecx, eax
call fcn.00405fa0
mov edx, dword [ebp - 0x14]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x405da4
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x34]
call fcn.004057c0
mov ecx, eax
call fcn.00405fa0
push eax
call fcn.00442036
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x405da4
mov byte [ebp - 0x61], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00403240
mov al, byte [ebp - 0x61]
jmp 0x405e1f
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x405dc7
mov byte [ebp - 0x62], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00403240
mov al, byte [ebp - 0x62]
jmp 0x405e1f
cmp dword [ebp - 0x38], 0
jne 0x405dd9
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.00405750
jmp 0x405e0b
mov byte [ebp - 0x63], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00403240
mov al, byte [ebp - 0x63]
jmp 0x405e1f
mov byte [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00403240
mov al, byte [ebp - 0x64]
jmp 0x405e1f
jmp 0x405cd2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0043f864
mov esp, ebp
pop ebp
ret
Function at 0x493a92
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x3c]
add eax, edx
add eax, 4
add eax, 0x14
lea eax, [eax + 0x60]
add eax, 8
mov eax, dword [eax]
add eax, edx
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x118], 0x49
mov byte [ebp - 0x117], 0x6d
mov byte [ebp - 0x116], 0x70
mov byte [ebp - 0x115], 0x6f
mov byte [ebp - 0x114], 0x72
mov byte [ebp - 0x113], 0x74
mov byte [ebp - 0x112], 0x20
mov byte [ebp - 0x111], 0x54
mov byte [ebp - 0x110], 0x61
mov byte [ebp - 0x10f], 0x62
mov byte [ebp - 0x10e], 0x6c
mov byte [ebp - 0x10d], 0x65
mov byte [ebp - 0x10c], 0x3a
mov byte [ebp - 0x10b], 0
mov eax, 1
mov eax, 1
test eax, eax
je 0x493b67
lea esi, [ebp - 0x14]
mov ecx, 0x14
mov al, 0
mov byte [esi], al
inc esi
dec ecx
jne 0x493b31
mov ebx, dword [ebp - 0x18]
lea esi, [ebp - 0x14]
mov edi, ebx
mov ecx, 0x14
repe cmpsb byte [esi], byte es:[edi]
je 0x493b5d
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00493b71
test eax, eax
je 0x493b67
add ebx, 0x14
jmp 0x493b3a
popal
mov eax, 1
leave
ret 8
popal
mov eax, 0
leave
ret 8
Function at 0x493b71
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
pushal
mov eax, 1
test eax, eax
je 0x493ddd
mov byte [ebp - 0x10c], 0x50
mov byte [ebp - 0x10b], 0x72
mov byte [ebp - 0x10a], 0x6f
mov byte [ebp - 0x109], 0x63
mov byte [ebp - 0x108], 0x65
mov byte [ebp - 0x107], 0x73
mov byte [ebp - 0x106], 0x73
mov byte [ebp - 0x105], 0x69
mov byte [ebp - 0x104], 0x6e
mov byte [ebp - 0x103], 0x67
mov byte [ebp - 0x102], 0x20
mov byte [ebp - 0x101], 0x49
mov byte [ebp - 0x100], 0x6d
mov byte [ebp - 0xff], 0x70
mov byte [ebp - 0xfe], 0x6f
mov byte [ebp - 0xfd], 0x72
mov byte [ebp - 0xfc], 0x74
mov byte [ebp - 0xfb], 0x20
mov byte [ebp - 0xfa], 0x44
mov byte [ebp - 0xf9], 0x69
mov byte [ebp - 0xf8], 0x72
mov byte [ebp - 0xf7], 0x65
mov byte [ebp - 0xf6], 0x63
mov byte [ebp - 0xf5], 0x74
mov byte [ebp - 0xf4], 0x6f
mov byte [ebp - 0xf3], 0x72
mov byte [ebp - 0xf2], 0x79
mov byte [ebp - 0xf1], 0x3a
mov byte [ebp - 0xf0], 0
mov eax, 1
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
add eax, dword [ebp + 0xc]
mov ebx, eax
mov eax, 1
test eax, eax
je 0x493ddd
mov eax, 1
test eax, eax
je 0x493ddd
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
test eax, eax
je 0x493ddd
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [edx + 0x10]
add eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
sub ecx, ecx
mov eax, dword [ebp - 0xc]
add eax, ecx
mov eax, dword [eax]
test eax, eax
je 0x493dd3
mov ebx, eax
and eax, 0x80000000
jne 0x493d4a
mov byte [ebp - 0x10c], 0x4e
mov byte [ebp - 0x10b], 0x61
mov byte [ebp - 0x10a], 0x6d
mov byte [ebp - 0x109], 0x65
mov byte [ebp - 0x108], 0x3a
mov byte [ebp - 0x107], 0x20
mov byte [ebp - 0x106], 0
lea eax, [ebp - 0x10c]
mov eax, 1
test eax, eax
je 0x493ddd
add ebx, dword [ebp + 0xc]
lea ebx, [ebx + 2]
mov eax, ebx
mov eax, 1
test eax, eax
je 0x493ddd
mov eax, 1
test eax, eax
je 0x493ddd
push ecx
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
pop ecx
test eax, eax
je 0x493ddd
mov ebx, dword [ebp - 8]
add ebx, ecx
mov dword [ebx], eax
add ecx, 4
jmp 0x493ca5
mov byte [ebp - 0x10c], 0x4f
mov byte [ebp - 0x10b], 0x72
mov byte [ebp - 0x10a], 0x64
mov byte [ebp - 0x109], 0x69
mov byte [ebp - 0x108], 0x6e
mov byte [ebp - 0x107], 0x61
mov byte [ebp - 0x106], 0x6c
mov byte [ebp - 0x105], 0x3a
mov byte [ebp - 0x104], 0x20
mov byte [ebp - 0x103], 0
lea eax, [ebp - 0x10c]
mov eax, 1
test eax, eax
je 0x493ddd
xor ebx, 0x80000000
mov eax, ebx
mov eax, 1
test eax, eax
je 0x493b67
push ecx
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
pop ecx
test eax, eax
je 0x493ddd
mov ebx, dword [ebp - 8]
add ebx, ecx
mov dword [ebx], eax
add ecx, 4
jmp 0x493ca5
popal
mov eax, 1
leave
ret 0xc
popal
mov eax, 0
leave
ret 0xc