joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d36b8
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, eax
xor edx, edx
push ebp
push 0x4d2c25
push dword fs:[edx]
mov dword fs:[edx], esp
mov byte [ebx + 0x64], 0
mov byte [ebx + 0x70], 0
mov byte [ebx + 0x31], 1
mov eax, dword [ebx + 0x44]
add eax, 0x18
mov edx, dword [0x4e3578]
mov edx, dword [edx]
call fcn.00405928
mov eax, dword [ebx + 0x44]
add eax, 0x1c
mov edx, dword [0x4e39ac]
mov edx, dword [edx]
call fcn.00405928
mov eax, dword [ebx + 0x44]
mov byte [eax + 8], 1
mov byte [eax + 0x20], 8
mov dword [eax + 0x28], 8
mov dword [eax + 0x2c], 8
mov dword [eax + 0x34], 3
mov byte [eax + 9], 0
xor edx, edx
mov dword [eax + 0x30], edx
mov byte [eax + 0xa], 0
mov byte [eax + 0x21], 2
mov eax, dword [ebx + 0x34]
mov byte [eax + 4], 1
mov dword [eax + 0x38], 6
mov eax, dword [ebx + 0x3c]
add eax, 4
mov edx, dword [0x4e3a78]
mov edx, dword [edx]
call fcn.00405928
mov eax, dword [ebx + 0x3c]
add eax, 8
mov edx, dword [0x4e37cc]
mov edx, dword [edx]
call fcn.00405928
mov eax, dword [ebx + 0x3c]
add eax, 0xc
mov edx, dword [0x4e36d4]
mov edx, dword [edx]
call fcn.00405928
mov eax, dword [ebx + 0x3c]
add eax, 0x10
mov edx, dword [0x4e3b20]
mov edx, dword [edx]
call fcn.00405928
mov eax, dword [ebx + 0x38]
add eax, 0x20
mov edx, dword [0x4e3c48]
mov edx, dword [edx]
call fcn.00405928
mov eax, dword [ebx + 0x38]
add eax, 4
mov edx, dword [0x4e3690]
mov edx, dword [edx]
call fcn.00405928
mov eax, dword [ebx + 0x38]
add eax, 8
mov edx, dword [0x4e35d8]
mov edx, dword [edx]
call fcn.00405928
mov eax, dword [ebx + 0x38]
add eax, 0xc
mov edx, dword [0x4e376c]
mov edx, dword [edx]
call fcn.00405928
mov eax, dword [ebx + 0x38]
add eax, 0x1c
mov edx, dword [0x4e37a4]
mov edx, dword [edx]
call fcn.00405928
mov eax, dword [ebx + 0x38]
add eax, 0x24
mov edx, dword [0x4e37d4]
mov edx, dword [edx]
call fcn.00405928
mov eax, dword [ebx + 0x38]
add eax, 0x28
mov edx, dword [0x4e3794]
mov edx, dword [edx]
call fcn.00405928
mov dword [ebx + 0x54], ebx
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
mov dword [ebx + 0x50], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d382f
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4dea14
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, eax
mov eax, ebx
call fcn.00485024
xor edx, edx
push ebp
push 0x4dde86
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebx + 0x70]
mov dl, byte [ebx + 0x30]
mov ecx, dword [eax + 4]
mov byte [ecx + 0x30], dl
mov dl, byte [ebx + 0x30]
mov ecx, dword [eax + 8]
mov byte [ecx + 0x30], dl
mov dl, byte [ebx + 0x30]
mov ecx, dword [eax + 0xc]
mov byte [ecx + 0x30], dl
mov dl, byte [ebx + 0x30]
mov ecx, dword [eax + 0x10]
mov byte [ecx + 0x30], dl
mov dl, byte [ebx + 0x30]
mov ecx, dword [eax + 0x14]
mov byte [ecx + 0x30], dl
mov dl, byte [ebx + 0x30]
mov ecx, dword [eax + 0x18]
mov byte [ecx + 0x30], dl
mov dl, byte [ebx + 0x30]
mov ecx, dword [eax + 0x1c]
mov byte [ecx + 0x30], dl
mov dl, byte [ebx + 0x30]
mov eax, dword [eax + 0x20]
mov byte [eax + 0x30], dl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4dea90
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x401237
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x1c], 0x63
mov byte [ebp - 0x1b], 0x61
mov byte [ebp - 0x1a], 0x70
mov byte [ebp - 0x19], 0x47
mov byte [ebp - 0x18], 0x65
mov byte [ebp - 0x17], 0x74
mov byte [ebp - 0x16], 0x44
mov byte [ebp - 0x15], 0x72
mov byte [ebp - 0x14], 0x69
mov byte [ebp - 0x13], 0x76
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0x11], 0x72
mov byte [ebp - 0x10], 0x44
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 0xe], 0x73
mov byte [ebp - 0xd], 0x63
mov byte [ebp - 0xc], 0x72
mov byte [ebp - 0xb], 0x69
mov byte [ebp - 0xa], 0x70
mov byte [ebp - 9], 0x74
mov byte [ebp - 8], 0x69
mov byte [ebp - 7], 0x6f
mov byte [ebp - 6], 0x6e
mov byte [ebp - 5], 0x41
mov byte [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
push 0x40abc8
call dword [0x40803c]
push eax
call dword [0x408040]
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0x58], 0
jmp 0x4012d9
mov ecx, dword [ebp - 0x58]
add ecx, 1
mov dword [ebp - 0x58], ecx
cmp dword [ebp - 0x58], 0xa
jge 0x401303
cmp dword [ebp - 0x20], 0
jne 0x401303
push 0x32
lea edx, [ebp - 0x54]
push edx
push 0x64
lea eax, [ebp - 0xbc]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
call dword [ebp - 0xc0]
mov dword [ebp - 0x20], eax
jmp 0x4012d0
mov eax, dword [ebp - 0x20]
mov esp, ebp
pop ebp
ret
Function at 0x402157
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
push edi
push dword [ebp + 0x14]
push dword [ebp + 8]
call fcn.004021b3
mov ebx, eax
mov dh, byte [ebx]
mov dl, 1
mov ecx, dword [edi]
or dh, dh
jne 0x40218a
inc ebx
push ecx
mov eax, esp
push eax
push 0
push dword [ebx]
call fcn.004041f3
pop ecx
jecxz 0x402198
push eax
mov al, byte [eax]
xor al, 0xb5
mov byte [esi], al
pop eax
inc esi
inc eax
loop 0x40218c
or dh, dh
jne 0x4021a4
inc dl
mov cl, dl
cmp ecx, dword [edi]
jl 0x402177
mov byte [esi], 0
sub esi, dword [ebp + 0xc]
mov dword [edi], esi
pop edi
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x40256b
Capabilities:
Write file on windows

Disassembly:
push 0xe0
push 0x403d28
call fcn.004024b3
xor edi, edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x24], edi
push 0xfffffffffffffff4
mov ebx, dword [fcn.00401058]
call ebx
mov dword [ebp - 0x20], eax
push 0x40
push edi
lea eax, [ebp - 0xb0]
push eax
call fcn.0040452d
push 0x3c
pop eax
mov word [ebp - 0xb0], ax
push 0x40
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xf0]
push eax
call fcn.00404514
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00404544
mov dword [ebp - 0x3c], 0x403bc0
mov dword [ebp - 0x38], 0x403c52
mov dword [ebp - 0x34], 0x402675
mov esi, dword [ebp + 8]
mov dword [ebp - 0x30], esi
mov dword [esi], 0x238
mov dword [esi + 4], 6
cmp dword [ebp - 0x20], edi
je 0x402646
push 0xfffffffffffffff6
call ebx
cmp dword [ebp - 0x20], eax
jne 0x402646
mov dword [ebp - 0x24], 1
or byte [esi + 0x1bbc], 4
push 0x401c98
call fcn.00403045
lea ecx, [ebp - 0x28]
push ecx
push 4
push esi
push eax
push edi
push edi
push dword [ebp - 0x20]
call dword [sym.imp.ntdll.dll_NtWriteFile]
mov dword [ebp - 0x1c], eax
cmp eax, edi
jne 0x402646
and byte [esi + 0x1bbc], 0xfb
mov dword [ebp + 8], 0x401ff5
cmp dword [esi + 0x6c], 4
jne 0x402656
mov dword [ebp + 8], edi
lea ebx, [esi + 0x1bc8]
push 2
push edi
push ebx
push esi
call fcn.0040313c
test eax, eax
je 0x4026ce
push 1
push dword [ebp + 8]
lea eax, [esi + 0x78]
push eax
push esi
call fcn.0040313c
test eax, eax
je 0x4026ce
mov dword [ebp - 4], edi
cmp dword [ebp - 0x24], edi
jne 0x40268c
push edi
push ebx
call fcn.00402c10
cmp dword [ebp - 0x1c], edi
je 0x4026b4
push dword [ebp - 0x1c]
call dword [0x401060]
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x20]
push eax
push 2
call dword [0x4010dc]
push dword [ebp - 0x1c]
call dword [sym.imp.ntdll.dll_LdrLoadDll]
jmp 0x4026ca
lea eax, [ebp - 0x70]
push eax
call fcn.00402a6c
test eax, eax
jne 0x4026b4
jmp 0x4026ca
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x70]
push eax
call fcn.004045d2
call fcn.00404111
ret 4
Function at 0x403909
Capabilities:
Delete file

Disassembly:
push 0x20
push 0x403cc8
call fcn.004024b3
and dword [ebp - 0x1c], 0
mov edi, 0x10000
and dword [ebp - 0x24], 0
push 0x401298
call dword [sym.imp.ntdll.dll_NtDisplayString]
mov ebx, eax
mov dword [ebp - 0x20], ebx
test ebx, ebx
je 0x403a09
push 0x40127c
push ebx
mov esi, dword [0x4010d0]
call esi
mov dword [ebp - 0x28], eax
test eax, eax
je 0x403a09
push 0x4012a4
push ebx
call esi
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x403a09
mov esi, 0xc0000004
push edi
push 0x40
call dword [sym.imp.ntdll.dll_NtCreateKey]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x403a09
push 0
push edi
push eax
push 5
call dword [ebp - 0x28]
mov ebx, eax
cmp ebx, esi
jne 0x40399f
push dword [ebp - 0x1c]
call dword [fcn.00401068]
and dword [ebp - 0x1c], 0
add edi, edi
jmp 0x4039a3
test ebx, ebx
js 0x403a09
cmp ebx, esi
je 0x40396b
mov esi, dword [ebp - 0x1c]
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [esi + 0x3c]
cmp eax, edi
je 0x4039f3
push 0x4013a4
push eax
call dword [ebp - 0x2c]
pop ecx
pop ecx
test eax, eax
jne 0x4039f3
push dword [esi + 0x44]
push edi
push 0x410
call dword [0x401098]
mov esi, eax
cmp esi, edi
je 0x403a05
lea eax, [ebp - 0x24]
push eax
push 0x200ff
push esi
call dword [sym.imp.ntdll.dll_NtDeleteFile]
push esi
call dword [sym.imp.ntdll.dll_LdrLoadDll]
jmp 0x403a05
cmp dword [esi], edi
je 0x403a05
add esi, dword [esi]
mov dword [ebp - 0x30], esi
jmp 0x4039af
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], 0
je 0x403a18
push dword [ebp - 0x20]
call dword [0x401050]
cmp dword [ebp - 0x1c], 0
je 0x403a27
push dword [ebp - 0x1c]
call dword [fcn.00401068]
mov eax, dword [ebp - 0x24]
call fcn.00404111
ret

Function at 0x403a30
Capabilities:
Persist via windows service
Set registry value
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
xor edi, edi
cmp dword [0x4050f4], edi
jne 0x403a63
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x40109c]
push 0x4011dc
push dword [ebp + 8]
call dword [0x4010d4]
xor eax, eax
inc eax
jmp 0x403aeb
push esi
mov esi, dword [ebp + 8]
push 0x401300
push esi
call dword [0x4010e0]
test edi, edi
je 0x403a7b
mov byte [esi + 0x29], 0
lea eax, [ebp - 4]
push eax
push esi
push 0x80000002
call dword [sym.imp.ntdll.dll_NtSetValueKey]
test eax, eax
jne 0x403ad8
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push edi
push dword [ebp - 4]
call dword [sym.imp.ntdll.dll_NtTerminateProcess]
push dword [ebp - 4]
call dword [sym.imp.ntdll.dll_NtClose]
test edi, edi
je 0x403ac3
push 0x40137c
push esi
call dword [0x4010d4]
lea eax, [ebp - 8]
push eax
push esi
call dword [0x40105c]
test eax, eax
je 0x403ad8
cmp dword [ebp - 8], 0
je 0x403ae3
test edi, edi
jne 0x403ae8
mov edi, 0x401178
jmp 0x403a67
xor eax, eax
inc eax
jmp 0x403aea
xor eax, eax
pop esi
pop edi
leave
ret 8
Function at 0x40414e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 0x18]
push esi
push edi
mov edi, dword [ebp + 0x14]
xor esi, esi
push esi
push esi
push dword [ebp + 0x10]
mov dword [ebp - 8], esi
push dword [ebp + 0xc]
mov dword [ebp - 4], edi
push esi
push esi
push dword [ebp + 8]
mov dword [ebx], esi
call dword [sym.imp.ntdll.dll_NtWriteFile]
mov dword [ebp - 8], eax
cmp eax, esi
je 0x4041bd
cmp dword [ebp + 0x1c], esi
jne 0x40418d
mov dword [ebx], 1
jmp 0x4041b2
push 0xffffffffffffffff
lea eax, [ebp - 8]
push esi
push eax
cmp edi, esi
je 0x40419c
push 2
jmp 0x40419e
push 1
call dword [0x4010dc]
cmp eax, esi
jne 0x4041b2
push ebx
push dword [ebp - 8]
call dword [fcn.004010f8]
push dword [ebp - 8]
call dword [sym.imp.ntdll.dll_LdrLoadDll]
jmp 0x4041c7
push esi
push dword [ebp + 8]
call dword [0x401078]
pop edi
pop esi
pop ebx
leave
ret 0x18

Function at 0x4046c7
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
xor ebx, ebx
mov word [esi + 0x1a], bx
push 0x7e
push esi
call fcn.00402bd6
mov edi, dword [ebp + 0x10]
mov dword [ebp - 8], ebx
jmp 0x40474d
cmp ebx, dword [esi]
jne 0x4046f3
cmp ebx, edi
jge 0x4046f3
mov edi, ebx
mov eax, ebx
sub eax, edi
je 0x404710
dec eax
je 0x40470b
dec eax
je 0x404706
add ebx, dword [ebp + 0xc]
mov bl, byte [ebx]
jmp 0x40471f
mov bl, byte [esi + 0x1a]
jmp 0x404729
mov bl, byte [esi + 0x1b]
jmp 0x404729
mov bl, byte [esi + 0x18]
test edi, edi
je 0x40471f
cmp edi, dword [ebp + 0x10]
jne 0x40471f
or bl, 8
movzx eax, bl
push eax
push esi
call fcn.004046a0
movzx eax, bl
bt dword [0x405198], eax
jae 0x404740
push 0x7d
push esi
call fcn.00402bd6
xor bl, 0x20
movzx eax, bl
push eax
push esi
call fcn.00402bd6
inc dword [ebp - 8]
lea eax, [edi + 3]
cmp dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
jl 0x4046e9
push 0x7e
push esi
call fcn.00402bd6
push esi
call fcn.00402843
movzx ecx, byte [esi + 0x18]
shr ecx, 4
and cl, 7
mov edi, ecx
lea eax, [esi + 0x18]
push eax
call fcn.004044b0
mov eax, dword [ebp + 0xc]
mov dword [esi + edi*4 + 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + edi*4 + 0x3c], eax
lea eax, [ebx - 3]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x4072e0
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
pushal
mov byte [ebp - 1], 0
mov esi, dword [ebp + 8]
or esi, esi
je 0x40734e
push esi
call fcn.00406d74
or eax, eax
je 0x40734e
mov ebx, eax
push 0
call 0x40a776
cmp eax, 1
jne 0x40734e
add ebx, 2
push ebx
push 0x2042
call 0x40a7b8
or eax, eax
je 0x407349
mov ebx, eax
push ebx
call 0x40a7be
or eax, eax
je 0x407349
mov edi, eax
push esi
push edi
call fcn.00406d6e
call 0x40a770
cmp eax, 1
jne 0x407349
push edi
call 0x40a7c4
push ebx
push 1
call 0x40a77c
call 0x40a76a
popal
movzx eax, byte [ebp - 1]
leave
ret 4
Function at 0x402250
Capabilities:
Get file size

Disassembly:
sub esp, 8
mov eax, dword [ecx + 0x60]
xor edx, edx
test eax, eax
push ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
jbe 0x4022e3
mov eax, dword [ecx + 0x5c]
mov ebx, dword [eax]
cmp ebx, eax
je 0x4022e3
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
push edi
mov eax, dword [ebx + 8]
cmp byte [eax + 0x20], 0
je 0x4022c5
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x40228c
mov eax, 0x42c5d0
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call ebp
mov edi, eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push edi
add esi, 0x1800
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
jmp 0x4022ca
mov esi, 0x2000
mov ebx, dword [ebx]
mov eax, dword [ecx + 0x5c]
add edx, esi
cmp ebx, eax
mov dword [esp + 0x10], edx
jne 0x402277
pop edi
pop esi
pop ebp
mov eax, edx
pop ebx
add esp, 8
ret
mov eax, edx
pop ebx
add esp, 8
ret
Function at 0x402b30
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42a970
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x34], ecx
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], edx
mov eax, dword [ecx + 0xc]
cmp eax, edx
jne 0x402b78
mov dword [ebp - 0x1c], str.connection_failed...
push 0x431560
lea eax, [ebp - 0x1c]
push eax
call fcn.004101fa
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp + 8]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x402c35
mov dword [ebp - 0x20], str.response_failed...
push 0x431560
lea edx, [ebp - 0x20]
push edx
call fcn.004101fa
mov esi, dword [ebp - 0x34]
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor edx, edx
mov dword [esi + 0xc], edx
mov eax, dword [esi + 0x44]
cmp eax, edx
jne 0x402bc6
mov eax, 0x42c5d0
mov ecx, dword [esi + 0x14]
cmp ecx, edx
jne 0x402bd2
mov ecx, 0x42c5d0
mov edx, dword [ebp - 0x18]
push edx
push eax
mov eax, dword [esi + 0x54]
push eax
mov edx, dword [esi + 0x50]
push edx
push ecx
call fcn.00401000
add esp, 0x14
mov eax, 0x402c35
ret
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x403ad0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42ad9f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
push 0x66
mov dword [esp + 0x18], esi
call fcn.00420253
push fcn.0042097f
push 0x403d60
push 0xfa0
lea ecx, [esi + 0x5c]
push 4
push ecx
mov dword [esp + 0x30], 0
call fcn.00410621
mov edx, dword [0x437b20]
mov byte [esp + 0x1c], 1
mov dword [esi + 0x3edc], edx
mov eax, dword [0x437b20]
mov byte [esp + 0x1c], 2
mov dword [esi + 0x3ee0], eax
push fcn.0042097f
push 0x403d60
push 0x3e8
lea ecx, [esi + 0x3eec]
push 4
push ecx
mov byte [esp + 0x30], 3
call fcn.00410621
push fcn.0042097f
push 0x403d60
push 0x3e8
lea edx, [esi + 0x4e8c]
push 4
push edx
mov byte [esp + 0x30], 4
call fcn.00410621
mov eax, dword [0x437b20]
mov byte [esp + 0x1c], 5
mov dword [esi + 0x5e34], eax
mov ecx, dword [0x437b20]
mov byte [esp + 0x1c], 6
mov dword [esi + 0x5e38], ecx
mov edx, dword [0x437b20]
mov byte [esp + 0x1c], 7
mov dword [esi + 0x5e3c], edx
mov eax, dword [0x437b20]
mov byte [esp + 0x1c], 8
mov dword [esi + 0x5e40], eax
lea edi, [esi + 0x5e44]
mov byte [esp + 0x1c], 9
mov ecx, edi
mov dword [esp + 0x24], edi
call fcn.00420f3c
mov byte [esp + 0x1c], 0xa
mov dword [edi], vtable.CListCtrl.0
mov edx, dword [0x437b20]
lea ecx, [esi + 0x5e80]
mov byte [esp + 0x1c], 0xb
mov dword [ecx], edx
mov eax, dword [0x437b20]
lea edi, [esi + 0x5e84]
mov byte [esp + 0x1c], 0xc
mov dword [edi], eax
mov edx, dword [0x437b20]
lea ebx, [esi + 0x5e88]
mov byte [esp + 0x1c], 0xd
mov dword [ebx], edx
mov eax, dword [0x437b20]
lea ebp, [esi + 0x5e8c]
mov byte [esp + 0x1c], 0xe
mov dword [ebp], eax
mov edx, dword [0x437b20]
mov byte [esp + 0x1c], 0xf
mov dword [esi + 0x5e90], edx
mov eax, dword [0x437b20]
mov byte [esp + 0x1c], 0x10
mov dword [esi + 0x5e94], eax
mov edx, dword [0x437b20]
mov byte [esp + 0x1c], 0x11
mov dword [esi + 0x5e98], edx
mov eax, dword [0x437b20]
mov byte [esp + 0x1c], 0x12
mov dword [esi + 0x5e9c], eax
mov edx, dword [0x437b20]
mov byte [esp + 0x1c], 0x13
mov dword [esi + 0x5ea0], edx
mov byte [esp + 0x1c], 0x14
push 0x43e1e0
mov dword [esi], method.CDialog.virtual_0
call fcn.00420b08
push 0x43e1e0
mov ecx, edi
call fcn.00420b08
push 0x43e1e0
mov ecx, ebx
call fcn.00420b08
push 0x43e1e0
mov ecx, ebp
call fcn.00420b08
push 0x43e1e0
lea ecx, [esi + 0x5e90]
call fcn.00420b08
push 0x43e1e0
lea ecx, [esi + 0x5e94]
call fcn.00420b08
push 0x43e1e0
lea ecx, [esi + 0x5e98]
call fcn.00420b08
push 0x43e1e0
lea ecx, [esi + 0x5e9c]
call fcn.00420b08
push 0x43e1e0
lea ecx, [esi + 0x5ea0]
call fcn.00420b08
mov dword [esi + 0x5ea4], 0
call fcn.004279ca
call fcn.004279ca
mov eax, dword [eax + 0xc]
push 0x80
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x5ea8], eax
mov eax, esi
pop edi
pop esi
mov dword [esp + 0x14], 0xffffffff
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x407760
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
jne 0x40777d
pop edi
pop esi
pop ebp
pop ebx
ret
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x407791
pop edi
pop esi
pop ebp
pop ebx
ret
lea ecx, [ebp + 1]
push ecx
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
jne 0x4077b3
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
call dword [sym.imp.USER32.dll_EmptyClipboard]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, ebp
mov edi, eax
mov edx, ecx
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [eax + ebp], 0
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret

Function at 0x4078b0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x42b2c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x437b20]
push esi
push edi
mov esi, ecx
mov dword [esp + 8], eax
mov eax, dword [esi + 0x5e38]
lea ecx, [esp + 8]
push eax
push 0x104
push 0x104
mov dword [esp + 0x20], 0
call fcn.00420d26
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
push 0x43e1e0
push str.jiange
push str.Form
call edi
mov ecx, dword [esp + 8]
push ecx
call fcn.00410361
add esp, 4
mov dword [esi + 0x5ea4], eax
mov eax, dword [esi + 0x5e38]
lea ecx, [esi + 0x5e94]
push eax
push 0x104
push 0x104
call fcn.00420d26
push eax
push 0x43e1e0
push str.m_name1
push str.Form
call edi
mov eax, dword [esi + 0x5e38]
lea ecx, [esi + 0x5e9c]
push eax
push 0x104
push 0x104
call fcn.00420d26
push eax
push 0x43e1e0
push str.m_sign1
push str.Form
call edi
mov eax, dword [esi + 0x5e38]
lea ecx, [esi + 0x5e98]
push eax
push 0x104
push 0x104
call fcn.00420d26
push eax
push 0x43e1e0
push str.m_name2
push str.Form
call edi
mov eax, dword [esi + 0x5e38]
lea ecx, [esi + 0x5ea0]
push eax
push 0x104
push 0x104
call fcn.00420d26
push eax
push 0x43e1e0
push str.m_sign2
push str.Form
call edi
mov eax, dword [esi + 0x5e38]
lea ecx, [esi + 0x5e90]
push eax
push 0x104
push 0x104
call fcn.00420d26
push eax
push 0x43e1e0
push str.m_ad
push str.Form
call edi
push 0
mov ecx, esi
call fcn.00422fd2
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.0042097f
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x41d570
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.0040fdb0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x41d63b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x41d63b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x41d5ee
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x41d5f9
or bh, 8
and edi, 0x8000000
je 0x41d614
mov eax, dword [0x441a1c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x41d63b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret