joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100014a0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x10
mov ecx, dword [esp + 0x14]
push ebx
push ebp
push esi
mov eax, dword [ecx + 0x3c]
push edi
mov dword [esp + 0x14], 0
lea edx, [eax + ecx]
xor eax, eax
mov ax, word [edx + 6]
test eax, eax
mov dword [esp + 0x18], eax
jle 0x100015bd
lea eax, [edx + 0x11c]
mov dword [esp + 0x10], eax
jmp 0x100014df
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
mov ebp, dword [eax - 0x18]
mov edi, dword [eax]
add ebp, ecx
mov eax, edi
mov ecx, edi
mov edx, edi
mov esi, edi
xor ebx, ebx
shr eax, 0x1e
shr ecx, 0x1d
shr edx, 0x1c
shr esi, 0x1f
and eax, 1
and ecx, 1
and edx, 1
test esi, esi
je 0x1000152b
test eax, eax
je 0x1000153a
test ecx, ecx
je 0x1000151c
test edx, edx
je 0x1000151c
mov ebx, 0x40
jmp 0x1000156c
test eax, eax
je 0x1000153a
test ecx, ecx
je 0x1000152b
mov ebx, 0x80
jmp 0x1000156c
test eax, eax
je 0x1000153a
test ecx, ecx
je 0x10001545
mov ebx, 0x20
jmp 0x1000156c
test ecx, ecx
je 0x10001545
mov ebx, 0x10
jmp 0x1000156c
test esi, esi
je 0x10001563
test eax, eax
je 0x1000156c
test edx, edx
je 0x10001558
mov ebx, 4
jmp 0x1000156c
test eax, eax
je 0x1000156c
mov ebx, 8
jmp 0x1000156c
test eax, eax
je 0x1000156c
mov ebx, 2
mov eax, dword [esp + 0x28]
test eax, eax
je 0x10001579
mov ebx, 8
test edi, 0x4000000
je 0x10001584
or bh, 2
test ebx, ebx
je 0x100015ca
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push ecx
push ebx
mov eax, dword [edx - 0x14]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add esi, 0x28
inc eax
mov dword [esp + 0x10], esi
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x100014d7
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
Function at 0x100015e0
Capabilities:
Read file via mapping

Disassembly:
sub esp, 0x10c
push ebx
mov ebx, dword [esp + 0x11c]
push ebp
push esi
test bl, 8
push edi
je 0x10001603
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10c
ret
mov edx, dword [esp + 0x120]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
push 0x104
push str..dll
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SearchPathA]
test eax, eax
jne 0x10001636
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
push 0x5c
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x1000ad34
mov eax, ecx
mov esi, edi
mov edi, 0x1000ad34
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.10001b70
add esp, 8
test eax, eax
je 0x10001671
mov byte [eax + 1], 0
push 0
push 0
push 3
push 0
push 1
lea ecx, [esp + 0x28]
push 0x80000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1000169f
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10c
ret
push 0
push 0
push 0
push 2
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
mov edi, eax
call ebp
push 0
push 0
push 0
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0x100016e0
push edi
call ebp
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10c
ret
test bh, 4
je 0x100016ed
and ebx, 0xfffffff7
push ebx
push 0
jmp 0x100016f6
mov edx, dword [esp + 0x10]
and ebx, 0xfffffff7
push ebx
push edx
push esi
call fcn.10001250
add esp, 0xc
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
call ebp
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x10c
ret

Function at 0x10001740
Capabilities:
Allocate or change rwx memory

Disassembly:
sub esp, 0x108
lea eax, [esp]
push eax
push 0x40
push 0x39b710
push 0x401000
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push section.MyDATA
lea ecx, [esp + 8]
push str._sonline.dll
push ecx
call fcn.10001b97
call fcn.10001000
lea edx, [esp + 0x10]
push edx
call fcn.10001720
add esp, 0x118
ret
Function at 0x408b40
Capabilities:
Receive data
Receive data on socket

