joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40290e
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x448020]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x34], 0
and dword [ebp - 0x28], 0
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0x42
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x38], 0x20
call fcn.00413eaf
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x2c], 0x100
mov dword [esp], 0x202
call fcn.00413eaf
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x10], 0x800
mov dword [esp], 0x1002
call fcn.00413eaf
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], 0x80
mov dword [esp], 0x102
call fcn.00413eaf
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], 0x80
mov dword [esp], 0x102
call fcn.00413eaf
mov dword [ebp - 0x1c], eax
mov dword [ebp - 8], 0x800
mov dword [esp], 0x1002
call fcn.00413eaf
pop ecx
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x40]
push eax
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x4029e5
push dword [ebp - 0x30]
mov ecx, edi
call fcn.004029f8
push dword [ebp - 0x14]
mov ecx, ebx
call fcn.004029f8
xor eax, eax
inc eax
jmp 0x4029e7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00413a04
leave
ret 0xc
Function at 0x4030d3
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
mov eax, dword [0x448020]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x438], eax
push esi
lea eax, [ebp - 0x434]
mov dword [ebp - 0x434], 1
push eax
lea eax, [ebp - 0x424]
mov dword [ebp - 0x430], esi
push eax
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x428], esi
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
lea ecx, [ebp - 0x41c]
mov dword [ebp - 0x41c], esi
mov ebx, esi
call fcn.00402a99
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
push 0x410
mov edi, eax
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.00415870
add esp, 0xc
lea eax, [ebp - 0x414]
push 0x208
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp dword [ebp - 0x420], 2
jl 0x40320a
test edi, edi
je 0x403215
push dword [edi + 4]
lea ecx, [ebp - 0x418]
mov dword [ebp - 0x418], esi
call fcn.00403779
mov eax, dword [ebp - 0x418]
lea ecx, [ebp - 0x418]
mov esi, dword [eax - 0xc]
push esi
call fcn.00402ae0
lea ecx, [esi + 1]
push ecx
push eax
call fcn.0041d5b9
pop ecx
pop ecx
push esi
lea ecx, [ebp - 0x418]
call fcn.00402b5e
push 8
push str._replace
push dword [ebp - 0x418]
call fcn.0041d607
add esp, 0xc
test eax, eax
jne 0x4031fd
inc ebx
cmp dword [ebp - 0x420], 2
jle 0x4031fd
push dword [edi + 8]
lea ecx, [ebp - 0x41c]
call fcn.004029f8
lea ecx, [ebp - 0x418]
call fcn.00402b89
jmp 0x40320e
test edi, edi
je 0x403215
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edi, 0x140
push edi
call fcn.00413c20
push edi
xor edi, edi
mov esi, eax
push edi
push esi
call fcn.00415870
add esp, 0x10
lea eax, [ebp - 0x414]
mov ecx, esi
push dword [ebp - 0x41c]
push ebx
push eax
call fcn.00403823
push edi
push 0x403388
push edi
push 0x65
push dword [ebp - 0x438]
mov dword [0x44a040], eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
cmp dword [0x44a040], edi
je 0x403289
call fcn.00403936
mov esi, dword [0x44a040]
test esi, esi
je 0x403289
mov ecx, esi
call fcn.004032b3
push 0x140
push esi
call fcn.00413ea1
pop ecx
pop ecx
push dword [ebp - 0x424]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
lea ecx, [ebp - 0x41c]
call fcn.00402b89
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00413a04
leave
ret 0x10
Function at 0x40366a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x448020]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 8], 0
push ebx
push esi
push edi
push 0x442290
mov edi, ecx
xor ebx, ebx
push edx
push edi
mov dword [ebp - 0x10], edi
xor esi, esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x403749
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x403749
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x403749
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push 0x42
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x403749
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x403749
push edi
push dword [ebp - 0x10]
push eax
call fcn.00415280
add esp, 0xc
lea eax, [ebp - 8]
push eax
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
js 0x403749
push 0x10
xor esi, esi
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov ebx, eax
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x403747
and dword [ebp - 0xc], esi
lea ecx, [ebp - 0xc]
xor eax, eax
mov edi, ebx
push ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 8]
push eax
mov dword [ebx], vtable.Gdiplus::Bitmap.0
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromStream]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 4], eax
jmp 0x403749
xor ebx, ebx
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x40375a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
and dword [ebp - 8], 0
test esi, esi
je 0x403765
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00413a04
leave
ret

Function at 0x404e04
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [0x44a040]
push edi
push 0xa
xor edi, edi
push edi
push edi
push dword [esi + 0x11c]
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push edi
push edi
push 0x4c7
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
leave
ret
Function at 0x405028
Capabilities:
Get file version info

Disassembly:
push 0x18
mov eax, 0x433e61
call fcn.0041458d
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x18], ebx
push ecx
push eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
jne 0x40507a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error_in_GetFileVersionInfoSize:__d_n
call fcn.004037db
pop ecx
pop ecx
mov ecx, ebx
call fcn.00402a99
mov eax, ebx
jmp 0x405126
push edi
call fcn.00413eaf
pop ecx
mov esi, eax
push esi
push edi
push 0
push dword [ebp - 0x14]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x4050b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error_in_GetFileVersionInfo:__d_n
call fcn.004037db
push esi
call fcn.00413a12
add esp, 0xc
jmp 0x40506c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x4422b0
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x4050d6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error_in_VerQueryValue:__d_n
jmp 0x4050a0
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
and dword [ebp - 0x14], 0
movzx ebx, word [eax + 0xa]
movzx edi, word [eax + 8]
movzx esi, word [eax + 0xe]
call fcn.00402a99
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push esi
push edi
push ebx
push str._d._d._d
push eax
call fcn.00402e1a
mov ecx, dword [ebp - 0x14]
add esp, 0x14
lea ecx, [ecx - 0x10]
call fcn.00402ba4
mov esi, dword [ebp - 0x20]
lea ecx, [ebp - 0x14]
add eax, 0x10
mov dword [esi], eax
call fcn.00402b89
mov eax, esi
call fcn.0041453c
ret 8
Function at 0x40512e
Capabilities:
Get system information on windows

Disassembly:
push 0x3c
mov eax, 0x433eae
call fcn.0041458d
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x40], ebx
mov dword [esi], ebx
call fcn.0040119b
mov ecx, eax
test ecx, ecx
je 0x405261
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
xor edi, edi
mov eax, str.Unknown
inc edi
mov ecx, esi
mov dword [ebp - 4], edi
test eax, 0xffff0000
jne 0x405182
movzx eax, ax
push eax
call fcn.00402f2a
jmp 0x405188
push eax
call fcn.0040590c
push 9
pop eax
mov dword [ebp - 4], ebx
mov ecx, eax
mov dword [ebp - 0x40], edi
xor eax, eax
lea edi, [ebp - 0x3c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [ebp - 0x3c], 0xc
je 0x40524b
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x40520e
push str.IsWow64Process2
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x405203
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x14]
and dword [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x44]
test eax, eax
je 0x405203
mov eax, 0xaa64
movzx ebx, bl
cmp word [ebp - 0x14], ax
push 1
pop eax
cmove ebx, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test bl, bl
jne 0x40524b
cmp word [ebp - 0x3c], 0
je 0x40521e
push 9
pop eax
cmp word [ebp - 0x3c], ax
jne 0x405257
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x405244
cmp dword [ebp - 0x14], 0
je 0x405244
push 0x442c04
jmp 0x405250
push 0x442c08
jmp 0x405250
push str.arm64
mov ecx, esi
call fcn.0040590c
mov eax, esi
call fcn.0041453c
ret 4
push 0x80004005
call fcn.0040109e
int3

Function at 0x40526c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x448020]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push edi
mov ebx, 0x208
mov dword [ebp - 0x418], esi
push ebx
push 0
push eax
mov edi, ecx
call fcn.00415870
push ebx
xor ebx, ebx
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.00415870
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x405303
push dword [edi]
lea eax, [ebp - 0x418]
mov dword [ebp - 0x418], ebx
push eax
call fcn.004053e3
push dword [ebp - 0x418]
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0041d78d
add esp, 0xc
lea ecx, [ebp - 0x418]
call fcn.00402b89
lea eax, [ebp - 0x414]
push eax
push ebx
push 0x442c0c
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [ebp - 0x414]
mov ecx, esi
push eax
call fcn.00403779
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00413a04
leave
ret 4
Function at 0x40533e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x448020]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push edi
push 0x208
push 0
push eax
mov edi, ecx
mov dword [ebp - 0x210], esi
call fcn.00415870
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x4053c3
and dword [ebp - 0x210], eax
lea eax, [ebp - 0x210]
push dword [edi]
push eax
call fcn.004053e3
push dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0041d78d
add esp, 0xc
lea ecx, [ebp - 0x210]
call fcn.00402b89
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00403779
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.00413a04
leave
ret 4
Function at 0x4149d1
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x414a10
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x414a10
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x414a10
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x414a10
cmp dword [ecx + 0x74], 0xe
jbe 0x414a10
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x418168
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
mov bh, 0x41
adc al, 0xf
mov bh, 0x71
push es
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x4181a3

Function at 0x4184e2
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
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 [0xa345c635], al
and al, 0xc6
inc ebp
movsb byte es:[edi], byte [esi]
and al, dh
inc ebp
movsd dword es:[edi], dword [esi]
xor eax, 0x41a645c6

Function at 0x41851d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [0xa345c635], al
and al, 0xc6
inc ebp
movsb byte es:[edi], byte [esi]
and al, dh
inc ebp
movsd dword es:[edi], dword [esi]
xor eax, 0x41a645c6
call fcn.00418138
push eax
push esi
push dword [ebp + 8]
call fcn.004180ed
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 [di - 0x27], 0x44

Function at 0x418558
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [di - 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.00418138
push eax
push esi
push dword [ebp + 8]
Function at 0x418593
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.004180ed
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00418128
popal
xor edi, ebx
pop ds
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.00418128
pop esi
or dword [ecx + 0x27], ebp
lea eax, [ebp - 0x84]
push eax
invalid
Function at 0x4187a1
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x4187dc
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x4187d7
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
loop 0x4187a3
lock add byte [eax], al
cmp edx, 0x3000
jne 0x4187c1
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
adc ebx, ebp
invalid
adc ebx, ebp
or byte [ebx], bh
ror dword [edi], cl
test dword [esi + 1], ecx
add byte [eax], al
cmp edx, ebx
jne 0x418917
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x418798
add eax, dword [eax + 4]
jmp 0x418785
mov dword [ebp + 0xc], ebx
jmp 0x4187e7
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x4187ff
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x41881d
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 0x41887b
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 0x418862
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x41886b
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x418875
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x418857
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x4187e1
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 0x4188c8
dec eax
je 0x4188bf
sub eax, 3
je 0x4188b6
mov dword [ebp - 4], 0x40
jmp 0x4188e5
mov dword [ebp - 4], 4
jmp 0x4188cb
mov dword [ebp - 4], 0x20
jmp 0x4188cb
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 0x418917
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x418897
Function at 0x4187be
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x4187dc
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x4187d7
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
loop 0x4187a3
lock add byte [eax], al
cmp edx, 0x3000
jne 0x4187c1
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
adc ebx, ebp
invalid
adc ebx, ebp
or byte [ebx], bh
ror dword [edi], cl
test dword [esi + 1], ecx
add byte [eax], al
cmp edx, ebx
jne 0x418917
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x418798
add eax, dword [eax + 4]
jmp 0x418785
mov dword [ebp + 0xc], ebx
jmp 0x4187e7
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x4187ff
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x41881d
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 0x41887b
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 0x418862
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x41886b
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x418875
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x418857
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x4187e1
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 0x4188c8
dec eax
je 0x4188bf
sub eax, 3
je 0x4188b6
mov dword [ebp - 4], 0x40
jmp 0x4188e5
mov dword [ebp - 4], 4
jmp 0x4188cb
mov dword [ebp - 4], 0x20
jmp 0x4188cb
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 0x418917
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x418897

Function at 0x4189ba
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [esi + 0x25fffffc], edi
lea eax, [ebp - 0x354]
push eax
call fcn.00418138
invalid
call [ecx + 0x50]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004180ed
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
dec dword [ecx - 0x6737b]
inc edi
test dword [esp + edi*8 - 1], edi
inc dword [eax + eax]
add byte [eax], al
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
invalid
movsd dword es:[edi], dword [esi]
Function at 0x4189e7
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [esi + 0x25fffffc], edi
lea eax, [ebp - 0x354]
push eax
call fcn.00418138
invalid
call [ecx + 0x50]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004180ed
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
dec dword [ecx - 0x6737b]
inc edi
test dword [esp + edi*8 - 1], edi
inc dword [eax + eax]
add byte [eax], al
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
invalid
movsd dword es:[edi], dword [esi]

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

Disassembly:
sbb al, 0xad
cmp byte [eax + 0x1c], 0x18
je 0x41a2ec
xchg esi, eax
lodsd eax, dword [esi]
mov eax, dword [eax + 8]
push eax
call fcn.00418128
mov eax, 0x8b71e536
clc
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.00418128
add esi, dword [ebx - 0x56]
inc edi
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edi
mov eax, 0x50746547
cmp dword [esi], eax
jne 0x41a315
mov eax, 0x41636f72
cmp dword [esi + 4], eax
jne 0x41a315
call fcn.00418128
push ecx
aam 0x5c
mov ebx, dword [bp + si + 0x24]
add ebx, edi
mov cx, word [ebx + ecx*2]
mov ebx, dword [edx + 0x1c]
add ebx, edi
mov eax, dword [ebx + ecx*4]
add eax, edi
push eax
call fcn.00418128
sub esp, dword [edi + 0x75ff34c2]
or bh, bh
jne 0x41a35e
push dword [ebp]
call fcn.00418928
rol dword [ebx - 0x3efbefba], 0xe8
add al, 0xa8
add dword [ebx + 0x8741046], ecx
mov eax, dword [eax - 4]
cdq
mov ebx, eax
jmp 0x41a356
invalid

Function at 0x427ae3
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x43ad10
push 0x43ad08
push str.FlsAlloc
push 0x1e
call fcn.004279cc
mov esi, eax
add esp, 0x10
test esi, esi
je 0x427b17
push dword [ebp + 8]
mov ecx, esi
call dword [0x4362ac]
call esi
jmp 0x427b1d
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x427b61
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x43ad20
push 0x43ad18
push str.FlsGetValue
push 0x20
call fcn.004279cc
mov esi, eax
add esp, 0x10
test esi, esi
je 0x427b98
push dword [ebp + 8]
mov ecx, esi
call dword [0x4362ac]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]