joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426430
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e3b48
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 0x426509
push ebx
mov ebx, dword [esp + 0x2c]
push edi
mov ecx, dword [ecx + 0xc]
cmp ecx, ebp
mov dword [esp + 0x30], ecx
je 0x4264ee
lea eax, [esp + 0x30]
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, ebx
call fcn.0042b0d0
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
je 0x4264a0
mov edx, dword [esp + 0x30]
mov esi, dword [ecx + 0xc]
cmp edx, esi
jb 0x4264a0
lea ecx, [esp + 0x10]
jmp 0x4264a8
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
mov edi, dword [ecx]
cmp edi, eax
je 0x4264ee
mov esi, dword [edi + 0x10]
cmp esi, ebp
je 0x4264ee
mov eax, dword [esi + 0x48]
cmp eax, ebp
jbe 0x4264ee
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4264ee
push ebp
push esi
call fcn.004256a0
add esp, 8
mov ecx, esi
call fcn.00420fd0
push esi
call fcn.004d46f7
add esp, 4
lea eax, [esp + 0x1c]
mov ecx, ebx
push edi
push eax
call fcn.0042a3a0
lea ecx, [esp + 0x14]
call fcn.00409db0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
cmp ecx, eax
jne 0x426468
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 0x426553
mov edx, ecx
cmp ecx, edx
jne 0x426553
mov ecx, dword [eax + 4]
push ecx
lea ecx, [esp + 0x30]
call fcn.00409a20
mov edx, dword [esp + 0x30]
mov eax, dword [0x5189a4]
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 0x42657d
cmp ecx, esi
je 0x426581
lea ecx, [esp + 0x14]
push ebp
push ecx
lea ecx, [esp + 0x30]
call fcn.00429a80
mov edx, dword [eax]
lea eax, [esp + 8]
push edx
push eax
lea ecx, [esp + 0x34]
call fcn.00407f20
cmp dword [esp + 0x28], esi
jne 0x426557
mov eax, dword [esp + 0x30]
push eax
call fcn.004d46f7
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x38], ebp
xor esi, esi
call fcn.004c0a70
mov eax, dword [0x5189a0]
dec eax
mov dword [0x5189a0], eax
jne 0x4265b6
mov esi, dword [0x5189a4]
mov dword [0x5189a4], ebp
lea ecx, [esp + 0x10]
call fcn.004c0b0c
cmp esi, ebp
je 0x4265cc
push esi
call fcn.004d46f7
add esp, 4
mov ecx, dword [esp + 0x18]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x14
Function at 0x4268c0
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x4e3b9f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
push edi
push 0x518908
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], 0
call fcn.004d49fb
push 0
push 2
mov dword [esp + 0x24], 1
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push pe_nt_image_headers32
mov edi, eax
call fcn.004d46ce
add esp, 4
mov esi, eax
push esi
push edi
mov dword [esi], pe_nt_image_headers32
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x426947
mov ebp, dword [esp + 0x28]
cmp dword [esi + 8], ebp
je 0x42693a
push esi
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x426928
jmp 0x426947
lea eax, [esi + 0x24]
lea ecx, [esp + 0xc]
push eax
call fcn.004d4b16
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.004d46f7
mov esi, dword [esp + 0x28]
add esp, 4
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.004d4702
mov dword [esp + 0x10], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 0
call fcn.004d498d
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 0x42c8a0
Capabilities:
Set current directory

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4e4260
push eax
mov eax, dword [0x518b48]
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 [0x518d7c]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x42c904
lea edx, [esp + 4]
mov ecx, esi
push edx
call fcn.0042c450
push eax
mov ecx, 0x518d7c
mov dword [esp + 0x18], 0
call fcn.004d4ac6
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004d498d
mov eax, dword [0x518d74]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42c940
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.0042c330
push eax
mov ecx, 0x518d74
mov dword [esp + 0x18], 1
call fcn.004d4ac6
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.004d498d
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x42e210
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4e45e2
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.004d46ce
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x2c], 1
je 0x42e259
mov ecx, eax
call fcn.004d96e2
mov esi, eax
jmp 0x42e25b
xor esi, esi
push 0x518908
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], bl
call fcn.004d49fb
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 0x42e322
push 0x2000
lea ecx, [esp + 0x1c]
call fcn.004342e0
mov edi, dword [esi]
push 0x2000
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 3
call fcn.00434340
push eax
mov ecx, esi
call dword [edi + 0x34]
cmp eax, ebx
je 0x42e308
lea ecx, [esp + 0x18]
call fcn.00434340
push eax
lea ecx, [esp + 0x10]
call fcn.004d4d69
lea ecx, [esp + 0x18]
call fcn.00434380
mov edx, dword [esp + 0xc]
cmp dword [edx - 8], 0x7d000
jg 0x42e2fa
mov edi, dword [esi]
push 0x2000
lea ecx, [esp + 0x1c]
call fcn.00434340
push eax
mov ecx, esi
call dword [edi + 0x34]
cmp eax, ebx
jne 0x42e2b5
jmp 0x42e308
push 0x518908
lea ecx, [esp + 0x10]
call fcn.004d4b16
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.00434350
cmp esi, ebx
je 0x42e32f
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
cmp edi, 0xffffffff
jne 0x42e367
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], bl
call fcn.004d498d
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], edi
call fcn.004d498d
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.0042e3c0
mov esi, eax
lea ecx, [esp + 0xc]
dec esi
mov byte [esp + 0x2c], bl
neg esi
sbb esi, esi
inc esi
call fcn.004d498d
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], 0xffffffff
call fcn.004d498d
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 0x42e3c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e4610
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, ecx
push 0x518908
lea ecx, [esp + 8]
call fcn.004d49fb
mov eax, dword [0x509d80]
mov ecx, dword [0x518b20]
mov edx, dword [0x518b3c]
push eax
mov eax, dword [0x518b40]
push ecx
push edx
push eax
lea ecx, [esp + 0x14]
push str.HDID_sUSERID_sPVER_sPID_dSTIME000ETIME000
push ecx
mov dword [esp + 0x38], 0
call fcn.004d3a22
add esp, 0x14
lea edx, [esp + 8]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.004d4702
lea eax, [esp + 0x14]
push eax
call fcn.00415810
add esp, 8
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
push ecx
push edx
lea eax, [esp + 0xc]
push str.DATA_sLOGDATA_s
push eax
mov byte [esp + 0x30], 1
call fcn.004d3a22
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 0x70]
mov esi, dword [esi + 0x68]
push ecx
push eax
lea edx, [esp + 0x24]
push esi
push edx
call fcn.0041bdc0
add esp, 0x20
mov eax, dword [0x51347c]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0xc]
lea edx, [esp + 8]
push ecx
push 0x80
push str.E:SVNCheckOutiClickClient_trunkLogSender.cpp
push str._s__d__s
push edx
mov byte [esp + 0x34], 3
call fcn.004d3a22
add esp, 0x10
lea eax, [esp + 0xc]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.004d4702
call fcn.00418ad0
mov ecx, dword [esp + 0x10]
push str.UA3_100
push ecx
call fcn.004aebf6
add esp, 0xc
mov byte [esp + 0x20], 2
test eax, eax
lea ecx, [esp + 8]
jne 0x42e51e
call fcn.004d498d
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 1
call fcn.004d498d
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 0
call fcn.004d498d
lea ecx, [esp + 4]
mov dword [esp + 0x20], 0xffffffff
call fcn.004d498d
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop esi
add esp, 0x20
ret 4
call fcn.004d498d
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 1
call fcn.004d498d
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 0
call fcn.004d498d
lea ecx, [esp + 4]
mov dword [esp + 0x20], 0xffffffff
call fcn.004d498d
mov ecx, dword [esp + 0x18]
xor eax, eax
mov dword fs:[0], ecx
pop esi
add esp, 0x20
ret 4
Function at 0x4389f0
Capabilities:
Read file via mapping

Disassembly:
push 0xffffffffffffffff
push 0x4e4d85
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 0x438adf
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 0x438ace
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 0x438ace
push eax
mov eax, dword [0x518de4]
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 0x438ace
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.00417dd0
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 0x438adf
push ebx
call esi
lea edx, [esp + 0x1c]
lea ecx, [esp + 0xc]
push edx
call fcn.004d49fb
mov esi, dword [esp + 0x42c]
lea eax, [esp + 0xc]
mov edi, 1
push eax
mov ecx, esi
mov dword [esp + 0x428], edi
call fcn.004d4702
mov dword [esp + 0x18], edi
lea ecx, [esp + 0xc]
mov byte [esp + 0x424], 0
call fcn.004d498d
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 0x438bc0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x4e4daf
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 0x518908
lea ecx, [esp + 0x10]
call fcn.004d49fb
mov ebp, dword [sym.imp.USER32.dll_OpenClipboard]
push 0
mov dword [esp + 0x20], 1
call ebp
test eax, eax
je 0x438c5d
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 0x438cf9
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x438ced
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x438ced
push eax
lea ecx, [esp + 0x10]
call fcn.004d4b16
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_EmptyClipboard]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov esi, dword [esp + 0x24]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.004d4702
mov dword [esp + 0x10], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 0
call fcn.004d498d
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 0x43a050
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0
push ecx
push 0x439650
push 0
push 0
call fcn.004af505
add esp, 0x1c
ret
Function at 0x4473b0
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 0x4473e1
mov ecx, dword [esi + 0x78]
push ecx
push eax
push esi
call fcn.00447520
add esp, 0xc
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x4474f0
mov ebx, eax
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x24]
cmp ecx, eax
jbe 0x44741d
mov eax, dword [esi + 0x80]
push 0
cdq
push ecx
push edx
push eax
call fcn.004b05e0
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.00447500
mov ecx, dword [esi + 0x18]
add esp, 0xc
mov dword [esi + 0x24], ecx
mov ebp, dword [esp + 0x20]
test ebp, ebp
je 0x4474e6
mov edi, dword [ebp + 0x14]
mov eax, dword [esi + 0x18]
cmp edi, eax
ja 0x4474db
test byte [ebp + 0x18], 0x20
jne 0x4474db
mov eax, dword [esi + 0x80]
lea ecx, [edi - 1]
cdq
push edx
push eax
push 0
push ecx
call fcn.004b05e0
cmp edi, 1
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
jne 0x44746b
push ebp
call fcn.00446fe0
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.00445ac0
add esp, 0x14
cmp edi, 1
mov dword [esp + 0x1c], eax
jne 0x4474b1
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 0x4474b9
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.0044e1e0
mov ebx, dword [esp + 0x28]
add esp, 0xc
mov ebp, dword [ebp + 0xc]
test ebx, ebx
je 0x447421
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 0x44ac40
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 0x44ad41
mov al, byte [esi + 6]
test al, al
je 0x44ad41
mov ecx, dword [esi + 0x5c]
lea eax, [ebx + ebx*2]
shl eax, 4
push eax
push ecx
call fcn.00440150
mov edx, eax
add esp, 8
test edx, edx
jne 0x44ac85
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 0x44ad41
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 0x44ace9
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
test eax, eax
jl 0x44ace9
jg 0x44ace1
test ecx, ecx
jbe 0x44ace9
mov dword [edi - 0x18], ecx
mov dword [edi - 0x14], eax
jmp 0x44acf6
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.00445dd0
add esp, 4
mov dword [edi - 8], eax
test eax, eax
je 0x44ac7b
push esi
call fcn.00446190
add esp, 4
test eax, eax
je 0x44ad32
mov edx, dword [esi + 0xb8]
lea ecx, [edi + 4]
push ecx
push edx
call fcn.0044adc0
add esp, 8
lea eax, [ebp + 1]
add edi, 0x30
mov ebp, eax
mov dword [esi + 0x60], eax
cmp ebp, ebx
jl 0x44acc3
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x45b560
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 0x45b619
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 0x45b606
mov ecx, dword [esp + 0x1c]
lea edx, [eax + ecx]
mov ecx, dword [ebx + 0x34]
cmp edx, dword [ecx + 0x24]
ja 0x45b606
mov edx, dword [esp + 0x1c]
push edx
push eax
push ebx
call fcn.0045b620
add esp, 0xc
test eax, eax
jne 0x45b613
mov eax, dword [ebx + 0x40]
xor edx, edx
mov dx, word [ebx + 0x10]
lea ecx, [eax + edx*2 - 2]
cmp edi, ecx
jae 0x45b5e5
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.0048d4d0
add esp, 4
mov ecx, dword [esp + 0x20]
mov dword [ecx], eax
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x45bbc0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
push edi
mov eax, dword [esi + 0x34]
mov ecx, dword [eax]
push ecx
call fcn.0045bd80
mov ebp, dword [esi + 0x38]
xor ecx, ecx
mov cx, word [esi + 0x10]
mov ebx, eax
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x34]
xor edx, edx
xor eax, eax
mov dl, byte [esi + 5]
mov ax, word [esi + 0xc]
mov esi, dword [ecx + 0x24]
xor ecx, ecx
mov ch, byte [edx + ebp + 5]
mov dword [esp + 0x14], esi
mov cl, byte [edx + ebp + 6]
mov dword [esp + 0x28], ebx
mov edi, ecx
mov ecx, esi
sub ecx, edi
add esp, 4
lea esi, [edi + ebp]
add edi, ebx
mov ebx, ecx
mov dword [esp + 0x2c], edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov ebx, dword [esp + 0x10]
and ecx, 3
mov dword [esp + 0x18], 0
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
lea edi, [eax + ecx*2]
mov dword [esp + 0x20], edi
jle 0x45bcf5
add eax, ebp
mov dword [esp + 0x14], eax
jmp 0x45bc57
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
xor edx, edx
mov dh, byte [eax]
mov dl, byte [eax + 1]
mov esi, edx
cmp esi, edi
mov dword [esp + 0x28], esi
jl 0x45bd5f
mov eax, dword [esp + 0x10]
add eax, 0xfffffffc
cmp esi, eax
jg 0x45bd5f
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x34]
add esi, ecx
push esi
push edx
call fcn.0045ac80
and eax, 0xffff
add esp, 8
sub ebx, eax
cmp ebx, edi
jl 0x45bd4a
mov ecx, dword [esp + 0x28]
lea edx, [eax + ecx]
mov ecx, dword [esp + 0x10]
cmp edx, ecx
jg 0x45bd4a
mov ecx, eax
lea edi, [ebx + ebp]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x14]
and ecx, 3
add eax, 2
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
mov byte [eax - 1], bl
sar ecx, 8
mov byte [eax - 2], cl
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
inc ecx
cmp ecx, eax
mov dword [esp + 0x18], ecx
jl 0x45bc4f
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x20]
mov eax, ebx
sar eax, 8
mov byte [edx + ebp + 5], al
mov byte [edx + ebp + 6], bl
sub ebx, edi
mov byte [edx + ebp + 1], 0
mov byte [edx + ebp + 2], 0
mov ecx, ebx
mov byte [edx + ebp + 7], 0
mov edx, ecx
xor eax, eax
add edi, ebp
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x34]
xor eax, eax
mov ax, word [ecx + 0xe]
cmp ebx, eax
je 0x45bd74
push 0xc12d
call fcn.0048d4d0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
push 0xc11c
call fcn.0048d4d0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
push 0xc110
call fcn.0048d4d0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret
Function at 0x461490
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov esi, dword [eax + 8]
mov eax, dword [eax + 0x48]
mov edi, dword [eax + 0x34]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4614b7
mov ecx, dword [esp + 0x20]
push edi
push eax
push ecx
push esi
call fcn.0045f400
add esp, 0x10
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4614e8
mov cx, word [esi + 6]
xor eax, eax
mov word [edi + 4], cx
and ecx, 0xffff
jle 0x4614e4
mov edx, dword [edi + 0x10]
add edx, 0x1c
test byte [edx], 1
jne 0x461504
inc eax
add edx, 0x28
cmp eax, ecx
jl 0x4614d7
or byte [edi + 6], 2
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push edi
push eax
push ecx
call fcn.0045f520
mov edx, dword [esp + 0x30]
add esp, 0xc
pop edi
pop esi
mov dword [edx], eax
ret
mov edx, dword [esp + 0x24]
pop edi
pop esi
mov dword [edx], 0xffffffff
ret

Function at 0x462f10
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
xor eax, eax
test esi, esi
jle 0x462f3c
mov ecx, dword [esp + 8]
push ebx
xor edx, edx
xor ebx, ebx
mov dl, byte [ecx]
mov bl, byte [edx + 0x4eec10]
lea edx, [eax*8]
xor ebx, edx
xor eax, ebx
inc ecx
dec esi
jne 0x462f20
pop ebx
pop esi
ret