joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40629f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x4062c4
mov eax, dword [0x40a8a8]
cmp eax, 0xffffffff
je 0x4062bb
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [0x40a8a8], 0xffffffff
jmp 0x406337
cmp dword [0x42f760], ebx
je 0x406337
cmp byte [0x42f360], bl
je 0x406303
cmp dword [0x40a8a8], 0xffffffff
jne 0x40630c
push 4
push 0x40000000
push 0x42f360
call fcn.00405c7f
cmp eax, 0xffffffff
mov dword [0x40a8a8], eax
je 0x406337
push 2
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [0x40a8a8], 0xffffffff
je 0x406337
push esi
mov esi, 0x42ff80
push 0x40aaf0
push esi
call sub.KERNEL32.dll_lstrcatA
lea eax, [ebp + 8]
push ebx
push eax
push esi
call sub.KERNEL32.dll_lstrlenA
push eax
push esi
push dword [0x40a8a8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
pop ebx
pop ebp
ret 4

Function at 0x4064df
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42ddbc], 0
push esi
jne 0x406516
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4064f0
mov dword [ecx*4 + 0x42ddb8], eax
inc ecx
cmp ecx, 0x100
jl 0x4064eb
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406547
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42ddb8]
xor eax, esi
inc ecx
dec edx
jne 0x406529
pop edi
not eax
pop esi
ret 0xc
Function at 0x4120a2
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x4186c0], 0
push ebx
push esi
mov esi, 0x4186c8
jne 0x4120ce
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push esi
mov dword [0x4186e0], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x4186c0], 1
push dword [0x4186e0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
jne 0x41216b
push 0x14
push 8
push dword [0x41804c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x412195
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x4186c4]
test eax, eax
je 0x412110
mov dword [eax], ebx
push edi
push esi
mov dword [ebx + 4], eax
mov dword [0x4186c4], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edi, [ebx + 0x10]
push 0
push 0
push 0x100000
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 8
push 0xffffffffffffffff
push ebx
push 0x41219a
push dword [edi]
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
push ebx
push dword [0x4186e0]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
push 0xc
push 0
push dword [0x41804c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x412195
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
mov dword [ebx + 8], eax
pop esi
pop ebx
ret 8

Function at 0x419b00
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0xa56218a8
sbb eax, 0xa054bd
xlatb
and al, 0x53
xor ah, dh
fcomp qword [edi + 0xb8270fd]
cmc
sub eax, 0x3d0774e4
sbb byte [edi + 0x17], bl
aaa
xor ecx, edx
jecxz 0x419b1c
jl 0x419b5b
mov dword [0x7e9c2ec7], eax
inc edi
out 0xd0, eax
mov edi, dword [esi]
sbb esi, dword [edx]
int 0xcf
rcl byte [eax]
fiadd dword [ebp + 0x12]
jecxz 0x419b69
sbb al, byte [eax + eax + 0x74000000]
stc
test byte [eax], al
add byte [eax], al
add byte [ecx + edi*8 - 0x43], dh
je 0x419afb
mov ebp, 0x7731d031
add dword [eax], eax
invalid
jp 0x419b0c
je 0x419afb
mov ebp, 0x7731d031
add dword [eax], eax
call 0xab419b88
jae 0x419b16
add byte [ebx + 0x26000673], ch
add byte [esi], ah
add eax, 0x31a8d00
add byte [ecx], ch
cdq
sub byte [0x45157ab7], 0x2e
loopne 0x419abf
add eax, dword [eax]
sub dword [ecx + 0x7ab72d82], ebx
mov bh, 0x7a
adc eax, 0x9ce02e45
int 0x9e
fimul dword [ebp - 0x7d]
shr byte [edx - 0x675b92], 0xf3
ja 0x419b81
leave
inc edi
hlt
jge 0x419bb6
outsd dx, dword [esi]
dec eax
mov bl, dh
xor esi, ebp
aas
wait
sbb ebx, ebx
std
clc
into
ret 0xab06
salc
adc eax, 0xe3fec155
mov dword [0x7160e872], eax
and dword gs:[eax], ebx
lea ebp, [edx]
lea eax, [eax]
cmpsd dword [esi], dword es:[edi]
std
mov ebp, 0x4b70e31b
dec edi
sbb ch, cl
mov eax, 0xdabfde48
hlt
int 0xf8
scasb al, byte es:[edi]
xor ebx, dword [ebx + 0x54]
ret
Function at 0x4041b4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
xor edx, edx
mov ecx, dword [ebp + 0xc]
and eax, 3
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, edx
sub ecx, eax
je 0x4041fe
rol edx, 5
xor edx, dword [esi + ebx]
add esi, 4
imul eax, edx, 0x9e3779b9
rol eax, 5
xor eax, 4
imul edx, eax, 0x9e3779b9
cmp esi, ecx
jb 0x4041cd
jmp 0x4041fe
movsx ecx, byte [esi + ebx]
rol edx, 5
xor edx, ecx
imul edx, edx, 0x9e3779b9
inc esi
cmp esi, dword [ebp + 0xc]
jb 0x4041ee
pop esi
mov eax, edx
pop ebx
pop ebp
ret

Function at 0x404261
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [sym.TestMacroForEach.exe_gMozillaPoisonSize]
push esi
push edi
push 1
lea esi, [ebx - 1]
push 0x2000
not esi
push ebx
and esi, 0xf0deafff
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
cmp edi, esi
jne 0x404299
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp esi, dword [ebp - 0x1c]
jb 0x4042c3
lea eax, [esi + ebx]
cmp eax, dword [ebp - 0x1c]
jb 0x4042c3
test edi, edi
je 0x404290
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x404290
test edi, edi
je 0x4042cb
mov eax, edi
jmp 0x404292
push 1
push 0x2000
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x404292
int3

Function at 0x4042fa
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 8]
mov dword [sym.TestMacroForEach.exe_gMozillaPoisonSize], eax
call fcn.00404261
mov ecx, dword [sym.TestMacroForEach.exe_gMozillaPoisonSize]
mov dword [sym.TestMacroForEach.exe_gMozillaPoisonBase], eax
test ecx, ecx
je 0x404330
shr ecx, 1
dec ecx
add eax, ecx
mov dword [sym.TestMacroForEach.exe_gMozillaPoisonValue], eax
mov esp, ebp
pop ebp
ret
Function at 0x405280
Capabilities:
Encode data using xor

Disassembly:
push 0x405334
call sub.MSVBVM60.DLL_ThunRTMain
add byte [eax], al
add byte [eax], al
add byte [eax], al
xor byte [eax], al
add byte [eax], al
pushal
add byte [eax], al
add byte [eax], al
add byte [eax], al
mov ebx, 0x93ecd7ec
xor al, 0xfa
inc ebp
stosb byte es:[edi], al
adc eax, edi
pop esi
pushal
jg 0x40529c
mov al, byte [pe_dos_header]
add byte [eax], al
add dword [eax], eax
add byte [eax], al
sub eax, 0x30303043
sub eax, 0x7769626b
jno 0x40532b
imul ebp, dword [esi + 0x6f], 0x75
add byte [esi], dh
jge 0x4052ed
xor ch, byte [esi]
cmp dword [eax], esi
cmp dword [ebx], esi
xor al, 0x30
xor dh, byte [ebx]
cmp byte [ebx + esi], dh
cmp dword [edx], esi
cmp byte [0x36353334], dh
xor eax, 0x34353634
add byte ss:[edi + ebp*2 + 0x6c], ah
xor ch, byte gs:[esi]
add byte [eax], al
add byte [eax], al
add dword [eax], eax
add byte [eax], al
adc byte [eax + eax*2], al
add bh, bh
add byte [eax], al
add byte [ecx], al
add byte [eax], al
add byte [eax], dl
test byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax + eax], dl
add byte [eax], al
adc eax, 0x56000000
inc edx
xor eax, 0x2a263621
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [esi], bh
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
or al, byte [eax]
or dword [eax + eax], eax
add byte [eax], al
add byte [eax], al
add byte [eax - 0x5a], bh
inc edx
add byte [ebp + edx*2 + 0x40], dl
add byte [edi], bh
invalid
Function at 0x4027c8
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x4027d6
call dword [0x4d801c]
or eax, eax
je 0x4027d7
ret
mov al, 1
jmp fcn.004028a0

Function at 0x4027e0
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x4027ee
call dword [0x4d8020]
or eax, eax
jne 0x4027ef
ret
mov al, 2
jmp fcn.004028a0

Function at 0x4027f8
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [eax]
test ecx, ecx
je 0x402830
test edx, edx
je 0x40281a
push eax
mov eax, ecx
call dword [0x4d8024]
pop ecx
or eax, eax
je 0x402829
mov dword [ecx], eax
ret
mov al, 2
jmp fcn.004028a0
mov dword [eax], edx
mov eax, ecx
call dword [0x4d8020]
or eax, eax
jne 0x402813
ret
mov al, 1
jmp fcn.004028a0
test edx, edx
je 0x402844
push eax
mov eax, edx
call dword [0x4d801c]
pop ecx
or eax, eax
je 0x402829
mov dword [ecx], eax
ret

Function at 0x4028a0
Capabilities:
Terminate process

Disassembly:
and eax, 0x7f
mov ecx, dword [0x4db004]
test ecx, ecx
je 0x4028b0
pop edx
call ecx
dec eax
mov al, byte [eax + 0x4028c9]
jns 0x4028c4
call fcn.004074d0
mov eax, dword [eax + 4]
jmp fcn.00403d58

Function at 0x402a28
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x402a57
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403e48
jmp 0x402a75
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.004029b0
mov edi, eax
test ebx, ebx
je 0x402a75
cmp dword [esi], 0
je 0x402a75
dec ebx
jmp 0x402a5e
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402f4c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402fe4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402fc4
xor eax, eax
push ebp
push 0x402fbd
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403000
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402fc4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret

Function at 0x403264
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x40327e
mov ecx, eax
mov ecx, dword [ecx]
cmp ecx, edx
je 0x40327e
mov ecx, dword [ecx - 0x24]
test ecx, ecx
jne 0x40326a
mov al, 0xa
jmp fcn.004028a0
ret

Function at 0x4032b0
Capabilities:
Terminate process

Disassembly:
cmp dword [0x4db01c], 0
je 0x402b4f
call dword [0x4db01c]
mov eax, 0xd2
jmp fcn.00403d58
push eax
push ecx
mov eax, dword [eax]
call fcn.00403280
pop ecx
pop eax
je 0x4032bf
jmp ebx
pop ecx
jmp 0x402b40
Function at 0x4032c8
Capabilities:
Terminate process

Disassembly:
push ebx
mov ebx, edx
mov eax, dword [eax]
call fcn.00403280
mov eax, ebx
pop ebx
jne 0x4032dd
pop ecx
jmp 0x402b40
ret

Function at 0x403c34
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, 0x4db4a4
mov esi, 0x4db038
mov edi, 0x4db03c
cmp byte [ebx + 0x24], 0
jne 0x403c63
cmp dword [edi], 0
je 0x403c63
mov edx, dword [edi]
mov eax, edx
xor edx, edx
mov dword [edi], edx
mov ebp, eax
call ebp
cmp dword [edi], 0
jne 0x403c52
cmp dword [0x4db040], 0
je 0x403caa
call fcn.00403bb0
cmp byte [0x4db048], 0
je 0x403c90
mov edx, 0x4d802c
mov eax, 0x4db21c
call fcn.00406d6c
call fcn.00406cef
jmp 0x403ca3
push 0
push 0x4d804c
push 0x4d802c
push 0
call sub.user32.dll_MessageBoxA
xor eax, eax
mov dword [0x4db040], eax
cmp byte [ebx + 0x24], 2
jne 0x403cba
cmp dword [esi], 0
jne 0x403cba
xor eax, eax
mov dword [ebx + 0xc], eax
call fcn.00403a68
cmp byte [ebx + 0x24], 1
jbe 0x403cca
cmp dword [esi], 0
je 0x403ce7
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x403ce7
call fcn.00406728
mov eax, dword [ebx + 0x10]
mov edx, dword [eax + 0x10]
cmp edx, dword [eax + 4]
je 0x403ce7
push edx
call sub.kernel32.dll_FreeLibrary
call fcn.00403a40
cmp byte [ebx + 0x24], 1
jne 0x403cf5
call dword [ebx + 0x28]
cmp byte [ebx + 0x24], 0
je 0x403d00
call fcn.00403c00
cmp dword [ebx], 0
jne 0x403d0d
mov eax, dword [esi]
push eax
call sub.kernel32.dll_ExitProcess
mov eax, dword [ebx]
push esi
mov esi, eax
mov edi, ebx
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
pop esi
jmp 0x403caa

Function at 0x4043c8
Capabilities:
Terminate process

Disassembly:
mov al, 1
jmp fcn.004028a0
test edx, edx
je fcn.0040438c
mov ecx, dword [edx - 4]
shr ecx, 1
je fcn.0040438c
push ecx
push edx
push eax
call sub.oleaut32.dll_SysReAllocStringLen
test eax, eax
je 0x404374
ret

Function at 0x404470
Capabilities:
Terminate process

Disassembly:
test ecx, ecx
je fcn.0040438c
push eax
push ecx
push edx
call sub.oleaut32.dll_SysAllocStringLen
test eax, eax
je 0x404374
pop edx
push dword [edx]
mov dword [edx], eax
call sub.oleaut32.dll_SysFreeString
ret

Function at 0x4044c4
Capabilities:
Terminate process

Disassembly:
xor ecx, ecx
test edx, edx
je 0x4044f7
push edx
cmp cx, word [edx]
je 0x4044f0
cmp cx, word [edx + 2]
je 0x4044ed
cmp cx, word [edx + 4]
je 0x4044ea
cmp cx, word [edx + 6]
je 0x4044e7
add edx, 8
jmp 0x4044cb
add edx, 2
add edx, 2
add edx, 2
mov ecx, edx
pop edx
sub ecx, edx
shr ecx, 1
jmp fcn.00404470

Function at 0x4045f8
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x40460c
push eax
push 0
call sub.oleaut32.dll_SysAllocStringLen
test eax, eax
je 0x404374
ret

Function at 0x4046a4
Capabilities:
Terminate process

Disassembly:
mov edx, dword [eax]
test edx, edx
je 0x4046c2
push eax
mov ecx, dword [edx - 4]
shr ecx, 1
push ecx
push edx
call sub.oleaut32.dll_SysAllocStringLen
pop edx
test eax, eax
je 0x404374
mov dword [edx], eax
ret
Function at 0x4046f0
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
xor edx, edx
mov al, byte [esi]
mov dl, byte [esi + 1]
xor ecx, ecx
cmp al, 0xa
je 0x40472f
cmp al, 0xb
je 0x40472f
cmp al, 0xc
je 0x404739
cmp al, 0xd
je 0x40474c
cmp al, 0xe
je 0x40476a
cmp al, 0xf
je 0x40472f
cmp al, 0x11
je 0x40472f
mov al, 2
pop edi
pop esi
pop ebx
jmp fcn.004028a0
mov dword [ebx], ecx
add ebx, 4
dec edi
jg 0x40472f
jmp 0x40477e
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], ecx
add ebx, 0x10
dec edi
jg 0x404739
jmp 0x40477e
push ebp
mov ebp, edx
mov edx, dword [esi + ebp + 0xa]
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov ecx, dword [esi + ebp + 6]
mov edx, dword [edx]
call fcn.004046f0
dec edi
jg 0x40474f
pop ebp
jmp 0x40477e
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.004046c4
dec edi
jg 0x40476d
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x404784
Capabilities:
Terminate process

Disassembly:
mov ecx, 1
jmp fcn.004046f0

Function at 0x4047bc
Capabilities:
Terminate process

Disassembly:
push eax
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
xor edx, edx
mov al, byte [esi]
mov dl, byte [esi + 1]
cmp al, 0xa
je 0x404803
cmp al, 0xb
je 0x40481d
cmp al, 0xc
je 0x404834
cmp al, 0xd
je 0x404843
cmp al, 0xe
je 0x404861
cmp al, 0xf
je 0x404877
cmp al, 0x11
je 0x404886
pop edi
pop esi
pop ebx
pop eax
mov al, 2
jmp fcn.004028a0
cmp ecx, 1
mov eax, ebx
jg 0x404814
call fcn.00403d64
jmp 0x404895
mov edx, ecx
call fcn.00403d88
jmp 0x404895
cmp ecx, 1
mov eax, ebx
jg 0x40482b
call fcn.0040438c
jmp 0x404895
mov edx, ecx
call fcn.004043a4
jmp 0x404895
mov eax, ebx
add ebx, 0x10
call fcn.00405a34
dec edi
jg 0x404834
jmp 0x404895
push ebp
mov ebp, edx
mov edx, dword [esi + ebp + 0xa]
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov ecx, dword [esi + ebp + 6]
mov edx, dword [edx]
call fcn.004047bc
dec edi
jg 0x404846
pop ebp
jmp 0x404895
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.00404790
dec edi
jg 0x404864
pop ebp
jmp 0x404895
mov eax, ebx
add ebx, 4
call fcn.004067f0
dec edi
jg 0x404877
jmp 0x404895
mov eax, ebx
mov edx, esi
add ebx, 4
call fcn.00406384
dec edi
jg 0x404886
pop edi
pop esi
pop ebx
pop eax
ret

Function at 0x40489c
Capabilities:
Terminate process

Disassembly:
mov ecx, 1
jmp fcn.004047bc
Function at 0x4048a8
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, eax
mov esi, edx
xor eax, eax
mov al, byte [ecx + 1]
lea edi, [ecx + eax + 0xa]
mov ebp, dword [edi - 4]
xor eax, eax
mov ecx, dword [edi - 8]
push ecx
mov ecx, dword [edi + 4]
sub ecx, eax
jle 0x4048d4
mov edx, eax
add eax, esi
add edx, ebx
call fcn.00402970
mov eax, dword [edi + 4]
mov edx, dword [edi]
mov edx, dword [edx]
mov cl, byte [edx]
cmp cl, 0xa
je 0x404913
cmp cl, 0xb
je 0x404924
cmp cl, 0xc
je 0x404935
cmp cl, 0xd
je 0x404946
cmp cl, 0xe
je 0x404966
cmp cl, 0xf
je 0x40497f
cmp cl, 0x11
je 0x404990
mov al, 2
pop ebp
pop edi
pop esi
pop ebx
jmp fcn.004028a0
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00403db8
mov eax, 4
jmp 0x4049a1
mov edx, dword [esi + eax]
add eax, ebx
call fcn.004043c8
mov eax, 4
jmp 0x4049a1
lea edx, [esi + eax]
add eax, ebx
call fcn.00404ca8
mov eax, 0x10
jmp 0x4049a1
xor ecx, ecx
mov cl, byte [edx + 1]
push dword [edx + ecx + 2]
push dword [edx + ecx + 6]
mov ecx, dword [edx + ecx + 0xa]
mov ecx, dword [ecx]
lea edx, [esi + eax]
add eax, ebx
call fcn.004049c4
pop eax
jmp 0x4049a1
xor ecx, ecx
mov cl, byte [edx + 1]
mov ecx, dword [edx + ecx + 2]
push ecx
mov ecx, edx
lea edx, [esi + eax]
add eax, ebx
call fcn.004048a8
pop eax
jmp 0x4049a1
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00406808
mov eax, 4
jmp 0x4049a1
mov ecx, edx
mov edx, dword [esi + eax]
add eax, ebx
call fcn.004063c0
mov eax, 4
add eax, dword [edi + 4]
add edi, 8
dec ebp
jne 0x4048c2
pop ecx
sub ecx, eax
jle 0x4049bd
lea edx, [ebx + eax]
add eax, esi
call fcn.00402970
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4049c4
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, eax
mov esi, edx
mov edi, ecx
mov ebp, dword [esp + 0x14]
mov cl, byte [edi]
cmp cl, 0xa
je 0x404a0a
cmp cl, 0xb
je 0x404a21
cmp cl, 0xc
je 0x404a35
cmp cl, 0xd
je 0x404a49
cmp cl, 0xe
je 0x404a6a
cmp cl, 0xf
je 0x404a87
cmp cl, 0x11
je 0x404a9b
mov al, 2
pop ebp
pop edi
pop esi
pop ebx
jmp fcn.004028a0
mov eax, ebx
mov edx, dword [esi]
call fcn.00403db8
add ebx, 4
add esi, 4
dec ebp
jne 0x404a0a
jmp 0x404aaf
mov eax, ebx
mov edx, dword [esi]
call fcn.004043c8
add ebx, 4
add esi, 4
dec ebp
jne 0x404a21
jmp 0x404aaf
mov eax, ebx
mov edx, esi
call fcn.00404ca8
add ebx, 0x10
add esi, 0x10
dec ebp
jne 0x404a35
jmp 0x404aaf
xor ecx, ecx
mov cl, byte [edi + 1]
lea edi, [edi + ecx + 2]
mov eax, ebx
mov edx, esi
mov ecx, dword [edi + 8]
push dword [edi + 4]
call fcn.004049c4
add ebx, dword [edi]
add esi, dword [edi]
dec ebp
jne 0x404a52
jmp 0x404aaf
mov eax, ebx
mov edx, esi
mov ecx, edi
call fcn.004048a8
xor eax, eax
mov al, byte [edi + 1]
add ebx, dword [edi + eax + 2]
add esi, dword [edi + eax + 2]
dec ebp
jne 0x404a6a
jmp 0x404aaf
mov eax, ebx
mov edx, dword [esi]
call fcn.00406808
add ebx, 4
add esi, 4
dec ebp
jne 0x404a87
jmp 0x404aaf
mov eax, ebx
mov edx, dword [esi]
mov ecx, edi
call fcn.004063c0
add ebx, 4
add esi, 4
dec ebp
jne 0x404a9b
pop ebp
pop edi
pop esi
pop ebx
ret 4
Function at 0x404ca8
Capabilities:
Terminate process

Disassembly:
mov al, 0x10
jmp fcn.004028a0
cmp eax, edx
je 0x404d3f
cmp word [eax], 8
jb 0x404ce0
push eax
push edx
cmp word [eax], 0x100
je 0x404cd6
cmp word [eax], 0x101
je 0x404cce
push eax
call sub.oleaut32.dll_VariantClear
jmp 0x404cde
call dword [0x4db3e8]
jmp 0x404cde
add eax, 8
call fcn.00403d64
pop edx
pop eax
cmp word [edx], 8
jae 0x404cf7
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov ecx, dword [edx + 0xc]
mov dword [eax + 0xc], ecx
ret
cmp word [edx], 0x100
je 0x404d12
cmp word [edx], 0x101
jne 0x404d2b
push eax
call 0x404ce6
pop eax
jmp dword [0x4db3f0]
mov edx, dword [edx + 8]
or edx, edx
je 0x404d22
mov ecx, dword [edx - 8]
inc ecx
jle 0x404d22
mov dword [edx - 8], ecx
mov word [eax], pe_nt_image_headers32
mov dword [eax + 8], edx
ret
mov word [eax], 0
push edx
push eax
call sub.oleaut32.dll_VariantCopyInd
or eax, eax
jne 0x404c5c
ret

Function at 0x405140
Capabilities:
Terminate process

Disassembly:
cmp word [edx], 8
jne 0x40514e
mov edx, dword [edx + 8]
jmp fcn.004043c8
push ebx
mov ebx, eax
sub esp, 0x10
mov word [esp], 0
mov eax, esp
mov ecx, 8
call fcn.00404eb8
mov eax, ebx
mov edx, dword [esp + 8]
call fcn.0040437c
add esp, 0x10
pop ebx
ret

Function at 0x4051e8
Capabilities:
Terminate process

Disassembly:
cmp word [edx], 0
je fcn.004067f0
cmp word [edx], 0xd
je 0x405233
cmp word [edx], 9
je 0x405233
cmp word [edx], 0x400d
je 0x405229
cmp word [edx], 0x4009
je 0x405229
cmp word [edx], 0x101
jne fcn.00404c54
jmp fcn.00405178
mov edx, dword [edx + 8]
mov edx, dword [edx]
jmp fcn.00406808
mov edx, dword [edx + 8]
jmp fcn.00406808

Function at 0x40523c
Capabilities:
Terminate process

Disassembly:
cmp word [edx], 0
je fcn.004067f0
cmp word [edx], 9
je 0x405261
cmp word [edx], 0x4009
jne fcn.00404c54
mov edx, dword [edx + 8]
mov edx, dword [edx]
jmp fcn.00406808
mov edx, dword [edx + 8]
jmp fcn.00406808

Function at 0x40537c
Capabilities:
Terminate process

Disassembly:
push eax
cmp word [eax], 8
jb 0x40538a
push edx
call fcn.00404c64
pop edx
xor eax, eax
test edx, edx
je 0x4053a6
mov eax, dword [edx - 4]
shr eax, 1
je 0x4053a6
push eax
push edx
call sub.oleaut32.dll_SysAllocStringLen
test eax, eax
je 0x404374
pop edx
mov word [edx], 8
mov dword [edx + 8], eax
ret

Function at 0x40545c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x10]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
mov ebx, eax
lea eax, [ebp - 0x10]
call fcn.00405a3c
xor eax, eax
push ebp
push 0x40544e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
call dword [0x4db3ec]
mov eax, ebx
lea edx, [ebp - 0x10]
call fcn.0040545c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405455
lea eax, [ebp - 0x10]
call fcn.00405a34
ret
cmp word [edx], 0x101
je 0x4053f8
cmp word [edx], 0x100
jne fcn.00404ca8
cmp word [eax], 8
jb 0x405481
push eax
push edx
call fcn.00404c64
pop edx
pop eax
mov word [eax], 8
add eax, 8
add edx, 8
xor ecx, ecx
mov edx, dword [edx]
mov dword [eax], ecx
jmp fcn.00404500