joyce8/EMBER2024-capa huggingface dataset:
Function at 0x543e30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xd5000]
push edi
jmp 0x543e4a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x543e51
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x543e40
mov eax, 1
add ebx, ebx
jne 0x543e63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x543e74
jne 0x543e93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x543e93
dec eax
add ebx, ebx
jne 0x543e80
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x543e58
add ebx, ebx
jne 0x543e8f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x543ee5
xor ecx, ecx
sub eax, 3
jb 0x543eab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x543f1a
sar eax, 1
mov ebp, eax
jmp 0x543eb6
add ebx, ebx
jne 0x543eb6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x543e84
inc ecx
add ebx, ebx
jne 0x543ec4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x543e84
add ebx, ebx
jne 0x543ed1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x543ec6
jne 0x543ee2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x543ec6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x543f04
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x543ef6
jmp 0x543e46
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x543f04
add edi, ecx
jmp 0x543e46
pop esi
mov edi, esi
mov ecx, 0x997f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x543f22
cmp byte [edi], 0x2f
jne 0x543f22
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x543f27
lea edi, [esi + 0x13f000]
mov eax, dword [edi]
or eax, eax
je 0x543f9f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x156524]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x15668c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x543f54
mov ecx, edi
jns 0x543f83
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x156690]
or eax, eax
je 0x543f99
mov dword [ebx], eax
add ebx, 4
jmp 0x543f71
call dword [esi + 0x1566a0]
mov ebp, dword [esi + 0x156694]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x543fd3
sub esp, 0xffffff80
jmp 0x4b20a6

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x13b2800
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
mov esi, 0x1a2c
mov edi, eax
mov dword [ebp - 8], esi
mov eax, 0x4c5b
test ecx, ecx
jle 0x13b2891
sub edx, edi
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], ecx
push ebx
mov edx, esi
shr edx, 8
mov dword [ebp - 4], edx
mov edx, eax
shr edx, 0x18
mov ebx, eax
shr ebx, 0x10
and dl, bl
mov ebx, esi
mov ecx, eax
shr ecx, 8
and dl, cl
mov dword [ebp - 0x14], ecx
mov ecx, esi
shr ecx, 0x18
shr ebx, 0x10
and cl, bl
mov bl, byte [ebp - 4]
xor dl, cl
mov ecx, dword [ebp - 0x10]
xor dl, byte [ecx + edi]
mov ecx, dword [ebp - 8]
lea esi, [eax*4]
xor esi, eax
add esi, esi
and bl, cl
xor esi, eax
xor dl, bl
xor dl, al
and esi, 0xfffffff0
shl eax, 4
xor esi, eax
shl ecx, 0x18
or ecx, dword [ebp - 0x14]
shl esi, 0x14
or esi, dword [ebp - 4]
mov byte [edi], dl
inc edi
dec dword [ebp - 0xc]
mov dword [ebp - 8], esi
mov eax, ecx
jne 0x13b2824
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x13b28a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
lea eax, [edx + edx]
xor eax, edx
shl eax, 4
xor eax, edx
and eax, 0xffffff80
mov esi, edx
shl esi, 7
xor eax, esi
mov esi, edx
shr esi, 8
shl eax, 0x11
or eax, esi
add eax, edx
lea edx, [eax + eax]
xor edx, eax
and edx, 0xfffffff8
lea esi, [eax*8]
xor edx, esi
shl edx, 4
mov esi, eax
and esi, 0xffffff80
xor edx, esi
shl edx, 0x11
mov esi, eax
shr esi, 8
or edx, esi
mov byte [ecx], al
add eax, edx
lea edx, [eax + eax]
xor edx, eax
and edx, 0xfffffff8
lea esi, [eax*8]
xor edx, esi
shl edx, 4
mov esi, eax
and esi, 0xffffff80
xor edx, esi
shl edx, 0x11
mov esi, eax
shr esi, 8
or edx, esi
mov byte [ecx + 1], al
add eax, edx
lea edx, [eax + eax]
xor edx, eax
and edx, 0xfffffff8
lea esi, [eax*8]
xor edx, esi
shl edx, 4
mov esi, eax
and esi, 0xffffff80
xor edx, esi
mov esi, eax
shr esi, 8
shl edx, 0x11
or edx, esi
mov byte [ecx + 2], al
add eax, edx
xor esi, esi
mov byte [ecx + 3], al
cmp dword [ebp + 0xc], esi
jle 0x13b2a2e
movzx ebx, byte [ecx + 2]
mov dl, byte [ecx + 1]
mov byte [ebp - 1], bl
movzx ebx, al
mov byte [ebp - 2], bl
mov edi, dword [ebp + 8]
movzx edi, byte [esi + edi]
add eax, edi
lea edi, [eax + eax]
xor edi, eax
and edi, 0xfffffff8
lea ebx, [eax*8]
xor edi, ebx
shl edi, 4
mov ebx, eax
and ebx, 0xffffff80
xor edi, ebx
shl edi, 0x11
mov ebx, eax
shr ebx, 8
or edi, ebx
add eax, edi
add byte [ecx], al
lea edi, [eax + eax]
xor edi, eax
and edi, 0xfffffff8
lea ebx, [eax*8]
xor edi, ebx
shl edi, 4
mov ebx, eax
and ebx, 0xffffff80
xor edi, ebx
shl edi, 0x11
mov ebx, eax
shr ebx, 8
or edi, ebx
add eax, edi
lea edi, [eax + eax]
xor edi, eax
and edi, 0xfffffff8
lea ebx, [eax*8]
xor edi, ebx
shl edi, 4
mov ebx, eax
and ebx, 0xffffff80
xor edi, ebx
shl edi, 0x11
mov ebx, eax
shr ebx, 8
or edi, ebx
mov bl, byte [ebp - 1]
add dl, al
add eax, edi
add bl, al
mov byte [ebp - 1], bl
mov byte [ecx + 2], bl
lea edi, [eax + eax]
xor edi, eax
and edi, 0xfffffff8
lea ebx, [eax*8]
xor edi, ebx
shl edi, 4
mov ebx, eax
and ebx, 0xffffff80
xor edi, ebx
mov ebx, eax
shr ebx, 8
shl edi, 0x11
or edi, ebx
mov bl, byte [ebp - 2]
add eax, edi
add bl, al
inc esi
mov byte [ecx + 1], dl
mov byte [ebp - 2], bl
mov byte [ecx + 3], bl
cmp esi, dword [ebp + 0xc]
jl 0x13b2962
xor edx, edx
cmp byte [edx + ecx], 0
jbe 0x13b2a6a
movzx esi, byte [edx + ecx]
lea ebx, [ebx]
lea edi, [eax + eax]
xor edi, eax
and edi, 0xfffffff8
lea ebx, [eax*8]
xor edi, ebx
shl edi, 4
mov ebx, eax
and ebx, 0xffffff80
xor edi, ebx
mov ebx, eax
shl edi, 0x11
shr ebx, 8
or edi, ebx
add eax, edi
dec esi
jne 0x13b2a40
mov byte [edx + ecx], al
inc edx
cmp edx, 4
jl 0x13b2a30
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x13b2a80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3ab8
call loc.013bbe90
mov eax, dword [0x13c003c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x10]
movzx ecx, cx
mov dword [ebp - 0x3aa0], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x3a9c], ecx
mov dword [ebp - 0x3a98], edx
mov dword [ebp - 0x3a94], eax
mov edi, edi
mov ecx, 0x3a34
cmp ebx, 0x3a34
ja 0x13b2acf
mov ecx, ebx
sub ebx, ecx
mov esi, 0x1a2c
xor edi, edi
mov dword [ebp - 0x3a90], ecx
mov dword [ebp - 0x3ab0], ebx
mov dword [ebp - 0x3ab4], ecx
mov dword [ebp - 0x3aa8], esi
mov eax, 0x4c5b
test ecx, ecx
jle 0x13b2baf
mov ecx, dword [ebp - 0x3aa0]
lea edx, [ebp - 0x3a8c]
sub ecx, edx
mov dword [ebp - 0x3aac], ecx
mov edx, esi
shr edx, 8
mov dword [ebp - 0x3aa4], edx
mov ebx, eax
shr ebx, 0x18
mov edx, eax
shr edx, 0x10
and bl, dl
mov edx, esi
mov ecx, eax
shr ecx, 8
and bl, cl
mov dword [ebp - 0x3ab8], ecx
mov ecx, esi
mov esi, dword [ebp - 0x3aac]
shr ecx, 0x18
shr edx, 0x10
and cl, dl
mov dl, byte [ebp - 0x3aa4]
xor bl, cl
mov ecx, dword [ebp - 0x3aa8]
and dl, cl
xor bl, dl
lea edx, [ebp + edi - 0x3a8c]
xor bl, byte [esi + edx]
lea esi, [eax*4]
xor esi, eax
add esi, esi
xor esi, eax
xor bl, al
and esi, 0xfffffff0
shl eax, 4
xor esi, eax
shl ecx, 0x18
or ecx, dword [ebp - 0x3ab8]
shl esi, 0x14
or esi, dword [ebp - 0x3aa4]
inc edi
mov byte [edx], bl
mov dword [ebp - 0x3aa8], esi
mov eax, ecx
cmp edi, dword [ebp - 0x3ab4]
jl 0x13b2b11
mov ecx, dword [ebp - 0x3a90]
mov ebx, dword [ebp - 0x3ab0]
add dword [ebp - 0x3aa0], ecx
add ecx, 0x10
movzx esi, cx
lea edi, [ebp - 0x3a9c]
test si, si
je 0x13b2c07
mov ecx, dword [ebp + 8]
push 0
movzx eax, si
push eax
push edi
push ecx
call dword [0x13bc1b8]
test eax, eax
js 0x13b2be1
add edi, eax
sub esi, eax
jmp 0x13b2c02
cmp eax, 0xffffffff
jne 0x13b2c02
call dword [0x13bc1a4]
cmp eax, 0x2746
je 0x13b2c20
cmp eax, 0x2744
je 0x13b2c20
push 0xa
call dword [0x13bc07c]
test si, si
jne 0x13b2bc6
test ebx, ebx
jne 0x13b2ac0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.013b4334
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.013b4334
mov esp, ebp
pop ebp
ret
Function at 0x401350
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push edi
mov edi, edx
push esi
mov esi, eax
push ebx
sub esp, 0x30
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
sub esp, 4
cmp eax, 0xffffffff
lea eax, [esp + 0x2c]
mov dword [esp + 8], eax
je 0x4013e0
mov dword [esp + 4], 1
mov dword [esp], esi
call sub.msi.dll_MsiOpenDatabaseW
sub esp, 0xc
mov ebx, eax
test eax, eax
jne 0x4013a0
mov eax, dword [esp + 0x2c]
xor ebx, ebx
mov dword [edi], eax
add esp, 0x30
mov eax, ebx
pop ebx
pop esi
pop edi
ret
test byte [section..data], 2
je 0x401394
mov eax, esi
call fcn.00401060
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.failed_to_open_package_database__s___u__n
mov dword [esp + 8], 0x40433c
mov dword [esp + 4], 0x403000
mov dword [esp], 1
call fcn.00401300
jmp 0x401394
mov dword [esp + 4], 3
mov dword [esp], esi
call sub.msi.dll_MsiOpenDatabaseW
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x401440
test byte [section..data], 2
je 0x401394
mov eax, esi
call fcn.00401060
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.failed_to_create_package_database__s___u__n
mov dword [esp + 8], 0x40433c
mov dword [esp + 4], 0x403000
mov dword [esp], 1
call fcn.00401300
jmp 0x401394
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sub.msi.dll_MsiDatabaseCommit
sub esp, 4
mov ebx, eax
test eax, eax
je 0x40138c
test byte [section..data], 2
jne 0x401480
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sub.msi.dll_MsiCloseHandle
sub esp, 4
jmp 0x401394
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.failed_to_commit_database___u__n
mov dword [esp + 8], 0x40433c
mov dword [esp + 4], 0x403000
mov dword [esp], 1
call fcn.00401300
jmp 0x401462
Function at 0x401b40
Capabilities:
Get common file path

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x48
mov eax, dword [ecx]
mov ebx, dword [ecx + 4]
cmp eax, 2
jle 0x401b67
mov edx, dword [ebx + 4]
cmp word [edx], 0x2d
je 0x401b90
mov dword [esp], str.Usage:_winemsibuilder__OPTION___MSIFILE__..._nOptions:_n___i_package.msi_table1.idt__table2.idt_..._____Import_one_or_more_tables_into_the_database._n___a_package.msi_stream_file____________________Add_stream_to_storage_with_contents_of_file._n_nExisting_tables_or_streams_will_be_overwritten._If_package.msi_does_not_exist_a_new_file_nwill_be_created_with_an_empty_database._n
mov ebx, 1
call fcn.004014b0
lea esp, [ebp - 0x10]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
movzx edx, word [edx + 2]
cmp dx, 0x61
je 0x401bf8
cmp dx, 0x69
jne 0x401bc0
cmp eax, 3
je 0x401b67
mov eax, dword [ebx + 8]
lea edx, [ebp - 0x1c]
call fcn.00401350
test eax, eax
je 0x401c20
mov ebx, 1
jmp 0x401b78
test byte [section..data], 4
je 0x401b67
mov dword [esp + 0xc], str.unknown_option_n
mov dword [esp + 8], str.wmain
mov dword [esp + 4], 0x403000
mov dword [esp], 2
call fcn.00401300
jmp 0x401b67
cmp eax, 4
jle 0x401b67
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
call fcn.004014d0
mov ebx, eax
jmp 0x401b78
mov edi, dword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov dword [esp + 4], 0
mov dword [esp], 0
call edi
lea edx, [eax + 1]
sub esp, 8
lea eax, [edx + edx]
mov dword [ebp - 0x30], edx
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov edx, dword [ebp - 0x30]
mov esi, eax
mov eax, dword [ebp - 0x1c]
test esi, esi
mov dword [ebp - 0x2c], eax
je 0x401d4f
mov dword [esp + 4], esi
mov dword [esp], edx
call edi
mov eax, dword [ebx + 0xc]
lea edi, [ebx + 0xc]
sub esp, 8
test eax, eax
jne 0x401c8a
jmp 0x401cd0
mov eax, dword [edi + 4]
add edi, 4
test eax, eax
je 0x401cd0
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sub.msi.dll_MsiDatabaseImportW
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x401c80
test byte [section..data], 2
jne 0x401d17
mov ebx, 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sub.msi.dll_MsiCloseHandle
sub esp, 4
jmp 0x401b78
mov eax, dword [ebp - 0x2c]
xor ebx, ebx
mov dword [esp], eax
call sub.msi.dll_MsiDatabaseCommit
sub esp, 4
test eax, eax
je 0x401cb4
test byte [section..data], 2
je 0x401caf
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.failed_to_commit_changes___u__n
mov dword [esp + 8], str.import_tables
mov dword [esp + 4], 0x403000
mov dword [esp], 1
call fcn.00401300
jmp 0x401caf
mov eax, dword [edi]
call fcn.00401060
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.failed_to_import_table__s___u__n
mov dword [esp + 8], str.import_tables
mov dword [esp + 4], 0x403000
mov dword [esp], 1
call fcn.00401300
jmp 0x401caf
mov dword [esp], eax
call sub.msi.dll_MsiCloseHandle
push eax
jmp 0x401bb4
Function at 0x402730
Capabilities:
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sub.ucrtbase.dll__configure_wide_argv
call sub.ucrtbase.dll__initialize_wide_environment
call 0x4027a0
mov esi, dword [eax]
call sub.ucrtbase.dll___p___wargv
mov edi, dword [eax]
call sub.ucrtbase.dll__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sub.ucrtbase.dll__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.00401b40
mov dword [esp], eax
call sub.ucrtbase.dll_exit
jmp dword [sym.imp.ucrtbase.dll___p___argc]
Function at 0x403761
Capabilities:
Delete directory
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x102c
call fcn.0040a170
cmp dword [0x2ac10a0], 0x594
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
jne 0x40379e
push 0x402c70
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 0x402cd4
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
mov eax, dword [0x44cc98]
push ebx
mov dword [ebp - 0x2c], eax
mov eax, dword [0x44cc9c]
push esi
xor esi, esi
mov dword [ebp - 0x24], eax
push edi
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
call fcn.0040375a
mov eax, dword [0x44cca0]
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x20], eax
mov eax, dword [0x44cca4]
add ebx, 0x23f
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], 0x20
mov dword [ebp - 8], 2
add dword [ebp - 8], 3
mov eax, dword [ebp - 0x10]
shl eax, 4
cmp dword [0x2ac10a0], 0xc
mov dword [ebp - 4], eax
jne 0x403829
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadIdealProcessor]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
xor eax, eax
mov word [ebp - 0x1c], ax
lea edi, [ebp - 0x1a]
stosw word es:[edi], ax
push dword [ebp - 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
mov eax, dword [ebp - 0x20]
add dword [ebp - 4], eax
mov eax, dword [0x2ac10a0]
cmp eax, 0xfa9
jne 0x403845
mov dword [0x2ac063c], 0xedeb2e40
cmp eax, 0x3eb
jne 0x403852
mov dword [0x2abffec], esi
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
lea eax, [ebx + edx]
shr edx, cl
mov dword [ebp - 0x14], eax
mov dword [0x2ac0638], 0xf4ea3dee
add edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
xor edx, dword [ebp - 4]
cmp dword [0x2ac10a0], 0x213
mov dword [ebp - 0x14], edx
jne 0x403899
push esi
push 0x402cf0
push esi
push 0x402d40
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CompareStringA]
mov eax, dword [ebp - 0x14]
add dword [ebp - 0xc], 0x64
sub dword [ebp - 0xc], eax
sub dword [ebp - 0xc], 0x64
cmp dword [0x2ac10a0], 0xc
jne 0x4038d6
push esi
lea eax, [ebp - 0x82c]
push eax
push 0x402d88
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointW]
push esi
lea eax, [ebp - 0x102c]
push eax
push 0x402df8
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
mov eax, dword [ebp - 0xc]
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov edi, eax
shr edi, cl
lea edx, [ebx + eax]
xor dword [ebp - 4], edx
add edi, dword [ebp - 0x24]
cmp dword [0x2ac10a0], 0x121
jne 0x403914
push 0x402e28
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov eax, dword [ebp - 0xc]
xor dword [ebp - 4], edi
mov ecx, dword [ebp - 4]
sub dword [ebp - 0x10], ecx
add ebx, 0x61c88647
dec dword [ebp - 0x18]
jne 0x4037de
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
pop edi
pop esi
mov dword [ecx], edx
mov dword [ecx + 4], eax
pop ebx
leave
ret 4
Function at 0x40393e
Capabilities:
Get common file path
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.0040a170
mov eax, dword [0x2ac10a0]
mov ecx, dword [0x2abfff0]
push esi
shr eax, 3
xor esi, esi
cmp eax, esi
jbe 0x403a36
push ebx
push edi
mov edi, ecx
mov ebx, eax
cmp dword [0x2ac10a0], 0x959
jne 0x403a24
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SignalObjectAndWait]
push 0x402e78
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsExA]
push 0x402ef8
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push 0x402f88
push esi
call dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
push esi
lea eax, [ebp - 0x800]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LCMapStringA]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
push esi
push esi
push esi
push esi
push esi
push esi
push 0x402fd8
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push esi
lea eax, [ebp - 0x1000]
push eax
push esi
push 0x402e6c
push esi
call dword [sym.imp.KERNEL32.dll_FoldStringW]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x403028
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push edi
call fcn.00403761
add edi, 8
dec ebx
jne 0x40396a
pop edi
pop ebx
pop esi
leave
ret
Function at 0x403d86
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
push esi
xor esi, esi
push 0
call dword [sym.imp.USER32.dll_CharUpperW]
call dword [sym.imp.USER32.dll_GetMessageExtraInfo]
cmp esi, 0x2710
jge 0x403db7
lea eax, [ebp - 0x408]
push eax
push 0
call dword [sym.imp.GDI32.dll_GetDeviceGammaRamp]
inc esi
cmp esi, 0x5d744c
jl 0x403d92
push ebx
push edi
xor esi, esi
mov edi, 0x2b259d
mov ebx, 0x785074d5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, edi
jle 0x403ddd
cmp dword [ebp - 4], ebx
jne 0x403de6
inc esi
cmp esi, 0x1c1b
jl 0x403dce
xor esi, esi
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
call dword [sym.imp.KERNEL32.dll_GetLastError]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp esi, 0x206d47
jg 0x403e0d
inc esi
cmp esi, 0x4f6a4
jl 0x403de8
cmp dword [0x2ac10a0], 0x400
jne 0x403e31
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthA]
xor esi, esi
push esi
push esi
call fcn.00403f87
push esi
call fcn.00404087
add esp, 0xc
mov eax, dword [0x44d06c]
mov dword [0x2ac10a0], eax
mov eax, dword [0x44d040]
mov dword [0x2ac10a4], eax
call fcn.00403b08
xor esi, esi
push 0x40332c
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomW]
cmp esi, edi
jle 0x403e60
cmp dword [ebp - 4], ebx
jne 0x403e69
inc esi
cmp esi, 0x11915
jl 0x403e4c
pop edi
mov esi, 0x3078f
pop ebx
cmp dword [0x2ac10a0], 0x51f
jne 0x403e9f
push 0x403370
push 0
lea eax, [ebp - 0x808]
push eax
push 0x403450
push 0x403524
push 0x403334
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
dec esi
jne 0x403e70
mov eax, dword [0x2abfff0]
mov dword [0x2ac0634], eax
call eax
xor eax, eax
pop esi
leave
ret 0x10

Function at 0x406aaf
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44c404]
jne 0x406ab9
repz ret
jmp fcn.00408b40
Function at 0x4083c7
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404f8e
and dword [ebp - 4], 0
cmp dword [0x44d970], 0
mov ebx, eax
jne 0x408478
push 0x40210c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x408529
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402100
push edi
call esi
test eax, eax
je 0x408529
push eax
call fcn.00404f1c
mov dword [esp], 0x4020f0
push edi
mov dword [0x44d970], eax
call esi
push eax
call fcn.00404f1c
mov dword [esp], 0x4020dc
push edi
mov dword [0x44d974], eax
call esi
push eax
call fcn.00404f1c
mov dword [esp], 0x4020c0
push edi
mov dword [0x44d978], eax
call esi
push eax
call fcn.00404f1c
pop ecx
mov dword [0x44d980], eax
test eax, eax
je 0x408478
push 0x4020a8
push edi
call esi
push eax
call fcn.00404f1c
pop ecx
mov dword [0x44d97c], eax
mov eax, dword [0x44d97c]
cmp eax, ebx
je 0x4084d0
cmp dword [0x44d980], ebx
je 0x4084d0
push eax
call fcn.00404f97
push dword [0x44d980]
mov esi, eax
call fcn.00404f97
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4084d0
test edi, edi
je 0x4084d0
call esi
test eax, eax
je 0x4084c7
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4084c7
test byte [ebp - 0xc], 1
jne 0x4084d0
or dword [ebp + 0x10], 0x200000
jmp 0x408509
mov eax, dword [0x44d974]
cmp eax, ebx
je 0x408509
push eax
call fcn.00404f97
pop ecx
test eax, eax
je 0x408509
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x408509
mov eax, dword [0x44d978]
cmp eax, ebx
je 0x408509
push eax
call fcn.00404f97
pop ecx
test eax, eax
je 0x408509
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44d970]
call fcn.00404f97
pop ecx
test eax, eax
je 0x408529
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40852b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret