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

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
sub esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x44c018]
je 0x42707c
inc edi
cmp edi, 0x17
jb 0x42706d
cmp edi, 0x17
jae 0x4271fc
push ebp
push 3
call fcn.0042ec7f
cmp eax, 1
pop ecx
je 0x4271c8
push 3
call fcn.0042ec7f
or eax, eax
pop ecx
jne 0x4270b0
cmp dword [0x44bd50], 1
je 0x4271c8
cmp ebx, 0xfc
je 0x4271fb
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x44f430
push ebp
call fcn.0042242c
add esp, 0xc
test eax, eax
je 0x4270e6
push esi
push esi
push esi
push esi
push esi
call fcn.00422cda
add esp, 0x14
push 0x104
mov esi, 0x44f449
push esi
push 0
mov byte [0x44f54d], 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
test eax, eax
jne 0x42712a
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0042242c
add esp, 0xc
or eax, eax
je 0x42712a
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00422cda
add esp, 0x14
push esi
call fcn.004238c0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x42716f
push esi
call fcn.004238c0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x44f744
push 0x43e74c
sub ecx, eax
push ecx
push eax
call fcn.00425b94
add esp, 0x14
test eax, eax
je 0x42716f
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00422cda
add esp, 0x14
jmp 0x427171
sub esi, esi
push 0x43e748
push ebx
push ebp
call fcn.00424318
add esp, 0xc
or eax, eax
je 0x427191
push esi
push esi
push esi
push esi
push esi
call fcn.00422cda
add esp, 0x14
push dword [edi*8 + 0x44c01c]
push ebx
push ebp
call fcn.00424318
add esp, 0xc
test eax, eax
je 0x4271b3
push esi
push esi
push esi
push esi
push esi
call fcn.00422cda
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0042eac2
add esp, 0xc
jmp 0x4271fb
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
push eax
pop ebp
cmp ebp, esi
je 0x4271fb
cmp ebp, 0xffffffff
je 0x4271fb
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x44c01c]
push dword [esi]
call fcn.004238c0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.DLL_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x42837d
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
push edi
push 0x43e79c
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
pop edi
test edi, edi
jne 0x428398
call fcn.004280d1
xor eax, eax
pop edi
ret
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.FlsAlloc
push edi
call esi
push str.FlsGetValue
push edi
mov dword [0x44f74c], eax
call esi
push str.FlsSetValue
push edi
mov dword [0x44f750], eax
call esi
push str.FlsFree
push edi
mov dword [0x44f754], eax
call esi
cmp dword [0x44f74c], 0
mov esi, dword [sym.imp.KERNEL32.DLL_TlsSetValue]
mov dword [0x44f758], eax
je 0x4283f8
cmp dword [0x44f750], 0
je 0x4283f8
cmp dword [0x44f754], 0
je 0x4283f8
test eax, eax
jne 0x42841c
mov eax, dword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov dword [0x44f750], eax
mov eax, dword [sym.imp.KERNEL32.DLL_TlsFree]
mov dword [0x44f74c], 0x428096
mov dword [0x44f754], esi
mov dword [0x44f758], eax
call dword [sym.imp.KERNEL32.DLL_TlsAlloc]
cmp eax, 0xffffffff
mov dword [0x44c0e4], eax
je 0x4284fc
push dword [0x44f750]
push eax
call esi
test eax, eax
je 0x4284fc
call fcn.00423f4a
push dword [0x44f74c]
call fcn.00427fb1
push dword [0x44f750]
mov dword [0x44f74c], eax
call fcn.00427fb1
push dword [0x44f754]
mov dword [0x44f750], eax
call fcn.00427fb1
push dword [0x44f758]
mov dword [0x44f754], eax
call fcn.00427fb1
add esp, 0x10
mov dword [0x44f758], eax
call fcn.0042638f
or eax, eax
je 0x4284f7
push 0x42825c
push dword [0x44f74c]
call fcn.00428028
pop ecx
call eax
cmp eax, 0xffffffff
mov dword [0x44c0e0], eax
je 0x4284f7
push 0x214
push 1
call fcn.00428541
push eax
pop esi
test esi, esi
pop ecx
pop ecx
je 0x4284f7
push esi
push dword [0x44c0e0]
push dword [0x44f754]
call fcn.00428028
pop ecx
call eax
or eax, eax
je 0x4284f7
push 0
push esi
call fcn.0042810e
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
or dword [esi + 4], 0xffffffff
mov dword [esi], eax
sub eax, eax
inc eax
jmp 0x4284fe
call fcn.004280d1
sub eax, eax
pop esi
pop edi
ret
Function at 0x42abab
Capabilities:
Query environment variable

Disassembly:
push ecx
push ecx
mov eax, dword [0x44f8b8]
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_GetEnvironmentStringsW]
xor ebx, ebx
xor esi, esi
cmp eax, ebx
push 2
pop ebp
jne 0x42abf4
call edi
push eax
pop esi
cmp esi, ebx
je 0x42abdb
mov dword [0x44f8b8], 1
jmp 0x42abfd
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x78
jne 0x42abef
push ebp
pop eax
mov dword [0x44f8b8], eax
jmp 0x42abf4
mov eax, dword [0x44f8b8]
cmp eax, 1
jne 0x42ac81
cmp esi, ebx
jne 0x42ac10
call edi
push eax
pop esi
cmp esi, ebx
jne 0x42ac10
sub eax, eax
jmp 0x42acd9
cmp word [esi], bx
mov eax, esi
je 0x42ac25
add eax, ebp
cmp word [eax], bx
jne 0x42ac17
add eax, ebp
cmp word [eax], bx
jne 0x42ac17
mov edi, dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
push ebx
push ebx
push ebx
sub eax, esi
push ebx
sar eax, 1
inc eax
push eax
push esi
push ebx
push ebx
mov dword [esp + 0x34], eax
call edi
push eax
pop ebp
cmp ebp, ebx
je 0x42ac76
push ebp
call fcn.00428501
cmp eax, ebx
pop ecx
mov dword [esp + 0x10], eax
je 0x42ac76
push ebx
push ebx
push ebp
push eax
push dword [esp + 0x24]
push esi
push ebx
push ebx
call edi
or eax, eax
jne 0x42ac72
push dword [esp + 0x10]
call fcn.004219a7
pop ecx
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x10]
push esi
call dword [sym.imp.KERNEL32.DLL_FreeEnvironmentStringsW]
mov eax, ebx
jmp 0x42acd9
cmp eax, ebp
je 0x42ac89
cmp eax, ebx
jne 0x42ac09
call dword [sym.imp.KERNEL32.DLL_GetEnvironmentStrings]
push eax
pop esi
cmp esi, ebx
je 0x42ac09
cmp byte [esi], bl
je 0x42aca7
inc eax
cmp byte [eax], bl
jne 0x42ac9d
inc eax
cmp byte [eax], bl
jne 0x42ac9d
sub eax, esi
inc eax
push eax
pop ebp
push ebp
call fcn.00428501
mov edi, eax
cmp edi, ebx
pop ecx
jne 0x42acc5
push esi
call dword [sym.imp.KERNEL32.DLL_FreeEnvironmentStringsA]
jmp 0x42ac09
push ebp
push esi
push edi
call fcn.00427340
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.DLL_FreeEnvironmentStringsA]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret

Function at 0x42bf90
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [esp + 4]
cmp word [ecx], 0x5a4d
je 0x42bf9e
sub eax, eax
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x42bf9b
xor ecx, ecx
cmp word [eax + 0x18], 0x10b
sete cl
push ecx
pop eax
ret

Function at 0x42bfc0
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
sub edx, edx
or esi, esi
push edi
lea eax, [eax + ecx + 0x18]
jbe 0x42bffc
mov edi, dword [esp + 0x14]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x42bff2
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x42bffe
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x42bfe2
sub eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x42eac2
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
push esp
pop ebp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0042801f
sub ebx, ebx
cmp dword [0x44fcc8], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x42eb98
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x42ec78
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x43eb24
push edi
call esi
cmp eax, ebx
je 0x42ec78
push eax
call fcn.00427fb1
mov dword [esp], 0x43eb14
push edi
mov dword [0x44fcc8], eax
call esi
push eax
call fcn.00427fb1
mov dword [esp], 0x43eb00
push edi
mov dword [0x44fccc], eax
call esi
push eax
call fcn.00427fb1
mov dword [0x44fcd0], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00423d23
test eax, eax
pop ecx
pop ecx
je 0x42eb66
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00422cda
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x42eb98
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00427fb1
cmp eax, ebx
pop ecx
mov dword [0x44fcd8], eax
je 0x42eb98
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00427fb1
pop ecx
mov dword [0x44fcd4], eax
mov eax, dword [0x44fcd4]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x42ec1d
cmp dword [0x44fcd8], ecx
je 0x42ec1d
push eax
call fcn.00428028
push dword [0x44fcd8]
push eax
pop esi
call fcn.00428028
cmp esi, ebx
pop ecx
pop ecx
push eax
pop edi
je 0x42ec1d
cmp edi, ebx
je 0x42ec1d
call esi
cmp eax, ebx
je 0x42ebea
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x42ebea
test byte [ebp - 0x18], 1
jne 0x42ec1d
lea eax, [ebp - 0x10]
push eax
call fcn.00423d5a
test eax, eax
pop ecx
je 0x42ec05
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00422cda
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x42ec14
or dword [ebp + 0x10], 0x200000
jmp 0x42ec58
or dword [ebp + 0x10], 0x40000
jmp 0x42ec58
mov eax, dword [0x44fccc]
cmp eax, dword [ebp - 8]
je 0x42ec58
push eax
call fcn.00428028
cmp eax, ebx
pop ecx
je 0x42ec58
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x42ec58
mov eax, dword [0x44fcd0]
cmp eax, dword [ebp - 8]
je 0x42ec58
push eax
call fcn.00428028
cmp eax, ebx
pop ecx
je 0x42ec58
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44fcc8]
call fcn.00428028
cmp eax, ebx
pop ecx
je 0x42ec78
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x42ec7a
sub eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x417cd0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
xor esi, esi
call fcn.00417c10
lea eax, [esp + 4]
push eax
push 0x20019
push esi
push str.CLSIDED834ED6_4B5A_4bfe_8F11_A626DCB6A921InProcServer32
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x417d03
xor eax, eax
pop esi
add esp, 8
ret 4
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 4]
lea ecx, [esp + 8]
mov dword [esp + 8], 0x104
push ecx
push edx
push 0
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x417d2f
mov esi, 1
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 8
ret 4

Function at 0x4ba775
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c33b0
cmp edx, dword [eax]
je 0x4ba797
add eax, 8
inc ecx
cmp eax, 0x4c3440
jl 0x4ba788
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c33b0]
jne 0x4ba8c5
mov eax, dword [0x4c7d3c]
cmp eax, 1
je 0x4ba89f
test eax, eax
jne 0x4ba7c8
cmp dword [0x4c32dc], 1
je 0x4ba89f
cmp edx, 0xfc
je 0x4ba8c5
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4ba7ff
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004bb160
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bb5f0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4ba842
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bb5f0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4bfa7c
push edi
call fcn.004bd4c0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004bb160
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bb170
lea eax, [ebp - 0xa0]
push 0x4bfa5c
push eax
call fcn.004bb170
push dword [esi + 0x4c33b4]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bb170
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004bd434
add esp, 0x2c
pop edi
jmp 0x4ba8c5
lea eax, [ebp + 8]
lea esi, [esi + 0x4c33b4]
push 0
push eax
push dword [esi]
call fcn.004bb5f0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x402798
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x4027a6
call dword [0x57a01c]
or eax, eax
je 0x4027a7
ret
mov al, 1
jmp fcn.00402824

Function at 0x4027b0
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x4027be
call dword [0x57a020]
or eax, eax
jne 0x4027bf
ret
mov al, 2
jmp fcn.00402824

Function at 0x4027c8
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [eax]
test ecx, ecx
je 0x402800
test edx, edx
je 0x4027ea
push eax
mov eax, ecx
call dword [0x57a024]
pop ecx
or eax, eax
je 0x4027f9
mov dword [ecx], eax
ret
mov al, 2
jmp fcn.00402824
mov dword [eax], edx
mov eax, ecx
call dword [0x57a020]
or eax, eax
jne 0x4027e3
ret
mov al, 1
jmp fcn.00402824
test edx, edx
je 0x402814
push eax
mov eax, edx
call dword [0x57a01c]
pop ecx
or eax, eax
je 0x4027f9
mov dword [ecx], eax
ret

Function at 0x402824
Capabilities:
Terminate process

Disassembly:
and eax, 0x7f
mov ecx, dword [0x57e004]
test ecx, ecx
je 0x402834
pop edx
call ecx
dec eax
mov al, byte [eax + 0x40284d]
jns 0x402848
call fcn.00406c1c
mov eax, dword [eax + 4]
jmp fcn.00403c40

Function at 0x4029ac
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 0x4029db
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.00403d30
jmp 0x4029f9
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.00402934
mov edi, eax
test ebx, ebx
je 0x4029f9
cmp dword [esi], 0
je 0x4029f9
dec ebx
jmp 0x4029e2
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402ed0
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 0x402f68
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402f48
xor eax, eax
push ebp
push 0x402f41
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 0x402f84
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 0x402f48
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 0x4031e8
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x403202
mov ecx, eax
mov ecx, dword [ecx]
cmp ecx, edx
je 0x403202
mov ecx, dword [ecx - 0x24]
test ecx, ecx
jne 0x4031ee
mov al, 0xa
jmp fcn.00402824
ret

Function at 0x403234
Capabilities:
Terminate process

Disassembly:
cmp dword [0x57e01c], 0
je 0x402ad3
call dword [0x57e01c]
mov eax, 0xd2
jmp fcn.00403c40
push eax
push ecx
mov eax, dword [eax]
call fcn.00403204
pop ecx
pop eax
je 0x403243
jmp ebx
pop ecx
jmp 0x402ac4
Function at 0x40324c
Capabilities:
Terminate process

Disassembly:
push ebx
mov ebx, edx
mov eax, dword [eax]
call fcn.00403204
mov eax, ebx
pop ebx
jne 0x403261
pop ecx
jmp 0x402ac4
ret

Function at 0x403b1c
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, 0x57e4a4
mov esi, 0x57e038
mov edi, 0x57e03c
cmp byte [ebx + 0x24], 0
jne 0x403b4b
cmp dword [edi], 0
je 0x403b4b
mov edx, dword [edi]
mov eax, edx
xor edx, edx
mov dword [edi], edx
mov ebp, eax
call ebp
cmp dword [edi], 0
jne 0x403b3a
cmp dword [0x57e040], 0
je 0x403b92
call fcn.00403a98
cmp byte [0x57e048], 0
je 0x403b78
mov edx, 0x57a02c
mov eax, 0x57e21c
call fcn.004064b8
call fcn.0040643b
jmp 0x403b8b
push 0
push 0x57a04c
push 0x57a02c
push 0
call sub.user32.dll_MessageBoxA
xor eax, eax
mov dword [0x57e040], eax
cmp byte [ebx + 0x24], 2
jne 0x403ba2
cmp dword [esi], 0
jne 0x403ba2
xor eax, eax
mov dword [ebx + 0xc], eax
call fcn.0040396c
cmp byte [ebx + 0x24], 1
jbe 0x403bb2
cmp dword [esi], 0
je 0x403bcf
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x403bcf
call fcn.00405e90
mov eax, dword [ebx + 0x10]
mov edx, dword [eax + 0x10]
cmp edx, dword [eax + 4]
je 0x403bcf
push edx
call sub.kernel32.dll_FreeLibrary
call fcn.00403944
cmp byte [ebx + 0x24], 1
jne 0x403bdd
call dword [ebx + 0x28]
cmp byte [ebx + 0x24], 0
je 0x403be8
call fcn.00403ae8
cmp dword [ebx], 0
jne 0x403bf5
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 0x403b92

Function at 0x4042b0
Capabilities:
Terminate process

Disassembly:
test edx, edx
je fcn.00404274
mov ecx, dword [edx - 4]
shr ecx, 1
je fcn.00404274
push ecx
push edx
push eax
call sub.oleaut32.dll_SysReAllocStringLen
test eax, eax
je 0x40425c
ret

Function at 0x404358
Capabilities:
Terminate process

Disassembly:
mov al, 1
jmp fcn.00402824
test ecx, ecx
je fcn.00404274
push eax
push ecx
push edx
call sub.oleaut32.dll_SysAllocStringLen
test eax, eax
je 0x40425c
pop edx
push dword [edx]
mov dword [edx], eax
call sub.oleaut32.dll_SysFreeString
ret

Function at 0x404420
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 0x40445f
cmp al, 0xb
je 0x40445f
cmp al, 0xc
je 0x404469
cmp al, 0xd
je 0x40447c
cmp al, 0xe
je 0x40449a
cmp al, 0xf
je 0x40445f
cmp al, 0x11
je 0x40445f
mov al, 2
pop edi
pop esi
pop ebx
jmp fcn.00402824
mov dword [ebx], ecx
add ebx, 4
dec edi
jg 0x40445f
jmp 0x4044ae
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 0x404469
jmp 0x4044ae
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.00404420
dec edi
jg 0x40447f
pop ebp
jmp 0x4044ae
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.004043f4
dec edi
jg 0x40449d
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4046f4
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 0x40473a
cmp cl, 0xb
je 0x404751
cmp cl, 0xc
je 0x404765
cmp cl, 0xd
je 0x404779
cmp cl, 0xe
je 0x40479a
cmp cl, 0xf
je 0x4047b7
cmp cl, 0x11
je 0x4047cb
mov al, 2
pop ebp
pop edi
pop esi
pop ebx
jmp fcn.00402824
mov eax, ebx
mov edx, dword [esi]
call fcn.00403ca0
add ebx, 4
add esi, 4
dec ebp
jne 0x40473a
jmp 0x4047df
mov eax, ebx
mov edx, dword [esi]
call fcn.004042b0
add ebx, 4
add esi, 4
dec ebp
jne 0x404751
jmp 0x4047df
mov eax, ebx
mov edx, esi
call fcn.0040499c
add ebx, 0x10
add esi, 0x10
dec ebp
jne 0x404765
jmp 0x4047df
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.004046f4
add ebx, dword [edi]
add esi, dword [edi]
dec ebp
jne 0x404782
jmp 0x4047df
mov eax, ebx
mov edx, esi
mov ecx, edi
call fcn.004045d8
xor eax, eax
mov al, byte [edi + 1]
add ebx, dword [edi + eax + 2]
add esi, dword [edi + eax + 2]
dec ebp
jne 0x40479a
jmp 0x4047df
mov eax, ebx
mov edx, dword [esi]
call fcn.00405f70
add ebx, 4
add esi, 4
dec ebp
jne 0x4047b7
jmp 0x4047df
mov eax, ebx
mov edx, dword [esi]
mov ecx, edi
call fcn.00405b28
add ebx, 4
add esi, 4
dec ebp
jne 0x4047cb
pop ebp
pop edi
pop esi
pop ebx
ret 4

Function at 0x40499c
Capabilities:
Terminate process

Disassembly:
mov al, 0x10
jmp fcn.00402824
cmp eax, edx
je 0x404a33
cmp word [eax], 8
jb 0x4049d4
push eax
push edx
cmp word [eax], 0x100
je 0x4049ca
cmp word [eax], 0x101
je 0x4049c2
push eax
call sub.oleaut32.dll_VariantClear
jmp 0x4049d2
call dword [0x57e3e8]
jmp 0x4049d2
add eax, 8
call fcn.00403c4c
pop edx
pop eax
cmp word [edx], 8
jae 0x4049eb
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 0x404a06
cmp word [edx], 0x101
jne 0x404a1f
push eax
call 0x4049da
pop eax
jmp dword [0x57e3f0]
mov edx, dword [edx + 8]
or edx, edx
je 0x404a16
mov ecx, dword [edx - 8]
inc ecx
jle 0x404a16
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 0x404950
ret

Function at 0x404e34
Capabilities:
Terminate process

Disassembly:
cmp word [edx], 8
jne 0x404e42
mov edx, dword [edx + 8]
jmp fcn.004042b0
push ebx
mov ebx, eax
sub esp, 0x10
mov word [esp], 0
mov eax, esp
mov ecx, 8
call fcn.00404bac
mov eax, ebx
mov edx, dword [esp + 8]
call fcn.00404264
add esp, 0x10
pop ebx
ret
Function at 0x404fc4
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.00405244
xor eax, eax
push ebp
push 0x404fb6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
call dword [0x57e3ec]
mov eax, ebx
lea edx, [ebp - 0x10]
call fcn.00404fc4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404fbd
lea eax, [ebp - 0x10]
call fcn.0040523c
ret
cmp word [edx], 0x101
je 0x404f60
cmp word [edx], 0x100
jne fcn.0040499c
cmp word [eax], 8
jb 0x404fe9
push eax
push edx
call fcn.00404958
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.0040437c

Function at 0x40512c
Capabilities:
Terminate process

Disassembly:
push esi
push edi
mov edi, eax
mov esi, edx
mov eax, dword [edi]
mov edx, dword [esi]
and eax, 0xfff
and edx, 0xfff
cmp eax, 0x11
jbe 0x405152
cmp eax, 0x100
jne 0x405181
mov eax, 8
cmp edx, 0x11
jbe 0x405164
cmp edx, 0x100
jne case.default.0x405178
mov edx, 8
mov al, byte [eax + 0x57a064]
mov dl, byte [edx + 0x57a064]
movzx ecx, byte [edx + eax*8 + 0x57a078]
jmp dword [ecx*4 + 0x405193]
mov eax, edx
cmp eax, 0x101
jne case.0x405178.0
pop edi
pop esi
call fcn.00405098
push eax
popf
ret
pop edi
pop esi
jmp 0x404950
cmp al, dl
pop edi
pop esi
ret
mov eax, esi
call fcn.00404ca0
xchg edi, eax
call fcn.00404ca0
cmp eax, edi
pop edi
pop esi
ret
mov eax, edi
call fcn.00404d40
sub esp, 0xc
fstp xword [esp]
mov eax, esi
call fcn.00404d40
fld xword [esp]
add esp, 0xc
fcompp
fnstsw ax
mov al, ah
and ax, 0x4001
ror al, 1
or ah, al
sahf
pop edi
pop esi
ret
mov eax, edi
call fcn.00404d9c
sub esp, 0xc
fstp xword [esp]
mov eax, esi
call fcn.00404d9c
fld xword [esp]
add esp, 0xc
jmp 0x4051eb
mov eax, edi
mov edx, esi
call fcn.00405030
cmp eax, 0
pop edi
pop esi
ret
mov eax, esi
call fcn.00404d0c
xchg edi, eax
call fcn.00404d0c
mov edx, edi
cmp al, dl
pop edi
pop esi
ret