Disassembly:
call edi
test eax, eax
jne 0x408b15
mov dword [esi], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
call edi
mov dword [esi], 0
pop edi
push edi
cmp ah, 0xa
sub byte [eax], 0x8b
in eax, 0x5d
ret 0xc
push ebp
mov edx, dword [ecx]
sub esp, 0x72
mov ecx, dword [ebp + 0xc]
in eax, dx
inc ebp
jne 0x408b05
push 0
lea edx, [ebp - 8]
push 0
mov eax, dword [esi]
push edx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 4]
mov dword [ebp - 0x4b], ecx
push eax
mov edx, dword [edi - 0xfb272b3]
test al, 1
push ecx
push eax
invalid
Function at 0x10005250
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
sub dword [ebp + 0xc], 1
push ebx
push esi
push edi
jne 0x100053b7
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0x18]
mov dword [esp + 0x14], edx
mov ecx, dword [edx + 0x3c]
mov ecx, dword [ecx + edx + 0x78]
add ecx, edx
mov dword [esp + 0x10], ecx
cmp ecx, edx
je 0x100052d9
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x100052d9
mov ecx, dword [ecx + 0x20]
lea ebx, [ecx + edi*4]
add ebx, edx
nop dword [eax]
mov ecx, dword [ebx - 4]
lea ebx, [ebx - 4]
add ecx, edx
dec edi
mov esi, 0x7959e303
mov dl, byte [ecx]
inc ecx
test dl, dl
je 0x100052d2
movsx edx, dl
lea ecx, [ecx + 1]
xor edx, esi
imul esi, edx, 0x1000193
mov dl, byte [ecx - 1]
test dl, dl
jne 0x100052b5
cmp esi, 0xd55b725b
je 0x100052dd
mov edx, dword [eax + 0x18]
test edi, edi
jne 0x100052a0
mov eax, dword [eax]
jmp 0x10005272
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push 0
push 0
mov eax, dword [esi + 0x24]
push dword [ebp + 8]
push 0x10004a20
lea eax, [eax + edi*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
push 0
push 0
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
call eax
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
nop dword [eax + eax]
mov esi, dword [eax + 0x18]
mov dword [esp + 0x10], esi
mov ecx, dword [esi + 0x3c]
mov ecx, dword [ecx + esi + 0x78]
add ecx, esi
mov dword [esp + 0x14], ecx
cmp ecx, esi
je 0x10005384
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x10005384
mov ecx, dword [ecx + 0x20]
lea ebx, [ecx + edi*4]
add ebx, esi
mov edx, dword [ebx - 4]
lea ebx, [ebx - 4]
add edx, esi
dec edi
mov esi, 0xfbfe7918
mov cl, byte [edx]
inc edx
test cl, cl
je 0x1000537d
nop dword [eax]
movsx ecx, cl
lea edx, [edx + 1]
xor ecx, esi
imul esi, ecx, 0x1000193
mov cl, byte [edx - 1]
test cl, cl
jne 0x10005360
cmp esi, 0x8773f64
je 0x10005388
mov esi, dword [eax + 0x18]
test edi, edi
jne 0x10005347
mov eax, dword [eax]
jmp 0x10005320
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push 0
push 0
mov eax, dword [esi + 0x24]
push dword [ebp + 8]
push 0x10004270
lea eax, [eax + edi*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
push 0
push 0
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
call eax
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100053d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 4], esi
cmp byte [edi + 0x11], 0
je 0x100053fa
xor eax, eax
lea edx, [eax + edi]
lea ecx, [eax + 0x7a]
inc eax
xor byte [edx], cl
cmp eax, 0x10
jb 0x100053e8
mov byte [edi + 0x11], 0
xorps xmm0, xmm0
lea ecx, [edi + 0x10]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
cmp edi, ecx
jne 0x10005430
mov dword [esi + 0x10], 0
mov eax, esi
mov dword [esi + 0x14], 0xf
pop edi
mov byte [esi], 0
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x10
push edi
mov ecx, esi
call fcn.10006710
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x10005450
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 4], esi
cmp byte [edi + 0x12], 0
je 0x1000547a
xor eax, eax
lea edx, [eax + edi]
lea ecx, [eax + 0x7a]
inc eax
xor byte [edx], cl
cmp eax, 0x11
jb 0x10005468
mov byte [edi + 0x12], 0
xorps xmm0, xmm0
lea ecx, [edi + 0x11]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
cmp edi, ecx
jne 0x100054b0
mov dword [esi + 0x10], 0
mov eax, esi
mov dword [esi + 0x14], 0xf
pop edi
mov byte [esi], 0
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x11
push edi
mov ecx, esi
call fcn.10006710
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x100054d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 4], esi
cmp byte [edi + 0xa], 0
je 0x100054fa
xor eax, eax
lea edx, [eax + edi]
lea ecx, [eax + 0x7a]
inc eax
xor byte [edx], cl
cmp eax, 9
jb 0x100054e8
mov byte [edi + 0xa], 0
xorps xmm0, xmm0
lea ecx, [edi + 9]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
cmp edi, ecx
jne 0x10005530
mov dword [esi + 0x10], 0
mov eax, esi
mov dword [esi + 0x14], 0xf
pop edi
mov byte [esi], 0
pop esi
mov esp, ebp
pop ebp
ret 4
push 9
push edi
mov ecx, esi
call fcn.10006710
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x10005550
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 4], esi
cmp byte [edi + 7], 0
je 0x1000557a
xor eax, eax
lea edx, [eax + edi]
lea ecx, [eax + 0x7a]
inc eax
xor byte [edx], cl
cmp eax, 6
jb 0x10005568
mov byte [edi + 7], 0
xorps xmm0, xmm0
lea ecx, [edi + 6]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
cmp edi, ecx
jne 0x100055b0
mov dword [esi + 0x10], 0
mov eax, esi
mov dword [esi + 0x14], 0xf
pop edi
mov byte [esi], 0
pop esi
mov esp, ebp
pop ebp
ret 4
push 6
push edi
mov ecx, esi
call fcn.10006710
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x100055d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 4], esi
cmp byte [edi + 9], 0
je 0x100055fa
xor eax, eax
lea edx, [eax + edi]
lea ecx, [eax + 0x7a]
inc eax
xor byte [edx], cl
cmp eax, 8
jb 0x100055e8
mov byte [edi + 9], 0
xorps xmm0, xmm0
lea ecx, [edi + 8]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
cmp edi, ecx
jne 0x10005630
mov dword [esi + 0x10], 0
mov eax, esi
mov dword [esi + 0x14], 0xf
pop edi
mov byte [esi], 0
pop esi
mov esp, ebp
pop ebp
ret 4
push 8
push edi
mov ecx, esi
call fcn.10006710
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x10005650
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 4], esi
cmp byte [edi + 8], 0
je 0x1000567a
xor eax, eax
lea edx, [eax + edi]
lea ecx, [eax + 0x7a]
inc eax
xor byte [edx], cl
cmp eax, 7
jb 0x10005668
mov byte [edi + 8], 0
xorps xmm0, xmm0
lea ecx, [edi + 7]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
cmp edi, ecx
jne 0x100056b0
mov dword [esi + 0x10], 0
mov eax, esi
mov dword [esi + 0x14], 0xf
pop edi
mov byte [esi], 0
pop esi
mov esp, ebp
pop ebp
ret 4
push 7
push edi
mov ecx, esi
call fcn.10006710
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x100070e8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov esi, dword [ebp + 0xc]
neg eax
sbb eax, eax
xor ecx, ecx
and eax, dword [ebp - 4]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.100070c4
pop esi
leave
ret 8
Function at 0x402a2f
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], 2
jmp 0x402a65
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x1a
jae 0x402c05
mov edx, 1
mov ecx, dword [ebp - 0x24]
shl edx, cl
mov eax, dword [ebp - 0x18]
and eax, edx
test eax, eax
je 0x402c00
cmp dword [ebp - 0x30], 0
jne 0x402ae0
push 0xe4
call fcn.004039ac
add esp, 4
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x402adb
push 0xe4
push 0
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00403850
add esp, 0xc
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov edx, dword [ebp - 0x30]
mov dword [edx + 0xc8], eax
mov eax, dword [ebp - 0x30]
mov dword [eax + 0xe0], 0
jmp 0x402ae0
jmp 0x402c05
mov ecx, dword [ebp - 0x24]
add ecx, 0x41
push ecx
push str.._c:
lea edx, [ebp - 0x10]
push edx
call fcn.0040392b
add esp, 0xc
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [ebp - 0x28], eax
push 0
push 0x40000000
push 3
push 0
push 3
push 0xc0000000
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x402b47
push 0
push 0x40000000
push 3
push 0
push 0
push 0x80000000
lea ecx, [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
cmp dword [ebp - 0x14], 0xffffffff
je 0x402c00
push 0
lea eax, [ebp - 0x20]
push eax
push 8
lea ecx, [ebp - 0x3c]
push ecx
push 0
push 0
push 0x41018
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov byte [ebp - 0x34], al
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x34], ecx
mov edx, dword [ebp - 0x30]
add edx, 0x1e
push edx
mov eax, dword [ebp - 0x30]
add eax, 0xd
push eax
mov ecx, dword [ebp - 0x30]
add ecx, 4
push ecx
mov edx, dword [ebp - 0x30]
push edx
call fcn.00402284
add esp, 0x10
cmp eax, 1
jne 0x402bf6
mov eax, dword [ebp - 0x30]
mov cl, byte [ebp - 0x38]
mov byte [eax + 0x30], cl
mov edx, dword [ebp - 0x30]
mov al, byte [ebp - 0x36]
mov byte [edx + 0x31], al
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x2c], 0
je 0x402bd5
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov dword [edx], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
cmp dword [0x442798], 0
jne 0x402bed
mov edx, dword [ebp - 0x30]
mov dword [0x442798], edx
mov dword [ebp - 0x30], 0
jmp 0x402c00
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x402a5c
cmp dword [ebp - 0x30], 0
je 0x402c27
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0xc8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x30]
push eax
call fcn.0040397d
add esp, 4
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x4073f1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x441ec8
cmp edx, dword [eax]
je 0x407413
add eax, 8
inc ecx
cmp eax, 0x441f58
jl 0x407404
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x441ec8]
jne 0x407541
mov eax, dword [0x4427f8]
cmp eax, 1
je 0x40751b
test eax, eax
jne 0x407444
cmp dword [0x441e04], 1
je 0x40751b
cmp edx, 0xfc
je 0x407541
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40747b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00408150
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004038b0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4074be
lea eax, [ebp - 0x1a4]
push eax
call fcn.004038b0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40a434
push edi
call fcn.004086b0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00408150
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00408160
lea eax, [ebp - 0xa0]
push 0x40a414
push eax
call fcn.00408160
push dword [esi + 0x441ecc]
lea eax, [ebp - 0xa0]
push eax
call fcn.00408160
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00408620
add esp, 0x2c
pop edi
jmp 0x407541
lea eax, [ebp + 8]
lea esi, [esi + 0x441ecc]
push 0
push eax
push dword [esi]
call fcn.004038b0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x402220
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x412e2d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x41b014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov ebx, ecx
push 0x4160d8
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push 0x28
push str.Description:_A_.NET_application_failed._n
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], eax
call fcn.00404a80
push 0xd
push str.Application:
lea ecx, [ebp - 0x28]
call fcn.00404a80
mov ecx, esi
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x4022a0
sub ecx, edi
sar ecx, 1
push ecx
push esi
mov ecx, eax
call fcn.00404a80
push 1
push 0x4160d4
mov ecx, eax
call fcn.00404a80
push 6
push str.Path:
lea ecx, [ebp - 0x28]
call fcn.00404a80
mov edx, ebx
lea esi, [edx + 2]
nop word [eax + eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x4022e0
sub edx, esi
mov ecx, eax
sar edx, 1
push edx
push ebx
call fcn.00404a80
push 1
push 0x4160d4
mov ecx, eax
call fcn.00404a80
push 9
push str.Message:
lea ecx, [ebp - 0x28]
call fcn.00404a80
cmp dword [0x41b4d8], 8
mov ecx, 0x41b4c4
push dword [0x41b4d4]
cmovae ecx, dword [0x41b4c4]
push ecx
mov ecx, eax
call fcn.00404a80
push 1
push 0x4160d4
mov ecx, eax
call fcn.00404a80
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov esi, dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x28]
push 0
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push 0
push 1
push 0
push 0x3ff
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4023b4
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4023aa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4023aa
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0040fab0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040faa2
mov esp, ebp
pop ebp
ret
Function at 0x404780
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x413058
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x41b014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [ecx]
push 0
push 0
mov eax, dword [eax + 4]
mov dword [ecx + eax], 0x415d98
mov eax, dword [ecx]
mov edx, dword [eax + 4]
lea eax, [edx - 0x18]
mov dword [edx + ecx - 4], eax
mov eax, dword [ecx]
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov ebx, dword [eax + 4]
add ebx, ecx
mov ecx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebx + 0x30], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0x201
mov dword [ebx + 0x18], 6
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
call fcn.004020e0
push 8
call fcn.0040fabe
add esp, 4
mov esi, eax
push 1
mov dword [ebp - 4], 2
call fcn.0040f424
mov dword [esi + 4], eax
add esp, 4
mov eax, dword [ebp + 8]
mov dword [ebx + 0x30], esi
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], 0
mov ebx, dword [esi + 4]
mov dword [ebp - 0x14], ebx
mov eax, dword [ebx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4141f8]
mov ecx, ebx
call esi
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 3
push eax
call fcn.00405000
mov edi, eax
add esp, 4
mov ecx, dword [edi]
push 0x20
mov esi, dword [ecx + 0x30]
mov ecx, esi
call dword [0x4141f8]
mov ecx, edi
call esi
movzx eax, ax
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], eax
mov eax, dword [ebx]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4141f8]
mov ecx, ebx
call esi
mov edi, eax
test edi, edi
je 0x4048ce
mov ecx, dword [edi]
push 1
mov esi, dword [ecx]
mov ecx, esi
call dword [0x4141f8]
mov ecx, edi
call esi
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
cmp dword [ecx + 0x38], 0
mov word [ecx + 0x40], ax
jne 0x4048ec
mov eax, dword [ecx + 0xc]
push 0
or eax, 4
push eax
call fcn.004020e0
mov esi, dword [ebp - 0x1c]
mov eax, dword [esi + 0x10]
lea edx, [esi + 0x10]
mov dword [ebp - 0x20], edx
mov eax, dword [eax + 4]
mov dword [edx + eax], 0x415da4
mov eax, dword [edx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edx - 4], eax
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [esi + eax], 0x415da0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ecx + esi - 4], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x404d90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x413080
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x41b014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], 0x415e04
call fcn.0040fabe
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.0040f424
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret