joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46d6d7
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0046d556

Function at 0x4730a5
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00472faa

Function at 0x474234
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00473ef4

Function at 0x557300
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xfb000]
push edi
or ebp, 0xffffffff
jmp 0x557322
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x557329
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x557318
mov eax, 1
add ebx, ebx
jne 0x55733b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x557330
jne 0x55734c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x557330
xor ecx, ecx
sub eax, 3
jb 0x557360
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5573d2
mov ebp, eax
add ebx, ebx
jne 0x55736b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x557378
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x55739c
inc ecx
add ebx, ebx
jne 0x557388
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x55737d
jne 0x557399
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x55737d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5573bc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5573ad
jmp 0x55731e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5573bc
add edi, ecx
jmp 0x55731e
pop esi
mov edi, esi
mov ecx, 0x99
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5573da
cmp byte [edi], 7
jne 0x5573da
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 0x5573df
lea edi, [esi + 0x155000]
mov eax, dword [edi]
or eax, eax
je 0x557457
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x157468]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1574e0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x55740c
mov ecx, edi
jns 0x55743b
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 + 0x1574e8]
or eax, eax
je 0x557451
mov dword [ebx], eax
add ebx, 4
jmp 0x557429
call dword [esi + 0x1574e4]
mov ebp, dword [esi + 0x1574ec]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
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 0x55748b
sub esp, 0xffffff80
jmp 0x419df0
Function at 0x401ea0
Capabilities:
Accept command line arguments
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 sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__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 sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call dbg.wmain
mov dword [esp], eax
call sym._exit

Function at 0x401f10
Capabilities:
Accept command line arguments
Encrypt data using rc4 prga

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x6c
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov ebx, eax
movzx eax, word [eax]
test ax, ax
je 0x401f77
xor ecx, ecx
xor edx, edx
jmp 0x401f59
cmp ax, 0x5c
jne 0x401fe8
add edx, 1
movzx eax, word [ebx + 2]
add ebx, 2
test ax, ax
je 0x401f77
cmp ax, 9
je 0x401f65
cmp ax, 0x20
jne 0x401f40
test ecx, ecx
je 0x401fd3
movzx eax, word [ebx + 2]
add ebx, 2
xor edx, edx
test ax, ax
jne 0x401f59
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoW]
sub esp, 4
test byte [ebp - 0x30], 1
je 0x402008
movzx esi, word [ebp - 0x2c]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call dbg.wWinMain@16
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret
add ebx, 2
movzx eax, word [ebx]
cmp ax, 9
je 0x401fd0
cmp ax, 0x20
je 0x401fd0
jmp 0x401f77
cmp ax, 0x22
jne 0x401f69
and edx, 1
jne 0x401f69
xor ecx, 1
jmp 0x401f4d
mov eax, 1
mov esi, 1
mov word [ebp - 0x2c], ax
jmp 0x401f90
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
mov ecx, 0x35aa3493
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data_1
mov ebx, 0x42e1d0
nop
mov ecx, 0x3464717f
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x421fc0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xe000]
push edi
or ebp, 0xffffffff
jmp 0x421fe2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x421fe9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x421fd8
mov eax, 1
add ebx, ebx
jne 0x421ffb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x421ff0
jne 0x42200c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x421ff0
xor ecx, ecx
sub eax, 3
jb 0x422020
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x422092
mov ebp, eax
add ebx, ebx
jne 0x42202b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x422038
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42205c
inc ecx
add ebx, ebx
jne 0x422048
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42203d
jne 0x422059
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42203d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42207c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42206d
jmp 0x421fde
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42207c
add edi, ecx
jmp 0x421fde
pop esi
mov edi, esi
mov ecx, 0x3bc
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42209a
cmp byte [edi], 0xd
jne 0x42209a
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 0x42209f
lea edi, [esi + 0x1f000]
mov eax, dword [edi]
or eax, eax
je 0x42210e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x22000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x22028]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4220cc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x22030]
or eax, eax
je 0x422108
mov dword [ebx], eax
add ebx, 4
jmp 0x4220e9
call dword [esi + 0x2202c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x42213f
cmp al, 0xef
ja 0x422132
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x422114
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x422121
mov ebp, dword [esi + 0x22034]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x422173
sub esp, 0xffffff80
jmp 0x403e61
Function at 0x10001900
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
push esi
push edi
jne 0x10001918
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
ret 0xc
mov eax, dword [esp + 0x14]
push eax
mov dword [ebp], 0
call fcn.10003ee0
test eax, eax
je 0x10001939
pop edi
pop esi
pop ebp
mov eax, 0xa
pop ebx
ret 0xc
mov ecx, dword [esp + 0x1c]
push 0
push ecx
call fcn.10003f30
push 0x18
mov ebx, 1
push ebx
call dword [sym.imp.MSVCRT.dll_calloc]
mov esi, eax
add esp, 8
test esi, esi
jne 0x1000196d
call fcn.10003f10
pop edi
pop esi
pop ebp
mov eax, 8
pop ebx
ret 0xc
push 0x1000e658
call fcn.10003ff0
push 0x1000e65c
call fcn.10003ff0
push 0x1000e660
call fcn.10003ff0
mov eax, dword [0x1000e65c]
mov edx, eax
and edx, ebx
add eax, edx
mov dword [0x1000e65c], eax
cmp dword [0x1000e658], 0x46464952
jne 0x10001b40
cmp dword [0x1000e660], 0x45564157
jne 0x10001b40
xor eax, eax
mov dword [0x1000e648], eax
mov dword [0x1000e64c], eax
mov dword [0x1000e650], eax
mov dword [0x1000e654], eax
sub dword [0x1000e65c], 4
je 0x10001a88
push 0x1000e668
call fcn.10003ff0
push 0x1000e66c
call fcn.10003ff0
mov eax, dword [0x1000e66c]
mov edi, dword [0x1000e65c]
mov ecx, eax
and ecx, ebx
add eax, ecx
mov ecx, dword [0x1000e668]
mov edx, 0xfffffff8
sub edx, eax
add edi, edx
cmp ecx, 0x20746d66
mov dword [0x1000e66c], eax
mov dword [0x1000e65c], edi
jne 0x10001a6c
push 0x1000e648
call fcn.10003fc0
push 0x1000e64a
call fcn.10003fc0
push 0x1000e64c
call fcn.10003ff0
push 0x1000e650
call fcn.10003ff0
push 0x1000e654
call fcn.10003fc0
push 0x1000e656
call fcn.10003fc0
mov eax, dword [0x1000e66c]
push ebx
add eax, 0xfffffff0
jmp 0x10001a75
cmp ecx, 0x61746164
je 0x10001a99
push ebx
push eax
call fcn.10003f30
mov eax, dword [0x1000e65c]
test eax, eax
jne 0x100019de
call fcn.10003f10
pop edi
pop esi
pop ebp
mov eax, 0xb
pop ebx
ret 0xc
cmp word [0x1000e648], bx
jne 0x10001b40
mov dword [esi + 8], eax
mov cx, word [0x1000e64c]
mov word [esi + 0x14], cx
mov word [esi + 0x16], 0
cmp word [0x1000e656], 8
je 0x10001ac8
mov word [esi + 0x16], bx
cmp word [0x1000e64a], bx
je 0x10001ad5
or byte [esi + 0x17], 1
push esi
call sym.audiow32.dll_ACreateAudioData
mov edi, eax
test edi, edi
je 0x10001af5
call fcn.10003f10
push esi
call sym.audiow32.dll_AFreeWaveFile
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
mov edx, dword [esi + 8]
mov eax, dword [esi]
push edx
push eax
call fcn.10003f50
test byte [esi + 0x16], bl
jne 0x10001b23
mov ecx, dword [esi + 8]
xor eax, eax
test ecx, ecx
jbe 0x10001b23
mov ecx, dword [esi]
mov bl, byte [ecx + eax]
add ecx, eax
xor bl, 0x80
mov byte [ecx], bl
mov ecx, dword [esi + 8]
inc eax
cmp eax, ecx
jb 0x10001b0f
mov edx, dword [esi + 8]
push edx
push 0
push esi
call sym.audiow32.dll_AWriteAudioData
call fcn.10003f10
pop edi
mov dword [ebp], esi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0xc
call fcn.10003f10
push esi
call sym.audiow32.dll_AFreeWaveFile
pop edi
pop esi
pop ebp
mov eax, 0xb
pop ebx
ret 0xc
Function at 0x100032e0
Capabilities:
Encode data using xor

Disassembly:
mov eax, edx
dec edx
test eax, eax
je 0x100032f1
lea eax, [edx + 1]
xor byte [ecx], 0x80
inc ecx
dec eax
jne 0x100032ea
ret

Function at 0x10003840
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, edx
push 0x16
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.MSVCRT.dll_strncpy]
mov eax, dword [edi + 0x18]
add esp, 0xc
test eax, eax
je 0x10003903
push 0x3c
push 1
call dword [sym.imp.MSVCRT.dll_calloc]
mov esi, eax
add esp, 8
test esi, esi
jne 0x1000387b
pop edi
pop esi
mov eax, 8
pop ebx
ret
mov word [ebx + 0x80], 1
mov dword [ebx + 0xf8], esi
mov word [esi + 0x3a], 0
mov eax, dword [edi + 0x18]
mov dword [esi + 0x2c], eax
mov cl, byte [edi + 0x25]
mov byte [esi + 0x20], cl
mov dl, byte [edi + 0x24]
mov byte [esi + 0x23], dl
mov byte [esi + 0x21], 0x80
mov ecx, dword [edi + 0x1c]
mov eax, dword [edi + 0x20]
add ecx, 2
cmp ecx, eax
jae 0x100038ca
cmp eax, dword [edi + 0x18]
ja 0x100038ca
mov word [esi + 0x3a], 0x10
mov edx, dword [edi + 0x1c]
mov dword [esi + 0x30], edx
mov eax, dword [edi + 0x20]
mov dword [esi + 0x34], eax
lea edi, [esi + 0x24]
push edi
call sym.audiow32.dll_ACreateAudioData
test eax, eax
jne 0x10003905
mov ecx, dword [esi + 0x2c]
mov edx, dword [edi]
push ecx
push edx
call fcn.10003f50
mov ecx, dword [esi + 0x2c]
mov eax, dword [edi]
mov edx, ecx
dec ecx
test edx, edx
je 0x100038f7
inc ecx
xor byte [eax], 0x80
inc eax
dec ecx
jne 0x100038f0
mov eax, dword [esi + 0x2c]
push eax
push 0
push edi
call sym.audiow32.dll_AWriteAudioData
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x10003f50
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [0x1000f254]
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
push eax
push esi
push 1
push edi
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
cmp eax, esi
je 0x10003f83
mov ecx, esi
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
pop edi
xor eax, eax
pop esi
ret 8

Function at 0x10003f90
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [0x1000f254]
push esi
mov esi, dword [esp + 8]
push eax
push 1
push 1
push esi
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
cmp eax, 1
je 0x10003fb1
mov byte [esi], 0
xor eax, eax
pop esi
ret 4

Function at 0x10003fc0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [0x1000f254]
push esi
mov esi, dword [esp + 8]
push eax
push 2
push 1
push esi
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
cmp eax, 2
je 0x10003fe3
mov word [esi], 0
xor eax, eax
pop esi
ret 4

Function at 0x10003ff0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [0x1000f254]
push esi
mov esi, dword [esp + 8]
push eax
push 4
push 1
push esi
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
cmp eax, 4
je 0x10004014
mov dword [esi], 0
xor eax, eax
pop esi
ret 4
Function at 0x10004020
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [0x1000f254]
push esi
mov esi, dword [esp + 8]
push eax
push 1
push 1
push esi
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
cmp eax, 1
je 0x10004041
mov byte [esi], 0
xor eax, eax
pop esi
ret 4

Function at 0x10004050
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [0x1000f254]
push esi
mov esi, dword [esp + 8]
push eax
push 2
push 1
push esi
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
cmp eax, 2
je 0x10004073
mov word [esi], 0
xor ecx, ecx
mov cl, byte [esi + 1]
xor eax, eax
mov ch, byte [esi]
mov word [esi], cx
pop esi
ret 4
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408e84
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x49d0165
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x29c5267a
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x10001000
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x324
push ebp
push esi
push edi
mov ebp, ecx
xor eax, eax
mov word [esp + 0x28], 0
mov ecx, 0x3f
lea edi, [esp + 0x2a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x28]
push str.SoftwareBaiduBaiduBrowser
push eax
call dword [sym.imp.MSVCR71.dll_swprintf]
add esp, 8
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push 0
lea edx, [esp + 0x34]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100010f3
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x2c]
push edx
push 0
push str.Install
push eax
call esi
test eax, eax
jne 0x100010e8
cmp dword [esp + 0x14], 0x31
jne 0x100010e8
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x12c]
push edx
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
push eax
push 0
push str.installDir
push ecx
mov dword [esp + 0x30], 0x208
call esi
test eax, eax
jne 0x100010e8
lea edx, [esp + 0x128]
push edx
push 0x100abf1c
push ebp
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format_1]
add esp, 0xc
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov esp, ebp
pop ebp
ret
Function at 0x10001330
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009f338
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x218
push ebx
push esi
push edi
lea eax, [esp + 0x10]
xor ebx, ebx
push eax
mov ecx, 0x100d0e08
mov dword [esp + 0x14], ebx
call fcn.100021d0
mov eax, dword [ebp + 0xc]
sub eax, ebx
mov dword [esp + 0x22c], ebx
je 0x100013e4
sub eax, 1
je 0x100013ce
sub eax, 2
jne 0x10001483
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x100d0e08
call fcn.10002c30
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x230], 1
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::operator_2]
lea ecx, [esp + 0x14]
mov byte [esp + 0x22c], bl
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
push 0x5c
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator]
push str.Config.ini
jmp 0x10001479
push 0x5c
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator]
push str.dataCommonConfig.ini
jmp 0x10001479
mov ecx, 0x100d0e08
call fcn.10001df0
mov esi, eax
cmp esi, ebx
jne 0x10001405
mov esi, dword [ebp + 8]
push ebx
mov ecx, esi
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
jmp 0x10001493
mov word [esp + 0x18], bx
xor eax, eax
mov ecx, 0x81
lea edi, [esp + 0x1a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edx, dword [esi + 0x564]
mov eax, dword [esi + 0x560]
push edx
push eax
push str.Users
lea ecx, [esp + 0x24]
push 0x100ac0a0
push ecx
call dword [sym.imp.MSVCR71.dll_swprintf]
add esp, 0x14
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::operator_1]
cmp dword [esi + 0x554], ebx
jne 0x10001468
push ebx
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x5c
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator]
push str.UserConfig.ini
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::operator_1]
mov esi, dword [ebp + 8]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_5]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0x224]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100014c0
Capabilities:
Read .ini file

Disassembly:
push ecx
lea eax, [esp]
push 0
push eax
call fcn.10001330
add esp, 8
lea ecx, [esp]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
push 0x19a
push str.Width
push str.GiftWidth
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esp + 8]
mov dword [ecx], eax
lea ecx, [esp]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
pop ecx
ret
Function at 0x100015a0
Capabilities:
Read .ini file

Disassembly:
push ecx
lea eax, [esp]
push 0
push eax
call fcn.10001330
add esp, 8
lea ecx, [esp]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
push 0x186
push str.Proportion
push str.GiftDlgProportion
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esp + 8]
mov dword [ecx], eax
lea ecx, [esp]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
pop ecx
ret

Function at 0x10001680
Capabilities:
Read .ini file

Disassembly:
push ecx
lea eax, [esp]
push 0
push eax
call fcn.10001330
add esp, 8
lea ecx, [esp]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
push 0
push str.HidePublicGift
push str.UserSet
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esp + 8]
mov dword [ecx], eax
lea ecx, [esp]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
pop ecx
ret

Function at 0x100016c0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x1009f309
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
lea ecx, [esp + 4]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_4]
lea eax, [esp + 4]
push eax
mov dword [esp + 0x14], 0
call fcn.100012c0
add esp, 4
lea ecx, [esp + 4]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0x12c
push str.PublicHtmlHeight
push str.Layout
call esi
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
lea ecx, [esp + 4]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
push 0x15e
push str.PrivHtmlWidth
push str.Layout
call esi
mov edx, dword [esp + 0x18]
lea ecx, [esp + 4]
mov dword [edx], eax
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
push 0
push str.ShowPrivBackGround
push str.BackGround
call esi
mov ecx, dword [esp + 0x20]
mov dword [ecx], eax
lea ecx, [esp + 4]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
push 0
push str.ShowPublicBackGround
push str.BackGround
call esi
mov edx, dword [esp + 0x24]
lea ecx, [esp + 4]
mov dword [edx], eax
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret