joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4220d0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
cmp dword [0x47a2d0], 1
je 0x4220e7
call fcn.00422050
mov eax, dword [0x4514c4]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
test eax, eax
mov ebx, eax
je 0x422108
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
call fcn.00421fa0
mov edi, dword [entry3]
test edi, edi
mov esi, eax
je 0x4220fe
test eax, eax
je 0x4220fe
mov dword [eax + 0x24], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi + 0x38], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [esi + 0x1c], 0xffffffff
mov dword [esi + 0x34], 0xffffffff
mov dword [esi + 0x60], 0
mov dword [esi + 0x14], 0
sub esp, 0x10
mov dword [esi + 0x18], eax
call ebx
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edi, eax
call ebx
mov edx, dword [ebp - 0x1c]
lea ecx, [esi + 0x14]
mov dword [esp + 0x18], 2
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
sub esp, 0x1c
test eax, eax
je 0x422209
mov eax, dword [esi + 0x14]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], eax
movzx eax, byte [esi + 0x20]
sub esp, 4
and eax, 0xffffffcf
or eax, 0x10
mov byte [esi + 0x20], al
mov eax, dword [0x4514c4]
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
je 0x422209
mov ebx, esi
jmp 0x4220fe
call sub.msvcrt.dll_abort
nop
Function at 0x422360
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
cmp dword [ebp + 0xc], 3
je 0x422380
lea esp, [ebp - 8]
mov eax, 1
pop ebx
pop esi
pop ebp
ret 0xc
mov eax, dword [0x4514c4]
cmp eax, 0xffffffff
je 0x42236e
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
test eax, eax
mov ebx, eax
je 0x42236e
test byte [eax + 0x20], 0x30
je 0x422430
mov eax, dword [eax + 0xb0]
test eax, eax
jne 0x4224c7
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x4223e6
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp], eax
call esi
mov eax, dword [ebx + 0x18]
sub esp, 4
test eax, eax
je 0x4223d8
mov dword [esp], eax
call esi
sub esp, 4
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x14], 0
lea eax, [ebx + 0x1c]
mov dword [esp], eax
call fcn.00421880
mov eax, dword [ebx + 0xac]
mov dword [ebx + 0x34], 0xffffffff
test eax, eax
je 0x4224d5
mov eax, dword [0x4514c4]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, 1
sub esp, 8
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret 0xc
mov eax, dword [eax + 0x64]
test eax, eax
mov eax, dword [ebx + 0x18]
jne 0x422490
test eax, eax
je 0x42244a
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov eax, dword [ebx + 0xb0]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x64], 1
test eax, eax
jne 0x4224c0
test byte [ebx + 0x24], 4
je 0x4224a7
mov eax, dword [ebx + 0x14]
mov dword [ebx], 0xdeadbeef
test eax, eax
je 0x4223df
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
jmp 0x4223df
test eax, eax
je 0x4224a0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov dword [ebx + 0x18], 0
lea eax, [ebx + 0x1c]
mov dword [esp], eax
call fcn.00421880
mov dword [ebx + 0x34], 0xffffffff
jmp 0x42236e
call fcn.00422250
jmp 0x422462
call fcn.00422250
lea esi, [esi]
jmp 0x4223b4
mov eax, ebx
call fcn.00421e10
lea esi, [esi]
jmp 0x422406
Function at 0x422e00
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
call fcn.004220d0
mov ebx, eax
mov dword [eax + 4], esi
mov eax, dword [eax + 0xb0]
test eax, eax
jne 0x422e84
test byte [ebx + 0x20], 0x30
jne 0x422e38
add ebx, 0x6c
mov dword [esp + 4], 1
mov dword [esp], ebx
call sub.msvcrt.dll_longjmp
mov eax, dword [0x4514c4]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
mov ebx, eax
push edx
je 0x422e7b
cmp dword [eax + 0x14], 0
je 0x422ec8
mov esi, dword [eax + 4]
mov dword [eax + 0x64], 1
mov eax, dword [eax + 0x18]
test eax, eax
je 0x422e6e
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
test byte [ebx + 0x24], 4
mov dword [ebx + 0x18], 0
jne 0x422e8b
mov dword [esp], esi
call dword [sym.imp.msvcrt.dll__endthreadex]
call fcn.00422250
jmp 0x422e1f
mov eax, dword [ebx + 0x14]
mov dword [ebx], 0xdeadbeef
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
cmp dword [ebx + 0xac], 0
mov dword [ebx + 0x14], 0
je 0x422ef2
mov eax, dword [0x4514c4]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push ecx
push ecx
jmp 0x422e7b
mov dword [eax], 0xdeadbeef
mov eax, dword [eax + 0x18]
test eax, eax
je 0x422edf
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
cmp dword [ebx + 0xac], 0
mov dword [ebx + 0x18], 0
mov esi, dword [ebx + 4]
jne 0x422eae
mov eax, ebx
call fcn.00421e10
jmp 0x422eae
Function at 0x431400
Capabilities:
Write file on windows

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

Disassembly:
push esi
push ebx
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
add edx, dword [edx + 0x3c]
movzx esi, word [edx + 6]
movzx eax, word [edx + 0x14]
test esi, esi
lea eax, [edx + eax + 0x18]
je 0x431e38
xor edx, edx
nop
mov ecx, dword [eax + 0xc]
cmp ecx, ebx
ja 0x431e2e
add ecx, dword [eax + 8]
cmp ebx, ecx
jb 0x431e3a
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x431e20
xor eax, eax
pop ebx
pop esi
ret
Function at 0x401102
Capabilities:
Terminate process

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ecx
sub esp, 0x44
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0x18
mov eax, dword [ebp - 0x18]
mov eax, dword fs:[eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 0
jmp 0x40115e
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
jne 0x40114d
mov dword [ebp - 0xc], 1
jmp 0x401188
mov dword [esp], 0x3e8
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], 0x4110a0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x20]
lock cmpxchg dword [edx], ecx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x40113c
mov eax, dword [0x4110a4]
cmp eax, 1
jne 0x4011a0
mov dword [esp], 0x1f
call fcn.00402ac4
jmp 0x4011d3
mov eax, dword [0x4110a4]
test eax, eax
jne 0x4011c9
mov dword [0x4110a4], 1
mov dword [esp + 4], 0x414014
mov dword [esp], 0x41400c
call sub.ucrtbase.dll__initterm
jmp 0x4011d3
mov dword [0x41101c], 1
mov eax, dword [0x4110a4]
cmp eax, 1
jne 0x4011fb
mov dword [esp + 4], 0x414008
mov dword [esp], section..CRT
call sub.ucrtbase.dll__initterm
mov dword [0x4110a4], 2
cmp dword [ebp - 0xc], 0
jne 0x401217
mov dword [ebp - 0x2c], 0x4110a0
mov dword [ebp - 0x30], 0
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
xchg dword [eax], edx
mov eax, dword [entry1]
test eax, eax
je 0x401241
mov eax, dword [entry1]
mov dword [esp + 8], 0
mov dword [esp + 4], 2
mov dword [esp], 0
call eax
sub esp, 0xc
call fcn.00401fa1
mov dword [esp], 0x4020bc
mov eax, dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call eax
sub esp, 4
mov dword [0x411074], eax
mov dword [esp], section..text
call sub.ucrtbase.dll__set_invalid_parameter_handler
call fcn.00401940
mov eax, dword [0x411004]
mov dword [esp + 4], 0x411008
mov dword [esp], eax
call fcn.004013c8
call fcn.0040177c
mov eax, dword [0x40b014]
mov edx, dword [0x41100c]
mov dword [eax], edx
mov ecx, dword [0x41100c]
mov edx, dword [0x411008]
mov eax, dword [0x411004]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0040a9ac
mov dword [0x411014], eax
mov eax, dword [0x411018]
test eax, eax
jne 0x4012d0
mov eax, dword [0x411014]
mov dword [esp], eax
call sub.ucrtbase.dll_exit
mov eax, dword [0x41101c]
test eax, eax
jne 0x4012de
call sub.ucrtbase.dll__cexit
mov eax, dword [0x411014]
mov ecx, dword [ebp - 4]
leave
lea esp, [ecx - 4]
ret
Function at 0x4012eb
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [0x41104c], 1
mov dword [0x411050], 1
mov dword [0x411054], 1
mov dword [ebp - 4], 0x400000
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp ax, 0x5a4d
je 0x40132c
mov eax, 0
jmp 0x4013c6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, 0x4550
je 0x40134f
mov eax, 0
jmp 0x4013c6
mov eax, dword [ebp - 8]
add eax, 0x18
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
movzx eax, ax
cmp eax, 0x10b
je 0x401371
cmp eax, 0x20b
je 0x401396
jmp 0x4013c1
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x5c]
cmp eax, 0xe
ja 0x401383
mov eax, 0
jmp 0x4013c6
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x4013c6
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x6c]
cmp eax, 0xe
ja 0x4013ae
mov eax, 0
jmp 0x4013c6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x4013c6
mov eax, 0
leave
ret

Function at 0x401948
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov dword [esp], 2
call sub.ucrtbase.dll___acrt_iob_func
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.ucrtbase.dll_fwrite
mov ebx, dword [ebp - 0xc]
mov dword [esp], 2
call sub.ucrtbase.dll___acrt_iob_func
mov dword [esp + 8], ebx
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00402934
call sub.ucrtbase.dll_abort

Function at 0x40251c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp ax, 0x5a4d
je 0x40253b
mov eax, 0
jmp 0x40257f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, 0x4550
je 0x40255e
mov eax, 0
jmp 0x40257f
mov eax, dword [ebp - 8]
add eax, 0x18
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
cmp ax, 0x10b
je 0x40257a
mov eax, 0
jmp 0x40257f
mov eax, 1
leave
ret
Function at 0x402581
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp + 8]
add eax, edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 0x14]
movzx edx, ax
mov eax, dword [ebp - 0xc]
add eax, edx
add eax, 0x18
mov dword [ebp - 4], eax
jmp 0x4025e0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
cmp dword [ebp + 0xc], eax
jb 0x4025d8
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
add eax, edx
cmp dword [ebp + 0xc], eax
jae 0x4025d8
mov eax, dword [ebp - 4]
jmp 0x4025f4
add dword [ebp - 8], 1
add dword [ebp - 4], 0x28
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 6]
movzx eax, ax
cmp dword [ebp - 8], eax
jb 0x4025b5
mov eax, 0
leave
ret

Function at 0x4066a8
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
mov edi, dword [ebp + 8]
cmp dword [edi], 0
je 0x406719
cmp dword [ecx + 0x20], 0
mov esi, ecx
jne 0x4066c6
call fcn.00401668
lea eax, [ecx + 0x18]
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [ecx + 0x24]
mov dword [ebp - 0x2c], esi
lea esi, [ebp - 0x2c]
mov ebx, eax
mov word [ebp - 0x1c], 0x104
call fcn.004015d0
mov edx, dword [edi]
mov ecx, 5
mov dword [ebp - 0x30], edx
xor edx, edx
mov dword [edi], edx
lea edi, [esp + 8]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 4], eax
lea eax, [ebp - 0x30]
mov dword [esp], eax
call fcn.00401620
mov eax, dword [ebp - 0x30]
call fcn.004061a8
mov dword [esp], ebx
call sub.ucrtbase.dll_exit
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret 4
Function at 0x100083c3
Capabilities:
Parse pe header

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1000b11c
push ebx
push esi
call fcn.1000b048
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1000afdc
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000b0c9
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000b11b
push edi
push eax
call fcn.1000c03b
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1000b0e9
call fcn.10009b24
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000b11a
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1000afdc
add esp, 0x20
test eax, eax
jne 0x1000b108
push edi
call fcn.10009b24
jmp 0x1000b110
push ebx
call fcn.10009b24
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1000b389
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10012678
push 0x10012670
push str.FlsAlloc
push 0x1f
call fcn.1000b2a5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000b3bd
push dword [ebp + 8]
mov ecx, esi
call dword [0x1001114c]
call esi
jmp 0x1000b3c3
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1000b407
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10012688
push 0x10012680
push str.FlsGetValue
push 0x21
call fcn.1000b2a5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000b43e
push dword [ebp + 8]
mov ecx, esi
call dword [0x1001114c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1000b446
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10012690
push 0x10012688
push str.FlsSetValue
push 0x22
call fcn.1000b2a5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000b480
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1001114c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10010b00
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10010b2d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10010b2d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
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.size8257kdownloadRoothttps:__launcher.zoom.us_clientactionjoinbrowserfirefoxconfiddGlkPU5UYVVWcHhjUUxPYXhRVGpfa01RQlE_3Dconfno740455501zc0mcv0.92.11227.0929stafalseinstaller.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
Function at 0x10001032
Capabilities:
Check if file exists
Get file attributes

Disassembly:
jmp 0x10001230
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push str.PangyaUS.ini
call esi
cmp eax, 0xffffffff
jne 0x10001267
push str.PangyaJP.ini
call esi
cmp eax, 0xffffffff
je 0x10001256
mov eax, 1
pop esi
ret
push str.PangyaTH.ini
call esi
inc eax
neg eax
pop esi
sbb eax, eax
and eax, 2
ret
xor eax, eax
pop esi
ret

Function at 0x1000104b
Capabilities:
Write file on windows

Disassembly:
jmp 0x100016c0
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push 0
push 0x80
push 4
push 0
push 0
push 2
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10001728
push esi
mov esi, dword [esp + 0x1c]
push edi
test esi, esi
je 0x10001710
mov edi, dword [esp + 0x1c]
push 0
lea eax, [esp + 0x14]
push eax
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1000171d
add edi, dword [esp + 0x10]
sub esi, dword [esp + 0x10]
jne 0x100016f2
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push ebp
push str.Error_writing_to_file__s.
call fcn.100010c3
push ebp
push str.Error_creating_file__s.
call fcn.100010c3
int3
Function at 0x10001055
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
jmp 0x100027e0
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
push edi
xor edi, edi
nop dword [eax]
lea eax, [edi + ebx]
push eax
call fcn.1000110e
add edi, eax
add esp, 4
cmp edi, 6
jb 0x100027f0
lea esi, [edi + 6]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push edi
mov ebp, eax
push ebx
push ebp
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov byte [edi + ebp], 0xe9
lea eax, [esp + 0x1c]
mov byte [edi + ebp + 5], 0xc3
mov ecx, ebx
sub ecx, ebp
push eax
push 0x40
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub ecx, 5
push ebp
mov dword [edi + ebp + 1], ecx
call esi
lea eax, [esp + 0x1c]
mov byte [esp + 0x10], 0xe9
push eax
push 0x40
push 6
push ebx
mov byte [esp + 0x25], 0xc3
call esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x10002871
call esi
push eax
push str.Failed_to_install_hook:_VirtualProtect_failed.___08x_
call fcn.100010c3
add esp, 8
mov eax, dword [esp + 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
sub eax, ebx
sub eax, 5
push 0
mov dword [esp + 0x15], eax
lea eax, [esp + 0x14]
push 6
push eax
push ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x100028ab
call esi
push eax
push str.Failed_to_install_hook:_WriteProcessMemory_failed.___08x_
call fcn.100010c3
add esp, 8
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x20]
push 6
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100028d1
call esi
push eax
push str.Failed_to_install_hook:_VirtualProtect_failed.___08x_
call fcn.100010c3
add esp, 8
push 6
push ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
test eax, eax
jne 0x100028f1
call esi
push eax
push str.Failed_to_install_hook:_FlushInstructionCache_failed.___08x_
call fcn.100010c3
add esp, 8
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 8
ret
Function at 0x1000106e
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
jmp 0x10002950
sub esp, 0x10
push ebx
push ebp
push esi
push edi
push dword [esp + 0x28]
push dword [esp + 0x28]
call fcn.1000105f
add esp, 8
mov ebx, eax
xor edi, edi
nop dword [eax + eax]
lea ecx, [edi + ebx]
push ecx
call fcn.1000110e
add edi, eax
add esp, 4
cmp edi, 6
jb 0x10002970
lea esi, [edi + 6]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push edi
mov ebp, eax
push ebx
push ebp
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov byte [edi + ebp], 0xe9
lea eax, [esp + 0x14]
mov byte [edi + ebp + 5], 0xc3
mov ecx, ebx
sub ecx, ebp
push eax
push 0x40
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub ecx, 5
push ebp
mov dword [edi + ebp + 1], ecx
call esi
lea eax, [esp + 0x10]
mov byte [esp + 0x18], 0xe9
push eax
push 0x40
push 6
push ebx
mov byte [esp + 0x2d], 0xc3
call esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x100029f1
call esi
push eax
push str.Failed_to_install_hook:_VirtualProtect_failed.___08x_
call fcn.100010c3
add esp, 8
mov eax, dword [esp + 0x2c]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
sub eax, ebx
sub eax, 5
push 0
mov dword [esp + 0x1d], eax
lea eax, [esp + 0x1c]
push 6
push eax
push ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x10002a2b
call esi
push eax
push str.Failed_to_install_hook:_WriteProcessMemory_failed.___08x_
call fcn.100010c3
add esp, 8
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x14]
push 6
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10002a51
call esi
push eax
push str.Failed_to_install_hook:_VirtualProtect_failed.___08x_
call fcn.100010c3
add esp, 8
push 6
push ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
test eax, eax
jne 0x10002a71
call esi
push eax
push str.Failed_to_install_hook:_FlushInstructionCache_failed.___08x_
call fcn.100010c3
add esp, 8
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x10
ret