joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4034f0
Capabilities:
Send data
Send data on socket

Disassembly:
push 0xffffffffffffffff
push 0x404c56
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [ebp + 0x1c]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x124], ebx
jne 0x40355d
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.Socket_not_Create_
call sub.MFC42.DLL_CString::CString_1
mov ecx, ebp
call fcn.00402590
lea ecx, [esp + 0x10]
mov dword [esp + 0x124], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x4036b0
cmp dword [ebp + 0x20], ebx
jne 0x403595
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.Not_Connected_
call sub.MFC42.DLL_CString::CString_1
mov ecx, ebp
call fcn.00402590
lea ecx, [esp + 0x10]
mov dword [esp + 0x124], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x4036b0
mov edi, str.stat_r_n
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [ebp + 0x24]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x20]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x24]
push ecx
push edx
call dword [sym.imp.WS2_32.dll_send]
or esi, 0xffffffff
push ecx
cmp eax, esi
mov ecx, esp
jne 0x403601
mov dword [esp + 0x18], esp
push str.Socket_error_
call sub.MFC42.DLL_CString::CString_1
mov ecx, ebp
call fcn.00402590
mov dword [ebp + 0x1c], ebx
mov dword [ebp + 0x20], ebx
jmp 0x403647
mov dword [esp + 0x18], esp
push 0x406228
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x14]
mov ecx, ebp
push eax
call fcn.004032d0
cmp eax, ebx
je 0x403647
push ebx
push 0x2d
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_2
test eax, eax
jne 0x40365b
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.Get_Stat_error_
call sub.MFC42.DLL_CString::CString_1
mov ecx, ebp
call fcn.00402590
lea ecx, [esp + 0x10]
mov dword [esp + 0x124], esi
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x4036b0
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x18]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x10]
add eax, 0xfffffffa
push eax
push 4
push edx
call sub.MFC42.DLL_CString::Mid_1
mov ecx, dword [esp + 0x12c]
push eax
mov byte [esp + 0x128], 1
call fcn.004045ec
lea ecx, [esp + 0x18]
mov byte [esp + 0x124], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x124], esi
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x118
ret 4
Function at 0x4011ea
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x409950
push 0xffffffffffffffff
push 0x482318
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
push edi
lea ecx, [esp + 8]
call fcn.004018e8
mov edi, str.LC_ScriptEngine_ver1.0
or ecx, 0xffffffff
xor eax, eax
push 0x4a1cc0
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x30], 0
mov eax, ecx
mov esi, edi
mov edi, 0x4a1cc0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xc]
call fcn.00401bef
mov esi, dword [esp + 8]
push 4
call dword [0x4b053c]
push eax
push 0x7f00
push 0
call dword [0x4b07fc]
mov ecx, dword [esp + 0x38]
push eax
push str.MAINICON
push ecx
call dword [0x4b0800]
mov edx, dword [str.LCSE]
mov ecx, dword [0x4a750c]
push eax
push 0x1003
push esi
push edx
call fcn.00401712
test al, al
jne 0x409a07
push 0
push str.error
push str.WindowClass
jmp 0x409a9e
mov eax, dword [0x4a1d44]
mov ecx, dword [0x4a1d40]
push ebx
push ebp
push eax
push ecx
push 0
lea edx, [esp + 0x28]
push 0
push edx
call dword [0x4b0804]
push 0
lea eax, [esp + 0x20]
push 0xca0000
push eax
call dword [0x4b0808]
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
sub edi, ebp
mov ebp, dword [0x4b080c]
push 0
sub esi, eax
call ebp
sub eax, esi
push 1
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
call ebp
sub eax, edi
mov ecx, dword [0x4a750c]
cdq
sub eax, edx
push 0
mov edx, dword [ecx]
push 0
sar eax, 1
push edi
push esi
push eax
mov eax, dword [esp + 0x24]
push ebx
push 0x2ca0000
push eax
mov eax, dword [str.LCSE]
push eax
call dword [edx + 0x70]
pop ebp
pop ebx
test al, al
jne 0x409aca
push 0
push str.error
push str.Window
push 0
call dword [0x4b082c]
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00401b0e
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
mov ecx, dword [0x4a750c]
push 5
mov edx, dword [ecx + 0x114]
push edx
call dword [0x4b0810]
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00401b0e
mov ecx, dword [esp + 0x24]
pop edi
mov al, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x401c7b
Capabilities:
Encode data using xor

Disassembly:
jmp 0x414400
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x2c]
test eax, eax
jge 0x414416
pop edi
pop esi
xor al, al
pop ebx
pop ecx
ret 4
mov eax, dword [esi]
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push eax
call dword [0x4b05f8]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x414441
pop edi
pop esi
xor al, al
pop ebx
pop ecx
ret 4
mov eax, dword [esi + 0x2c]
push 0
push 0
lea ecx, [eax + eax*8]
lea edx, [eax + ecx*2]
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax + edx*4]
push ecx
push ebx
call dword [0x4b05b0]
cmp eax, 0xffffffff
jne 0x414471
push ebx
call dword [0x4b0694]
pop edi
pop esi
xor al, al
pop ebx
pop ecx
ret 4
mov eax, dword [esi + 0x2c]
lea edx, [esp + 0xc]
mov edi, dword [esp + 0x14]
push 0
lea ecx, [eax + eax*8]
push edx
lea edx, [eax + ecx*2]
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax + edx*4 + 4]
push ecx
push edi
push ebx
call dword [0x4b05a0]
test eax, eax
jne 0x4144a9
push ebx
call dword [0x4b0694]
pop edi
pop esi
xor al, al
pop ebx
pop ecx
ret 4
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x1c]
lea edx, [eax + eax*8]
lea eax, [eax + edx*2]
mov edx, dword [esp + 0xc]
lea eax, [ecx + eax*4]
mov ecx, dword [eax + 4]
cmp ecx, edx
je 0x4144d3
push ebx
call dword [0x4b0694]
pop edi
pop esi
xor al, al
pop ebx
pop ecx
ret 4
cmp dword [eax + 0x48], 1
jne 0x414500
xor eax, eax
test ecx, ecx
jbe 0x414500
mov dl, byte [0x492141]
mov cl, byte [eax + edi]
xor cl, dl
mov byte [eax + edi], cl
mov ecx, dword [esi + 0x2c]
inc eax
lea edx, [ecx + ecx*8]
lea ecx, [ecx + edx*2]
mov edx, dword [esi + 0x1c]
cmp eax, dword [edx + ecx*4 + 4]
jb 0x4144df
push ebx
call dword [0x4b0694]
pop edi
pop esi
mov al, 1
pop ebx
pop ecx
ret 4
Function at 0x433ba6
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x433b90
push 0xffffffffffffffff
push 0x48345b
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
lea ecx, [esi + 0x10]
call fcn.004018e8
xor edi, edi
lea ecx, [esi + 0x20]
mov dword [esp + 0x14], edi
call fcn.004018e8
mov ecx, dword [esp + 0xc]
or eax, 0xffffffff
mov dword [esi], edi
mov dword [esi + 8], eax
mov dword [esi + 0x34], eax
mov dword [esi + 4], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x437f28
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
jmp 0x437f10
push 0xffffffffffffffff
push 0x483551
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea ecx, [esi + 0xc]
call fcn.004018e8
lea edi, [esi + 0x3c]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x1c], ebx
call fcn.004018e8
lea ebp, [esi + 0x48]
mov byte [esp + 0x1c], 1
mov ecx, ebp
call fcn.004018e8
or eax, 0xffffffff
mov ecx, edi
mov byte [esp + 0x1c], 2
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x60], eax
mov byte [esi + 0x54], bl
call fcn.0040111d
mov ecx, ebp
call fcn.0040111d
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x454ec1
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x454ecf
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x10], 8
push esi
push edi
not eax
mov ecx, 0xff
jb 0x454faa
mov edi, dword [ebp + 0x10]
push ebx
shr edi, 3
movzx ebx, byte [edx]
mov esi, eax
sub dword [ebp + 0x10], 8
and esi, ecx
xor esi, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [esi*4 + 0x4884e8]
xor eax, ebx
inc edx
mov esi, eax
movzx ebx, byte [edx]
and esi, ecx
xor esi, ebx
shr eax, 8
mov esi, dword [esi*4 + 0x4884e8]
xor esi, eax
inc edx
mov eax, esi
movzx ebx, byte [edx]
and eax, ecx
xor eax, ebx
shr esi, 8
mov eax, dword [eax*4 + 0x4884e8]
xor eax, esi
inc edx
mov esi, eax
movzx ebx, byte [edx]
and esi, ecx
xor esi, ebx
shr eax, 8
mov esi, dword [esi*4 + 0x4884e8]
xor esi, eax
inc edx
mov eax, esi
movzx ebx, byte [edx]
and eax, ecx
xor eax, ebx
shr esi, 8
mov eax, dword [eax*4 + 0x4884e8]
xor eax, esi
inc edx
mov esi, eax
movzx ebx, byte [edx]
and esi, ecx
xor esi, ebx
shr eax, 8
mov esi, dword [esi*4 + 0x4884e8]
xor esi, eax
inc edx
mov eax, esi
movzx ebx, byte [edx]
and eax, ecx
xor eax, ebx
shr esi, 8
mov eax, dword [eax*4 + 0x4884e8]
xor eax, esi
inc edx
mov esi, eax
movzx ebx, byte [edx]
and esi, ecx
xor esi, ebx
shr eax, 8
mov esi, dword [esi*4 + 0x4884e8]
xor eax, esi
inc edx
dec edi
jne 0x454eec
pop ebx
cmp dword [ebp + 0x10], 0
je 0x454fcb
movzx edi, byte [edx]
mov esi, eax
and esi, ecx
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4884e8]
xor eax, esi
inc edx
dec dword [ebp + 0x10]
jne 0x454fb0
pop edi
pop esi
not eax
pop ebp
ret
Function at 0x4588be
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 0x24]
mov ecx, dword [esi + 0x64]
mov eax, dword [esi + 0x34]
mov edx, dword [esi + 0x6c]
sub eax, ecx
sub eax, edx
mov dword [ebp + 8], eax
jne 0x4588e8
test ecx, ecx
jne 0x4588f2
test edx, edx
jne 0x4588f2
mov eax, edi
jmp 0x45895e
cmp eax, 0xffffffff
jne 0x4588f2
push 0xfffffffffffffffe
pop eax
jmp 0x45895e
mov edx, dword [esi + 0x24]
lea edx, [edi + edx - 0x106]
cmp ecx, edx
jb 0x45895e
mov eax, dword [esi + 0x30]
push edi
lea ecx, [eax + edi]
push ecx
push eax
call fcn.0043cae0
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x3c]
sub dword [esi + 0x68], edi
sub dword [esi + 0x64], edi
add esp, 0xc
sub dword [esi + 0x54], edi
lea eax, [eax + ecx*2]
dec eax
dec eax
movzx edx, word [eax]
mov ebx, edx
sub ebx, edi
cmp edx, edi
sbb edx, edx
not edx
and edx, ebx
dec ecx
mov word [eax], dx
jne 0x458923
mov eax, dword [esi + 0x38]
mov edx, edi
lea eax, [eax + edi*2]
dec eax
dec eax
movzx ecx, word [eax]
mov ebx, ecx
sub ebx, edi
cmp ecx, edi
sbb ecx, ecx
not ecx
and ecx, ebx
dec edx
mov word [eax], cx
jne 0x458942
mov eax, dword [ebp + 8]
add eax, edi
mov ecx, dword [esi]
cmp dword [ecx + 4], 0
je 0x4589b9
push eax
mov eax, dword [esi + 0x6c]
add eax, dword [esi + 0x64]
add eax, dword [esi + 0x30]
push eax
push ecx
call fcn.004589be
add dword [esi + 0x6c], eax
mov ebx, dword [esi + 0x6c]
add esp, 0xc
cmp ebx, 3
jb 0x4589a5
mov eax, dword [esi + 0x64]
mov ecx, dword [esi + 0x30]
lea edx, [eax + ecx]
mov ecx, dword [esi + 0x50]
movzx eax, byte [edx]
mov dword [esi + 0x40], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x4c]
mov dword [esi + 0x40], eax
cmp ebx, 0x106
jae 0x4589b9
mov eax, dword [esi]
cmp dword [eax + 4], 0
jne 0x4588ca
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x45fdf0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
xor edx, edx
cmp ecx, edx
je 0x45fe90
push ebx
push ebp
push esi
mov esi, dword [ecx]
push edi
xor eax, eax
mov byte [esi + 0x16], dl
mov esi, dword [ecx]
mov byte [esi + 0x17], dl
mov esi, dword [ecx]
mov byte [esi + 0x18], dl
mov esi, dword [ecx]
mov byte [esi + 0x19], dl
mov edi, dword [ecx + 4]
xor esi, esi
cmp edi, edx
jle 0x45fe42
mov ebp, dword [ecx]
xor edx, edx
mov ebx, eax
mov dl, byte [esi + ebp]
shr ebx, 0x18
xor edx, ebx
shl eax, 8
mov edx, dword [edx*4 + 0x4987c4]
xor eax, edx
inc esi
cmp esi, edi
jl 0x45fe23
xor edx, edx
mov edi, dword [ecx + 0xc]
xor esi, esi
cmp edi, edx
jle 0x45fe6b
mov ebp, dword [ecx + 8]
xor edx, edx
mov ebx, eax
mov dl, byte [esi + ebp]
shr ebx, 0x18
xor edx, ebx
shl eax, 8
mov edx, dword [edx*4 + 0x4987c4]
xor eax, edx
inc esi
cmp esi, edi
jl 0x45fe4e
mov edx, dword [ecx]
pop edi
mov byte [edx + 0x16], al
mov esi, dword [ecx]
mov edx, eax
shr edx, 8
mov byte [esi + 0x17], dl
mov esi, dword [ecx]
mov edx, eax
shr edx, 0x10
mov byte [esi + 0x18], dl
mov ecx, dword [ecx]
shr eax, 0x18
pop esi
pop ebp
mov byte [ecx + 0x19], al
pop ebx
ret
Function at 0x42eda0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0xd1ad88]
xor edx, edx
cmp eax, edx
jne 0x42edc6
xor eax, eax
mov byte [eax + 0xd1ac88], al
inc eax
cmp eax, 0x100
jl 0x42edae
mov dword [0xd1ad88], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0xd1ac88
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x42ee57
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x42ee2a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x42edf8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x42eed0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x42ef23
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x42ef0a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x435960
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x435af8
cmp ebp, ebx
jle 0x435af8
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x4359be
dec eax
or eax, 0xfffffff8
inc eax
je 0x4359c5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, 0x80000001
jns 0x4359d4
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x4359db
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.00472d41
add esp, 4
cmp eax, ebx
je 0x4359fc
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.00472d41
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x435aee
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x435ad5
mov al, byte [edx]
cmp al, 0xc0
jbe 0x435ac1
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x435ab6
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x435ac4
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x435ac4
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x435a60
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x435a51
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x43d0f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x480598
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x6c]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x74]
push edi
push eax
mov eax, dword [esp + 0x74]
push ecx
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, esi
call fcn.0043dc70
lea edx, [esp + 0x18]
push eax
push edx
call dword [0x48245c]
mov eax, dword [esp + 0x18]
xor edi, edi
xor ecx, ecx
cmp eax, edi
setl cl
dec ecx
xor edx, edx
and ecx, eax
mov eax, dword [esp + 0x1c]
cmp eax, edi
mov dword [esp + 0x18], ecx
setl dl
dec edx
and edx, eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x20], edx
call dword [0x4824d4]
test eax, eax
je 0x43d199
mov eax, dword [esp + 0x6c]
push ebx
mov ebx, eax
xor ecx, ecx
xor edx, edx
xor esi, esi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.0043cd80
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
push ecx
push eax
lea eax, [esp + 0x20]
push eax
call dword [0x4824a0]
push edi
lea ecx, [esp + 0x4c]
call fcn.0047999f
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], edi
call fcn.0044c630
mov edx, dword [esp + 0x5c]
add esp, 0xc
lea ecx, [esp + 0x18]
push 2
push ecx
push edx
call dword [0x482084]
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x38]
push eax
push ecx
call dword [0x4824fc]
lea edx, [esp + 0x38]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
call dword [0x482490]
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, esi
mov dword [esp + 0x64], 0xffffffff
mov dword [edx], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x48]
call fcn.00479a11
mov ecx, dword [esp + 0x5c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14
Function at 0x43d6d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4805c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
push edi
mov esi, ecx
call fcn.0043b2d0
mov ebx, eax
test ebx, ebx
mov dword [esp + 0xc], ebx
jne 0x43d729
mov eax, dword [esp + 0x68]
xor ecx, ecx
mov ebx, eax
xor edx, edx
xor esi, esi
xor edi, edi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
push ebp
mov ecx, ebx
call fcn.00438700
mov ebp, dword [esp + 0x70]
mov edi, eax
add edi, ebp
mov ecx, ebx
mov dword [esp + 0x28], edi
call fcn.004386f0
mov edx, dword [esp + 0x74]
mov ecx, esi
add eax, edx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
call fcn.0043cd80
mov ebp, dword [eax]
lea edx, [esp + 0x38]
push edx
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x1c]
push eax
mov dword [esp + 0x24], ecx
call dword [0x4824fc]
push 0
lea ecx, [esp + 0x4c]
call fcn.0047999f
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], 0
call fcn.0044c630
add esp, 0xc
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x18]
call fcn.0043ad30
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x38]
push 2
push edx
push eax
mov byte [esp + 0x70], 1
call dword [0x482088]
mov ecx, ebx
call fcn.00438670
mov ebx, eax
mov eax, edi
cmp eax, ebx
jge 0x43d7f4
push edi
mov ecx, esi
call fcn.0043ae40
push eax
push ebp
mov ecx, esi
call fcn.0043b000
cmp eax, dword [esp + 0x40]
jg 0x43d7f0
inc edi
mov ebp, eax
cmp edi, ebx
jl 0x43d7ce
mov eax, ebx
jmp 0x43d7fa
cmp edi, ebx
jl 0x43d7f8
mov eax, ebx
jmp 0x43d7fa
mov eax, edi
lea ecx, [eax - 1]
mov eax, dword [esp + 0x28]
cmp eax, ecx
jle 0x43d80b
mov dword [esp + 0x30], eax
jmp 0x43d816
cmp edi, ebx
jl 0x43d811
mov edi, ebx
dec edi
mov dword [esp + 0x30], edi
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
call fcn.00438630
mov ebp, eax
mov eax, dword [esp + 0x2c]
cmp eax, ebp
mov edi, eax
jge 0x43d85d
push edi
mov ecx, esi
call fcn.0043ad60
push eax
push ebx
mov ecx, esi
call fcn.0043b130
cmp eax, dword [esp + 0x44]
jg 0x43d855
inc edi
mov ebx, eax
cmp edi, ebp
jl 0x43d82f
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x43d867
cmp edi, ebp
jl 0x43d861
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x43d867
mov eax, dword [esp + 0x2c]
mov ecx, edi
dec ecx
cmp eax, ecx
jle 0x43d870
mov ecx, eax
jmp 0x43d879
cmp edi, ebp
jl 0x43d876
mov edi, ebp
lea ecx, [edi - 1]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x28]
mov edx, esi
mov dword [edx], edi
mov dword [edx + 4], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x14]
call fcn.0043ad50
lea ecx, [esp + 0x48]
mov dword [esp + 0x64], 0xffffffff
call fcn.00479a11
mov ecx, dword [esp + 0x5c]
pop ebp
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc