joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10080380
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x1073a964]
xor edx, edx
cmp eax, edx
jne 0x100803a6
xor eax, eax
mov byte [eax + 0x1073a864], al
inc eax
cmp eax, 0x100
jl 0x1008038e
mov dword [0x1073a964], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x1073a864
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x10080437
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 0x1008040a
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 0x100803d8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x10080440
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 0x10080493
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 0x1008047a
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 0x10086e20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100c24de
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.10087740
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x105f5c8c
call fcn.100b423a
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x10086eb3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100b423a
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x10086eac
push 0
mov ecx, eax
call fcn.1007dfb0
mov dword [esi + 0xc], eax
jmp 0x10086eb5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x10086eb5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x100a3032
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x100a3052
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.100a20aa
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x100a3075
test byte [esp + 8], 2
je 0x100a3075
call fcn.100a211d
mov dword [eax], 0xd
call fcn.100a2126
mov dword [eax], 5
jmp 0x100a304e
xor eax, eax
ret

Function at 0x100b6883
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x100b68bb
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.100b4954
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.100b492c
jmp 0x100b68c7
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x100b7f78
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x100b7fba
call fcn.100bd910
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x100b7fba
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x100b7fb1
xor eax, eax
jmp 0x100b7fc2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.100b7fc8
pop edi
pop esi
pop ebx
ret 4
Function at 0x401293
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
leave
jmp fcn.00401602

Function at 0x40129c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov esi, dword [ebp - 4]
jmp 0x4012d0
push dword [esi + 0x30]
push dword [ebp + 8]
call fcn.004013a6
pop ecx
pop ecx
test eax, eax
je 0x4012e1
mov esi, edi
mov dword [ebp - 4], esi
mov edi, dword [esi]
cmp edi, dword [ebp - 8]
jne 0x4012ba
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x18]
jmp 0x4012d9

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
jle 0x401350
mov eax, dword [esi + 0x3c]
mov ecx, dword [ebp + 0xc]
mov edi, dword [eax + esi + 0x78]
add edi, esi
cmp ecx, 0x10000
jge 0x40131e
movzx ecx, cx
cmp ecx, dword [edi + 0x10]
jb 0x401350
mov eax, dword [edi + 0x14]
add eax, dword [edi + 0x10]
cmp ecx, eax
jae 0x401350
sub ecx, dword [edi + 0x10]
jmp 0x401363
xor ebx, ebx
cmp dword [edi + 0x18], ebx
jbe 0x401350
mov eax, dword [edi + 0x20]
add eax, esi
mov dword [ebp + 8], eax
mov eax, dword [eax]
add eax, esi
push eax
push ecx
call fcn.00401370
pop ecx
pop ecx
test eax, eax
je 0x401359
mov eax, dword [ebp + 8]
inc ebx
mov ecx, dword [ebp + 0xc]
add eax, 4
mov dword [ebp + 8], eax
cmp ebx, dword [edi + 0x18]
jb 0x40132d
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov eax, dword [edi + 0x24]
lea eax, [eax + ebx*2]
movzx ecx, word [eax + esi]
mov eax, dword [edi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + esi]
add eax, esi
jmp 0x401352
Function at 0x4018b3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
leave
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
jle 0x401971
mov eax, dword [ebx + 0x3c]
mov ecx, dword [ebp + 0xc]
mov esi, dword [eax + ebx + 0x78]
add esi, ebx
mov dword [ebp - 0x10], esi
cmp ecx, 0x10000
jge 0x40190f
mov edx, dword [esi + 0x10]
movzx ecx, cx
cmp ecx, edx
jb 0x401971
mov eax, dword [esi + 0x14]
add eax, edx
cmp ecx, eax
jae 0x401971
mov eax, dword [esi + 0x1c]
sub ecx, edx
pop edi
pop esi
lea eax, [eax + ecx*4]
mov eax, dword [eax + ebx]
add eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi + 0x18]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], eax
test eax, eax
je 0x401971
mov eax, dword [esi + 0x20]
mov cl, byte [ecx]
add eax, ebx
mov byte [ebp + 0xb], cl
mov dword [ebp - 8], eax
mov esi, dword [eax]
xor edx, edx
add esi, ebx
cmp cl, byte [esi]
jne 0x40194d
mov eax, dword [ebp + 0xc]
mov edi, esi
sub edi, eax
test cl, cl
je 0x40194a
mov cl, byte [eax + 1]
inc eax
inc edx
cmp cl, byte [edi + eax]
je 0x40193c
mov edi, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
movsx ecx, byte [edx + esi]
movsx eax, byte [edx + eax]
sub ecx, eax
je 0x40197c
mov eax, dword [ebp - 8]
inc edi
mov cl, byte [ebp + 0xb]
add eax, 4
mov dword [ebp - 4], edi
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 0xc]
jb 0x40192b
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + ebx]
mov eax, dword [edx + 0x1c]
pop edi
pop esi
lea eax, [eax + ecx*4]
mov eax, dword [eax + ebx]
add eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4062f5
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0xc]
add edi, 0x14
mov esi, dword [edi]
jmp 0x406327
push dword [ebp + 8]
push dword [esi + 0x28]
call fcn.004064b7
pop ecx
pop ecx
test eax, eax
je 0x406335
mov esi, dword [esi]
cmp esi, edi
jne 0x406314
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x10]
jmp 0x40632d
Function at 0x40633a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x3c]
mov esi, dword [eax + edi + 0x78]
add esi, edi
mov ecx, dword [esi + 0x1c]
add ecx, edi
mov dword [ebp - 4], ecx
cmp ebx, 0x10000
jae 0x406377
cmp ebx, dword [esi + 0x10]
jb 0x4063af
mov eax, dword [esi + 0x14]
add eax, dword [esi + 0x10]
cmp ebx, eax
jae 0x4063af
sub ebx, dword [esi + 0x10]
mov eax, dword [ecx + ebx*4]
jmp 0x4063cd
xor ecx, ecx
mov dword [ebp + 8], ecx
cmp dword [esi + 0x18], ecx
jbe 0x4063af
mov ecx, dword [esi + 0x20]
add ecx, edi
mov dword [ebp + 0xc], ecx
mov eax, dword [ecx]
add eax, edi
push eax
push ebx
call fcn.00406481
pop ecx
pop ecx
test eax, eax
je 0x4063ba
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
inc eax
add ecx, 4
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], ecx
cmp eax, dword [esi + 0x18]
jb 0x406389
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0x24]
lea eax, [eax + ecx*2]
mov ecx, dword [ebp - 4]
movzx eax, word [eax + edi]
mov eax, dword [ecx + eax*4]
add eax, edi
jmp 0x4063b1

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

Disassembly:
push ebp
mov ebp, esp
leave
push ebp
mov ebp, esp
sub esp, 0x14
mov edx, dword [ebp + 8]
push ebx
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edx + 0x3c]
mov eax, dword [eax + edx + 0x78]
add eax, edx
mov dword [ebp - 0x10], eax
mov ebx, dword [eax + 0x1c]
add ebx, edx
mov dword [ebp - 0x14], ebx
cmp edi, 0x10000
jae 0x40688c
mov ecx, dword [eax + 0x10]
cmp edi, ecx
jb 0x406882
mov eax, dword [eax + 0x14]
add eax, ecx
cmp edi, eax
jae 0x406882
sub edi, ecx
mov eax, dword [ebx + edi*4]
pop edi
add eax, edx
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [eax + 0x18]
push esi
xor esi, esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], esi
test ecx, ecx
je 0x4068ed
mov eax, dword [eax + 0x20]
mov cl, byte [edi]
add eax, edx
mov dword [ebp - 8], eax
nop dword [eax]
mov ebx, dword [eax]
add ebx, edx
xor edx, edx
test cl, cl
je 0x4068ca
mov esi, ebx
mov eax, edi
sub esi, edi
cmp cl, byte [esi + eax]
jne 0x4068c7
mov cl, byte [eax + 1]
inc eax
inc edx
test cl, cl
jne 0x4068b9
mov esi, dword [ebp - 4]
movsx ecx, byte [edx + ebx]
movsx eax, byte [edx + edi]
sub ecx, eax
je 0x4068f8
mov eax, dword [ebp - 8]
inc esi
mov edx, dword [ebp + 8]
add eax, 4
mov cl, byte [edi]
mov dword [ebp - 4], esi
mov dword [ebp - 8], eax
cmp esi, dword [ebp - 0xc]
jb 0x4068a9
pop esi
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
mov eax, dword [eax + 0x24]
lea eax, [eax + esi*2]
movzx eax, word [eax + ecx]
pop esi
pop edi
pop ebx
mov eax, dword [edx + eax*4]
add eax, ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x412b6f
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0xc]
add edi, 0x14
mov esi, dword [edi]
jmp 0x412ba1
push dword [ebp + 8]
push dword [esi + 0x28]
call fcn.00412d31
pop ecx
pop ecx
test eax, eax
je 0x412baf
mov esi, dword [esi]
cmp esi, edi
jne 0x412b8e
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x10]
jmp 0x412ba7

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x3c]
mov esi, dword [eax + edi + 0x78]
add esi, edi
mov ecx, dword [esi + 0x1c]
add ecx, edi
mov dword [ebp - 4], ecx
cmp ebx, 0x10000
jae 0x412bf1
cmp ebx, dword [esi + 0x10]
jb 0x412c29
mov eax, dword [esi + 0x14]
add eax, dword [esi + 0x10]
cmp ebx, eax
jae 0x412c29
sub ebx, dword [esi + 0x10]
mov eax, dword [ecx + ebx*4]
jmp 0x412c47
xor ecx, ecx
mov dword [ebp + 8], ecx
cmp dword [esi + 0x18], ecx
jbe 0x412c29
mov ecx, dword [esi + 0x20]
add ecx, edi
mov dword [ebp + 0xc], ecx
mov eax, dword [ecx]
add eax, edi
push eax
push ebx
call fcn.00412cfb
pop ecx
pop ecx
test eax, eax
je 0x412c34
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
inc eax
add ecx, 4
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], ecx
cmp eax, dword [esi + 0x18]
jb 0x412c03
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0x24]
lea eax, [eax + ecx*2]
mov ecx, dword [ebp - 4]
movzx eax, word [eax + edi]
mov eax, dword [ecx + eax*4]
add eax, edi
jmp 0x412c2b
Function at 0x4130af
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
leave
push ebp
mov ebp, esp
sub esp, 0x14
mov edx, dword [ebp + 8]
push ebx
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edx + 0x3c]
mov eax, dword [eax + edx + 0x78]
add eax, edx
mov dword [ebp - 0x10], eax
mov ebx, dword [eax + 0x1c]
add ebx, edx
mov dword [ebp - 0x14], ebx
cmp edi, 0x10000
jae 0x413106
mov ecx, dword [eax + 0x10]
cmp edi, ecx
jb 0x4130fc
mov eax, dword [eax + 0x14]
add eax, ecx
cmp edi, eax
jae 0x4130fc
sub edi, ecx
mov eax, dword [ebx + edi*4]
pop edi
add eax, edx
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [eax + 0x18]
push esi
xor esi, esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], esi
test ecx, ecx
je 0x413167
mov eax, dword [eax + 0x20]
mov cl, byte [edi]
add eax, edx
mov dword [ebp - 8], eax
nop dword [eax]
mov ebx, dword [eax]
add ebx, edx
xor edx, edx
test cl, cl
je 0x413144
mov esi, ebx
mov eax, edi
sub esi, edi
cmp cl, byte [esi + eax]
jne 0x413141
mov cl, byte [eax + 1]
inc eax
inc edx
test cl, cl
jne 0x413133
mov esi, dword [ebp - 4]
movsx ecx, byte [edx + ebx]
movsx eax, byte [edx + edi]
sub ecx, eax
je 0x413172
mov eax, dword [ebp - 8]
inc esi
mov edx, dword [ebp + 8]
add eax, 4
mov cl, byte [edi]
mov dword [ebp - 4], esi
mov dword [ebp - 8], eax
cmp esi, dword [ebp - 0xc]
jb 0x413123
pop esi
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
mov eax, dword [eax + 0x24]
lea eax, [eax + esi*2]
movzx eax, word [eax + ecx]
pop esi
pop edi
pop ebx
mov eax, dword [edx + eax*4]
add eax, ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x43aa90
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x537f40]
xor edx, edx
cmp eax, edx
jne 0x43aab6
xor eax, eax
mov byte [eax + 0x537e40], al
inc eax
cmp eax, 0x100
jl 0x43aa9e
mov dword [0x537f40], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x537e40
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x43ab47
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 0x43ab1a
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 0x43aae8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x43abc0
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 0x43ac13
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 0x43abfa
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 0x43ee50
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 0x43f071
cmp eax, 8
jg 0x43f071
cmp dword [esp + 0x8c], 2
jl 0x43f071
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 0x43f071
sub ebx, edi
test ebx, ebx
mov dword [esp + 0x20], ebx
jle 0x43f071
mov eax, dword [esp + 0x80]
test eax, eax
je 0x43eed7
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 0x43f05a
mov ebp, dword [0x4c45c8]
mov eax, ebx
mov dword [esp + 0x10], 0x32
sub eax, edx
cmp eax, 0x32
jg 0x43ef09
mov dword [esp + 0x10], eax
xor eax, eax
test ecx, ecx
jle 0x43f041
mov ebx, dword [esp + 0x10]
add ebx, edx
mov dword [esp + 0x20], ebx
sub ecx, eax
cmp ecx, 0x32
jle 0x43ef29
mov ecx, 0x32
lea ebx, [ecx + eax]
mov ecx, dword [esp + 0x20]
push ecx
push ebx
push edx
lea edx, [esp + 0x34]
push eax
push edx
call dword [0x4c45b4]
push edi
lea eax, [esp + 0x2c]
push esi
push eax
call ebp
mov eax, dword [esp + 0x84]
test eax, eax
je 0x43ef68
lea ecx, [esp + 0x48]
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
call dword [0x4c45bc]
lea ecx, [esp + 0x28]
push ecx
call dword [0x4c4600]
test eax, eax
jne 0x43f028
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x40], ecx
mov eax, edi
mov ecx, esi
mov dword [esp + 0x44], edx
neg eax
neg ecx
push eax
lea edx, [esp + 0x3c]
push ecx
push edx
call ebp
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x60], edx
lea edx, [esp + 0x58]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x94]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x94]
sub ecx, edi
sub eax, esi
push edx
push ecx
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x9c]
push eax
call fcn.0043e460
cmp eax, 1
jne 0x43f052
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x80]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x28]
call fcn.0043ed10
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x14]
mov eax, ebx
cmp eax, ecx
jl 0x43ef1d
mov ebx, dword [esp + 0x24]
add edx, dword [esp + 0x10]
cmp edx, ebx
mov dword [esp + 0x14], edx
jge 0x43f05a
jmp 0x43eef4
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x18]
call fcn.0043e060
mov eax, dword [esp + 0x1c]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x68
ret 0x1c
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x68
ret 0x1c
Function at 0x441910
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 0x441aa8
cmp ebp, ebx
jle 0x441aa8
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 0x44196e
dec eax
or eax, 0xfffffff8
inc eax
je 0x441975
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x441984
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x44198b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.004b4467
add esp, 4
cmp eax, ebx
je 0x4419ac
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.004b4467
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 0x441a9e
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 0x441a85
mov al, byte [edx]
cmp al, 0xc0
jbe 0x441a71
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x441a66
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 0x441a74
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x441a74
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x441a10
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 0x441a01
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 0x444a40
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4c10f8
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
push edi
mov edi, dword [esp + 0x44]
mov esi, ecx
test edi, edi
jne 0x444a79
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24
push 0x400
lea ecx, [esp + 0xc]
call fcn.004bbe3f
mov eax, dword [esp + 0x40]
push 0
push edi
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0
call fcn.004bbe8b
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.00444b00
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.004bbec8
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24