joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1801a2fc
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x181c0008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp + 0x10]
push edi
push eax
xor edi, edi
lea eax, [ebp - 0x204]
push edi
push dword [ebp + 0xc]
push 0xff
push 0x100
push eax
call fcn.180043ca
push dword [eax + 4]
push dword [eax]
call fcn.18148e5c
xor eax, eax
add esp, 0x20
mov word [ebp - 6], ax
lea eax, [ebp - 0x204]
mov dword [ebp - 0x208], eax
cmp dword [esi + 0x260], edi
jne 0x1801a362
push eax
call fcn.1814aefa
pop ecx
lea eax, [esi + 0x40]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
je 0x1801a391
push edi
lea eax, [ebp - 0x208]
push eax
push edi
push 1
push edi
push edi
push edi
push 4
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1813c4a8
leave
ret

Function at 0x1801a5c2
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x181c1d50], 0
push ebx
push esi
push edi
mov edi, ecx
mov ebx, 0x181c1d50
je 0x1801a5fa
push ecx
mov ecx, ebx
call fcn.18013f9e
mov esi, eax
mov ecx, esi
call fcn.18013d98
test esi, esi
js 0x1801a677
add ebx, 0x24
cmp dword [ebx], 0
jne 0x1801a5d9
xor ebx, ebx
mov esi, ebx
test esi, esi
js 0x1801a698
jne 0x1801a695
cmp byte [edi + 0x3c], 0
je 0x1801a682
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x30], eax
test eax, eax
je 0x1801a67b
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push ebx
push edi
push 0x1801a802
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
jne 0x1801a64c
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x1801a67b
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov esi, eax
test esi, esi
jns 0x1801a66e
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [edi + 0x34]
add eax, eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1801a68a
xor ebx, ebx
jmp 0x1801a5fe
mov esi, 0x80004005
jmp 0x1801a68e
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov esi, eax
test esi, esi
jns 0x1801a698
call fcn.1801a780
jmp 0x1801a698
mov byte [edi + 0x3c], bl
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4
Function at 0x1801a6a1
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x181c1e10], 0
push ebx
push esi
push edi
mov edi, ecx
mov ebx, 0x181c1e10
je 0x1801a6d9
push ecx
mov ecx, ebx
call fcn.18013f9e
mov esi, eax
mov ecx, esi
call fcn.18013d98
test esi, esi
js 0x1801a756
add ebx, 0x24
cmp dword [ebx], 0
jne 0x1801a6b8
xor ebx, ebx
mov esi, ebx
test esi, esi
js 0x1801a777
jne 0x1801a774
cmp byte [edi + 0x3c], 0
je 0x1801a761
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x30], eax
test eax, eax
je 0x1801a75a
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push ebx
push edi
push 0x1801a802
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
jne 0x1801a72b
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x1801a75a
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov esi, eax
test esi, esi
jns 0x1801a74d
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [edi + 0x34]
add eax, eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1801a769
xor ebx, ebx
jmp 0x1801a6dd
mov esi, 0x80004005
jmp 0x1801a76d
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov esi, eax
test esi, esi
jns 0x1801a777
call fcn.1801a7c1
jmp 0x1801a777
mov byte [edi + 0x3c], bl
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4

Function at 0x1801d1ef
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x1c]
and dword [esi + 0x1c], 0
test ecx, ecx
je 0x1801d203
mov eax, dword [ecx]
push 1
call dword [eax]
push 0
lea ecx, [esi + 0x18]
call fcn.1801e227
mov ecx, dword [0x181c6ae8]
pop esi
mov ecx, dword [ecx]
jmp fcn.180163fd
Function at 0x18021241
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push edi
xor edi, edi
mov bl, dl
mov bh, cl
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edx, [ebp - 4]
mov ecx, eax
call fcn.1809d279
test eax, eax
je 0x1802135b
cmp dword [ebp - 4], edi
je 0x1802135b
push esi
lea ecx, [ebp - 0xc]
call fcn.1800e692
push dword [ebp - 0xc]
lea ecx, [ebp - 8]
call fcn.18006a90
push str.GoogleUpdateComRegisterShell64.exe
lea ecx, [ebp - 8]
call fcn.18009b7a
mov esi, dword [ebp - 8]
test eax, eax
jne 0x180212a7
call fcn.18012e6f
mov ebx, eax
jmp 0x18021343
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x180212bc
mov ebx, 0x80070002
jmp 0x18021343
call fcn.18003f31
push eax
lea ecx, [ebp - 8]
call fcn.18006dc8
mov eax, 0x18177bcc
mov ecx, eax
test bl, bl
jne 0x180212da
mov ecx, str._unregister
test bh, bh
jne 0x180212e3
mov eax, str._user
push ecx
push eax
lea eax, [ebp - 8]
push 0x1819fd00
push eax
call fcn.1800f195
add esp, 0xc
lea ecx, [ebp - 0x38]
push esi
call fcn.1800f48e
push edi
push edi
mov edi, dword [ebp - 8]
lea ecx, [ebp - 0x38]
push edi
call fcn.1800f602
mov ebx, eax
test ebx, ebx
js 0x18021333
push 0x7530
lea ecx, [ebp - 0x38]
call fcn.1800f6e6
movzx ebx, al
neg ebx
sbb ebx, ebx
and ebx, 0x7ff8fa4c
add ebx, 0x800705b4
lea ecx, [ebp - 0x38]
call fcn.1800f5a9
lea ecx, [edi - 0x10]
call fcn.18004595
lea ecx, [esi - 0x10]
call fcn.18004595
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.18004595
mov eax, ebx
pop esi
jmp 0x1802135d
xor eax, eax
pop edi
pop ebx
leave
ret

Function at 0x18022683
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
call fcn.1802102d
mov ebx, eax
test ebx, ebx
je 0x180226b3
cmp dword [ebx], 0
je 0x180226b3
push ecx
mov ecx, ebx
call fcn.18013f9e
mov esi, eax
test esi, esi
js 0x18022730
add ebx, 0x24
jne 0x18022697
xor ebx, ebx
mov esi, ebx
test esi, esi
js 0x18022753
jne 0x18022750
cmp byte [edi + 0x3c], 0
je 0x1802273b
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x30], eax
test eax, eax
je 0x18022734
lea eax, [ebp - 4]
push eax
push ebx
push edi
push 0x18024b12
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
jne 0x18022705
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [edi + 0x30], ebx
test ebx, ebx
je 0x18022734
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov esi, eax
test esi, esi
jns 0x18022727
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [edi + 0x34]
add eax, eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18022743
xor ebx, ebx
jmp 0x180226b7
mov esi, 0x80004005
jmp 0x18022747
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov esi, eax
test esi, esi
jns 0x18022753
mov ecx, edi
call fcn.18021159
jmp 0x18022753
mov byte [edi + 0x3c], bl
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4
Function at 0x1802517d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x181c0008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor esi, esi
lea eax, [ebp - 0x210]
push 0x208
push esi
mov ebx, 0x1819bfc4
mov dword [ebp - 0x220], esi
push eax
mov edi, ecx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x218], esi
call fcn.1813efc0
lea ecx, [ebp - 0x224]
mov dword [esp], 0x20008
call fcn.1800e565
lea eax, [ebp - 0x210]
push eax
push esi
push dword [ebp - 0x220]
push 0x1c
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
test esi, esi
js 0x18025224
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x214]
call fcn.18006a90
mov edx, edi
lea ecx, [ebp - 0x214]
call fcn.18008023
mov ecx, dword [ebp - 0x214]
mov esi, eax
add ecx, 0xfffffff0
call fcn.18004595
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x224], ebx
call fcn.18007bbe
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1813c4a8
leave
ret
Function at 0x18025f56
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
xor edi, edi
mov eax, dword [esi]
cmp dword [eax - 0xc], edi
jne 0x18025f72
mov eax, 0x80070057
jmp 0x18025fde
call fcn.18003f31
push eax
lea ecx, [ebp + 0xc]
call fcn.18006dc8
push dword [esi]
lea eax, [ebp + 0xc]
push str._s_last.dmp
push eax
call fcn.1800f195
lea eax, [ebp + 0xc]
push eax
lea edx, [ebx + 4]
lea ecx, [ebp - 4]
call fcn.1800ed3b
mov esi, dword [ebp - 4]
add esp, 0x10
cmp dword [esi - 0xc], edi
jne 0x18025fb1
mov edi, 0x80040709
jmp 0x18025fc9
mov eax, dword [ebp + 8]
push edi
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x18025fc9
call fcn.18012e6f
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.18004595
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.18004595
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x18025fe5
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x181c0008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, ecx
lea edi, [ebp - 0x60]
push 0x14
pop ecx
mov esi, str.____________________________________.dmp
lea edx, [ebp - 0x60]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x70]
xor ebx, ebx
push ecx
mov ecx, dword [eax + 4]
movsw word es:[edi], word [esi]
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
call fcn.1800a98a
mov esi, eax
pop ecx
test esi, esi
js 0x18026133
call fcn.1800bd81
mov edi, dword [ebp - 0x6c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x70]
sub edi, eax
mov dword [ebp - 0x80], edx
cmp edi, 4
jb 0x18026131
sar edi, 2
and dword [ebp - 0x78], 0
and dword [ebp - 0x74], 0
mov esi, dword [eax + ebx*4]
mov ecx, esi
call fcn.1800a93d
movzx eax, al
neg eax
push 0
sbb eax, eax
and eax, 0x2000000
push eax
push 3
push 0
push 1
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
xor eax, eax
mov dword [ebp - 0x64], eax
cmp esi, 0xffffffff
jne 0x18026093
call fcn.18012e6f
jmp 0x180260b6
push eax
push eax
lea eax, [ebp - 0x78]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
jne 0x180260ac
call fcn.18012e6f
mov dword [ebp - 0x64], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x64]
test eax, eax
js 0x18026125
mov eax, dword [ebp - 0x7c]
xor ecx, ecx
or ecx, dword [ebp - 0x78]
sub eax, ecx
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x88], eax
sbb ecx, dword [ebp - 0x74]
and dword [ebp - 0x90], 0
mov eax, ecx
and ecx, 0x7fffffff
and eax, 0x80000000
mov dword [ebp - 0x84], ecx
fild qword [ebp - 0x88]
mov dword [ebp - 0x8c], eax
push ecx
push ecx
fild qword [ebp - 0x90]
fchs
faddp st(1)
fstp qword [esp]
call fcn.1814b05a
fcomp qword [0x181ba1c0]
fnstsw ax
pop ecx
pop ecx
test ah, 1
jne 0x18026125
mov eax, dword [ebp - 0x70]
push dword [eax + ebx*4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x70]
inc ebx
cmp ebx, edi
jne 0x18026050
xor esi, esi
lea ecx, [ebp - 0x70]
call fcn.1800b3e7
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1813c4a8
leave
ret
Function at 0x18031e0d
Capabilities:
Parse credit card information

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x18031f60
mov edx, 0x10000000
cmp eax, 0x7c
je 0x18031f60
cmp eax, 0x29
jne 0x18031e46
cmp dword [esi + 0x10], 0
jne 0x18031f60
test dword [esi + 0x50], edx
je 0x18031f66
cmp eax, 0x2e
jne 0x18031e61
push 5
lea ecx, [esi + 0x24]
call fcn.18032039
mov ecx, esi
call fcn.18031de4
jmp 0x18031f4a
cmp eax, 0x5c
jne 0x18031eb6
mov ecx, esi
call fcn.18031de4
test byte [esi + 0x50], 0x80
je 0x18031eaa
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x18031e92
push 4
lea ecx, [esi + 0x24]
call fcn.18032039
mov ecx, esi
call fcn.18031de4
jmp 0x18031f51
cmp eax, 0x42
jne 0x18031eaa
push 4
lea ecx, [esi + 0x24]
call fcn.18032039
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x18031e86
mov ecx, esi
call fcn.18032b67
jmp 0x18031f4a
cmp eax, 0x5b
jne 0x18031ed6
mov ecx, esi
call fcn.18031de4
mov ecx, esi
call fcn.18032b1b
cmp dword [esi + 0x4c], 0x5d
je 0x18031e55
push 4
jmp 0x18031f68
cmp eax, 0x28
jne 0x18031ef3
mov ecx, esi
call fcn.18031de4
mov ecx, esi
call fcn.18032c40
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x18031f66
jmp 0x18031f3f
cmp eax, 0x5e
jne 0x18031efc
push 2
jmp 0x18031e7e
cmp eax, 0x24
jne 0x18031f08
push 3
jmp 0x18031e7e
cmp eax, 0x2a
je 0x18031f5c
cmp eax, 0x2b
je 0x18031f5c
cmp eax, 0x3f
je 0x18031f5c
cmp eax, 0x7b
je 0x18031f5c
cmp eax, 0x7d
jne 0x18031f26
test dword [esi + 0x50], edx
je 0x18031f58
cmp eax, 0x5d
jne 0x18031f30
test dword [esi + 0x50], edx
je 0x18031ecf
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.18032e09
mov bl, 1
mov ecx, esi
call fcn.18031de4
test bl, bl
je 0x18031f51
mov ecx, esi
call fcn.18032d2f
mov cl, 1
jmp 0x18031e14
push 6
jmp 0x18031f68
push 0xa
jmp 0x18031f68
pop esi
mov al, cl
pop ebx
pop ecx
ret
push 5
call fcn.18031306
int3
Function at 0x18038ee5
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x27c
mov eax, dword [0x181c0008]
xor eax, esp
mov dword [esp + 0x278], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x250
mov dword [esp + 0x18], eax
xor ebx, ebx
lea eax, [esp + 0x34]
mov dword [esp + 0x30], edx
mov esi, ecx
push ebx
push eax
mov dword [esp + 0x1c], esi
call fcn.1813efc0
add esp, 0xc
lea ecx, [esp + 0x28]
mov edx, esi
push 0x1819bdfc
call fcn.180069d1
pop ecx
lea ecx, [esp + 0x30]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [esp + 0x28]
mov esi, eax
lea ecx, [ecx - 0x10]
call fcn.18004595
cmp esi, 0xffffffff
jne 0x18038f85
call fcn.18012e6f
mov edi, eax
mov ebx, edi
cmp esi, 0xffffffff
je 0x18038f6e
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x284]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1813c4a8
mov esp, ebp
pop ebp
ret
mov edi, ebx
mov eax, dword [esp + 0x2c]
sub eax, ebx
je 0x1803902f
sub eax, 1
je 0x18038fcf
sub eax, 1
jne 0x1803908f
cmp dword [esp + 0x30], 0x80
je 0x18038fb6
test byte [esp + 0x30], 0x10
jne 0x1803908f
push dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x34]
call fcn.18038e36
pop ecx
mov edi, eax
jmp 0x1803908f
test byte [esp + 0x30], 0x10
je 0x1803908f
lea ecx, [esp + 0x30]
call fcn.18038df9
test al, al
jne 0x1803908f
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x1c]
call fcn.18006a90
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
call fcn.1800ed3b
pop ecx
mov ecx, dword [esp + 0x18]
lea ecx, [ecx - 0x10]
call fcn.18004595
push dword [esp + 0x14]
lea ecx, [esp + 0x20]
push 2
pop edx
call fcn.18038ee5
pop ecx
mov ecx, dword [esp + 0x1c]
jmp 0x18039085
test byte [esp + 0x30], 0x10
je 0x1803908f
lea ecx, [esp + 0x30]
call fcn.18038df9
test al, al
jne 0x1803908f
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x24]
call fcn.18006a90
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x28]
call fcn.1800ed3b
pop ecx
mov ecx, dword [esp + 0x20]
lea ecx, [ecx - 0x10]
call fcn.18004595
push dword [esp + 0x14]
xor edx, edx
lea ecx, [esp + 0x28]
inc edx
call fcn.18038ee5
pop ecx
mov ecx, dword [esp + 0x24]
lea ecx, [ecx - 0x10]
mov edi, eax
call fcn.18004595
test edi, edi
js 0x18038f60
lea eax, [esp + 0x30]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x18038f87
jmp 0x18038f62
Function at 0x180392f5
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
and dword [ebp - 0xc], 0
push ebx
push esi
mov ebx, ecx
mov ecx, 0x181c19a8
push edi
mov dword [ebp - 0x10], ebx
call fcn.18016093
lea eax, [ebx + 0x14]
push eax
lea ecx, [ebp - 0x18]
call fcn.1800ea8f
mov esi, dword [ebp + 8]
mov ecx, dword [esi]
sub ecx, 0x10
call fcn.18006e45
add eax, 0x10
xor ecx, ecx
inc ecx
mov dword [ebp - 0xc], eax
xor edi, edi
mov dword [ebp - 8], ecx
mov ebx, ecx
cmp dword [eax - 0xc], edi
je 0x18039375
mov ecx, dword [esi + 4]
sub ecx, 0x10
call fcn.18006e45
push 3
pop ebx
lea esi, [eax + 0x10]
cmp dword [esi - 0xc], edi
mov edi, dword [ebp + 8]
je 0x1803937b
mov ecx, dword [edi + 8]
sub ecx, 0x10
call fcn.18006e45
add eax, 0x10
xor ecx, ecx
push 7
pop ebx
cmp dword [eax - 0xc], ecx
je 0x1803937e
mov byte [ebp - 8], cl
jmp 0x1803937e
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 8]
test bl, 4
je 0x1803938b
lea ecx, [eax - 0x10]
call fcn.18004595
test bl, 2
je 0x18039398
lea ecx, [esi - 0x10]
call fcn.18004595
mov ecx, dword [ebp - 0xc]
add ecx, 0xfffffff0
call fcn.18004595
cmp byte [ebp - 8], 0
je 0x180393b0
mov ebx, 0x80070057
jmp 0x1803942c
call fcn.18003f31
push eax
lea ecx, [ebp + 8]
call fcn.18006dc8
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 8]
push eax
push edi
call fcn.180398cb
mov esi, eax
test esi, esi
js 0x1803941f
lea edx, [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.1800eddc
mov ecx, dword [eax]
call fcn.180087ed
mov ecx, dword [ebp - 0x10]
mov esi, eax
lea ecx, [ecx - 0x10]
call fcn.18004595
test esi, esi
js 0x1803941f
mov ecx, dword [ebp + 0xc]
lea edx, [ebp + 8]
call fcn.180390b0
mov esi, eax
test esi, esi
js 0x1803941f
mov edx, dword [ebp + 0x10]
lea ecx, [ebp + 8]
call fcn.18039a03
mov esi, eax
test esi, esi
jns 0x1803943d
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, esi
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.18004595
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
call dword [edx + 8]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0xc
mov ecx, 0x181c19c8
call fcn.18016093
xor ebx, ebx
jmp 0x18039421
Function at 0x1803e105
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
push 2
xor edi, edi
push edi
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
je 0x1803e148
push str.GOOGLEUPDATEAPPLICATIONCOMMANDS
push 1
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x1803e148
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, 4
jne 0x1803e176
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x1803e15f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
jle 0x1803e17b
movzx edi, di
or edi, 0x80070000
jmp 0x1803e17b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x1803e171
mov edi, 0x80070006
jmp 0x1803e17b
cmp dword [eax], 1
je 0x1803e17b
mov edi, 0x8000ffff
test esi, esi
je 0x1803e186
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
pop edi
pop esi
pop ebx
ret

Function at 0x1803ebdc
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0xc], ebx
call fcn.18003f31
push eax
mov ecx, ebx
call fcn.18006dc8
xor ecx, ecx
lea eax, [ebx + 4]
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.18006e45
xor ebx, ebx
inc ebx
lea edi, [eax + 0x10]
mov dword [ebp - 8], edi
mov dword [ebp + 8], edi
cmp dword [edi - 4], ebx
jle 0x1803ec39
push dword [edi - 0xc]
lea ecx, [ebp + 8]
call fcn.18006f56
mov edi, dword [ebp + 8]
mov dword [ebp - 8], edi
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
neg eax
sbb eax, eax
and eax, 0x18004961
je 0x1803ec94
cmp dword [ebp - 4], ebx
jl 0x1803ec94
push dword [esi]
mov ecx, dword [ebp - 0xc]
call fcn.18006ac2
cmp dword [ebp - 4], ebx
jle 0x1803ec98
mov edi, dword [ebp - 0x10]
push dword [esi + ebx*4]
lea ecx, [ebp + 8]
call fcn.18006a90
lea eax, [ebp + 8]
mov ecx, edi
push eax
call fcn.18009c5d
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.18004595
inc ebx
cmp ebx, dword [ebp - 4]
jl 0x1803ec68
mov edi, dword [ebp - 8]
jmp 0x1803ec98
test esi, esi
je 0x1803ec9f
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [edi - 0x10]
call fcn.18004595
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x1803edf2
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov eax, dword [edi + 0x24]
cmp eax, esi
je 0x1803ee12
test eax, eax
je 0x1803ee0f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x24], esi
mov eax, dword [edi + 0x28]
mov esi, dword [ebp + 0xc]
cmp eax, esi
je 0x1803ee2a
test eax, eax
je 0x1803ee27
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x28], esi
mov eax, dword [ebp + 0x10]
mov edx, dword [eax + 4]
test edx, edx
je 0x1803ee3b
lock inc dword [edx + 4]
mov edx, dword [eax + 4]
mov ecx, dword [edi + 0x30]
mov eax, dword [eax]
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], edx
test ecx, ecx
je 0x1803ee4f
call fcn.1801c6c9
test edi, edi
je 0x1803ee59
mov eax, dword [edi]
push edi
call dword [eax + 4]
xor ebx, ebx
push ebx
push ebx
push edi
push 0x1803f1aa
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, dword [edi + 0x34]
mov dword [ebp + 8], eax
cmp esi, eax
je 0x1803ee88
test esi, esi
je 0x1803ee83
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
mov dword [edi + 0x34], eax
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x18004961
jne 0x1803ee9b
call fcn.18012e6f
mov ebx, eax
neg esi
sbb esi, esi
not esi
and esi, edi
je 0x1803eeab
mov eax, dword [esi]
push esi
call dword [eax + 8]
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 0xc
Function at 0x1803efdf
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10018
call fcn.18163b00
mov eax, dword [0x181c0008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
push esi
mov dword [ebp - 0x10014], eax
mov esi, dword [eax + 0x28]
test esi, esi
je 0x1803f118
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
xor ecx, ecx
push ecx
mov dword [eax + 0x28], ecx
lea eax, [ebp - 0x1000c]
push eax
push 0x10000
lea eax, [ebp - 0x10008]
mov dword [ebp - 0x1000c], ecx
push eax
push esi
call edi
mov ecx, dword [ebp - 0x1000c]
mov ebx, ecx
jmp 0x1803f072
test ecx, ecx
je 0x1803f076
mov ecx, 0x10000
cmp ebx, ecx
je 0x1803f076
and dword [ebp - 0x1000c], 0
lea eax, [ebp - 0x1000c]
push 0
push eax
sub ecx, ebx
lea eax, [ebp - 0x10008]
push ecx
add eax, ebx
push eax
push esi
call edi
mov ecx, dword [ebp - 0x1000c]
add ebx, ecx
test eax, eax
jne 0x1803f03e
lea eax, [ebp - 0x10018]
mov dword [ebp - 0x10018], 0xf
push eax
push ebx
lea eax, [ebp - 0x10008]
push eax
call dword [sym.imp.ADVAPI32.dll_IsTextUnicode]
mov ecx, dword [ebp - 0x10014]
mov edi, eax
add ecx, 0x38
push ecx
lea ecx, [ebp - 0x10010]
call fcn.1800ea8f
test edi, edi
je 0x1803f0df
mov edi, dword [ebp - 0x10014]
xor eax, eax
mov word [ebp + ebx - 0x10008], ax
lea eax, [ebp - 0x10008]
push eax
call fcn.18142f23
pop ecx
push eax
lea eax, [ebp - 0x10008]
push eax
lea ecx, [edi + 0x54]
call fcn.18006d4b
jmp 0x1803f104
cmp ebx, 0x10002
jae 0x1803f125
mov ecx, dword [ebp - 0x10014]
lea eax, [ebp - 0x10008]
push eax
mov byte [ebp + ebx - 0x10008], 0
lea ecx, [ecx + 0x54]
call fcn.1800c2cb
mov ecx, dword [ebp - 0x10010]
mov eax, dword [ecx]
call dword [eax + 8]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1813c4a8
leave
ret
call fcn.1813cd1c
int3