joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408fda
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 0xc], 0
and dword [ebp - 4], 0
and dword [ebp - 8], 0
push 0xf0000000
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push 0
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x408f27
push str.A_cryptographic_service_handle_could_not_be_acquired
push 0
call fcn.0041ac70
pop ecx
pop ecx
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x8003
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x408f4f
push str.Failed_to_create_hash
push 0
call fcn.0041ac70
pop ecx
pop ecx
push 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x408f72
push str.Failed_to_hash_hash
push 0
call fcn.0041ac70
pop ecx
pop ecx
cmp dword [ebp + 0x18], 0
je 0x408fa1
cmp dword [ebp + 0x1c], 0
je 0x408fa1
push 0
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x408fa1
push str.Failed_to_hash_password
push 0
call fcn.0041ac70
pop ecx
pop ecx
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp - 8]
push 0x6801
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x408fca
push str.Failed_to_derive_key_from_hash
push 0
call fcn.0041ac70
pop ecx
pop ecx
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
push 0
push 1
push 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
jne 0x408ff2
push str.Failed_to_decrypt_data
push 0
call fcn.0041ac70
pop ecx
pop ecx
cmp dword [ebp - 8], 0
je 0x409001
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp dword [ebp - 4], 0
je 0x409010
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
cmp dword [ebp - 0xc], 0
je 0x409021
push 0
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
inc eax
leave
ret
Function at 0x40908c
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x47
call fcn.004084c6
pop ecx
push 2
push 0
call fcn.00408571
pop ecx
pop ecx
and dword [ebp - 8], 0
jmp 0x409077
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
call fcn.0040850c
cmp dword [ebp - 8], eax
jge 0x40908b
push 0x20
call fcn.00425a77
pop ecx
jmp 0x409070
push 2
push 0
call fcn.00408571
pop ecx
pop ecx
mov byte [0x44fa00], 0
push 0
lea eax, [ebp - 0xc]
push eax
push 0x3e80
push 0x44fa00
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_ReadConsoleA]
test eax, eax
jne 0x4090c5
jmp 0x4091fa
cmp dword [ebp - 0xc], 0
je 0x4091fa
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x44fa00], 0
mov eax, dword [ebp - 0xc]
movsx eax, byte [eax + 0x44f9ff]
cmp eax, 0xd
je 0x4090f7
mov eax, dword [ebp - 0xc]
movsx eax, byte [eax + 0x44f9ff]
cmp eax, 0xa
jne 0x409108
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x44fa00], 0
mov eax, dword [ebp - 0xc]
movsx eax, byte [eax + 0x44f9ff]
cmp eax, 0xd
je 0x409126
mov eax, dword [ebp - 0xc]
movsx eax, byte [eax + 0x44f9ff]
cmp eax, 0xa
jne 0x409137
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x44fa00], 0
mov dword [ebp - 4], 0x44fa00
movsx eax, byte [0x44fa01]
cmp eax, 0x24
je 0x409156
movsx eax, byte [0x44fa01]
cmp eax, 0x40
jne 0x40915d
mov dword [ebp - 4], 0x44fa01
push 2
push 0x44fa00
call fcn.0041ea20
pop ecx
push eax
call fcn.00408571
pop ecx
pop ecx
push 0x20
call fcn.00425a77
pop ecx
push dword [ebp + 8]
call fcn.004084c6
pop ecx
push 1
push 0x44fa00
call fcn.0041ea20
pop ecx
push eax
push 0x44fa00
push 0x437b28
push 0x437b30
call fcn.0040ff21
add esp, 0x14
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4091fa
and dword [ebp - 0x14], 0
mov eax, dword [0x436540]
and eax, 0xffffffdf
mov dword [0x436540], eax
lea eax, [ebp - 0x14]
push eax
push 0xfffffffffffffff1
mov eax, dword [ebp - 0x10]
push dword [eax + 0x24]
push dword [ebp - 0x10]
call fcn.00402c2b
add esp, 0x10
mov eax, dword [0x436540]
or eax, 0x20
mov dword [0x436540], eax
push 0
push dword [ebp - 0x10]
call fcn.00410221
pop ecx
pop ecx
mov eax, dword [ebp - 0x14]
mov dword [0x43d000], eax
leave
ret
Function at 0x4095e8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42e500
push 0x41ed4c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ecx
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x20], 1
push 0x437b90
call fcn.0041b768
pop ecx
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x4094f9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetEnv:_Failed_to_load_KERNEL32.DLL
push 1
call fcn.0041a819
add esp, 0xc
jmp 0x409668
and dword [ebp - 0x24], 0
and word [ebp - 0x28], 0
and dword [ebp - 0x2c], 0
cmp dword [0x44f968], 0
jne 0x40953e
mov eax, dword [0x44f96c]
and eax, 0xffff
cmp eax, 0x4bc
jae 0x40952f
mov dword [ebp - 0x24], str.InterlockedExchange
mov word [ebp - 0x28], 0xb7
jmp 0x40953c
mov dword [ebp - 0x24], str.CloseSystemHandle
mov word [ebp - 0x28], 0x1cb
jmp 0x40954b
mov dword [ebp - 0x24], str.InitializeCriticalSectionAndSpinCount
mov word [ebp - 0x28], 0x23
push dword [ebp - 0x24]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x409576
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetEnv:_Failed_to_get_API_pointer
push 1
call fcn.0041a819
add esp, 0xc
movzx eax, word [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
sub ecx, eax
mov dword [ebp - 0x2c], ecx
and dword [ebp - 4], 0
call dword [ebp - 0x2c]
mov dword [0x43d034], eax
or dword [ebp - 4], 0xffffffff
jmp 0x4095b7
cmp dword [0x43d034], 0
jne 0x4095d6
push 1
push str.GetEnv:_Failed_to_get_ENV_pointer
push 1
call fcn.0041a819
add esp, 0xc
jmp 0x40965f
mov eax, dword [0x43d034]
movzx eax, word [eax - 0xd]
shl eax, 4
mov dword [0x43d03c], eax
je 0x40965f
and dword [ebp - 0x20], 0
mov eax, dword [0x43d034]
mov dword [0x43d038], eax
mov eax, dword [0x43d034]
add eax, dword [0x43d03c]
cmp dword [0x43d038], eax
ja 0x409630
mov eax, dword [0x43d038]
movzx eax, byte [eax]
test eax, eax
jne 0x409623
mov eax, dword [0x43d038]
movzx eax, byte [eax + 1]
test eax, eax
je 0x409630
mov eax, dword [0x43d038]
inc eax
mov dword [0x43d038], eax
jmp 0x4095f7
mov eax, dword [0x43d034]
add eax, dword [0x43d03c]
cmp dword [0x43d038], eax
jae 0x40964e
mov eax, dword [0x43d038]
inc eax
mov dword [0x43d038], eax
mov eax, dword [0x43d038]
sub eax, dword [0x43d034]
inc eax
mov dword [0x43d040], eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x409aa1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x628
push 0x43d044
push dword [ebp + 0xc]
call fcn.0041eab0
pop ecx
pop ecx
mov eax, dword [ebp + 8]
and eax, 0xffff
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x40995a
push str.Unknown_Error_Code
push dword [ebp + 0xc]
call fcn.0041eab0
pop ecx
pop ecx
jmp 0x409b69
and dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0x1300
mov eax, dword [ebp + 8]
sar eax, 0x10
and eax, 0x1fff
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
and eax, 0x5000
je 0x4099b8
cmp dword [0x43d048], 0
jne 0x40999a
push 2
push 0
push 0x437cfc
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov dword [0x43d048], eax
mov eax, dword [0x43d048]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
or eax, 0x800
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
jmp 0x409a67
mov eax, dword [ebp - 8]
mov dword [ebp - 0x628], eax
cmp dword [ebp - 0x628], 7
je 0x4099d8
cmp dword [ebp - 0x628], 9
je 0x409a1c
jmp 0x409a67
cmp dword [ebp - 4], 0x834
jl 0x409a1a
cmp dword [ebp - 4], 0xbb7
jg 0x409a1a
cmp dword [0x43d04c], 0
jne 0x409a07
push 2
push 0
push str.netmsg.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov dword [0x43d04c], eax
mov eax, dword [0x43d04c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
or eax, 0x800
mov dword [ebp - 0x10], eax
jmp 0x409a67
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 4]
push 0
push dword [ebp - 0x10]
call fcn.00409863
add esp, 0x10
test eax, eax
jne 0x409a67
cmp dword [0x43d050], 0
jne 0x409a54
push 2
push 0
push str.secur32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov dword [0x43d050], eax
mov eax, dword [0x43d050]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
or eax, 0x800
mov dword [ebp - 0x10], eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.00409863
add esp, 0x10
mov eax, dword [ebp + 8]
and eax, 0x5000
jne 0x409a8f
cmp dword [ebp - 8], 7
jne 0x409b69
cmp dword [0x43d054], 0
jne 0x409acb
push 0
push 0
push str.activeds.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov dword [0x43d054], eax
cmp dword [0x43d054], 0
je 0x409acb
push str.ADsGetLastError
push dword [0x43d054]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x43d058], eax
cmp dword [0x43d054], 0
jne 0x409ae1
cmp dword [0x43d058], 0
je 0x409b69
push 0x103
lea eax, [ebp - 0x518]
push eax
push 0x103
lea eax, [ebp - 0x620]
push eax
lea eax, [ebp - 0x624]
push eax
call dword [0x43d058]
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
jl 0x409b69
cmp dword [ebp - 0x624], 0xd
je 0x409b69
lea eax, [ebp - 0x620]
push eax
call fcn.0041ea20
pop ecx
test eax, eax
je 0x409b69
push str._____Extended_Error:
push dword [ebp + 0xc]
call fcn.0041eac0
pop ecx
pop ecx
lea eax, [ebp - 0x518]
push eax
push dword [ebp + 0xc]
call fcn.0041eac0
pop ecx
pop ecx
push 0x437d5c
push dword [ebp + 0xc]
call fcn.0041eac0
pop ecx
pop ecx
lea eax, [ebp - 0x620]
push eax
push dword [ebp + 0xc]
call fcn.0041eac0
pop ecx
pop ecx
xor eax, eax
leave
ret
Function at 0x409cbf
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov byte [ebp - 1], 0
push dword [ebp + 8]
call fcn.00409d22
pop ecx
mov byte [ebp - 1], al
movsx eax, byte [ebp - 1]
test eax, eax
je 0x409c59
mov al, byte [ebp - 1]
jmp 0x409d20
mov eax, dword [0x4468a0]
cmp dword [eax + 4], 0xffffffcc
jne 0x409d1e
and dword [ebp - 8], 0
mov dword [ebp - 0xc], 1
lea eax, [ebp - 0xc]
push eax
push 1
push 0xc
call dword [sym.imp.OLEAUT32.dll_SafeArrayDestroy]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x409d1e
and dword [ebp - 0x14], 0
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_SafeArrayCopy]
push dword [ebp + 8]
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp + 8]
mov word [eax], 0x200c
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 8], ecx
mov eax, dword [0x4468a0]
cmp dword [eax + 4], 0xffffffcc
jne 0x409d1e
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_SafeArrayAllocDescriptorEx]
call fcn.00419289
lea eax, [ebp - 0x28]
push eax
call fcn.00409d22
pop ecx
mov byte [ebp - 1], al
movsx eax, byte [ebp - 1]
test eax, eax
je 0x409cfa
mov al, byte [ebp - 1]
jmp 0x409d20
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_SafeArrayCopy]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x409cbc
xor al, al
leave
ret
Function at 0x40a1fc
Capabilities:
Parse credit card information
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov byte [ebp - 0x19], 0
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push dword [ebp + 8]
call fcn.0040a29e
pop ecx
mov byte [ebp - 0x19], al
cmp dword [0x43d05c], 0
jne 0x40a299
movsx eax, byte [ebp - 0x19]
test eax, eax
jne 0x40a299
mov eax, dword [0x4468a0]
mov eax, dword [eax + 4]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffc4
je 0x40a21d
cmp dword [ebp - 4], 0xffffffc5
je 0x40a21d
cmp dword [ebp - 4], 0x28
jne 0x40a299
call fcn.00419289
lea eax, [ebp - 0x18]
push eax
call fcn.0040a29e
pop ecx
mov byte [ebp - 0x19], al
movsx eax, byte [ebp - 0x19]
test eax, eax
je 0x40a239
jmp 0x40a299
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffc4
je 0x40a253
cmp dword [ebp - 0x20], 0xffffffc5
je 0x40a266
cmp dword [ebp - 0x20], 0x28
je 0x40a279
jmp 0x40a28a
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call fcn.0041e1a3
pop ecx
pop ecx
mov byte [ebp - 0x19], al
jmp 0x40a28a
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call fcn.0041e226
pop ecx
pop ecx
mov byte [ebp - 0x19], al
jmp 0x40a28a
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call fcn.0041e2da
pop ecx
pop ecx
mov byte [ebp - 0x19], al
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x40a1f4
mov al, byte [ebp - 0x19]
leave
ret
Function at 0x411273
Capabilities:
Check for time delay via gettickcount
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov dword [ebp - 4], 1
and dword [ebp - 8], 0
jmp 0x4111ee
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 8
jge 0x4112d4
cmp dword [ebp - 4], 0
je 0x4112d4
push 0x40
push 0
lea eax, [ebp - 0x48]
push eax
call fcn.00420340
add esp, 0xc
mov byte [ebp - 0x48], 0x32
mov al, byte [ebp - 8]
mov byte [ebp - 0x18], al
lea eax, [ebp - 0x48]
push eax
call sub.NETAPI32.dll_Netbios
movzx eax, al
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4112cf
and dword [ebp - 0x4c], 0
push 0x40
push 0
lea eax, [ebp - 0x48]
push eax
call fcn.00420340
add esp, 0xc
mov byte [ebp - 0x48], 0x33
mov al, byte [ebp - 8]
mov byte [ebp - 0x18], al
push str.
lea eax, [ebp - 0x3e]
push eax
call fcn.0041eab0
pop ecx
pop ecx
mov dword [ebp - 0x44], 0x44e5e0
mov word [ebp - 0x40], 0x258
lea eax, [ebp - 0x48]
push eax
call sub.NETAPI32.dll_Netbios
movzx eax, al
mov dword [ebp - 4], eax
mov dword [ebp - 4], 0x23
and dword [ebp - 0x4c], 0
jmp 0x411293
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 6
jge 0x4112cf
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax + 0x44e5e0]
test eax, eax
je 0x4112ab
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax + 0x44e5e0]
push eax
push str._02X
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp + 8]
lea eax, [ecx + eax*2]
push eax
call fcn.0041e9c2
add esp, 0xc
jmp 0x41128c
jmp 0x4111e7
mov eax, dword [ebp - 4]
leave
ret
Function at 0x412ff3
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
and dword [ebp - 0xc], 0
push dword [ebp + 0xc]
call fcn.0041ea20
pop ecx
inc eax
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
call fcn.0041ea20
pop ecx
lea eax, [eax + eax + 2]
push eax
call fcn.0041a65d
pop ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
shl eax, 1
push eax
call fcn.0041a65d
pop ecx
mov dword [ebp - 0x14], eax
push dword [ebp + 8]
call fcn.0041ea20
pop ecx
push eax
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.004201f5
add esp, 0xc
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call fcn.004201f5
add esp, 0xc
push str.NETAPI32.DLL
call fcn.0041b768
pop ecx
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x412fd2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_load_NETAPI32.DLL
push 1
call fcn.0041a819
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x41301d
push str.NetMessageBufferSend
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x412fff
mov eax, dword [ebp - 0x10]
shl eax, 1
push eax
push dword [ebp - 0x14]
push 0
push dword [ebp - 4]
push 0
call dword [ebp - 8]
mov dword [ebp - 0xc], eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [ebp - 0x14]
call fcn.0041efe8
pop ecx
push dword [ebp - 4]
call fcn.0041efe8
pop ecx
mov eax, dword [ebp - 0xc]
leave
ret
Function at 0x41b819
Capabilities:
Access the windows event log
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
jmp 0x41b78b
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
movsx eax, byte [eax]
test eax, eax
je 0x41b825
cmp dword [0x43bd00], 1
jle 0x41b7b7
push 4
mov eax, dword [ebp + 8]
movsx eax, byte [eax]
push eax
call fcn.0041fc3d
pop ecx
pop ecx
mov dword [ebp - 8], eax
jmp 0x41b7cd
mov eax, dword [ebp + 8]
movsx eax, byte [eax]
mov ecx, dword [str.________________________________H]
movzx eax, word [ecx + eax*2]
and eax, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x41b7e2
cmp dword [ebp - 4], 0
jne 0x41b7e2
mov dword [ebp - 4], 3
jmp 0x41b820
mov eax, dword [ebp + 8]
movsx eax, byte [eax]
mov ecx, dword [0x436554]
movsx ecx, byte [ecx]
cmp eax, ecx
jne 0x41b804
cmp dword [ebp - 4], 3
jne 0x41b804
mov dword [ebp - 4], 5
jmp 0x41b825
mov eax, dword [ebp + 8]
movsx eax, byte [eax]
cmp eax, 0x2d
jne 0x41b81e
cmp dword [ebp - 4], 0
jne 0x41b81e
mov dword [ebp - 4], 3
jmp 0x41b820
jmp 0x41b825
jmp 0x41b784
mov eax, dword [ebp - 4]
leave
ret
Function at 0x41ba80
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
cmp dword [0x43d8c4], 0
jne 0x41bb69
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x41bb69
and dword [ebp - 0x10c], 0
and dword [ebp - 0x110], 0
and dword [ebp - 0x124], 0
and dword [ebp - 0x128], 0
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
cmp dword [ebp + 8], 1
jne 0x41ba09
lea eax, [ebp - 0x120]
push eax
push 0x43b4f0
lea eax, [ebp - 0x108]
push eax
call fcn.0041bb70
add esp, 0xc
test eax, eax
jne 0x41b9a9
movzx eax, word [ebp - 0x120]
cmp eax, 8
jne 0x41b9a9
cmp dword [ebp - 0x118], 0
je 0x41b9a9
push dword [ebp - 0x118]
call fcn.0041f3cd
pop ecx
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x120]
push eax
push 0x43b4fc
lea eax, [ebp - 0x108]
push eax
call fcn.0041bb70
add esp, 0xc
test eax, eax
jne 0x41b9fc
movzx eax, word [ebp - 0x120]
cmp eax, 8
jne 0x41b9fc
cmp dword [ebp - 0x118], 0
je 0x41b9fc
push dword [ebp - 0x118]
call fcn.0041f3cd
pop ecx
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x120]
push eax
push 0x43b50c
lea eax, [ebp - 0x108]
push eax
call fcn.0041bb70
add esp, 0xc
test eax, eax
jne 0x41ba4f
movzx eax, word [ebp - 0x120]
cmp eax, 8
jne 0x41ba4f
cmp dword [ebp - 0x118], 0
je 0x41ba4f
push dword [ebp - 0x118]
call fcn.0041f3cd
pop ecx
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x10c], 0
je 0x41ba74
push dword [ebp - 0x10c]
call fcn.0041ea20
pop ecx
mov ecx, dword [ebp - 0x128]
lea eax, [ecx + eax + 3]
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x124], 0
je 0x41ba95
push dword [ebp - 0x124]
call fcn.0041ea20
pop ecx
add eax, dword [ebp - 0x128]
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x110], 0
je 0x41baba
push dword [ebp - 0x110]
call fcn.0041ea20
pop ecx
mov ecx, dword [ebp - 0x128]
lea eax, [ecx + eax + 1]
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0
je 0x41bb5c
mov eax, dword [ebp - 0x128]
inc eax
inc eax
push eax
call fcn.0041a65d
pop ecx
mov dword [0x43d8c4], eax
cmp dword [ebp - 0x110], 0
je 0x41bb12
push dword [ebp - 0x110]
push dword [0x43d8c4]
call fcn.0041eac0
pop ecx
pop ecx
cmp dword [ebp - 0x124], 0
je 0x41bb12
push 0x43b51c
push dword [0x43d8c4]
call fcn.0041eac0
pop ecx
pop ecx
cmp dword [ebp - 0x124], 0
je 0x41bb2e
push dword [ebp - 0x124]
push dword [0x43d8c4]
call fcn.0041eac0
pop ecx
pop ecx
cmp dword [ebp - 0x10c], 0
je 0x41bb5c
push 0x43b520
push dword [0x43d8c4]
call fcn.0041eac0
pop ecx
pop ecx
push dword [ebp - 0x10c]
push dword [0x43d8c4]
call fcn.0041eac0
pop ecx
pop ecx
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [0x43d8c4]
leave
ret
Function at 0x41c691
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x41c748
call fcn.00419289
mov eax, dword [0x4468a0]
cmp dword [eax + 4], 0xffffffcf
je 0x41c64a
push 0x43b644
push 1
call fcn.0041aa80
pop ecx
pop ecx
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov dword [ebp - 4], 1
jmp 0x41c664
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
movzx eax, word [eax]
cmp dword [ebp - 4], eax
jg 0x41c726
push 0
push 0
push 3
lea eax, [ebp - 0x18]
push eax
call fcn.00409b6d
add esp, 0x10
movsx eax, al
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
movzx eax, word [eax]
cmp dword [ebp - 4], eax
jge 0x41c6c4
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetLBound]
cmp dword [ebp - 0x1c], 0
jne 0x41c6b4
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x20]
je 0x41c6c2
push 0x43b654
push 1
call fcn.0041aa80
pop ecx
pop ecx
jmp 0x41c6f7
cmp dword [ebp - 0x10], 0
jge 0x41c6d8
push 0x43b674
push 1
call fcn.0041aa80
pop ecx
pop ecx
and dword [0x43d9bc], 0
cmp dword [ebp - 0x1c], 0
jne 0x41c6f0
mov eax, dword [ebp - 0x10]
inc eax
mov dword [0x43d9b8], eax
jmp 0x41c6f7
and dword [0x43d9b8], 0
call fcn.00419289
mov eax, dword [0x4468a0]
cmp dword [eax + 4], 0xffffffcc
je 0x41c721
mov eax, dword [ebp + 8]
movzx eax, word [eax]
dec eax
cmp dword [ebp - 4], eax
jge 0x41c721
push 0x43b694
push 1
call fcn.0041aa80
pop ecx
pop ecx
jmp 0x41c65d
mov eax, dword [0x4468a0]
cmp dword [eax + 4], 0xffffffd0
je 0x41c73f
push 0x43b6b4
push 1
call fcn.0041aa80
pop ecx
pop ecx
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x43d9b8
mov eax, dword [ebp - 4]
dec eax
leave
ret