joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10039c9a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x10055b68]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x10039ce0
cmp word [ebx], dx
jne 0x10039ce0
or byte [eax + edi + 0x28], 4
jmp 0x10039ce5
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x10039e48
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x10039e28
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x10039d26
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x10039d5c
cmp eax, edx
jae 0x10039d6a
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x10039d01
jmp 0x10039e48
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10039e23
cmp dword [ebp - 0x18], 0
je 0x10039e23
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x10055b68]
test byte [eax + edi + 0x28], 0x48
je 0x10039df9
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x10039dbd
mov word [esi], cx
jmp 0x10039df4
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x10055b68]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x10055b68]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x10055b68]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x10039e48
pop eax
cmp word [ebp - 4], ax
jne 0x10039e09
cmp esi, ebx
jne 0x10039e09
mov word [esi], ax
jmp 0x10039e45
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.1003a6d3
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x10039e48
push 0xd
pop eax
jmp 0x10039e04
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x10055b68]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x10039e42
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x10039e48
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x1003b932
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1003b9cf
push ebx
push esi
call fcn.1003b8fb
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1003b88f
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1003b97c
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1003b9ce
push edi
push eax
call fcn.100348f6
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1003b99c
call fcn.10032ba2
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1003b9cd
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1003b88f
add esp, 0x20
test eax, eax
jne 0x1003b9bb
push edi
call fcn.10032ba2
jmp 0x1003b9c3
push ebx
call fcn.10032ba2
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1003b9d2
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x1003b9e3
pop esi
ret
push ebx
push edi
push esi
call fcn.1003b8fb
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.100348f6
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x1003ba0b
push ebx
push esi
push edi
call fcn.100250e0
add esp, 0xc
push 0
call fcn.10032ba2
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x1003bddb
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1003ba20

Function at 0x1003f957
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.10032f46
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1003f9c6
cmp esi, dword [ebp - 4]
je 0x1003f9c1
cmp dword [ebp + 0xc], 0
je 0x1003f9c1
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1003f99e
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.1003f4a9
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x1003f9c8
xor eax, eax
inc eax
jmp 0x1003f9c8
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x1003fa2d
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10054040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.10032f46
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.10032f46
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x1003faa4
cmp word [ecx], dx
je 0x1003faa4
mov eax, dword [0x1004c934]
push edi
dec eax
push eax
push 0x1004c820
call fcn.1003f9cc
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x1003fb17
cmp word [eax], dx
je 0x1003fb17
mov eax, dword [edi]
test eax, eax
je 0x1003fac8
cmp word [eax], dx
je 0x1003fac8
lea eax, [ebp - 0x10]
push eax
call fcn.1003f3af
jmp 0x1003fad1
lea eax, [ebp - 0x10]
push eax
call fcn.1003f44a
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x1003fb41
mov eax, dword [0x1004c81c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x1004c510
call fcn.1003f9cc
add esp, 0xc
test al, al
je 0x1003fb41
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x1003fb0c
cmp word [eax], di
je 0x1003fb0c
lea eax, [ebp - 0x10]
push eax
call fcn.1003f3af
pop ecx
jmp 0x1003fb43
lea eax, [ebp - 0x10]
push eax
call fcn.1003f44a
jmp 0x1003fb09
mov eax, dword [edi]
test eax, eax
je 0x1003fb2e
cmp word [eax], dx
je 0x1003fb2e
lea eax, [ebp - 0x10]
push eax
call fcn.1003f364
pop ecx
jmp 0x1003fb41
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x1003fc0c
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.1003f851
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1003fc0c
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x1003fc0c
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x1003fc0c
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1003fb99
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.10038085
test ebx, ebx
je 0x1003fc07
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.10038085
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1003fc0c
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1003fc0c
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.100437e9
add esp, 0x10
xor eax, eax
inc eax
jmp 0x1003fc0e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002294b
leave
ret
Function at 0x100429a7
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10054040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x100429ea
call fcn.1002f3c6
mov dword [eax], 0xf
call fcn.1002f3d9
mov dword [eax], 0xd
call fcn.1002888a
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002294b
leave
ret
test eax, eax
jne 0x100429f1
inc eax
jmp 0x100429de
add eax, 0x40
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
test ecx, ecx
je 0x100429dc
xor eax, eax
cmp ecx, 1
setne al
jmp 0x100429de
Function at 0x10043f41
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.10043ebd
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x100440b0
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x100440b0
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x10044065
jg 0x10043f9d
test eax, eax
je 0x1004405b
push 1
push 0x1000
call fcn.10035da3
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10043fc0
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x10044052
push 0x8000
push ebx
call fcn.10043dee
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x10043fe9
jg 0x10043fe4
cmp ecx, 0x1000
jb 0x10043fe9
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.10036e7c
add esp, 0x10
cmp eax, 0xffffffff
je 0x1004402e
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x10043fe4
jl 0x10044015
test ecx, ecx
jne 0x10043fd6
push dword [ebp - 0xc]
push ebx
call fcn.10043dee
push esi
call fcn.10032ba2
add esp, 0xc
xor ebx, ebx
jmp 0x100440be
cmp byte [edi + 0x24], 0
je 0x10044045
cmp dword [edi + 0x20], 5
jne 0x10044045
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x10044050
mov ebx, dword [edi + 0x18]
jmp 0x10044052
xor ebx, ebx
push esi
call fcn.10032ba2
pop ecx
jmp 0x100440be
test ecx, ecx
jg 0x10044027
jl 0x10044065
test eax, eax
jae 0x10044027
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1003a6d3
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x10044085
cmp byte [edi + 0x1c], 0
je 0x10044027
jmp 0x100440b6
push ebx
call fcn.100385e8
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x10044027
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x100440be
cmp byte [edi + 0x1c], 0
je 0x100440bb
mov ebx, dword [edi + 0x18]
jmp 0x100440be
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.1003a6d3
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100459a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100459cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100459cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x5971cd
Capabilities:
Encode data using xor

Disassembly:
scasd eax, dword es:[edi]
fld xword [esp + edi*4 + 0x628e47be]
in eax, dx
cmpsb byte [esi], byte es:[edi]
jno 0x5971e3
and ecx, dword [esi - 0x7d]
and esp, dword [edi + 0x17]
or eax, 0x59c435e8
xor eax, 0x78b859c4
aad 0x9b
clc
pop ecx
mov eax, 0xf89bd578
mov dl, 0x95
mov word [esi + 0x343eba77], fs
loopne 0x5971e1
dec esi
cmpsd dword [esi], dword es:[edi]
invalid
Function at 0x658e0c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x662470
cmp edx, dword [eax]
je 0x658e2e
add eax, 8
inc ecx
cmp eax, 0x662500
jl 0x658e1f
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x662470]
jne 0x658f5c
mov eax, dword [0xa65ce0]
cmp eax, 1
je 0x658f36
test eax, eax
jne 0x658e5f
cmp dword [0x6602b4], 1
je 0x658f36
cmp edx, 0xfc
je 0x658f5c
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x658e96
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00659f70
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0065a060
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x658ed9
lea eax, [ebp - 0x1a4]
push eax
call fcn.0065a060
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x65cc04
push edi
call fcn.0065aa20
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00659f70
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00659f80
lea eax, [ebp - 0xa0]
push 0x65cbe4
push eax
call fcn.00659f80
push dword [esi + 0x662474]
lea eax, [ebp - 0xa0]
push eax
call fcn.00659f80
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0065a992
add esp, 0x2c
pop edi
jmp 0x658f5c
lea eax, [ebp + 8]
lea esi, [esi + 0x662474]
push 0
push eax
push dword [esi]
call fcn.0065a060
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x4011e0
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x4098b0
push 0xffffffffffffffff
push 0x47fa68
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.004018c0
mov edi, str.LC_ScriptEngine_ver1.0
or ecx, 0xffffffff
xor eax, eax
push 0x49e8a8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x30], 0
mov eax, ecx
mov esi, edi
mov edi, 0x49e8a8
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.00401ba9
mov esi, dword [esp + 8]
push 4
call dword [0x4a853c]
push eax
push 0x7f00
push 0
call dword [0x4a87fc]
mov ecx, dword [esp + 0x38]
push eax
push str.MAINICON
push ecx
call dword [0x4a8800]
mov edx, dword [str.LCSE]
mov ecx, dword [0x4a23bc]
push eax
push 0x1003
push esi
push edx
call fcn.004016ef
test al, al
jne 0x409967
push 0
push str.error
push str.WindowClass
jmp 0x4099fe
mov eax, dword [0x49e92c]
mov ecx, dword [0x49e928]
push ebx
push ebp
push eax
push ecx
push 0
lea edx, [esp + 0x28]
push 0
push edx
call dword [0x4a8804]
push 0
lea eax, [esp + 0x20]
push 0xca0000
push eax
call dword [0x4a8808]
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 [0x4a880c]
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 [0x4a23bc]
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 0x409a2a
push 0
push str.error
push str.Window
push 0
call dword [0x4a882c]
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00401ad7
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
mov ecx, dword [0x4a23bc]
push 5
mov edx, dword [ecx + 0x114]
push edx
call dword [0x4a8810]
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00401ad7
mov ecx, dword [esp + 0x24]
pop edi
mov al, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x401267
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x4160b0
sub esp, 8
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x20]
mov ebp, dword [esi + 0x60]
mov edx, dword [esi + 0x64]
mov al, byte [esi + 0x74]
add ebp, ebx
mov ebx, ecx
mov dword [esp + 0x10], ebp
sub ebx, edx
test al, al
mov eax, dword [esi + 0x5c]
mov dword [esp + 0x20], ebx
je 0x4160f9
lea edx, [eax + ebx]
cmp edx, ebx
jle 0x4160ed
sub ecx, eax
mov ebx, ecx
mov dword [esp + 0x20], ebx
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], 0
jmp 0x416107
mov ecx, eax
sub ecx, edx
mov edx, eax
sub edx, ecx
mov dword [esi + 0x7c], ecx
mov dword [esi + 0x78], edx
xor ecx, ecx
test eax, eax
mov dword [esp + 0xc], ecx
jbe 0x4161a7
mov edx, dword [esp + 0x18]
push edi
jmp 0x416120
mov ebp, dword [esp + 0x14]
mov edi, dword [esi + 0x70]
mov eax, dword [esi + 0x54]
imul edi, ecx
imul ebp, dword [edx + 0x40]
add edi, eax
mov eax, dword [edx + 8]
sub eax, ecx
mov dword [esp + 0x20], 0
sub eax, ebx
dec eax
imul eax, dword [edx + 0x3c]
add eax, ebp
mov ebp, dword [edx + 0x38]
add eax, ebp
xor ebp, ebp
cmp dword [esi + 0x58], ebp
jbe 0x416196
xor ecx, ecx
mov cl, byte [edi]
mov ebx, ecx
mov ecx, ebp
shl ebx, cl
test bl, 0x80
je 0x416171
mov cl, byte [esi + 0x4e]
mov byte [eax], cl
mov cl, byte [esi + 0x4d]
mov byte [eax + 1], cl
mov cl, byte [esi + 0x4c]
mov byte [eax + 2], cl
add eax, 3
cmp ebp, 7
jne 0x41617d
or ebp, 0xffffffff
inc edi
mov ecx, dword [esp + 0x20]
mov ebx, dword [esi + 0x58]
inc ecx
inc ebp
cmp ecx, ebx
mov dword [esp + 0x20], ecx
jb 0x416151
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x24]
mov eax, dword [esi + 0x5c]
inc ecx
cmp ecx, eax
mov dword [esp + 0x10], ecx
jb 0x41611c
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
Function at 0x401c2b
Capabilities:
Encode data using xor

Disassembly:
jmp 0x414330
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x2c]
test eax, eax
jge 0x414346
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 [0x4a85f4]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x414371
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 [0x4a85b0]
cmp eax, 0xffffffff
jne 0x4143a1
push ebx
call dword [0x4a868c]
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 [0x4a85a0]
test eax, eax
jne 0x4143d9
push ebx
call dword [0x4a868c]
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 0x414403
push ebx
call dword [0x4a868c]
pop edi
pop esi
xor al, al
pop ebx
pop ecx
ret 4
cmp dword [eax + 0x48], 1
jne 0x414430
xor eax, eax
test ecx, ecx
jbe 0x414430
mov dl, byte [0x48f0c9]
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 0x41440f
push ebx
call dword [0x4a868c]
pop edi
pop esi
mov al, 1
pop ebx
pop ecx
ret 4
Function at 0x401c9e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x415f20
push ecx
mov edx, dword [esp + 0x10]
mov al, byte [ecx + 0x74]
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [ecx + 0x60]
push esi
mov esi, dword [ecx + 0x64]
add ebp, ebx
mov ebx, edx
sub ebx, esi
mov dword [esp + 0xc], ebp
test al, al
mov eax, dword [ecx + 0x5c]
mov dword [esp + 0x18], ebx
je 0x415f65
lea esi, [eax + ebx]
cmp esi, ebx
jle 0x415f59
sub edx, eax
mov dword [esp + 0x18], edx
mov ebx, edx
mov dword [ecx + 0x78], eax
mov dword [ecx + 0x7c], 0
jmp 0x415f73
mov edx, eax
sub edx, esi
mov esi, eax
sub esi, edx
mov dword [ecx + 0x7c], edx
mov dword [ecx + 0x78], esi
xor edx, edx
test eax, eax
mov dword [esp + 0x1c], edx
jbe 0x416054
push edi
jmp 0x415f88
mov ebp, dword [esp + 0x10]
mov edi, dword [ecx + 0x70]
mov eax, dword [ecx + 0x54]
imul edi, edx
add edi, eax
mov eax, dword [esp + 0x18]
mov esi, dword [eax + 8]
imul ebp, dword [eax + 0x40]
sub esi, edx
sub esi, ebx
dec esi
imul esi, dword [eax + 0x3c]
add esi, ebp
mov ebp, dword [eax + 0x38]
mov eax, dword [ecx + 0x58]
add esi, ebp
xor ebp, ebp
test eax, eax
jbe 0x416043
mov bl, byte [esi]
xor eax, eax
mov al, byte [ecx + 0x4e]
mov edx, ebx
and edx, 0xff
add esi, 3
sub eax, edx
xor edx, edx
mov dl, byte [edi]
imul eax, edx
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
add al, bl
mov bl, byte [esi - 2]
mov byte [esi - 3], al
xor eax, eax
mov al, byte [ecx + 0x4d]
mov edx, ebx
and edx, 0xff
sub eax, edx
xor edx, edx
mov dl, byte [edi]
imul eax, edx
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
add al, bl
mov bl, byte [esi - 1]
mov byte [esi - 2], al
xor eax, eax
mov al, byte [ecx + 0x4c]
mov edx, ebx
and edx, 0xff
sub eax, edx
xor edx, edx
mov dl, byte [edi]
imul eax, edx
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
add al, bl
inc edi
mov byte [esi - 1], al
mov eax, dword [ecx + 0x58]
inc ebp
cmp ebp, eax
jb 0x415fbb
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x5c]
inc edx
cmp edx, eax
mov dword [esp + 0x20], edx
jb 0x415f84
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
Function at 0x431406
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x4313f0
push 0xffffffffffffffff
push 0x480acb
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.004018c0
xor edi, edi
lea ecx, [esi + 0x20]
mov dword [esp + 0x14], edi
call fcn.004018c0
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 0x435668
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
jmp 0x435650
push 0xffffffffffffffff
push 0x480ba1
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.004018c0
lea edi, [esi + 0x34]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x1c], ebx
call fcn.004018c0
lea ebp, [esi + 0x40]
mov byte [esp + 0x1c], 1
mov ecx, ebp
call fcn.004018c0
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 + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x58], eax
mov byte [esi + 0x4c], bl
call fcn.00401118
mov ecx, ebp
call fcn.00401118
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