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

Disassembly:
push 0xffffffffffffffff
push 0x460128
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
lea eax, [esp + 0xc]
push edi
mov esi, ecx
xor ebx, ebx
push eax
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x17], 0
mov dword [esp + 0x18], ebx
call fcn.00424f40
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], 0x46476c
lea ecx, [esp + 0x14]
lea edi, [esi + 0x40]
push ecx
mov ecx, edi
mov dword [esp + 0x30], ebx
call fcn.004343c0
mov ecx, edi
call fcn.00434570
cmp dword [esp + 0x20], ebx
jle 0x41e4a5
push ebp
test ebx, ebx
jl 0x41e383
cmp ebx, dword [esp + 0x1c]
jl 0x41e390
push str.Index_out_of_range.
call fcn.00437f40
add esp, 4
mov edx, dword [esp + 0x20]
mov eax, dword [edx + ebx*4]
cmp eax, 0x1770
ja 0x41e428
je 0x41e40a
cmp eax, 0x3f7
jb 0x41e497
cmp eax, 0x3fe
jbe 0x41e3d4
cmp eax, 0x3ff
jne 0x41e497
push 4
mov ecx, esi
call fcn.0041f160
mov byte [esp + 0x13], 1
jmp 0x41e497
test ebx, ebx
jl 0x41e3de
cmp ebx, dword [esp + 0x1c]
jl 0x41e3eb
push str.Index_out_of_range.
call fcn.00437f40
add esp, 4
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + ebx*4]
sub ecx, 0x3f7
push ecx
mov ecx, esi
call fcn.00423bc0
mov byte [esp + 0x13], 1
jmp 0x41e497
mov eax, dword [esi + 0x188]
push 0
push 0x1770
push 0x4b0
mov edx, dword [eax + 0x1c]
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x41e497
cmp eax, 0x2328
jne 0x41e497
mov eax, dword [esi + 0x208]
xor ebp, ebp
test eax, eax
jle 0x41e497
xor edi, edi
test edi, edi
jl 0x41e449
cmp ebp, dword [esi + 0x200]
jl 0x41e456
push str.Index_out_of_range.
call fcn.00437f40
add esp, 4
test edi, edi
jl 0x41e462
cmp ebp, dword [esi + 0x200]
jl 0x41e46f
push str.Index_out_of_range.
call fcn.00437f40
add esp, 4
mov eax, dword [esi + 0x204]
mov ecx, dword [esi + 0x1a8]
mov edx, dword [eax + edi]
push edx
lea edx, [eax + edi + 4]
push edx
call fcn.00418c40
mov eax, dword [esi + 0x208]
inc ebp
add edi, 0xc
cmp ebp, eax
jl 0x41e43d
mov eax, dword [esp + 0x24]
inc ebx
cmp ebx, eax
jl 0x41e379
pop ebp
mov eax, dword [esp + 0x34]
lea ecx, [esi + 0x60]
add eax, 0x60
push eax
call fcn.00435850
test al, al
mov bl, 1
jne 0x41e4bf
mov bl, byte [esp + 0xf]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x2c], 0xffffffff
push ecx
mov dword [esp + 0x18], 0x464764
call fcn.00448201
mov ecx, dword [esp + 0x28]
add esp, 4
mov al, bl
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret 4
Function at 0x4213b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x460350
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebp
push esi
push edi
mov esi, ecx
call fcn.0045ba69
mov edi, dword [eax + 4]
push 0x48dc20
lea ecx, [esp + 0x14]
call fcn.0044c693
push 0x48dc20
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], 0
call fcn.0044c693
mov eax, dword [esi + 0x2c]
push 0
push 0
push 1
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x50], 1
call fcn.00431760
mov ebp, eax
mov ecx, esi
mov byte [esp + 0x38], 2
call fcn.0041d2b0
mov esi, eax
test esi, esi
jl 0x421437
cmp esi, dword [edi + 0xc4]
jl 0x421444
push str.Index_out_of_range.
call fcn.00437f40
add esp, 4
mov eax, dword [edi + 0xc8]
mov ecx, esi
shl ecx, 4
push ebp
add ecx, eax
call fcn.00431630
mov esi, eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 3
call fcn.0044c625
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 1
call fcn.0044c625
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 0
call fcn.0044c625
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.0044c625
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x30
ret

Function at 0x4214b0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x460368
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov esi, ecx
call fcn.0045ba69
mov ebx, dword [eax + 4]
mov ecx, esi
call fcn.0041d2b0
mov edi, eax
test edi, edi
jl 0x4214ea
cmp edi, dword [ebx + 0xc4]
jl 0x4214f7
push str.Index_out_of_range.
call fcn.00437f40
add esp, 4
mov eax, dword [ebx + 0xc8]
mov esi, edi
shl esi, 4
mov ecx, dword [eax + esi + 0xc]
test ecx, ecx
je 0x421570
test edi, edi
jl 0x421516
cmp edi, dword [ebx + 0xc4]
jl 0x421523
push str.Index_out_of_range.
call fcn.00437f40
add esp, 4
lea ecx, [esp + 0xc]
push 0
push ecx
mov ecx, dword [ebx + 0xc8]
add ecx, esi
call fcn.00421590
mov esi, dword [eax + 8]
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0
call fcn.0044c625
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.0044c625
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
mov ecx, dword [esp + 0x28]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x4266a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46082d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14], 1
push eax
push 0x8f
call fcn.004486b2
lea edi, [esi + 0x5c]
mov byte [esp + 0x14], 2
mov ecx, edi
call fcn.00448c65
mov dword [edi], vtable.CListBox.0
lea edi, [esi + 0x98]
mov byte [esp + 0x14], 3
mov ecx, edi
call fcn.00448c65
mov dword [edi], vtable.CComboBox.0
lea ecx, [esi + 0xd8]
mov byte [esp + 0x14], 4
call fcn.00408dc0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x24]
mov dword [esi + 0x178], ecx
push eax
lea ecx, [esi + 0x180]
mov byte [esp + 0x18], 5
mov dword [esi + 0x17c], edx
call fcn.0044c39a
lea ecx, [esp + 0x28]
mov byte [esp + 0x14], 6
push ecx
lea ecx, [esi + 0x184]
call fcn.0044c39a
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x24]
mov dword [esi + 0x188], edx
mov dword [esi + 0x18c], eax
mov dword [esi], method.CDialog.virtual_0
mov dword [esi + 0xd4], eax
mov byte [esp + 0x14], 0
call fcn.0044c625
lea ecx, [esp + 0x28]
mov dword [esp + 0x14], 0xffffffff
call fcn.0044c625
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x1c

Function at 0x427430
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4609ff
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push 0x48dc20
mov dword [esp + 0xc], esi
call fcn.0044c693
xor ebx, ebx
push 0x48dc20
lea ecx, [esi + 4]
mov dword [esp + 0x18], ebx
call fcn.0044c693
push 0x48dc20
lea ecx, [esi + 8]
mov byte [esp + 0x18], 1
call fcn.0044c693
push 0x48dc20
lea ecx, [esi + 0xc]
mov byte [esp + 0x18], 2
call fcn.0044c693
push 0x48dc20
lea ecx, [esi + 0x10]
mov byte [esp + 0x18], 3
call fcn.0044c693
push 0x48dc20
lea ecx, [esi + 0x14]
mov byte [esp + 0x18], 4
call fcn.0044c693
push 0x48dc20
lea ecx, [esi + 0x18]
mov byte [esp + 0x18], 5
call fcn.0044c693
mov ecx, dword [esp + 0xc]
mov byte [esi + 0x1c], bl
mov byte [esi + 0x1d], bl
mov byte [esi + 0x1e], 1
mov byte [esi + 0x1f], 1
mov byte [esi + 0x20], 1
mov byte [esi + 0x21], 1
mov byte [esi + 0x22], 1
mov byte [esi + 0x23], bl
mov dword [esi + 0x24], 0x42
mov dword [esi + 0x28], 0x32
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov byte [esi + 0x3c], bl
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x427970
Capabilities:
Identify system language via api

Disassembly:
push 0xffffffffffffffff
push 0x460af0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov ecx, dword [0x48c304]
mov dword [esp + 4], ecx
and eax, 0xffff
lea edx, [esp + 4]
push eax
push 0x48b8d0
push edx
mov dword [esp + 0x20], 0
call fcn.00446ac8
add esp, 0xc
lea eax, [esp + 4]
lea ecx, [esp + 8]
push str..lng
push eax
push ecx
call fcn.0044c86e
push eax
lea ecx, [esi + 0xc]
mov byte [esp + 0x18], 1
call fcn.0044c712
lea ecx, [esp + 8]
mov byte [esp + 0x14], 0
call fcn.0044c625
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0044c625
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x427a10
Capabilities:
Identify system language via api

Disassembly:
push 0xffffffffffffffff
push 0x460b10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov ecx, dword [0x48c304]
and eax, 0x3ff
mov dword [esp + 4], ecx
and eax, 0xffff
lea edx, [esp + 4]
push eax
push 0x48b8d0
push edx
mov dword [esp + 0x20], 0
call fcn.00446ac8
add esp, 0xc
lea eax, [esp + 4]
lea ecx, [esp + 8]
push str..lng
push eax
push ecx
call fcn.0044c86e
push eax
lea ecx, [esi + 0xc]
mov byte [esp + 0x18], 1
call fcn.0044c712
lea ecx, [esp + 8]
mov byte [esp + 0x14], 0
call fcn.0044c625
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0044c625
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x42d9d0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x461508
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1bc
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x34], esi
call fcn.00448c65
lea edi, [esi + 0x40]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x1d0], ebx
mov dword [esi + 0x3c], ebx
call fcn.00448c65
mov dword [edi + 0x3c], ebx
mov byte [edi + 0x40], bl
mov byte [edi + 0x41], bl
mov dword [edi + 0x44], ebx
mov dword [edi + 0x186f0], ebx
mov dword [edi], method.CWnd.virtual_0
lea edi, [esi + 0x18734]
mov byte [esp + 0x1d0], 1
mov ecx, edi
call fcn.00448c65
mov dword [edi + 0x3c], ebx
mov byte [edi + 0x40], bl
mov byte [edi + 0x41], bl
mov dword [edi + 0x44], ebx
mov dword [edi + 0x186f0], ebx
mov dword [edi], method.CWnd.virtual_0
lea eax, [esp + 0xe]
lea edi, [esi + 0x30e28]
push eax
push 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1d8], 2
mov dword [esp + 0x18], edi
mov byte [esp + 0x16], bl
call fcn.0042e850
mov dword [esp + 0x30], ebx
mov dword [esp + 0x24], 0x47a708
lea ecx, [esp + 0x24]
mov byte [esp + 0x1d0], 3
push ecx
push 0xc8
mov ecx, edi
call fcn.0042e900
mov edx, dword [esp + 0x2c]
mov byte [esp + 0x1d0], 5
push edx
mov dword [esp + 0x28], 0x4649c4
call fcn.00448201
add esp, 4
mov dword [edi + 0x14], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0xc], ebx
lea eax, [esp + 0xf]
lea edi, [esi + 0x30e40]
push eax
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1d8], 6
mov dword [esp + 0x18], edi
mov byte [esp + 0x17], bl
call fcn.0040a130
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], 0x47a708
lea ecx, [esp + 0x14]
mov byte [esp + 0x1d0], 7
push ecx
push 0xc8
mov ecx, edi
call fcn.0042e900
mov edx, dword [esp + 0x1c]
mov byte [esp + 0x1d0], 9
push edx
mov dword [esp + 0x18], 0x4649c4
call fcn.00448201
mov dword [edi + 0x14], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0xc], ebx
mov dword [esi + 0x30e5c], 0x186a0
mov eax, dword [esi + 0x30e5c]
push eax
mov byte [esp + 0x1d8], 0xa
mov dword [esi + 0x30e58], 0x4649c4
call fcn.004481d8
add esp, 8
cmp eax, ebx
mov dword [esi + 0x30e60], eax
jne 0x42db9a
push str.Not_enough_memory.
lea ecx, [esp + 0x3c]
call fcn.00437f80
mov ecx, 0x32
lea esi, [esp + 0x38]
lea edi, [esp + 0x100]
push 0x47fd18
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x104]
push ecx
call fcn.0043948f
mov ecx, dword [esi + 0x30e5c]
xor eax, eax
cmp ecx, ebx
jle 0x42dbbb
mov edx, dword [esi + 0x30e60]
inc eax
mov byte [edx + eax - 1], bl
mov ecx, dword [esi + 0x30e5c]
cmp eax, ecx
jl 0x42dba6
mov ecx, dword [esp + 0x1c8]
mov dword [esi + 0x30e64], ebx
mov dword [esi + 0x30e58], 0x47a708
mov byte [esi + 0x30e68], bl
mov dword [esi], method.CWnd.virtual_0
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c8
ret
Function at 0x42f2b0
Capabilities:
Connect socket
Resolve dns
Set socket configuration

Disassembly:
sub esp, 0x10
push esi
push edi
mov edi, ecx
mov al, byte [edi + 0x69]
test al, al
je 0x42f2c8
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 0xc
mov esi, dword [esp + 0x20]
xor eax, eax
mov dword [esp + 8], eax
push esi
mov dword [esp + 0x10], eax
mov word [esp + 0xc], 2
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
call sub.WSOCK32.dll_inet_addr
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x42f309
push esi
call sub.WSOCK32.dll_gethostbyname
test eax, eax
je 0x42f329
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x24]
push ecx
call sub.WSOCK32.dll_htons
mov word [esp + 0xa], ax
mov al, byte [edi + 0x69]
test al, al
je 0x42f33d
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 0xc
push 0x2726
call sub.WSOCK32.dll_WSASetLastError
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 0xc
mov eax, dword [esp + 0x1c]
lea edx, [esp + 8]
push 0x10
push edx
push eax
call sub.WSOCK32.dll_connect
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
pop edi
mov eax, ecx
pop esi
add esp, 0x10
ret 0xc

Function at 0x42f360
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
mov esi, dword [esp + 0x198]
test esi, esi
jne 0x42f376
lea esi, [esp + 4]
push esi
push 0x101
call sub.WSOCK32.dll_WSAStartup
test eax, eax
jne 0x42f3a5
cmp byte [esi], 1
jne 0x42f3a0
xor eax, eax
mov al, byte [esi + 1]
cmp al, 1
jne 0x42f3a0
mov eax, 1
pop esi
add esp, 0x190
ret
call sub.WSOCK32.dll_WSACleanup
xor eax, eax
pop esi
add esp, 0x190
ret

Function at 0x42fa50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46175e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0xc], esi
call fcn.0044c39a
xor edi, edi
push 0x48dc20
lea ecx, [esi + 4]
mov dword [esp + 0x18], edi
call fcn.0044c693
push 0x48dc20
lea ecx, [esi + 8]
mov byte [esp + 0x18], 1
call fcn.0044c693
push 0x48dc20
lea ecx, [esi + 0xc]
mov byte [esp + 0x18], 2
call fcn.0044c693
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov dword [esi + 0x28], ecx
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x30], eax
mov dword [esi + 0x2c], edx
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10
Function at 0x42ffd0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x461808
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push esi
mov esi, dword [esp + 0x4c]
push edi
mov edi, ecx
push esi
lea ecx, [esp + 0xc]
call fcn.0044c39a
lea eax, [esi + 4]
lea ecx, [esp + 0xc]
push eax
mov dword [esp + 0x4c], 0
call fcn.0044c39a
lea ecx, [esi + 8]
mov byte [esp + 0x48], 1
push ecx
lea ecx, [esp + 0x14]
call fcn.0044c39a
lea edx, [esi + 0xc]
lea ecx, [esp + 0x14]
push edx
mov byte [esp + 0x4c], 2
call fcn.0044c39a
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x20], edx
mov edx, dword [esi + 0x28]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x2c]
mov esi, dword [esi + 0x30]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], esi
test esi, esi
mov dword [esp + 0x48], 3
jne 0x4300b8
call fcn.00430a60
push 0x989680
call fcn.00430a20
add esp, 4
mov esi, eax
mov ecx, edi
push esi
call fcn.00430310
cmp eax, 0xffffffff
je 0x4300b4
push 0x989680
call fcn.00430a20
add esp, 4
mov esi, eax
mov ecx, edi
push esi
call fcn.00430310
cmp eax, 0xffffffff
jne 0x430098
mov dword [esp + 0x38], esi
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 4]
cmp ecx, eax
jl 0x4300cf
push str.Stack_is_full.
call fcn.00437f40
add esp, 4
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
lea edx, [eax*8]
sub edx, eax
inc eax
mov dword [edi + 0xc], eax
lea esi, [ecx + edx*8]
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.0044c712
lea eax, [esp + 0xc]
lea ecx, [esi + 4]
push eax
call fcn.0044c712
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esi + 8]
call fcn.0044c712
lea edx, [esp + 0x14]
lea ecx, [esi + 0xc]
push edx
call fcn.0044c712
mov eax, dword [esp + 0x18]
mov dword [esi + 0x10], eax
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x14], ecx
mov edx, dword [esp + 0x20]
mov dword [esi + 0x18], edx
mov eax, dword [esp + 0x24]
mov dword [esi + 0x1c], eax
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x20], ecx
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], eax
mov ecx, dword [esp + 0x38]
mov dword [esi + 0x30], ecx
mov edx, dword [esp + 0x38]
push edx
mov ecx, edi
call fcn.00430310
mov esi, eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x48], 6
call fcn.0044c625
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 5
call fcn.0044c625
lea ecx, [esp + 0xc]
mov byte [esp + 0x48], 4
call fcn.0044c625
lea ecx, [esp + 8]
mov dword [esp + 0x48], 0xffffffff
call fcn.0044c625
mov ecx, dword [esp + 0x40]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x44
ret 4
Function at 0x430a80
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push esi
push edi
push ecx
mov ecx, esp
mov dword [esp + 0xc], esp
push eax
call fcn.0044c693
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00430af0
mov esi, eax
add esp, 8
test esi, esi
je 0x430adf
lea edx, [esp + 0x18]
lea eax, [esp + 8]
push edx
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push edx
push esi
mov dword [esp + 0x30], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 8]
test edi, edi
je 0x430ae3
mov eax, dword [esp + 0x20]
pop edi
pop esi
add esp, 8
ret

Function at 0x430ca0
Capabilities:
Set registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
lea eax, [esp + 8]
push eax
push 0x2001f
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x430cc3
xor eax, eax
ret
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push esi
lea eax, [esp + 0x14]
push 4
push eax
push 4
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
ret

Function at 0x430d00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4619ee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14], 1
push eax
push 0x1f8
call fcn.004486b2
mov ecx, dword [0x48c304]
lea edi, [esi + 0x5c]
mov dword [edi], ecx
mov edx, dword [0x48c304]
lea ecx, [esi + 0x60]
mov dword [ecx], edx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov dword [esi + 0x64], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], edx
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x18], 4
mov dword [esi + 0x70], edx
mov dword [esi], method.CDialog.virtual_0
call fcn.0044c712
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call fcn.0044c712
lea ecx, [esp + 0x24]
mov byte [esp + 0x14], 0
call fcn.0044c625
lea ecx, [esp + 0x28]
mov dword [esp + 0x14], 0xffffffff
call fcn.0044c625
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x1c
Function at 0x430f80
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
push esi
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x430f9b
pop esi
pop ebp
xor al, al
pop ebx
ret
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov esi, dword [esp + 0x14]
mov edx, dword [esi]
mov ebp, dword [edx - 8]
lea eax, [ebp + 1]
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
jne 0x430fcb
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
pop ebp
xor al, al
pop ebx
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, dword [esi]
mov ecx, ebp
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
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]
test eax, eax
pop edi
jne 0x431006
pop esi
pop ebp
xor al, al
pop ebx
ret
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
pop ebp
mov al, 1
pop ebx
ret

Function at 0x43fa10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x48d618
cmp edx, dword [eax]
je 0x43fa32
add eax, 8
inc ecx
cmp eax, 0x48d6a8
jl 0x43fa23
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x48d618]
jne 0x43fb60
mov eax, dword [0x490060]
cmp eax, 1
je 0x43fb3a
test eax, eax
jne 0x43fa63
cmp dword [0x48ccf4], 1
je 0x43fb3a
cmp edx, 0xfc
je 0x43fb60
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x43fa9a
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0043ebe0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0043ecd0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x43fadd
lea eax, [ebp - 0x1a4]
push eax
call fcn.0043ecd0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x47e314
push edi
call fcn.00441090
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0043ebe0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0043ebf0
lea eax, [ebp - 0xa0]
push 0x47e2f4
push eax
call fcn.0043ebf0
push dword [esi + 0x48d61c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0043ebf0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0044124d
add esp, 0x2c
pop edi
jmp 0x43fb60
lea eax, [ebp + 8]
lea esi, [esi + 0x48d61c]
push 0
push eax
push dword [esi]
call fcn.0043ecd0
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 0x445d40
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.00438e80
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x445e0b
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 0x445e0b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x445dbe
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x445dc9
or bh, 8
and edi, 0x8000000
je 0x445de4
mov eax, dword [0x49181c]
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 0x445e0b
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