joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4058d0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41d580
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x425090]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
mov dword [eax + 0x14], 0
lea ecx, [ebp - 0x20]
call fcn.004068b0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x2c]
push ecx
push 0x421b74
lea edx, [ebp - 0x24]
push edx
call fcn.00407330
add esp, 0xc
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00407060
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00406ac0
mov edx, dword [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x18]
call fcn.00407060
mov eax, 1
test eax, eax
je 0x4059a5
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x20]
push ecx
push 0x405680
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [ebp - 0x1c], 0
je 0x40599b
cmp dword [ebp - 0x20], 0
je 0x40599b
jmp 0x4059a5
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40595e
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.004050a0
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004068e0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x4064b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
push 0x421d70
movzx eax, word [ebp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4064d8
xor eax, eax
jmp 0x4064fb
mov ecx, dword [ebp - 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x40cbaa
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x425090]
jne 0x40cbb4
repz ret
jmp fcn.0040fb3a
Function at 0x41706c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x425090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040f36a
and dword [ebp - 0x14], 0
cmp dword [0x426e50], 0
mov dword [ebp - 0x18], eax
jne 0x41711f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4171c7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x41f3c4
push ebx
call edi
test eax, eax
je 0x4171c7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x426e50], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x426e54], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x426e58], eax
call edi
push eax
call esi
mov dword [0x426e60], eax
test eax, eax
je 0x41711f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x426e5c], eax
mov eax, dword [0x426e5c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x417178
cmp dword [0x426e60], ecx
je 0x417178
push eax
call esi
push dword [0x426e60]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x417178
test ebx, ebx
je 0x417178
call edi
test eax, eax
je 0x41716f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41716f
test byte [ebp - 8], 1
jne 0x417178
or dword [ebp + 0x10], 0x200000
jmp 0x4171ab
mov eax, dword [0x426e54]
cmp eax, dword [ebp - 0x18]
je 0x4171ab
push eax
call esi
test eax, eax
je 0x4171ab
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4171ab
mov eax, dword [0x426e58]
cmp eax, dword [ebp - 0x18]
je 0x4171ab
push eax
call esi
test eax, eax
je 0x4171ab
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x426e50]
call esi
test eax, eax
je 0x4171c7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4171c9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040cbaa
leave
ret
Function at 0x41ab20
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x422848
push 0x40f910
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x425090]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, edx
push 0x1c
lea eax, [ebp - 0x34]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov dword [ebp - 4], 0
mov edx, 0x5a4d
mov ecx, dword [ebp - 0x30]
cmp word [ecx], dx
jne 0x41abc2
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x41abc2
mov edx, dword [eax + 0xd8]
lea edi, [edx + ecx]
cmp esi, edi
jb 0x41abc2
mov eax, dword [eax + 0xdc]
add eax, edx
add eax, ecx
cmp esi, eax
jae 0x41abc2
mov dword [ebp - 4], 0xfffffffe
mov al, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xfffffffe
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41af60
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [0x426ec8], ebx
je 0x41af79
mov eax, 0x10dd
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x426ec8
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x41af6f
push esi
mov esi, dword [0x426ebc]
mov dword [0x426ec4], ebx
mov dword [0x426ed8], ebx
mov dword [0x426ed4], ebx
mov dword [0x426ecc], ebx
mov dword [0x426ed0], ebx
cmp esi, ebx
je 0x41afd6
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 0x10000
push esi
call edi
mov esi, dword [esi + 4]
cmp esi, ebx
jne 0x41afc0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41afe0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x426ec8], eax
je 0x41affd
mov eax, 0x10dd
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
mov esi, dword [0x426ed8]
push edi
test esi, esi
je 0x41b070
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
lea eax, [ebp - 4]
push eax
movzx eax, byte [edx + 0x17]
push ecx
mov ecx, dword [esi + 0xc]
push eax
push ecx
call ebx
xor ecx, ecx
cmp dword [esi + 4], ecx
jne 0x41b05f
mov eax, dword [esi + 0x10]
cmp eax, ecx
je 0x41b05f
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov edx, eax
mov dword [eax + 0x1c], ecx
and edx, 0xffff0000
mov edi, dword [edx + 8]
mov dword [eax + 0x18], edi
mov dword [edx + 8], eax
mov dword [esi + 0x10], ecx
mov edi, dword [esi]
push esi
call fcn.0040cb9f
add esp, 4
mov esi, edi
test edi, edi
jne 0x41b010
mov esi, dword [0x426ebc]
mov dword [0x426ed8], 0
test esi, esi
je 0x41b099
lea edx, [ebp - 8]
push edx
push 0x20
push 0x10000
push esi
call ebx
mov esi, dword [esi + 4]
test esi, esi
jne 0x41b084
mov esi, dword [0x426ed4]
test esi, esi
je 0x41b0c7
mov ebx, dword [sym.imp.KERNEL32.dll_ResumeThread]
lea esp, [esp]
mov eax, dword [esi + 4]
push eax
call ebx
mov edi, dword [esi]
push esi
call fcn.0040cb9f
add esp, 4
mov esi, edi
test edi, edi
jne 0x41b0b0
pop edi
xor eax, eax
pop esi
mov dword [0x426ed4], eax
mov dword [0x426ec8], eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41b3e0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x426ecc]
test eax, eax
jne 0x41b460
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edi, dword [ebp + 8]
cmp edi, eax
jne 0x41b401
xor eax, eax
pop edi
pop ebp
ret 4
push esi
push 8
call fcn.0040cc0a
mov esi, eax
add esp, 4
test esi, esi
jne 0x41b417
lea edi, [eax + 8]
jmp 0x41b434
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x41b44c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call fcn.0040cb9f
add esp, 4
pop esi
mov dword [0x426ecc], edi
mov eax, edi
mov dword [0x426ed0], 0
pop edi
pop ebp
ret 4
mov eax, dword [0x426ed4]
mov dword [esi + 4], edi
mov dword [esi], eax
mov dword [0x426ed4], esi
pop esi
xor eax, eax
pop edi
pop ebp
ret 4
Function at 0x401000
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
push esi
push edi
mov esi, 0x407010
lea edi, [ebp - 4]
lea eax, [ebp - 0x204]
push 0x200
movsw word es:[edi], word [esi]
push eax
push dword [ebp + 8]
movsb byte es:[edi], byte [esi]
call dword [0x406120]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x204]
push eax
call fcn.00404fc4
mov esi, eax
pop ecx
test esi, esi
pop ecx
je 0x4010a7
mov edi, dword [0x406084]
push ebx
mov ebx, dword [0x406090]
and byte [esi], 0
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x404]
push eax
call edi
lea eax, [ebp - 0x404]
push 0x408c68
push eax
call ebx
add esi, 2
lea eax, [ebp - 0x404]
push esi
push eax
call ebx
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x204]
push eax
call edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x204]
push eax
call fcn.00404fc4
mov esi, eax
pop ecx
test esi, esi
pop ecx
jne 0x401050
pop ebx
lea eax, [ebp - 0x204]
push eax
push dword [ebp + 8]
call dword [0x406168]
pop edi
pop esi
leave
ret

