joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41390e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42029c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004083b9
and dword [ebp - 0x14], 0
cmp dword [0x468120], 0
mov dword [ebp - 0x18], eax
jne 0x4139c1
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x413a69
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x413a69
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x468120], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x468124], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x468128], eax
call edi
push eax
call esi
mov dword [0x468130], eax
test eax, eax
je 0x4139c1
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x46812c], eax
mov eax, dword [0x46812c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x413a1a
cmp dword [0x468130], ecx
je 0x413a1a
push eax
call esi
push dword [0x468130]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x413a1a
test ebx, ebx
je 0x413a1a
call edi
test eax, eax
je 0x413a11
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x413a11
test byte [ebp - 8], 1
jne 0x413a1a
or dword [ebp + 0x10], 0x200000
jmp 0x413a4d
mov eax, dword [0x468124]
cmp eax, dword [ebp - 0x18]
je 0x413a4d
push eax
call esi
test eax, eax
je 0x413a4d
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x413a4d
mov eax, dword [0x468128]
cmp eax, dword [ebp - 0x18]
je 0x413a4d
push eax
call esi
test eax, eax
je 0x413a4d
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x468120]
call esi
test eax, eax
je 0x413a69
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x413a6b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040581d
leave
ret
Function at 0x407d9c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004033fc
xor eax, eax
push ebp
push 0x407e75
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x407dd4
mov eax, dword [ebp - 4]
call fcn.004071d0
jmp 0x407ddc
mov eax, dword [ebp - 4]
call fcn.00407bd4
call fcn.00404ae8
mov esi, eax
test esi, esi
jle 0x407e28
mov ebx, 1
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x407e12
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0xc]
call fcn.004071d0
jmp 0x407e24
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0x10]
call fcn.00407bd4
inc ebx
dec esi
jne 0x407dec
push 1
push dword [ebp - 4]
push 0x407e8c
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00406f34
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004032cc
mov eax, dword [ebp - 0x14]
call fcn.0040340c
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407e7c
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004030b8
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x401020
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
push eax
push str._n_s_n
call fcn.004020ff
add eax, 0x40
push eax
call fcn.00401fb0
mov ecx, dword [esp + 0x14]
add esp, 0xc
push ecx
call fcn.00401f24
int3

Function at 0x4010c0
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, 0x1118
call fcn.00402310
mov eax, dword [0x411288]
xor eax, esp
mov dword [esp + 0x1114], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1128]
push edi
mov edi, dword [esp + 0x1130]
movzx ebp, word [edi + 0x16]
movzx eax, word [edi + 0x18]
shl ebp, 0x10
or ebp, eax
mov ebx, ebp
and ebx, 1
test esi, esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], ebx
je 0x401149
push 0x180
push 0x8101
push esi
call fcn.0040cc9f
add esp, 0xc
test eax, eax
mov dword [esp + 0x14], eax
jge 0x40114d
push esi
push str.Cannot_create_file__s
call fcn.004020ff
add eax, 0x40
push eax
call fcn.00401fb0
add esp, 0xc
xor eax, eax
jmp 0x40125c
mov eax, dword [esp + 0x14]
test ebp, ebp
jg 0x401198
test eax, eax
jl 0x401231
push eax
call fcn.0040b324
movzx eax, word [edi + 6]
push eax
push esi
call fcn.0040c5f4
add esp, 0xc
test eax, eax
jge 0x401231
push esi
lea ecx, [esp + 0x28]
push str.Cannot_chmod__s
push ecx
call fcn.00402289
add esp, 0xc
push 2
lea edx, [esp + 0x28]
push edx
call fcn.00401020
mov ebp, dword [esp + 0x10]
cmp ebp, 0x1000
jl 0x4011a5
mov ebp, 0x1000
mov ebx, dword [0x412adc]
xor edi, edi
test ebp, ebp
mov esi, ebp
jle 0x4011e0
cmp esi, 0x1000
mov eax, esi
jl 0x4011c2
mov eax, 0x1000
push eax
lea ecx, [esp + edi + 0x128]
push ecx
push ebx
call fcn.0040a164
add esp, 0xc
test eax, eax
jle 0x401225
sub esi, eax
add edi, eax
test esi, esi
jg 0x4011b3
mov eax, dword [esp + 0x14]
test eax, eax
jl 0x401202
push ebp
lea edx, [esp + 0x128]
push edx
push eax
call fcn.004093fa
add esp, 0xc
cmp ebp, eax
jne 0x401142
mov eax, dword [esp + 0x10]
sub eax, ebp
test eax, eax
mov dword [esp + 0x10], eax
jg 0x401194
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
jmp 0x401151
push 2
push str.unexpected_EOF
call fcn.00401020
test ebx, ebx
je 0x401257
mov ecx, dword [0x412adc]
push 1
lea eax, [esp + 0x128]
push eax
push ecx
call fcn.0040a164
add esp, 0xc
cmp eax, 1
jne 0x401142
mov eax, 1
mov ecx, dword [esp + 0x1124]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040227a
add esp, 0x1118
ret
Function at 0x401280
Capabilities:
Terminate process

Disassembly:
sub esp, 0x20
mov eax, dword [0x411288]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
xor eax, eax
push ebp
push esi
mov word [esp + 0xc], 0
mov dword [esp + 0xe], eax
mov dword [esp + 0x12], eax
mov dword [esp + 0x16], eax
mov dword [esp + 0x1a], eax
mov dword [esp + 0x1e], eax
mov dword [esp + 0x22], eax
push edi
mov ebx, dword [0x412adc]
mov esi, 0x1a
xor edi, edi
cmp esi, 0x1000
mov eax, esi
jl 0x4012cf
mov eax, 0x1000
push eax
lea eax, [esp + edi + 0x14]
push eax
push ebx
call fcn.0040a164
add esp, 0xc
test eax, eax
jle 0x4013d8
sub esi, eax
add edi, eax
test esi, esi
jg 0x4012c0
mov ecx, 0xd
lea eax, [esp + 0x10]
mov bl, byte [eax + 1]
mov dl, byte [eax]
mov byte [eax], bl
add eax, 1
sub ecx, 1
mov byte [eax], dl
add eax, 1
test ecx, ecx
jg 0x4012f7
cmp word [esp + 0x10], 0x71c7
jne 0x4013e4
mov ax, word [esp + 0x24]
test ax, ax
jbe 0x4013ae
test al, 1
je 0x401335
add ax, 1
mov word [esp + 0x24], ax
movzx ecx, ax
push ecx
call fcn.00402418
movzx esi, word [esp + 0x28]
mov ebp, dword [0x412adc]
add esp, 4
xor edi, edi
test esi, esi
mov ebx, eax
jle 0x40137d
cmp esi, 0x1000
mov eax, esi
jl 0x401363
mov eax, 0x1000
push eax
lea edx, [edi + ebx]
push edx
push ebp
call fcn.0040a164
add esp, 0xc
test eax, eax
jle 0x4013d8
sub esi, eax
add edi, eax
test esi, esi
jg 0x401354
mov edi, ebx
mov esi, str.TRAILER___
mov ecx, 0xb
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x401394
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4013b0
mov ecx, dword [0x412adc]
push ecx
call fcn.00401050
add esp, 4
push 0
call fcn.00401f24
xor ebx, ebx
lea eax, [esp + 0x10]
push eax
push ebx
call fcn.004010c0
add esp, 8
test eax, eax
je 0x4013f0
test ebx, ebx
je 0x4012b3
push ebx
call fcn.0040233b
add esp, 4
jmp 0x4012b3
push 2
push str.unexpected_EOF
call fcn.00401020
push 2
push str.Wrong_format
call fcn.00401020
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0040227a
add esp, 0x20
ret

Function at 0x4018c0
Capabilities:
Terminate process

Disassembly:
push str.Usage:_scpio___i____o__n
call fcn.004020ff
add eax, 0x40
push eax
call fcn.00401fb0
add esp, 8
push 2
call fcn.00401f24
int3
cmp dword [esp + 4], 2
je 0x4018cc
jmp section..text
mov eax, dword [esp + 8]
mov edx, dword [eax + 4]
push esi
push edi
mov edi, edx
mov esi, 0x40e210
mov ecx, 3
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4018ec
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40191a
push 0x8000
push 1
mov dword [0x412adc], 1
call fcn.0040ce45
add esp, 8
call fcn.00401820
test eax, eax
jne 0x40194f
pop edi
mov eax, 1
pop esi
ret
mov edi, edx
mov esi, 0x40e20c
mov ecx, 3
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x401931
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4018c7
push 0x8000
push eax
mov dword [0x412adc], eax
call fcn.0040ce45
add esp, 8
call fcn.00401280
jmp 0x40190e
push 0
call fcn.00401f24
int3

Function at 0x40227a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411288]
jne 0x402284
repz ret
jmp fcn.00405547
Function at 0x407dc1
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004036a9
xor ebx, ebx
cmp dword [0x412ab0], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x407e96
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x407e01
xor eax, eax
jmp 0x407f5a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x407dfa
push eax
call fcn.00403646
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x412ab0], eax
call esi
push eax
call fcn.00403646
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x412ab4], eax
call esi
push eax
call fcn.00403646
mov dword [0x412ab8], eax
lea eax, [ebp - 8]
push eax
call fcn.00401d51
test eax, eax
pop ecx
pop ecx
je 0x407e64
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403332
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x407e96
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00403646
cmp eax, ebx
pop ecx
mov dword [0x412ac0], eax
je 0x407e96
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403646
pop ecx
mov dword [0x412abc], eax
mov eax, dword [0x412abc]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x407f0f
cmp dword [0x412ac0], esi
je 0x407f0f
push eax
call fcn.004036b2
pop ecx
call eax
cmp eax, ebx
je 0x407edc
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x412ac0]
call fcn.004036b2
pop ecx
call eax
test eax, eax
je 0x407edc
test byte [ebp - 0x18], 1
jne 0x407f0f
lea eax, [ebp - 0xc]
push eax
call fcn.00401d88
test eax, eax
pop ecx
je 0x407ef7
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403332
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x407f06
or dword [ebp + 0x10], 0x200000
jmp 0x407f40
or dword [ebp + 0x10], 0x40000
jmp 0x407f40
mov eax, dword [0x412ab4]
cmp eax, esi
je 0x407f40
push eax
call fcn.004036b2
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x407f40
mov eax, dword [0x412ab8]
cmp eax, esi
je 0x407f40
push dword [ebp - 4]
push eax
call fcn.004036b2
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x412ab0]
call fcn.004036b2
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40c5f4
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x40c621
call fcn.004030b7
mov dword [eax], esi
call fcn.004030a4
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0040342e
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40c63f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004030ca
pop ecx
jmp 0x40c61c
test byte [esp + 0xc], 0x80
je 0x40c64b
and eax, 0xfffffffe
jmp 0x40c64e
or eax, 1
push eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
je 0x40c630
xor eax, eax
pop esi
ret
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0xab4008], 0x8088405
inc edx
mov dword [ebx + 0xab4008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41cc40
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41cc71
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cc59
add dl, dl
jne 0x41cc7c
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cccd
xor eax, eax
add dl, dl
jne 0x41cc89
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cd6a
add dl, dl
jne 0x41cc98
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cca3
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41ccae
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41ccb9
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41ccc3
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41cc68
mov eax, 1
add dl, dl
jne 0x41ccdb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cce6
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41ccd2
sub eax, ebx
mov ebx, 1
jne 0x41cd19
mov ecx, 1
add dl, dl
jne 0x41ccff
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cd0a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41ccf6
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cc68
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41cd30
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cd3b
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cd27
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cc68
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41cd8b
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x41cc68
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41e214
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0xa9d6d3
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov ecx, ebx
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [ecx + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41e2c5
add edx, ebx
mov eax, edx
mov esi, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
add edx, ebx
mov dword [ebp - 0x10], edx
mov edi, dword [eax + 0x20]
add edi, ebx
mov edx, dword [eax + 0x24]
add edx, ebx
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 4]
cmp edx, 0xffff
jbe 0x41e2ae
test esi, esi
jbe 0x41e2c5
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088dc
test eax, eax
jne 0x41e2a0
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41e2c5
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41e27d
jmp 0x41e2c5
mov ecx, edx
sub ecx, dword [eax + 0x10]
cmp ecx, dword [eax + 0x14]
jae 0x41e2c5
mov eax, ecx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xa9d6da
ret
Function at 0x41eb1c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov word [ebp - 2], dx
xor eax, eax
push ebp
push 0xa9e0cb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x41eb57
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x41eb70
lea eax, [ebp - 0x10]
mov edx, dword [0xab6258]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x41eb83
lea eax, [ebp - 0x10]
mov edx, dword [0xab6258]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x41eb8f
adc edx, 0
mov edx, dword [edx*4 + 0xab50e8]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x41ec9d
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x40
push edi
push esi
call fcn.00406d6c
test eax, eax
je 0x41ec90
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x41ec90
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406dcc
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x18
push edi
push esi
call fcn.00406d6c
test eax, eax
je 0x41ec90
mov eax, edi
cmp dword [eax], 0x4550
jne 0x41ec90
add eax, 4
mov dx, word [eax]
cmp dx, 0x14c
jb 0x41ec90
cmp dx, 0x150
ja 0x41ec90
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0xe0
push edi
push esi
call fcn.00406d6c
test eax, eax
je 0x41ec90
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 2]
jne 0x41ec90
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x41ecb5
inc ebx
cmp ebx, 0x19
jne 0x41eb49
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xa9e0d2
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x7b5537ef
nop
nop
nop
test eax, eax
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x30c77a5d
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x10001b50
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
movzx ecx, word [edx + 0x14]
lea edx, [eax + ecx + 0x18]
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], 0
jmp 0x10001b8f
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
add ecx, 0x28
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
movzx ecx, word [eax + 6]
cmp dword [ebp - 0x10], ecx
jge 0x10001cab
mov edx, dword [ebp - 4]
cmp dword [edx + 0x10], 0
jne 0x10001c1c
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
jle 0x10001c17
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0x34]
push eax
push 4
push 0x1000
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x1c]
call edx
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10001bf0
xor eax, eax
jmp 0x10001cb0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x14]
push ecx
push 0
mov edx, dword [ebp - 8]
push edx
call fcn.10001930
add esp, 0xc
jmp 0x10001b7d
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebp - 4]
add ecx, dword [edx + 0x10]
push ecx
mov eax, dword [ebp + 0xc]
push eax
call fcn.10001b30
add esp, 8
test eax, eax
jne 0x10001c3d
xor eax, eax
jmp 0x10001cb0
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x34]
push edx
push 4
push 0x1000
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x1c]
call edx
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10001c74
xor eax, eax
jmp 0x10001cb0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.10001980
add esp, 0xc
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [ecx + 8], edx
jmp 0x10001b7d
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x100027b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0x1c200
mov ecx, dword [ebp - 4]
push ecx
push 0x10004070
call fcn.10001000
add esp, 8
mov dword [ebp - 0xc], eax
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x40325c
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40329b
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40329b
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40329b
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40329b
cmp dword [ecx + 0x74], 0xe
jbe 0x40329b
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x40d1f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40d21d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40d21d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret