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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x53e190
cmp edx, dword [eax]
je 0x53a78b
add eax, 8
inc ecx
cmp eax, 0x53e220
jl 0x53a77c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x53e190]
jne 0x53a8b9
mov eax, dword [0x53ebb0]
cmp eax, 1
je 0x53a893
test eax, eax
jne 0x53a7bc
cmp dword [0x53e0e4], 1
je 0x53a893
cmp edx, 0xfc
je 0x53a8b9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x53a7f3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0053b670
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0053b490
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x53a836
lea eax, [ebp - 0x1a4]
push eax
call fcn.0053b490
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x53d45c
push edi
call fcn.0053bf00
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0053b670
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0053b680
lea eax, [ebp - 0xa0]
push 0x53d43c
push eax
call fcn.0053b680
push dword [esi + 0x53e194]
lea eax, [ebp - 0xa0]
push eax
call fcn.0053b680
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0053be75
add esp, 0x2c
pop edi
jmp 0x53a8b9
lea eax, [ebp + 8]
lea esi, [esi + 0x53e194]
push 0
push eax
push dword [esi]
call fcn.0053b490
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 0x8e109c
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x8e10a2
pop ebp
sub ebp, 6
sub ebp, 0x4e109c
jmp 0x8e1100
jmp 0x8e1109
mov eax, 0x4e109c
add eax, ebp
add eax, 0x93
mov ecx, 0x62f
mov edx, 0x26c8b74d
xor byte [eax], dl
inc eax
dec ecx
jne 0x8e1120
jmp 0x8e1133
daa
or eax, 0x4d5d4d25
dec ebp
and eax, 0x4d61814d
int3
Function at 0x402142
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4be14c]
jne 0x40214c
repz ret
jmp fcn.00402c71

Function at 0x41069c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4be14c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00405a1d
and dword [ebp - 0x14], 0
cmp dword [0x4c0fc0], 0
mov dword [ebp - 0x18], eax
jne 0x41074f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4107f7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4107f7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4c0fc0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4c0fc4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4c0fc8], eax
call edi
push eax
call esi
mov dword [0x4c0fd0], eax
test eax, eax
je 0x41074f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4c0fcc], eax
mov eax, dword [0x4c0fcc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4107a8
cmp dword [0x4c0fd0], ecx
je 0x4107a8
push eax
call esi
push dword [0x4c0fd0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4107a8
test ebx, ebx
je 0x4107a8
call edi
test eax, eax
je 0x41079f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41079f
test byte [ebp - 8], 1
jne 0x4107a8
or dword [ebp + 0x10], 0x200000
jmp 0x4107db
mov eax, dword [0x4c0fc4]
cmp eax, dword [ebp - 0x18]
je 0x4107db
push eax
call esi
test eax, eax
je 0x4107db
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4107db
mov eax, dword [0x4c0fc8]
cmp eax, dword [ebp - 0x18]
je 0x4107db
push eax
call esi
test eax, eax
je 0x4107db
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4c0fc0]
call esi
test eax, eax
je 0x4107f7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4107f9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402142
leave
ret
Function at 0x4af460
Capabilities:
Get disk information
Get system information on windows
Manipulate console buffer
Write file on windows

Disassembly:
sub esp, 0x430
mov eax, dword [0x4be14c]
xor eax, esp
mov dword [esp + 0x42c], eax
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push edi
mov ebx, 0x1519a5
mov edi, 0x8e46a7b8
jmp 0x4af490
cmp dword [0x4c423c], 0x3dc
mov dword [0x4c3ea4], edi
jne 0x4af4a6
push 0
call esi
dec ebx
jne 0x4af490
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov ebp, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputA]
xor esi, esi
lea ecx, [ecx]
cmp dword [0x4c423c], 0x933
jne 0x4af507
xor eax, eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x34]
push edx
push eax
lea ecx, [esp + 0x48]
push ecx
push eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
call edi
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call ebx
cmp esi, 0x845fef
jne 0x4af521
mov edx, dword [0x4bfd40]
add edx, 0xa231
mov dword [0x4c423c], edx
cmp dword [0x4c423c], 0x141
jne 0x4af55c
xor edx, edx
lea ecx, [esp + 0x34]
push ecx
push edx
xor eax, eax
push eax
lea ecx, [esp + 0x38]
push ecx
push edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
call ebp
mov dword [0x4c14e8], 0xec58acac
mov dword [0x4c14ec], 0xffffffff
inc esi
cmp esi, 0x12d1832
jl 0x4af4c0
call fcn.004aeff0
mov ecx, dword [esp + 0x43c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00402142
add esp, 0x430
ret 0x10
Function at 0x407281
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x461124], 0
jne 0x4072bf
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x407295
mov dword [ecx*4 + 0x461120], eax
inc ecx
cmp ecx, 0x100
jl 0x407290
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x4072ec
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x461120]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x4072cd
not eax
pop ebp
ret 0xc

Function at 0x401000
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 0xc]
push 1
push 0
push 0
push eax
push str.print
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
xor eax, eax
ret 0x10
Function at 0x403427
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x406720
call fcn.00403db0
push 1
call fcn.0040387d
pop ecx
test al, al
je 0x403411
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.0040384b
mov byte [ebp - 0x24], al
mov eax, dword [0x4083fc]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x403411
test eax, eax
jne 0x40332f
mov dword [0x4083fc], ecx
push 0x4051bc
push 0x4051b0
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x403312
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x403401
push 0x4051ac
push 0x4051a4
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x4083fc], 2
jmp 0x403334
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.004039ef
pop ecx
call fcn.00403b89
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x403365
push esi
call fcn.0040395b
pop ecx
test al, al
je 0x403365
mov esi, dword [esi]
push edi
push 2
push edi
mov ecx, esi
call dword [0x4051a0]
call esi
call fcn.00403b8f
mov esi, eax
cmp dword [esi], edi
je 0x403383
push esi
call fcn.0040395b
pop ecx
test al, al
je 0x403383
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argv
mov edi, dword [eax]
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argc
mov esi, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_initial_narrow_environment
push eax
push edi
push dword [esi]
call main
add esp, 0xc
mov esi, eax
call fcn.00403cb4
test al, al
je 0x403418
test bl, bl
jne 0x4033b6
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push 0
push 1
call fcn.00403a0c
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x403401
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
push 7
call fcn.00403b95
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
push dword [ebp - 0x20]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__exit
int3
call fcn.00497000
jmp 0x4032a5
Function at 0x114329e4
Capabilities:
Encode data using xor

Disassembly:
jmp 0x114329ee
pushal
call 0x114329f4
pop ebp
sub ebp, 0x10
sub ebp, 0x14329e4
jmp 0x11432a0a
mov eax, 0x14329e4
add eax, ebp
add eax, 0x4c
mov ecx, 0x5cd
mov edx, 0xce5217d5
xor byte [eax], dl
inc eax
dec ecx
jne 0x11432a21
jmp 0x11432a34
pop esi
sbb byte [esi + 0x5c], bl
jmp 0x66190012
Function at 0x401651
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4016a7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4016a7
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 8]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x401699
cmp esi, ecx
jae 0x4016a7
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edx, 1
jne 0x401687
cmp esi, ecx
jae 0x4016a7
cmp word [esi], 0
je 0x4016a7
mov eax, esi
jmp 0x4016a9
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x40223b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov edi, ecx
lea eax, [ebp - 4]
push eax
xor ecx, ecx
lea eax, [ebp - 8]
push ecx
push eax
push ecx
push dword [ebp + 8]
mov dword [ebp - 4], ecx
push dword [edi + 4]
mov dword [ebp - 8], ecx
call dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
mov esi, eax
test esi, esi
jle 0x402273
movzx esi, si
or esi, 0x80070000
test esi, esi
jne 0x4022d5
mov eax, dword [ebp - 4]
xor ecx, ecx
shr eax, 1
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00419c9d
pop ecx
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
test ecx, ecx
je 0x4022d0
cmp dword [ebp - 4], 0
je 0x4022c9
lea eax, [ebp - 4]
push eax
push ecx
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
mov esi, eax
test esi, esi
jle 0x4022d5
movzx esi, si
or esi, 0x80070000
jmp 0x4022d5
xor eax, eax
mov word [ecx], ax
jmp 0x4022d5
mov esi, 0x8007000e
pop edi
mov eax, esi
pop esi
leave
ret 8

Function at 0x402d89
Capabilities:
Compare security identifiers

Disassembly:
push ebx
push esi
lea ebx, [ecx + 4]
push edi
mov edi, edx
test ebx, ebx
je 0x402dbf
lea esi, [edi + 4]
test esi, esi
je 0x402dbf
call fcn.00402ceb
test al, al
je 0x402dbf
mov ecx, edi
call fcn.00402ceb
test al, al
je 0x402dbf
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
setne al
jmp 0x402dc1
xor al, al
pop edi
pop esi
pop ebx
ret
Function at 0x403b7e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x42d008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, edx
mov ebx, ecx
push edi
mov ecx, esi
call fcn.0040188f
push 0x208
xor edi, edi
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.00409f70
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push edi
push edi
push ebx
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
test edi, edi
jns 0x403c18
movzx ecx, bl
cmp ecx, 0x26
jne 0x403bdc
mov edx, str.ProgramFiles
jmp 0x403be6
cmp ecx, 0x1c
jne 0x403c07
mov edx, str.LocalAppData
lea ecx, [ebp - 0x210]
call fcn.00403d78
push eax
mov ecx, esi
call fcn.004017e6
mov ecx, dword [ebp - 0x210]
lea ecx, [ecx - 0x10]
call fcn.00401251
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x403c14
xor eax, eax
inc eax
jmp 0x403c36
mov eax, edi
jmp 0x403c36
lea eax, [ebp - 0x20c]
push eax
call fcn.0041b6e1
pop ecx
push eax
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00401a17
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004093f2
leave
ret

Function at 0x4049bd
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
push 0x40
xor ebx, ebx
mov dword [ebp - 0x54], 0x44
lea eax, [ebp - 0x50]
mov edi, edx
push ebx
push eax
call fcn.00409f70
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x54]
add esp, 0xc
mov dword [ebp - 0x28], 0x80
push esi
push eax
push ebx
cmp dword [ebp + 8], ebx
jne 0x4049f9
push ebx
push ebx
jmp 0x404a01
push dword [ebp + 8]
push 0x400
push ebx
push ebx
push ebx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x404a17
call fcn.00406c35
jmp 0x404a59
movzx ecx, byte [0x42ec89]
neg ecx
sbb ecx, ecx
and ecx, 0x42ebb0
je 0x404a57
push 7
pop edx
xor eax, eax
mov dword [ebp - 0x10], ecx
inc eax
mov dword [ebp - 0xc], edx
push eax
push edx
mov dword [ebp - 8], eax
call fcn.00405a95
push dword [esi + 8]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push str._Started_process___u_
push eax
call fcn.004038ce
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x404c02
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea esi, [ecx + 4]
push esi
call dword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
jne 0x404c43
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
jne 0x404c43
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 4]
cmp eax, dword [ebp + 8]
jb 0x404c1e
xor al, al
jmp 0x404c45
mov al, 1
pop esi
leave
ret 4
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x431072
nop
nop
mov ebx, 0x40915c
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x56d79a6
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x431060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
je 0x4310d2
nop
nop
nop
nop
mov ebx, 0x42f3f8
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x2b1a7b21
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4310c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x4014b8
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
xor eax, eax
push esi
mov esi, ecx
push edi
mov ecx, 0x1369e
lea edi, [esi + 0x10]
mov dword [esi], 0x416b28
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
xor edi, edi
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 0xc], eax
mov dword [esi + 0x4da8c], edi
mov dword [esi + 4], edi
mov dword [esi + 8], 0xffffffff
mov eax, esi
pop edi
pop esi
add esp, 0x190
ret

Function at 0x401700
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x414880
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
push edi
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x10], esp
call dword [sym.imp.USER32.dll_GetInputState]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageA]
push 0
push 0
lea eax, [ebp - 0x3c]
push 0
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
push str.shibushizheli__zhe_SB_huorong_yeshi_meishui_l
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0xa
call esi
push 0xa
call esi
push 0xa
call esi
push 0xa
call esi
push 0xa
call esi
push 0xa
call esi
push 0xa
call esi
push 0xa
call esi
push 0xa
call esi
push 0xa
call esi
push 0xa
call esi
push 0xa
call esi
push 0xa
call esi
push 0xa
call esi
push 0xa
call esi
push 0xa
call esi
lea ecx, [ebp - 0x14]
push 0x418658
push ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0x44
call sub.MSVCRT.dll__CxxThrowException
mov dword [ebp - 0x10], esp
lea edx, [ebp - 0x18]
push 0x418658
push edx
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], 0x44
call sub.MSVCRT.dll__CxxThrowException
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x1c]
push 0x418658
push eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x1c], 0x44
call sub.MSVCRT.dll__CxxThrowException
mov eax, 0x4017f8
ret

Function at 0x4053e0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x38
push edi
mov edi, ecx
mov eax, dword [edi + 0x48]
test eax, eax
jne 0x4053f6
mov al, 1
pop edi
add esp, 0x38
ret 8
push ebx
push ebp
push esi
push 0xd
mov dword [esp + 0x20], 9
xor esi, esi
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x20]
push esi
push esi
push 0x1200
push eax
mov byte [esp + 0x23], 1
call ebx
xor ebp, ebp
mov dword [esp + 0x18], eax
test eax, eax
jle 0x405481
mov edx, dword [edi + 0x20]
lea ecx, [esp + 0x1c]
push ecx
push ebp
push 0x1203
push edx
call ebx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
add esi, eax
mov eax, 1
shl eax, cl
test dword [edi + 0x48], eax
je 0x405478
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x4c]
cdq
sub eax, edx
mov edx, esi
sar eax, 1
sub edx, eax
cmp ecx, edx
jle 0x405478
add eax, esi
cmp ecx, eax
jge 0x405478
mov byte [esp + 0x13], 0
mov eax, dword [esp + 0x18]
inc ebp
cmp ebp, eax
jl 0x405431
mov al, byte [esp + 0x13]
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x38
ret 8
Function at 0x405cc0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x414ca2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
xor ebx, ebx
mov dword [esp + 0x18], ebx
call fcn.00414058
lea edi, [esi + 0x5c]
mov byte [esp + 0x18], 1
mov ecx, edi
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x6c]
mov byte [esp + 0x18], 2
call fcn.00407410
lea ecx, [esi + 0xcc]
mov byte [esp + 0x18], 3
call fcn.00407ff0
lea ecx, [esi + 0x114]
mov byte [esp + 0x18], 4
call fcn.00407be0
mov al, byte [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
mov byte [esi + 0x46], al
mov eax, dword [esp + 0x24]
push 0x7fe2
push ebx
mov byte [esp + 0x20], 5
mov dword [esi], 0x417348
mov dword [esi + 0x64], ecx
mov dword [esi + 0x54], edx
mov dword [esi + 0x58], eax
mov dword [esi + 0x60], ebx
call dword [sym.imp.USER32.dll_LoadBitmapA]
lea ecx, [esp + 0x28]
mov dword [esi + 0x68], eax
push ecx
mov ecx, edi
call fcn.00413ff2
push 0x15
mov dword [esi + 0x154], esi
mov dword [esi + 0xc0], esi
mov dword [esi + 0x10c], esi
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dl, byte [esp + 0x30]
or edi, 0xffffffff
push 8
mov dword [esi + 0x50], eax
mov dword [esi + 0x40], ebx
mov byte [esi + 0x4c], dl
mov byte [esi + 0x160], 1
mov dword [esi + 0x48], edi
mov byte [esi + 0x44], bl
mov byte [esi + 0x45], 1
call dword [sym.imp.USER32.dll_GetSysColor]
lea ecx, [esp + 0x28]
mov dword [esi + 0x164], eax
mov dword [esp + 0x18], edi
call fcn.00413fc8
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x18
Function at 0x411810
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x415977
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x418248
mov dword [esi + 4], ebx
lea ecx, [esi + 0x1c]
mov dword [esp + 0x16c], ebx
call sub.MFC42.DLL_CImageList::CImageList
lea ecx, [esi + 0x24]
mov byte [esp + 0x16c], 1
call sub.MFC42.DLL_CImageList::CImageList
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 7
mov byte [esp + 0x170], 2
mov dword [esi], 0x41822c
call edi
push 0xe
mov dword [esi + 0x2c], eax
call edi
push 0xf
mov dword [esi + 0x30], eax
call edi
push 4
mov dword [esi + 0x34], eax
call edi
push 0xd
mov dword [esi + 0x38], eax
call edi
push 0x14
mov dword [esi + 0x3c], eax
call edi
push 0x10
mov dword [esi + 0x40], eax
call edi
push 0x11
mov dword [esi + 0x44], eax
call edi
push 0xf
mov dword [esi + 0x48], eax
call edi
push 0x14
mov dword [esi + 0x4c], eax
call edi
push 0x10
mov dword [esi + 0x50], eax
call edi
mov dword [esi + 0x54], eax
mov eax, 0x14
mov ecx, eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
mov ecx, 0x55
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push ebx
push eax
push ebx
push 0x29
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0xc], ebx
mov dword [esp + 0x20], 0x154
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
lea ecx, [esp + 0xb0]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov ecx, esi
mov dword [esi + 0x10], eax
mov dword [esi + 8], ebx
call fcn.00412330
mov eax, esi
mov ecx, dword [esp + 0x164]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x164
ret