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

Disassembly:
sub esp, 0x18
push ebx
mov eax, dword [esp + 0x24]
push ebp
push esi
push edi
push 0
push 0x80
push 2
push 0
push 0
mov esi, ecx
push 0x40000000
push eax
mov dword [esp + 0x30], esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 0x10], ebx
je 0x421367
mov edi, dword [esp + 0x2c]
mov ecx, dword [edi + 0x20c]
push ecx
push ebx
mov ecx, esi
call fcn.00421110
test eax, eax
jne 0x421253
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret 8
mov eax, dword [edi + 0x20c]
xor ebp, ebp
test eax, eax
jbe 0x421302
lea esi, [edi + 0x224]
mov al, byte [esi - 0x10]
mov dl, byte [esi - 0x14]
mov byte [esp + 0x19], al
mov eax, dword [esi]
mov byte [esp + 0x18], dl
mov byte [esp + 0x1b], 0
mov cx, word [eax + 0xc]
mov word [esp + 0x1c], cx
mov dx, word [eax + 0xe]
mov word [esp + 0x1e], dx
mov ecx, dword [esp + 0x1e]
mov eax, dword [esp + 0x1c]
and ecx, 0xffff
and eax, 0xffff
imul ecx, eax
cmp ecx, 8
jl 0x4212b2
mov byte [esp + 0x1a], 0
jmp 0x4212ba
mov dl, 1
shl dl, cl
mov byte [esp + 0x1a], dl
mov eax, dword [esi - 4]
mov ecx, dword [esp + 0x14]
push ebp
push edi
mov dword [esp + 0x28], eax
call fcn.004211c0
lea ecx, [esp + 0x30]
push 0
push ecx
lea edx, [esp + 0x20]
push 0x10
push edx
push ebx
mov dword [esp + 0x38], eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x421367
cmp dword [esp + 0x30], 0x10
jne 0x421367
mov eax, dword [edi + 0x20c]
inc ebp
add esi, 0x20
cmp ebp, eax
jb 0x421269
mov eax, dword [edi + 0x20c]
xor ebx, ebx
test eax, eax
jbe 0x42135c
lea esi, [edi + 0x224]
mov eax, dword [esi]
push 0
mov ebp, dword [eax + 0x14]
mov dword [eax + 0x14], 0
mov ecx, dword [esi - 4]
mov edx, dword [esi - 8]
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x421367
mov ecx, dword [esp + 0x30]
mov eax, dword [esi - 4]
cmp ecx, eax
jne 0x421367
mov edx, dword [esi]
inc ebx
add esi, 0x20
mov dword [edx + 0x14], ebp
mov eax, dword [edi + 0x20c]
cmp ebx, eax
jb 0x421314
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret 8
Function at 0x421b90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4e23f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
mov eax, dword [esi + 0x84]
xor ebx, ebx
mov dword [esp + 0x24], 7
mov ebp, dword [eax]
cmp ebp, eax
je 0x421c1a
mov edi, dword [ebp + 0x10]
cmp edi, ebx
je 0x421bfb
mov dword [esp + 0x18], edi
mov eax, dword [edi + 0x2c]
mov byte [esp + 0x24], 8
cmp eax, ebx
je 0x421be5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [edi + 0x28]
mov byte [esp + 0x24], 7
call fcn.004d387d
push edi
call fcn.004d35e7
add esp, 4
lea edx, [esp + 0x10]
push ebp
push edx
lea ecx, [esi + 0x80]
call fcn.0042a410
mov ebp, dword [esp + 0x10]
mov eax, dword [esi + 0x84]
cmp ebp, eax
jne 0x421bc8
mov ebp, dword [esi + 0x98]
mov edi, dword [esi + 0x94]
cmp edi, ebp
mov byte [esp + 0x24], 6
je 0x421c3e
push ebx
mov ecx, edi
call fcn.0042c1e0
add edi, 0x10
cmp edi, ebp
jne 0x421c2f
mov eax, dword [esi + 0x94]
push eax
call fcn.004d35e7
add esp, 4
lea ecx, [esi + 0x80]
mov dword [esi + 0x94], ebx
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], ebx
mov byte [esp + 0x24], 5
call fcn.00429f00
lea ecx, [esi + 0x78]
mov byte [esp + 0x24], 4
call fcn.004d387d
lea ecx, [esi + 0x50]
mov byte [esp + 0x24], 3
call fcn.004d387d
mov eax, dword [esi + 0x34]
cmp eax, ebx
je 0x421cad
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x421ca4
cmp al, 0xff
je 0x421ca4
dec al
mov byte [ecx], al
jmp 0x421cad
push ecx
call fcn.004d35e7
add esp, 4
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov eax, dword [esi + 0x24]
cmp eax, ebx
je 0x421cda
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x421cd1
cmp al, 0xff
je 0x421cd1
dec al
mov byte [ecx], al
jmp 0x421cda
push ecx
call fcn.004d35e7
add esp, 4
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov eax, dword [esi + 0x14]
cmp eax, ebx
je 0x421d07
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x421cfe
cmp al, 0xff
je 0x421cfe
dec al
mov byte [ecx], al
jmp 0x421d07
push ecx
call fcn.004d35e7
add esp, 4
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x421d34
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x421d2b
cmp al, 0xff
je 0x421d2b
dec al
mov byte [ecx], al
jmp 0x421d34
push ecx
call fcn.004d35e7
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x425c70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e2928
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
mov edi, ecx
mov dword [esp + 8], 0
lea eax, [esp + 0xc]
mov dword [esp + 0x24], 0
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov esi, dword [esp + 0x30]
test esi, esi
je 0x425cb3
mov eax, dword [esi]
jmp 0x425cb5
xor eax, eax
mov ecx, dword [edi]
lea edx, [esp + 0xc]
push edx
push eax
push edi
call dword [ecx + 0x8c]
test eax, eax
jge 0x425cd4
push 0x509fe8
push edi
push eax
call fcn.004cd558
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, edi
test esi, esi
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov word [esp + 0xc], 0
mov dword [eax + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
je 0x425d34
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x425d34
mov eax, dword [esi]
test eax, eax
je 0x425d1b
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x425d2b
push eax
call fcn.004d35e7
add esp, 4
push esi
call fcn.004d35e7
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 8

Function at 0x426a90
Capabilities:
Enumerate gui resources

Disassembly:
sub esp, 0x10
push esi
mov esi, dword [esp + 0x18]
lea eax, [esp + 4]
mov dword [esp + 4], 0xffffffff
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [esp + 4]
lea edx, [esp + 8]
push edx
push 0x421680
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], esi
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 0xc]
pop esi
add esp, 0x10
ret 4
Function at 0x426ae0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e2a58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebp
push esi
mov eax, dword [esp + 0x30]
xor ebp, ebp
mov dword [esp + 0x20], ebp
mov ecx, dword [eax]
cmp ecx, eax
mov dword [esp + 0xc], ecx
je 0x426bb9
push ebx
mov ebx, dword [esp + 0x2c]
push edi
mov ecx, dword [ecx + 0xc]
cmp ecx, ebp
mov dword [esp + 0x30], ecx
je 0x426b9e
lea eax, [esp + 0x30]
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, ebx
call fcn.0042b5e0
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
je 0x426b50
mov edx, dword [esp + 0x30]
mov esi, dword [ecx + 0xc]
cmp edx, esi
jb 0x426b50
lea ecx, [esp + 0x10]
jmp 0x426b58
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
mov edi, dword [ecx]
cmp edi, eax
je 0x426b9e
mov esi, dword [edi + 0x10]
cmp esi, ebp
je 0x426b9e
mov eax, dword [esi + 0x48]
cmp eax, ebp
jbe 0x426b9e
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x426b9e
push ebp
push esi
call fcn.00425d50
add esp, 8
mov ecx, esi
call fcn.00421b90
push esi
call fcn.004d35e7
add esp, 4
lea eax, [esp + 0x1c]
mov ecx, ebx
push edi
push eax
call fcn.0042ac20
lea ecx, [esp + 0x14]
call fcn.004096d0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
cmp ecx, eax
jne 0x426b18
pop edi
pop ebx
mov edx, dword [esp + 0x38]
mov esi, eax
cmp edx, ebp
mov dword [esp + 0x20], 0xffffffff
mov ecx, dword [esi]
mov dword [esp + 0x28], ecx
je 0x426c03
mov edx, ecx
cmp ecx, edx
jne 0x426c03
mov ecx, dword [eax + 4]
push ecx
lea ecx, [esp + 0x30]
call fcn.00409340
mov edx, dword [esp + 0x30]
mov eax, dword [0x5173e0]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x38], ebp
mov dword [eax], eax
mov eax, dword [esp + 0x30]
mov dword [eax + 8], eax
jmp 0x426c2d
cmp ecx, esi
je 0x426c31
lea ecx, [esp + 0x14]
push ebp
push ecx
lea ecx, [esp + 0x30]
call fcn.0042a320
mov edx, dword [eax]
lea eax, [esp + 8]
push edx
push eax
lea ecx, [esp + 0x34]
call fcn.00407840
cmp dword [esp + 0x28], esi
jne 0x426c07
mov eax, dword [esp + 0x30]
push eax
call fcn.004d35e7
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x38], ebp
xor esi, esi
call fcn.004bf9b0
mov eax, dword [0x5173dc]
dec eax
mov dword [0x5173dc], eax
jne 0x426c66
mov esi, dword [0x5173e0]
mov dword [0x5173e0], ebp
lea ecx, [esp + 0x10]
call fcn.004bfa4c
cmp esi, ebp
je 0x426c7c
push esi
call fcn.004d35e7
add esp, 4
mov ecx, dword [esp + 0x18]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x14
Function at 0x426f70
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x4e2aaf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
push edi
push 0x517348
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], 0
call fcn.004d38eb
push 0
push 2
mov dword [esp + 0x24], 1
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0x128
mov edi, eax
call fcn.004d35be
add esp, 4
mov esi, eax
push esi
push edi
mov dword [esi], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x426ff7
mov ebp, dword [esp + 0x28]
cmp dword [esi + 8], ebp
je 0x426fea
push esi
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x426fd8
jmp 0x426ff7
lea eax, [esi + 0x24]
lea ecx, [esp + 0xc]
push eax
call fcn.004d3a06
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.004d35e7
mov esi, dword [esp + 0x28]
add esp, 4
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.004d35f2
mov dword [esp + 0x10], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 0
call fcn.004d387d
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret 8
Function at 0x42cd70
Capabilities:
Set current directory

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4e3160
push eax
mov eax, dword [0x517568]
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov ecx, dword [0x51779c]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x42cdd4
lea edx, [esp + 4]
mov ecx, esi
push edx
call fcn.0042c930
push eax
mov ecx, 0x51779c
mov dword [esp + 0x18], 0
call fcn.004d39b6
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004d387d
mov eax, dword [0x517794]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42ce10
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.0042c810
push eax
mov ecx, 0x517794
mov dword [esp + 0x18], 1
call fcn.004d39b6
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.004d387d
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x42e680
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4e34e2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [esp + 0x10], ecx
xor ebx, ebx
push 0x10
mov dword [esp + 0x30], ebx
xor edi, edi
call fcn.004d35be
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x2c], 1
je 0x42e6c9
mov ecx, eax
call fcn.004d85d2
mov esi, eax
jmp 0x42e6cb
xor esi, esi
push 0x517348
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], bl
call fcn.004d38eb
mov ecx, dword [esp + 0x34]
mov eax, dword [esi]
push ebx
push ebx
push ecx
mov ecx, esi
mov byte [esp + 0x38], 2
call dword [eax + 0x20]
test eax, eax
je 0x42e792
push 0x2000
lea ecx, [esp + 0x1c]
call fcn.004346e0
mov edi, dword [esi]
push 0x2000
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 3
call fcn.00434740
push eax
mov ecx, esi
call dword [edi + 0x34]
cmp eax, ebx
je 0x42e778
lea ecx, [esp + 0x18]
call fcn.00434740
push eax
lea ecx, [esp + 0x10]
call fcn.004d3c59
lea ecx, [esp + 0x18]
call fcn.00434780
mov edx, dword [esp + 0xc]
cmp dword [edx - 8], 0x7d000
jg 0x42e76a
mov edi, dword [esi]
push 0x2000
lea ecx, [esp + 0x1c]
call fcn.00434740
push eax
mov ecx, esi
call dword [edi + 0x34]
cmp eax, ebx
jne 0x42e725
jmp 0x42e778
push 0x517348
lea ecx, [esp + 0x10]
call fcn.004d3a06
mov eax, dword [esi]
mov ecx, esi
mov edi, 1
call dword [eax + 0x4c]
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 2
call fcn.00434750
cmp esi, ebx
je 0x42e79f
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
cmp edi, 0xffffffff
jne 0x42e7d7
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], bl
call fcn.004d387d
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], edi
call fcn.004d387d
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 4
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
push eax
call fcn.0042e830
mov esi, eax
lea ecx, [esp + 0xc]
dec esi
mov byte [esp + 0x2c], bl
neg esi
sbb esi, esi
inc esi
call fcn.004d387d
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], 0xffffffff
call fcn.004d387d
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x438680
Capabilities:
Read file via mapping

Disassembly:
push 0xffffffffffffffff
push 0x4e3c55
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x410
push ebx
push esi
push edi
xor edi, edi
push edi
push 0x400
push edi
push 4
push edi
push 0xffffffffffffffff
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov esi, eax
cmp esi, edi
je 0x43876f
push ebp
mov ebp, dword [esp + 0x434]
lea eax, [esp + 0x14]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [esp + 0x14]
push ecx
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
cmp ebx, edi
je 0x43875e
push 2
push edi
lea edx, [esp + 0x20]
push edi
push edx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x43875e
push eax
mov eax, dword [0x517804]
push 0x400
push eax
push ebp
call dword [sym.imp.USER32.dll_SendMessageA]
push edi
push edi
push edi
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebp, eax
cmp ebp, edi
je 0x43875e
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x20]
push 0x400
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x24]
push ebp
push ecx
call fcn.00418a50
add esp, 0xc
push ebp
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
xor edi, edi
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
cmp ebx, edi
pop ebp
je 0x43876f
push ebx
call esi
lea edx, [esp + 0x1c]
lea ecx, [esp + 0xc]
push edx
call fcn.004d38eb
mov esi, dword [esp + 0x42c]
lea eax, [esp + 0xc]
mov edi, 1
push eax
mov ecx, esi
mov dword [esp + 0x428], edi
call fcn.004d35f2
mov dword [esp + 0x18], edi
lea ecx, [esp + 0xc]
mov byte [esp + 0x424], 0
call fcn.004d387d
mov ecx, dword [esp + 0x41c]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x41c
ret 8
Function at 0x438850
Capabilities:
Open clipboard
Print debug messages
Read clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x4e3c7f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_keybd_event]
push edi
push 0
push 0
push 0
push 0xa2
mov dword [esp + 0x20], 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 5
call edi
push 0
push 0
push 0
push 0x4c
call esi
push 5
call edi
push 0
push 2
push 0
push 0x4c
call esi
push 5
call edi
push 0
push 2
push 0
push 0xa2
call esi
push 5
call edi
push 0x517348
lea ecx, [esp + 0x10]
call fcn.004d38eb
mov ebp, dword [sym.imp.USER32.dll_OpenClipboard]
push 0
mov dword [esp + 0x20], 1
call ebp
test eax, eax
je 0x4388ed
call dword [sym.imp.USER32.dll_EmptyClipboard]
call dword [sym.imp.USER32.dll_CloseClipboard]
push 0
push 0
push 0
push 0xa2
call esi
push 5
call edi
push 0
push 0
push 0
push 0x43
call esi
push 5
call edi
push 0
push 2
push 0
push 0x43
call esi
push 5
call edi
push 0
push 2
push 0
push 0xa2
call esi
push 5
call edi
mov eax, dword [esp + 0x28]
mov esi, dword [sym.imp.USER32.dll_PostMessageA]
push 0
push 0
push 8
push eax
call esi
mov ecx, dword [esp + 0x2c]
push 0
push 0
push 7
push ecx
call esi
push 0
call ebp
test eax, eax
je 0x438989
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x43897d
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x43897d
push eax
lea ecx, [esp + 0x10]
call fcn.004d3a06
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_EmptyClipboard]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea edx, [esp + 0xc]
push 0x508b64
lea eax, [esp + 0x2c]
push edx
push eax
call fcn.004d3b12
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [esp + 0x28]
call fcn.004d387d
mov esi, dword [esp + 0x24]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.004d35f2
mov dword [esp + 0x10], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 0
call fcn.004d387d
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret 0xc

Function at 0x439950
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0
push ecx
push 0x439300
push 0
push 0
call fcn.004ae155
add esp, 0x1c
ret
Function at 0x446b70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
xor ebx, ebx
push edi
mov eax, dword [esi + 0x3c]
cmp dword [eax], 0
jne 0x446ba1
mov ecx, dword [esi + 0x78]
push ecx
push eax
push esi
call fcn.00446cc0
add esp, 0xc
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x446cb0
mov ebx, eax
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x24]
cmp ecx, eax
jbe 0x446bdd
mov eax, dword [esi + 0x80]
push 0
cdq
push ecx
push edx
push eax
call fcn.004af330
mov dword [esp + 0x14], edx
lea edx, [esp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x3c]
push edx
push 5
push eax
call fcn.00445f60
mov ecx, dword [esi + 0x18]
add esp, 0xc
mov dword [esi + 0x24], ecx
mov ebp, dword [esp + 0x20]
test ebp, ebp
je 0x446ca6
mov edi, dword [ebp + 0x14]
mov eax, dword [esi + 0x18]
cmp edi, eax
ja 0x446c9b
test byte [ebp + 0x18], 0x20
jne 0x446c9b
mov eax, dword [esi + 0x80]
lea ecx, [edi - 1]
cdq
push edx
push eax
push 0
push ecx
call fcn.004af330
cmp edi, 1
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
jne 0x446c2b
push ebp
call fcn.004467a0
add esp, 4
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x80]
mov ebx, dword [ebp + 4]
push edx
mov edx, dword [esi + 0x3c]
push eax
push ecx
push ebx
push edx
call fcn.00445260
add esp, 0x14
cmp edi, 1
mov dword [esp + 0x1c], eax
jne 0x446c71
add ebx, 0x18
lea eax, [esi + 0x64]
mov ecx, dword [ebx]
mov dword [eax], ecx
mov edx, dword [ebx + 4]
mov dword [eax + 4], edx
mov ecx, dword [ebx + 8]
mov dword [eax + 8], ecx
mov edx, dword [ebx + 0xc]
mov dword [eax + 0xc], edx
cmp edi, dword [esi + 0x20]
jbe 0x446c79
mov dword [esi + 0x20], edi
mov edx, dword [esi + 0xa8]
mov ecx, dword [esi + 0x58]
inc edx
mov dword [esi + 0xa8], edx
mov eax, dword [ebp + 4]
push eax
push edi
push ecx
call fcn.0044d980
mov ebx, dword [esp + 0x28]
add esp, 0xc
mov ebp, dword [ebp + 0xc]
test ebx, ebx
je 0x446be1
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x44a3e0
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
mov ebp, dword [esi + 0x60]
cmp ebx, ebp
jle 0x44a4e1
mov al, byte [esi + 6]
test al, al
je 0x44a4e1
mov ecx, dword [esi + 0x5c]
lea eax, [ebx + ebx*2]
shl eax, 4
push eax
push ecx
call fcn.0043f8f0
mov edx, eax
add esp, 8
test edx, edx
jne 0x44a425
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
ret
lea eax, [ebp + ebp*2]
shl eax, 4
lea edi, [eax + edx]
mov eax, ebx
sub eax, ebp
mov dword [esp + 0x14], edi
lea ecx, [eax + eax*2]
xor eax, eax
shl ecx, 4
mov ebx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
mov ebx, dword [esp + 0x18]
and ecx, 3
cmp ebp, ebx
rep stosb byte es:[edi], al
mov dword [esi + 0x5c], edx
jge 0x44a4e1
mov ecx, dword [esp + 0x14]
lea edi, [ecx + 0x18]
mov edx, dword [esi + 0x18]
mov dword [edi - 4], edx
mov eax, dword [esi + 0x40]
cmp dword [eax], 0
je 0x44a489
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
test eax, eax
jl 0x44a489
jg 0x44a481
test ecx, ecx
jbe 0x44a489
mov dword [edi - 0x18], ecx
mov dword [edi - 0x14], eax
jmp 0x44a496
mov ecx, dword [esi + 0x7c]
mov dword [edi - 0x18], ecx
mov dword [edi - 0x14], 0
mov edx, dword [esi + 0x34]
mov dword [edi], edx
mov eax, dword [esi + 0x18]
push eax
call fcn.00445570
add esp, 4
mov dword [edi - 8], eax
test eax, eax
je 0x44a41b
push esi
call fcn.00445930
add esp, 4
test eax, eax
je 0x44a4d2
mov edx, dword [esi + 0xb8]
lea ecx, [edi + 4]
push ecx
push edx
call fcn.0044a560
add esp, 8
lea eax, [ebp + 1]
add edi, 0x30
mov ebp, eax
mov dword [esi + 0x60], eax
cmp ebp, ebx
jl 0x44a463
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x45ad00
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 0x10]
push ebx
push ebp
push esi
mov ecx, dword [eax]
push edi
test ecx, ecx
jne 0x45adb9
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
xor eax, eax
mov ecx, dword [ebx + 0x40]
mov ebp, dword [ebx + 0x38]
lea edi, [ecx + edx*2]
xor ecx, ecx
mov cl, byte [ebx + 5]
xor edx, edx
mov ah, byte [edi]
mov esi, ecx
mov al, byte [edi + 1]
mov dword [esp + 0x14], esi
mov dh, byte [esi + ebp + 5]
mov dl, byte [esi + ebp + 6]
cmp eax, edx
jb 0x45ada6
mov ecx, dword [esp + 0x1c]
lea edx, [eax + ecx]
mov ecx, dword [ebx + 0x34]
cmp edx, dword [ecx + 0x24]
ja 0x45ada6
mov edx, dword [esp + 0x1c]
push edx
push eax
push ebx
call fcn.0045adc0
add esp, 0xc
test eax, eax
jne 0x45adb3
mov eax, dword [ebx + 0x40]
xor edx, edx
mov dx, word [ebx + 0x10]
lea ecx, [eax + edx*2 - 2]
cmp edi, ecx
jae 0x45ad85
sub ecx, edi
lea esi, [edi + 2]
inc ecx
shr ecx, 1
rep movsw word es:[edi], word [esi]
mov esi, dword [esp + 0x14]
dec word [ebx + 0x10]
mov ax, word [ebx + 0x10]
xor ecx, ecx
pop edi
mov cl, ah
mov byte [esi + ebp + 3], cl
mov dl, byte [ebx + 0x10]
mov byte [esi + ebp + 4], dl
add word [ebx + 0xe], 2
pop esi
pop ebp
pop ebx
ret
push 0xd259
call fcn.0048cc70
add esp, 4
mov ecx, dword [esp + 0x20]
mov dword [ecx], eax
pop edi
pop esi
pop ebp
pop ebx
ret