joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416120
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x41d658
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, ecx
push 0x2e
mov ecx, dword [edi + 8]
add ecx, 0x4c
call sub.MFC42.DLL_CString::ReverseFind
mov ecx, dword [edi + 8]
push eax
lea eax, [esp + 0x1c]
add ecx, 0x4c
push eax
call sub.MFC42.DLL_CString::Mid_1
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x10]
xor ebx, ebx
push ecx
push 0x20019
push ebx
push edx
push bind
mov dword [esp + 0x40], ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41623a
mov ecx, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ebx
push eax
push ebx
push ebx
push ebx
push str.Content_Type
push ecx
call esi
test eax, eax
jne 0x41622f
lea ecx, [esp + 0xc]
call fcn.0041b5bc
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x14]
push edx
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 1
call sub.MFC42.DLL_CString::GetBuffer
mov ecx, dword [esp + 0x14]
push eax
push ebx
push ebx
push str.Content_Type
push ecx
call esi
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
mov esi, eax
call sub.MFC42.DLL_CString::ReleaseBuffer
cmp esi, ebx
jne 0x416222
push ecx
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x34], 2
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x424554
call sub.MFC42.DLL_CString::CString_1
mov ecx, edi
mov byte [esp + 0x34], 1
call fcn.00414c90
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], bl
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x24]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret
Function at 0x416340
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x41d6e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor esi, esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], esi
call fcn.0041b5bc
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], esi
call fcn.0041b5bc
mov eax, dword [esp + 0x30]
mov ebx, 1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], bl
call sub.MFC42.DLL_CString::LoadStringA
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 8], esi
je 0x4164ef
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov edx, dword [edi + 8]
lea ecx, [esp + 0x14]
add edx, 0x4c
push edx
call sub.MFC42.DLL_CString::operator
push 0xa
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
mov esi, eax
cmp esi, 0xffffffff
jne 0x4163e3
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.00413070
add esp, 8
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Empty
jmp 0x41643e
lea edx, [esp + 0x30]
push esi
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
push eax
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x30], 2
call fcn.00413070
add esp, 8
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::CString
inc esi
lea ecx, [esp + 0x1c]
push esi
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 3
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x14]
push edx
call ebp
cmp eax, 0xffffffff
je 0x41644e
test al, 0x10
je 0x416462
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4163a4
jmp 0x4164ef
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], ebx
push ecx
mov ecx, edi
call fcn.00414780
mov eax, dword [esp + 0x34]
test eax, eax
je 0x416485
push 0x3f
lea ecx, [esp + 0x18]
call fcn.0041b994
push 0x12e
mov ecx, edi
call fcn.00414ba0
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x30], 4
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0x424574
call sub.MFC42.DLL_CString::CString_1
mov ecx, edi
mov byte [esp + 0x30], bl
call fcn.00414c90
push 0x42444c
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x30]
mov ecx, edi
push eax
mov byte [esp + 0x2c], 5
call fcn.00414980
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret 8
Function at 0x416738
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41d761
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 ebp, [esi + 0xc]
mov ecx, ebp
call sub.MFC42.DLL_CByteArray::CByteArray
xor ebx, ebx
lea ecx, [esi + 0x24]
mov dword [esp + 0x1c], ebx
call fcn.0041b5bc
lea ecx, [esi + 0x2c]
mov byte [esp + 0x1c], 1
call fcn.0041b5bc
mov ecx, 8
xor eax, eax
lea edi, [esi + 0x3ec]
mov dword [esi], 0x41f080
mov dword [esi + 0x3e8], 0xffffffff
push 0xffffffffffffffff
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
push 0x1000
mov ecx, ebp
mov byte [esp + 0x24], 2
mov dword [esi + 0x414], ebx
mov dword [esi + 0x418], ebx
mov word [esi + 0x40e], bx
mov dword [esi + 0x41c], ebx
mov dword [esi + 0x28], ebx
call sub.MFC42.DLL_CByteArray::SetSize
push 0x4247e8
lea ecx, [esi + 0x2c]
mov dword [esi + 0x20], ebx
mov dword [esi + 8], ebx
call sub.MFC42.DLL_CString::operator_1
mov ecx, 0x10
xor eax, eax
lea edi, [esi + 0x30]
mov byte [esi + 4], 1
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov ecx, 0x20
xor eax, eax
lea edi, [esi + 0x71]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea ecx, [esi + 0xf2]
xor eax, eax
lea edi, [esi + 0xfd]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov word [ecx + 8], ax
mov byte [ecx + 0xa], al
mov ecx, 0x20
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esi + 0x17d]
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esi + 0x27d]
rep stosd dword es:[edi], eax
mov ecx, 8
lea edi, [esi + 0x390]
mov dword [esi + 0x380], ebx
mov dword [esi + 0x384], ebx
mov dword [esi + 0x388], ebx
mov dword [esi + 0x38c], ebx
rep stosd dword es:[edi], eax
mov dword [esi + 0x3b0], ebx
mov dword [esi + 0x3bc], ebx
mov byte [esi + 0x3c0], bl
mov dword [esi + 0x3c4], ebx
mov dword [esi + 0x3c8], ebx
mov dword [esi + 0x3cc], ebx
mov dword [esi + 0x3d0], ebx
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x3d4], ebx
mov dword [esi + 0x3d8], ebx
mov dword [esi + 0x3dc], ebx
mov dword [esi + 0x3e0], ebx
mov dword [esi + 0x3e4], ebx
mov dword [esi + 0x3b4], ebx
mov dword [esi + 0x3b8], ebx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x41af50
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], 1
mov eax, dword [esi + 4]
test eax, eax
jl 0x41af68
call fcn.0041afa0
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 4], eax
pop esi
test eax, eax
jge 0x41af80
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 1
push 6
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
neg eax
sbb eax, eax
neg eax
dec eax
pop ecx
ret

Function at 0x41aff0
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x10
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
test eax, eax
jge 0x41b008
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 8
mov esi, dword [esp + 0x20]
xor eax, eax
mov dword [esp + 8], eax
mov word [esp + 8], 2
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
test esi, esi
mov dword [esp + 0x14], eax
jne 0x41b02f
mov dword [esp + 0xc], esi
jmp 0x41b061
push esi
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x41b061
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x41affe
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
test eax, eax
jne 0x41b05b
pop edi
pop esi
add esp, 0x10
ret 8
mov edx, dword [eax]
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [edi + 4]
lea ecx, [esp + 8]
push 0x10
push ecx
push edx
mov word [esp + 0x16], ax
call dword [sym.imp.WS2_32.dll_bind]
xor ecx, ecx
pop edi
test eax, eax
setl cl
dec ecx
pop esi
mov eax, ecx
add esp, 0x10
ret 8

Function at 0x41b0a0
Capabilities:
Connect socket
Resolve dns

Disassembly:
sub esp, 0x10
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
test eax, eax
jge 0x41b0b8
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 8
mov esi, dword [esp + 0x1c]
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 dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x41b107
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x41b0ae
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
test eax, eax
jne 0x41b101
pop edi
pop esi
add esp, 0x10
ret 8
mov edx, dword [eax]
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [edi + 4]
lea ecx, [esp + 8]
push 0x10
push ecx
push edx
mov word [esp + 0x16], ax
call dword [sym.imp.WS2_32.dll_connect]
neg eax
sbb eax, eax
pop edi
neg eax
dec eax
pop esi
add esp, 0x10
ret 8
Function at 0x41b170
Capabilities:
Set socket configuration

Disassembly:
push ecx
mov eax, dword [ecx + 4]
push edi
test eax, eax
mov dword [esp + 4], 1
jge 0x41b186
xor eax, eax
pop edi
pop ecx
ret
push 0
push 0
push eax
call dword [sym.imp.WS2_32.dll_accept]
mov edi, eax
test edi, edi
jge 0x41b19c
xor eax, eax
pop edi
pop ecx
ret
push esi
push 0x260
call sub.MFC42.DLL_operatornew
add esp, 4
test eax, eax
je 0x41b1c0
mov ecx, eax
call fcn.0041aed0
mov esi, eax
test esi, esi
je 0x41b1c2
mov dword [esi + 4], edi
jmp 0x41b1d2
xor esi, esi
push 2
push edi
call dword [sym.imp.WS2_32.dll_shutdown]
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [esi + 4]
lea eax, [esp + 8]
push 4
push eax
push 1
push 6
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov eax, esi
pop esi
pop edi
pop ecx
ret

Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret
Function at 0x4225b0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x56b8e8]
xor edx, edx
cmp eax, edx
jne 0x4225d6
xor eax, eax
mov byte [eax + 0x56b7e8], al
inc eax
cmp eax, 0x100
jl 0x4225be
mov dword [0x56b8e8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x56b7e8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x422667
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 0x42263a
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 0x422608
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4226e0
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 0x422733
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 0x42271a
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 0x4251d0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x56b8e8]
xor edx, edx
cmp eax, edx
jne 0x4251f6
xor eax, eax
mov byte [eax + 0x56b7e8], al
inc eax
cmp eax, 0x100
jl 0x4251de
mov dword [0x56b8e8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x56b7e8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x425287
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 0x42525a
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 0x425228
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x425300
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 0x425353
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 0x42533a
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 0x42c210
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x68
mov eax, dword [esp + 0x78]
push ebx
push esi
cmp eax, 1
push edi
mov dword [esp + 0x14], ecx
jl 0x42c431
cmp eax, 8
jg 0x42c431
cmp dword [esp + 0x8c], 2
jl 0x42c431
mov eax, dword [esp + 0x7c]
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov ecx, dword [eax + 8]
mov dword [esp + 0x6c], ecx
sub ecx, esi
mov ebx, dword [eax + 0xc]
mov dword [esp + 0x7c], ecx
test ecx, ecx
mov dword [esp + 0x70], ebx
jle 0x42c431
sub ebx, edi
test ebx, ebx
mov dword [esp + 0x20], ebx
jle 0x42c431
mov eax, dword [esp + 0x80]
test eax, eax
je 0x42c297
mov edx, dword [eax]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x4c], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x50], eax
xor edx, edx
push ebp
test ebx, ebx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x14], edx
jle 0x42c41a
mov ebp, dword [0x46f434]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x68
ret 0x1c

Function at 0x42c300
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea eax, [esp + 0x2c]
push esi
push eax
call ebp
mov eax, dword [esp + 0x84]
test eax, eax
je 0x42c328
lea ecx, [esp + 0x48]
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x2c]
Function at 0x42e9b0
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 0x42eb48
cmp ebp, ebx
jle 0x42eb48
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 0x42ea0e
dec eax
or eax, 0xfffffff8
inc eax
je 0x42ea15
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, 0x80000001
jns 0x42ea24
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x42ea2b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.00465572
add esp, 4
cmp eax, ebx
je 0x42ea4c
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.00465572
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 0x42eb3e
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 0x42eb25
mov al, byte [edx]
cmp al, 0xc0
jbe 0x42eb11
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x42eb06
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 0x42eb14
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x42eb14
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x42eab0
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 0x42eaa1
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 0x430300
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, 0x2aaaaaab
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x10], edi
mov ebx, dword [edi + 8]
mov ecx, dword [edi + 0xc]
sub ecx, ebx
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, ebp
jae 0x430466
add byte [eax], al
mov esi, dword [edi + 4]
test esi, esi
je 0x430324
mov ecx, ebx
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp ebp, edx
mov ecx, edx
jb 0x430326
mov ecx, ebp
test esi, esi
jne 0x43032e
xor edx, edx
jmp 0x430341
sub ebx, esi
mov eax, 0x2aaaaaab
imul ebx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [edx + ecx]
test eax, eax
mov dword [esp + 0x20], eax
jge 0x43034e
xor eax, eax
lea ecx, [eax + eax*2]
shl ecx, 3
push ecx
call fcn.00465572
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov edx, eax
mov eax, dword [edi + 4]
add esp, 4
cmp eax, ebx
je 0x43038b
test edx, edx
je 0x430381
mov ecx, 6
mov esi, eax
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x10]
add eax, 0x18
add edx, 0x18
cmp eax, ebx
jne 0x43036e
test ebp, ebp
mov eax, edx
jbe 0x4303ae
mov ebx, ebp
test eax, eax
je 0x4303a8
mov esi, dword [esp + 0x24]
mov ecx, 6
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x10]
add eax, 0x18
dec ebx
jne 0x430393
mov esi, dword [edi + 8]
mov eax, dword [esp + 0x1c]
lea ecx, [ebp + ebp*2]
mov dword [esp + 0x24], esi
shl ecx, 3
cmp eax, esi
lea ebx, [ecx + edx]
je 0x4303f4
mov eax, ebx
sub eax, ecx
mov ecx, dword [esp + 0x1c]
sub eax, edx
add eax, ecx
test ebx, ebx
je 0x4303ea
mov ecx, 6
mov esi, eax
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x24]
add eax, 0x18
add ebx, 0x18
cmp eax, esi
jne 0x4303d3
mov eax, dword [edi + 4]
push eax
mov dword [esp + 0x20], eax
call fcn.0046559b
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x18]
add esp, 4
lea edx, [eax + eax*2]
lea eax, [esi + edx*8]
mov dword [edi + 0xc], eax
mov eax, dword [edi + 4]
test eax, eax
jne 0x430437
xor edx, edx
mov dword [edi + 4], esi
add ebp, edx
lea edx, [ebp + ebp*2]
lea eax, [esi + edx*8]
mov dword [edi + 8], eax
pop edi
pop esi
pop ebp
les ebx, [edx + eax*8]
adc byte [eax], al
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
add byte [edx], al