Function at 0x401599
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x348
push ebx
push esi
mov esi, dword [0x406084]
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x348]
push eax
call esi
mov edi, dword [0x406118]
lea eax, [ebp - 0x348]
push 0x407078
push eax
call edi
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x348]
push eax
call dword [0x40602c]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40167b
lea eax, [ebp - 0x218]
push 0x407074
push eax
call fcn.00404fd0
pop ecx
test eax, eax
pop ecx
je 0x401665
lea eax, [ebp - 0x218]
push 0x407070
push eax
call fcn.00404fd0
pop ecx
test eax, eax
pop ecx
je 0x401665
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x104]
push eax
call edi
test byte [ebp - 0x244], 0x10
lea eax, [ebp - 0x104]
je 0x40164c
push eax
call fcn.00401599
pop ecx
jmp 0x401665
push 0x80
push eax
call dword [0x406028]
lea eax, [ebp - 0x104]
push eax
call dword [0x406024]
lea eax, [ebp - 0x244]
push eax
push ebx
call dword [0x406020]
test eax, eax
jne 0x4015ea
push ebx
call dword [0x40601c]
push dword [ebp + 8]
call dword [0x406018]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x401690
Capabilities:
Identify system language via api
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
call dword [0x406038]
movzx eax, ax
push eax
lea eax, [ebp - 0xc]
push str.__04X
push eax
call fcn.00404fe2
add esp, 0xc
lea eax, [ebp - 0xc]
push 0x408a58
push 0xa
push 0x4082e0
push eax
push str.TARGETLANG
push str.SETTING
call dword [0x406014]
leave
ret
Function at 0x401784
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x406160]
mov ebx, eax
test ebx, ebx
je 0x40182a
push 1
push esi
call fcn.00404fdc
mov edi, eax
pop ecx
test edi, edi
pop ecx
je 0x401828
push dword [ebp + 0xc]
lea eax, [ebp - 0xc]
push 0x4070a8
push str._s_d
push eax
call fcn.00404fe2
add esp, 0x10
lea eax, [ebp - 0xc]
push 0x408a58
push esi
push edi
push 0x4082dc
push eax
push 0x4082e0
call dword [0x406014]
mov ebx, eax
test ebx, ebx
jle 0x401816
push edi
push dword [ebp + 0x10]
call dword [0x406084]
push 0x40709c
push 0x407098
push esi
push dword [ebp + 0x10]
call fcn.004016d3
add esp, 0x10
jmp 0x401821
push dword [ebp + 0x10]
call fcn.00404ffa
pop ecx
mov ebx, eax
push edi
call fcn.00404fd6
pop ecx
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x401948
Capabilities:
Copy file
Create directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x654
push ebx
push esi
mov esi, dword [0x406084]
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x550]
push eax
call esi
mov edi, dword [0x406118]
lea eax, [ebp - 0x550]
push 0x407078
push eax
call edi
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x550]
push eax
call dword [0x40602c]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x401a93
lea eax, [ebp - 0x114]
push 0x407074
push eax
call fcn.00404fd0
pop ecx
test eax, eax
pop ecx
je 0x401a7d
lea eax, [ebp - 0x114]
push 0x407070
push eax
call fcn.00404fd0
pop ecx
test eax, eax
pop ecx
je 0x401a7d
push 0
push dword [ebp + 0xc]
call dword [0x406040]
test byte [ebp - 0x140], 0x10
push dword [ebp + 8]
je 0x401a32
lea eax, [ebp - 0x244]
push eax
call esi
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x244]
push eax
call edi
push dword [ebp + 0xc]
lea eax, [ebp - 0x654]
push eax
call esi
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x654]
push eax
call edi
lea eax, [ebp - 0x654]
push eax
lea eax, [ebp - 0x244]
push eax
call fcn.00401948
pop ecx
pop ecx
jmp 0x401a7d
lea eax, [ebp - 0x44c]
push eax
call esi
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x44c]
push eax
call edi
push dword [ebp + 0xc]
lea eax, [ebp - 0x348]
push eax
call esi
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x348]
push eax
call edi
lea eax, [ebp - 0x348]
push 0
push eax
lea eax, [ebp - 0x44c]
push eax
call dword [0x40603c]
lea eax, [ebp - 0x140]
push eax
push ebx
call dword [0x406020]
test eax, eax
jne 0x401999
push ebx
call dword [0x40601c]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x401aa1
Capabilities:
Encode data using xor
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
push edi
push esi
or ebx, 0xffffffff
push dword [ebp + 8]
call dword [0x406030]
push esi
push esi
push esi
push 2
push esi
mov edi, eax
push dword [ebp + 8]
call dword [0x40604c]
push edi
push esi
push esi
push 4
push eax
mov dword [ebp - 4], eax
call dword [0x406048]
cmp edi, esi
mov ecx, eax
jbe 0x401aff
mov dword [ebp + 8], esi
movzx esi, byte [ecx]
mov edx, ebx
shr edx, 0x18
xor edx, esi
shl ebx, 8
mov edx, dword [edx*4 + 0x408ea0]
xor ebx, edx
inc ecx
inc dword [ebp + 8]
cmp dword [ebp + 8], edi
jb 0x401ae0
push eax
call dword [0x40608c]
push dword [ebp - 4]
call dword [0x406044]
mov eax, ebx
pop edi
pop esi
pop ebx
not eax
leave
ret
Function at 0x402095
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28c
mov eax, dword [ebp + 8]
cmp byte [eax], 0x5c
jne 0x4020a9
inc dword [ebp + 8]
push ebx
push esi
push edi
lea eax, [ebp - 0x188]
push dword [ebp + 8]
push eax
call dword [0x406084]
mov esi, dword [0x406090]
lea eax, [ebp - 0x188]
push str.___
push eax
call esi
mov edi, dword [ebp + 0xc]
mov ebx, 0x8008
cmp edi, ebx
mov ecx, 0x104
jg 0x402123
je 0x40211c
mov eax, edi
dec eax
je 0x402115
dec eax
je 0x40210e
sub eax, 0x7fff
je 0x402107
dec eax
je 0x402100
dec eax
dec eax
jne 0x402173
mov eax, 0xfe
jmp 0x402176
mov eax, 0xfd
jmp 0x402176
mov eax, 0xfc
jmp 0x402176
mov eax, 0xfa
jmp 0x402176
mov eax, 0xfb
jmp 0x402176
mov eax, 0xff
jmp 0x402176
cmp edi, 0x8010
je 0x40216c
cmp edi, 0x8020
je 0x402165
cmp edi, 0x8040
je 0x40215e
cmp edi, 0x8080
je 0x402157
cmp edi, 0x80ff
jle 0x402173
cmp edi, 0x8101
jg 0x402173
mov eax, ecx
jmp 0x402176
mov eax, 0x102
jmp 0x402176
mov eax, 0x101
jmp 0x402176
mov eax, 0x103
jmp 0x402176
mov eax, 0x100
jmp 0x402176
mov eax, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x28c]
push ecx
push eax
push dword [0x40850c]
call fcn.00401784
add esp, 0x10
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x188]
push eax
call esi
lea eax, [ebp - 0x188]
push 0x4070b0
push eax
call esi
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x188]
push eax
call dword [0x406034]
push eax
lea eax, [ebp - 0x188]
push eax
push dword [ebp + 0x10]
call dword [0x40605c]
cmp edi, 0x8080
jne 0x4021e0
mov eax, dword [0x4083fc]
or dword [eax + 0x20], 0xffffffff
mov esi, dword [0x406114]
push 0x407950
call esi
push eax
push dword [ebp + 8]
call esi
push eax
call dword [0x406064]
test eax, eax
jne 0x402244
cmp edi, 0x8004
je 0x402238
cmp edi, ebx
je 0x402238
cmp edi, 0x8010
je 0x402238
cmp edi, 0x8040
je 0x402238
cmp edi, 0x80ff
jle 0x402244
cmp edi, 0x8101
jg 0x402244
mov eax, dword [0x4083fc]
mov dword [eax + 0x20], 0xfffffffe
jmp 0x402244
mov eax, dword [0x4083fc]
mov dword [eax + 0x20], 0xfffffffd
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4024cd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.00404ffa
mov edi, eax
pop ecx
test edi, edi
je 0x40252e
push ebx
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push esi
call dword [0x406010]
mov ebx, eax
lea esi, [esi + edi + 1]
lea eax, [ebp + 8]
mov edi, esi
push 0
push eax
push dword [edi]
add esi, 4
push esi
push ebx
call dword [0x40605c]
add esi, dword [edi]
push ebx
call dword [0x406044]
push esi
call fcn.00404ffa
mov edi, eax
pop ecx
test edi, edi
jne 0x4024e3
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x402532
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push ebx
push esi
push edi
mov esi, str.BZh9
lea edi, [ebp - 8]
lea eax, [ebp - 0x118]
movsd dword es:[edi], dword [esi]
xor ebx, ebx
push 0x104
push eax
push ebx
mov dword [ebp - 0x10], ebx
movsb byte es:[edi], byte [esi]
call dword [0x406068]
push ebx
push 0x80
push 3
push ebx
push 1
lea eax, [ebp - 0x118]
push 0x80000000
push eax
call dword [0x406010]
mov esi, eax
push ebx
push esi
call dword [0x406030]
push ebx
push ebx
push ebx
push 2
push ebx
push esi
mov edi, eax
call dword [0x40604c]
push edi
push ebx
push ebx
push 4
push eax
call dword [0x406048]
mov esi, eax
mov edi, 0x4400
add esi, edi
mov edi, dword [esi]
add esi, 4
dec dword [ebp + 8]
jne 0x4025a9
lea eax, [ebp - 8]
mov dword [ebp - 0x14], esi
push eax
add esi, 4
mov dword [ebp + 8], ebx
call fcn.00404ffa
test eax, eax
pop ecx
jbe 0x4025f8
mov dword [ebp - 0xc], esi
lea eax, [ebp - 8]
sub dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
lea eax, [ebp + eax - 8]
mov cl, byte [ecx + eax]
cmp cl, byte [eax]
jne 0x40263f
inc dword [ebp + 8]
lea eax, [ebp - 8]
push eax
call fcn.00404ffa
cmp dword [ebp + 8], eax
pop ecx
jb 0x4025d5
mov eax, dword [ebp - 0x14]
push 1
mov eax, dword [eax]
inc eax
push eax
call fcn.00404fdc
pop ecx
add edi, 0xfffffffc
pop ecx
mov dword [ebp + 8], eax
push ebx
xor ebx, ebx
inc ebx
push ebx
push edi
push esi
push dword [ebp - 0x14]
push eax
call fcn.00402fcc
test eax, eax
jne 0x40262e
push dword [ebp + 8]
call fcn.004024cd
pop ecx
mov dword [ebp - 0x10], ebx
push dword [ebp + 8]
call fcn.00404fd6
mov eax, dword [ebp - 0x10]
pop ecx
pop edi
pop esi
pop ebx
leave
ret
xor eax, eax
jmp 0x40263a
Function at 0x40305c
Capabilities:
Hash data using crc32b

Disassembly:
xor ecx, ecx
mov eax, ecx
push 8
shl eax, 0x18
pop edx
test eax, eax
jns 0x403073
add eax, eax
xor eax, 0x4c11db7
jmp 0x403075
add eax, eax
dec edx
jne 0x403066
mov dword [ecx*4 + 0x408ea0], eax
inc ecx
cmp ecx, 0x100
jl 0x40305e
ret
Function at 0x930164
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x93016a
pop ebp
sub ebp, 6
sub ebp, 0x530164
jmp 0x9301c8
sbb eax, dword [eax]
dec edi
adc byte [si], bh
js 0x9301f8
ficom word [edi - 0x19f8ea11]
push edx
mov al, 0xa8
out 0xc3, al
cld
dec ebp
add dword [eax], eax
add byte [eax], al
jb 0x930215
sub ah, byte [edx + 0x200f4e81]
fist dword [ebp + 0x6a56d85a]
mov ebx, dword [esi + 0x486ebe51]
fisub word [edx]
mov ebp, 0x77e2a302
mov byte [esi - 0x10], bh
shl dword [edi - 0x17], 1
add al, 0
add byte [eax], al
lea ebp, [edi]
jl 0x9301ed
jmp 0x9301d1
mov eax, 0x530164
add eax, ebp
add eax, 0x93
mov ecx, 0x616
mov edx, 0x929d58e3
pop eax
popfd
xchg edx, eax
xor byte [eax], dl
inc eax
dec ecx
jne 0x9301e8
test esi, esi
invalid
jmp 0x9301fb
mov byte [ecx - 0x745c76a0], 0xe3
jecxz 0x9301e5
mov dword [ebx - 0x1c0c1c75], esp
jecxz 0x9301e5
jecxz 0x93018e
mov esp, ebx
das
jecxz 0x930234
iretd
mov bl, 0x1c
jbe 0x9301a8
mov byte [0x68b3e3aa], al
push 0xe3e3df6a
invalid
jecxz 0x9301fb
jecxz 0x93027c
and bl, byte [ebx]
jecxz 0x930201
jecxz 0x930200
pop ebx
in eax, 0xe3
jecxz 0x930209
pop ecx
retf
jecxz 0x930216
mov bl, 0x8b
push 0xffffffffffffffd5
ljmp 0xe3aa
out 0xaa, eax
in al, dx
pop ss
sbb al, 0x1c
sbb al, 0xbe
and edi, ebp
out dx, eax
jecxz 0x9302e7
outsd dx, dword [esi]
invalid
cmp dword [ecx], ebp
stosb byte es:[edi], al
jecxz 0x930272
iretd
jecxz 0x93028b
or ch, byte [edi]
sbb al, 0x1c
sbb al, 0xca
scasd eax, dword es:[edi]
invalid
Function at 0x405282
Capabilities:
Print debug messages

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push edi
push str.WinMain_start__lpCmdLine_is:
call esi
mov eax, dword [esp + 0x14]
xor edi, edi
cmp dword [esp + 0x14], edi
jne 0x4052a2
mov eax, str.NULL
push eax
call esi
push str.WinMain_start__parameter_is:
call esi
push str.package.nameZoom.msipackage.versionlatestpackage.size8585kdownloadRoothttps:__launcher.zoom.us_clientactionstartbrowserchromesidtRHljlJcTm_DoFkv_9HN7gstype100tokenEzrwqCtKgr17FmvhRux2MRMYFSno4dBL6S_D_ohJuW0.BgMsOXVXVlluL3JiMXJ2TXBjaHNRbkNuSzZJbnBjTWZOQzJ3RVcvWjRpeG9JST1AM2UzOTE0YzdjNTZjOTI1ZmEzMjc5NTVhNDBkMmUwNzM2ZjJkOGRjYWJiMDI1ZmNkMTIyMDdhZTAxYjRmMDljZQAMM0NCQXVvaVlTM3M9uidtRHljlJcTm_DoFkv_9HN7gunameAcadGild_20Mentorconfidconfno6027766825mcv0.92.11227.09290installer.exeInstaller.exe
call esi
push 0x444
call fcn.00407475
pop ecx
cmp eax, edi
je 0x4052ce
mov edx, dword [esp + 0xc]
push eax
call fcn.0040538c
jmp 0x4052d0
xor eax, eax
push str.zoom.us_Downloader_Mutex_1.0.0.0
push edi
push 0x1f0001
mov dword [0x41ddb8], eax
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
cmp eax, edi
je 0x4052f3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4052fc
call fcn.00406405
test eax, eax
jne 0x40531c
push edi
push str.zoom.us_Boot_Downloader
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, edi
je 0x405341
push edi
push edi
push 0x7e9
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x405341
mov ecx, dword [esp + 0x14]
call fcn.004057bb
mov eax, dword [0x41ddb8]
cmp eax, edi
je 0x405334
push eax
call fcn.00405348
push str.WinMain_end
mov dword [0x41ddb8], edi
call esi
pop edi
xor eax, eax
pop esi
ret 0x10