joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4af010
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [sym.imp.KERNEL32.dll_CreateEventA]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov esi, ecx
push edi
mov edi, 1
cmp dword [esi + 4], 0
jne 0x4af05b
push 0
push 0
push 0
push 0
call eax
mov dword [esi + 4], eax
test eax, eax
jne 0x4af056
call ebx
test eax, eax
mov ecx, edi
cmovne ecx, eax
test ecx, ecx
je 0x4af056
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [sym.imp.KERNEL32.dll_CreateEventA]
cmp dword [esi + 8], 0
jne 0x4af07f
push 0
push 0
push 0
push 0
call eax
mov dword [esi + 8], eax
test eax, eax
jne 0x4af07f
call ebx
test eax, eax
mov ecx, edi
cmovne ecx, eax
test ecx, ecx
jne 0x4af04d
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
test eax, eax
jne 0x4af08e
call ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
test eax, eax
jne 0x4af09d
call ebx
cmp dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
je 0x4af0b0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x4aefc0
push 0
push 0
call fcn.004de004
add esp, 0x18
mov dword [esi + 0xc], eax
test eax, eax
je 0x4af0da
xor edi, edi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call ebx
test eax, eax
cmovne edi, eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4b05a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
mov esi, ecx
push eax
push 0
push dword [ebp + 8]
push edx
push 0
push 0
call fcn.004de004
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x4b05ca
xor eax, eax
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ecx, 1
cmovne ecx, eax
mov eax, ecx
mov esp, ebp
pop ebp
ret
Function at 0x4b4070
Capabilities:
Delete file
Get common file path
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
cmp byte [edi], 0
je 0x4b409f
mov esi, dword [edi + 4]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x4b4091
mov al, 1
jmp 0x4b409d
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
sete al
mov byte [edi], al
mov esi, dword [ebp + 0x10]
cmp dword [esi + 8], 0x105
jg 0x4b40b7
push 0x105
mov ecx, esi
call fcn.00487910
push dword [esi]
push 0
push 0x51aeb0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov edx, dword [esi]
xor ecx, ecx
mov ebx, eax
cmp byte [edx], cl
je 0x4b40da
inc ecx
cmp byte [edx + ecx], 0
jne 0x4b40d3
mov byte [edx + ecx], 0
mov dword [esi + 4], ecx
test ebx, ebx
je 0x4b40f1
push esi
lea ecx, [edi + 4]
call fcn.004b4100
mov byte [edi], 1
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 0xc

Function at 0x4b4530
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
push dword [esi + 0x18]
call fcn.004cbb15
push dword [esi + 0x20]
call fcn.004cbb15
mov eax, dword [esi + 0x10]
add esp, 8
cmp eax, 0xffffffff
je 0x4b4566
cmp byte [esi + 0x14], 0
jne 0x4b4566
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4b4566
mov dword [esi + 0x10], 0xffffffff
cmp byte [esi], 0
je 0x4b459d
push edi
mov edi, dword [esi + 4]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x4b458e
pop edi
push dword [esi + 4]
mov al, 1
mov byte [esi], al
call fcn.004cbb15
add esp, 4
pop esi
ret
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
pop edi
sete al
mov byte [esi], al
push dword [esi + 4]
call fcn.004cbb15
add esp, 4
pop esi
ret
Function at 0x4b45b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x501aad
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x534090]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [edi + 0x1c]
mov ebx, dword [ebp + 0xc]
cmp ecx, 0x100000
jae 0x4b4630
mov eax, 0x100000
mov esi, ebx
sub eax, ecx
cmp eax, ebx
cmovb esi, eax
mov eax, dword [edi + 0x18]
push esi
push dword [ebp + 8]
add eax, ecx
push eax
call fcn.004cd290
mov edx, dword [ebp + 8]
add esp, 0xc
mov ecx, dword [edi + 0x38]
push 0x5393c0
push esi
call dword [0x5391c4]
add dword [edi + 0x1c], esi
sub ebx, esi
mov dword [edi + 0x38], eax
mov eax, dword [ebp + 8]
add eax, esi
add dword [edi + 0x30], esi
adc dword [edi + 0x34], 0
jmp 0x4b4633
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
jne 0x4b4653
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp byte [edi + 0x2c], 0
jne 0x4b4711
lea ecx, [ebp - 0x20]
call fcn.004878b0
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
call fcn.004b4020
test al, al
jne 0x4b4699
push dword [ebp - 0x20]
call fcn.004cbb15
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ebp - 0x20]
lea eax, [edi + 0x20]
push eax
push ecx
push esi
mov ecx, edi
call fcn.004b4070
test eax, eax
jne 0x4b46b0
push esi
jmp 0x4b467b
mov eax, dword [edi + 0x20]
mov dword [ebp + 0xc], eax
mov eax, dword [edi + 0x10]
cmp eax, 0xffffffff
je 0x4b46d6
cmp byte [edi + 0x14], 0
jne 0x4b46d6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4b46ad
mov dword [edi + 0x10], 0xffffffff
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push dword [ebp + 0xc]
mov byte [edi + 0x14], 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [edi + 0x10], eax
cmp eax, 0xffffffff
je 0x4b46ad
push esi
mov byte [edi + 0x2c], 1
mov dword [ebp - 4], 0xffffffff
call fcn.004cbb15
add esp, 4
xor eax, eax
mov esi, ebx
mov ebx, dword [ebp + 8]
mov ecx, 0x400000
mov dword [ebp + 0xc], eax
cmp esi, 0x400000
mov dword [ebp - 0x10], 0
push 0
mov eax, esi
cmova eax, ecx
lea ecx, [ebp - 0x10]
push ecx
push eax
push ebx
push dword [edi + 0x10]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
add edx, ecx
mov dword [ebp + 0xc], edx
test eax, eax
je 0x4b4683
test ecx, ecx
je 0x4b4765
add ebx, ecx
sub esi, ecx
mov ecx, 0x400000
jne 0x4b4720
mov ecx, dword [edi + 0x38]
push 0x5393c0
push edx
mov edx, dword [ebp + 8]
call dword [0x5391c4]
mov dword [edi + 0x38], eax
mov eax, dword [ebp + 0xc]
add dword [edi + 0x30], eax
adc dword [edi + 0x34], 0
cmp eax, dword [ebp - 0x14]
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4cbfe3
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
mov dword [ebp - 0x44], ecx
mov edx, 0x3d0900
add byte [ecx], cl
invalid
invalid
xor eax, eax
mov byte [ebp + eax - 0xe4], al
inc eax
cmp eax, 0x69
jb 0x4cbfe9
sub edx, 1
jne 0x4cbfe7
push ebx
xor eax, eax
mov dword [ebp - 0x30], 0x6d6d2351
push esi
push edi
mov dword [ebp - 0x2c], 0x2b294e75
mov dword [ebp - 0x28], 0x6b232a59
mov dword [ebp - 0x24], 0x37515155
inc ebp
fcom qword [ebp + 0x51]
push ecx
aaa
mov byte [ebp - 0x20], dl
mov dword [ebp - 0x60], 0x65006b
mov dword [ebp - 0x5c], 0x6e0072
mov dword [ebp - 0x58], 0x6c0065
mov dword [ebp - 0x54], 0x320033
mov dword [ebp - 0x50], 0x64002e
mov dword [ebp - 0x4c], 0x6c006c
invalid
invalid
inc ebp

Function at 0x4cc016
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
mov dword [ebp - 0x44], ecx
mov edx, 0x3d0900
add byte [ecx], cl
invalid
invalid
xor eax, eax
mov byte [ebp + eax - 0xe4], al
inc eax
cmp eax, 0x69
jb 0x4cbfe9
sub edx, 1
jne 0x4cbfe7
push ebx
xor eax, eax
mov dword [ebp - 0x30], 0x6d6d2351
push esi
push edi
mov dword [ebp - 0x2c], 0x2b294e75
mov dword [ebp - 0x28], 0x6b232a59
mov dword [ebp - 0x24], 0x37515155
inc ebp
fcom qword [ebp + 0x51]
push ecx
aaa
mov byte [ebp - 0x20], dl
mov dword [ebp - 0x60], 0x65006b
mov dword [ebp - 0x5c], 0x6e0072
mov dword [ebp - 0x58], 0x6c0065
mov dword [ebp - 0x54], 0x320033
mov dword [ebp - 0x50], 0x64002e
mov dword [ebp - 0x4c], 0x6c006c
invalid
invalid
inc ebp
Function at 0x4cc208
Capabilities:
Encode data using xor

Disassembly:
lea esi, [edi + ebx]
mov eax, 0xf0f0f0f1
mul esi
mov eax, esi
shr edx, 4
mov ecx, edx
shl ecx, 4
add ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 4]
movzx eax, byte [ebp + eax - 0x30]
xor al, byte [ecx - 1]
mov ecx, dword [ebp - 0x3c]
mov byte [ebx - 2], al
mov eax, 0xf0f0f0f1
lea ecx, [ecx + ebx]
mul ecx
mov eax, esi
shr edx, 4
mov ecx, edx
shl ecx, 4
add ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 4]
add dword [ebp - 4], 4
movzx eax, byte [ebp + eax - 0x2f]
xor al, byte [ecx]
add ecx, dword [ebp - 0x18]
mov byte [ebx - 1], al
mov eax, 0xf0f0f0f1
mul ecx
mov eax, esi
shr edx, 4
mov ecx, edx
shl ecx, 4
add ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x2e]
xor al, byte [ecx + ebx]
mov ecx, dword [ebp - 0x34]
mov byte [ebx], al
mov eax, 0xf0f0f0f1
lea ecx, [ecx + ebx]
mul ecx
mov ecx, dword [ebp - 0x38]
lea ebx, [ebx + 4]
shr edx, 4
mov eax, edx
shl eax, 4
add eax, edx
sub esi, eax
movzx eax, byte [ebp + esi - 0x2d]
xor al, byte [ecx + ebx - 4]
mov byte [ebx - 3], al
lea eax, [edi + ebx]
cmp eax, 0x2f600
jb 0x4cc1c9
mov edi, dword [ebp - 0xc]
push 0x40
push 0x3000
mov eax, dword [edi + 0x3c]
push dword [eax + edi + 0x50]
push 0
call dword [ebp - 0x10]
mov ebx, eax
mov dword [ebp - 0x78], ebx
test ebx, ebx
je 0x4cc4b5
mov esi, dword [edi + 0x3c]
add esi, edi
mov dword [ebp - 0x14], esi
movzx ecx, word [esi + 0x14]
sub eax, dword [esi + 0x34]
add ecx, esi
mov edx, dword [esi + 0x54]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x34], eax
mov dword [esi + 0x34], ebx
test edx, edx
je 0x4cc2d7
mov ecx, ebx
sub edi, ebx
nop dword [eax + eax]
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
sub edx, 1
jne 0x4cc2c6
mov ecx, dword [ebp - 0x10]
mov eax, dword [esi + 0xa4]
mov edx, dword [esi + 0xa0]
mov edi, dword [esi + 0x80]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x84]
mov dword [ebp - 0x3c], eax
xor eax, eax
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x18], eax
cmp ax, word [esi + 6]
jae 0x4cc4b5
lea esi, [ecx + 0x20]
jmp 0x4cc31c
Function at 0x4cc4e6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
xor esi, esi
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov edx, dword [eax + 0x1c]
mov ecx, dword [eax + 0x20]
add edx, edi
mov ebx, dword [eax + 0x18]
add ecx, edi
mov dword [ebp - 0x10], edx
mov edx, dword [eax + 0x24]
add edx, edi
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
test ebx, ebx
je 0x4cc54c
mov eax, dword [ecx + esi*4]
xor edx, edx
mov cl, byte [eax + edi]
add eax, edi
test cl, cl
je 0x4cc53f
movzx ecx, cl
lea eax, [eax + 1]
or ecx, 0x60
add edx, ecx
mov cl, byte [eax]
add edx, edx
test cl, cl
jne 0x4cc52c
cmp edx, dword [ebp - 4]
je 0x4cc555
mov ecx, dword [ebp - 8]
inc esi
cmp esi, ebx
jb 0x4cc51e
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + esi*2]
mov eax, dword [ecx + eax*4]
add eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4e4567
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004e4218

Function at 0x4e4572
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004e43a2

Function at 0x4ed725
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004ed3a2

Function at 0x401910
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov eax, dword [esp + 8]
mov dword [0x4040c0], eax
xor eax, eax
mov ebp, esp
mov ecx, 0xa
push eax
dec ecx
jne 0x401923
push esp
mov dword [ebp - 0x24], 0x401640
mov eax, dword [0x4040c0]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], str.zeenty
call dword [sym.imp.USER32.dll_RegisterClassA]
xor eax, eax
push eax
push dword [0x4040c0]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.upsent
push str.zeenty
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x4040c8], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x4019c2
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [ebp - 0x1c]
push eax
call esi
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x4019a3
pop ebp
ret 0x10
Function at 0x4aa1d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6a000]
push edi
or ebp, 0xffffffff
jmp 0x4aa1f2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4aa1f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4aa1e8
mov eax, 1
add ebx, ebx
jne 0x4aa20b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4aa21c
jne 0x4aa23b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4aa23b
dec eax
add ebx, ebx
jne 0x4aa228
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4aa200
add ebx, ebx
jne 0x4aa237
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4aa28d
xor ecx, ecx
sub eax, 3
jb 0x4aa253
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4aa2c2
sar eax, 1
mov ebp, eax
jmp 0x4aa25e
add ebx, ebx
jne 0x4aa25e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4aa22c
inc ecx
add ebx, ebx
jne 0x4aa26c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4aa22c
add ebx, ebx
jne 0x4aa279
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4aa26e
jne 0x4aa28a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4aa26e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4aa2ac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4aa29e
jmp 0x4aa1ee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4aa2ac
add edi, ecx
jmp 0x4aa1ee
pop esi
mov edi, esi
mov ecx, 0x3493
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4aa2ca
cmp byte [edi], 0x4c
jne 0x4aa2ca
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4aa2cf
lea edi, [esi + 0xa6000]
mov eax, dword [edi]
or eax, eax
je 0x4aa347
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xac1c4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xac318]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4aa2fc
mov ecx, edi
jns 0x4aa32b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xac31c]
or eax, eax
je 0x4aa341
mov dword [ebx], eax
add ebx, 4
jmp 0x4aa319
call dword [esi + 0xac32c]
mov ebp, dword [esi + 0xac320]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4aa37b
sub esp, 0xffffff80
jmp 0x417770
Function at 0x100113e1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x100113f0
pop dword [ebp - 0x14]
mov eax, 0x58b9c838
add eax, 0xb7474bb8
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0xbef4dab0
add dword [ebp - 0x24], 0x8f5d6a9b
mov dword [ebp - 0x20], 0x2abcd18b
sub dword [ebp - 0x20], 0xf8898546
mov dword [ebp - 0x1c], 0x9e3569c5
sub dword [ebp - 0x1c], 0x51e92597
mov dword [ebp - 0x18], 0x983e132b
add dword [ebp - 0x18], 0x67c1ecd5
lea eax, [ebp - 0x24]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0xab11adbb
add dword [ebp - 0x24], 0xc960bb9b
mov dword [ebp - 0x20], 0xc2efba27
add dword [ebp - 0x20], 0x7e7ca74e
mov dword [ebp - 0x1c], 0x86711e13
sub dword [ebp - 0x1c], 0x2301b1a7
mov dword [ebp - 0x18], 0x4eb5fc7a
add dword [ebp - 0x18], 0xb14a0386
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0x8058ed09
sub eax, 0x7057bead
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x36066
push 0
call eax
mov ecx, 0x4613
mov esi, eax
mov edx, 0x10017a00
add edx, dword [ebp - 0x14]
mov edi, 0x25ccc2d1
add edi, 0xdd8693e6
mov ebx, dword [edx]
sub dword [ebp - 0x10], ebx
xor ebx, edi
add dword [ebp - 0xc], edx
mov dword [esi], ebx
xor dword [ebp - 8], 0x224622f7
add esi, 0x9b7aa2fc
sub esi, 0x9b7aa2f8
add edx, 4
loop 0x10011501
add eax, 0x3fb01962
sub eax, 0x3faf0e43
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xf2099d60
add ecx, 0x1df662a0
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x404ab9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
add eax, 0xffffb60b
push ebx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
add ebx, 0xffffb385
mov eax, dword [0x603bec]
push ebp
push esi
mov ebp, dword [esp + 0x1c]
mov eax, dword [eax + 0xc8]
add ebp, 0x873
push edi
mov edi, dword [esp + 0x14]
add eax, 5
push edi
mov dword [esp + 0x24], ebp
imul eax, dword [edi + 0x108]
mov dword [edi + 0x108], eax
lea eax, [ecx + 0xdda]
push eax
lea eax, [ecx + 0x58d]
push eax
lea eax, [ecx + 0xdda]
push eax
lea eax, [ebx + 0x4580]
push eax
mov eax, ebx
xor eax, 0x50ec
push eax
call fcn.004046ac
mov ecx, dword [0x603bec]
add esp, 0x18
mov edx, eax
mov ecx, dword [ecx]
sub dword [edi + 0x80], ecx
mov esi, dword [0x603bec]
mov ecx, dword [edi + 0xc0]
cmp ecx, dword [esi + 0xb4]
jb 0x404b63
mov eax, dword [esi + 0x2c]
sub eax, 0x150fe
xor dword [esi + 0xc], eax
jmp 0x404b6f
mov eax, dword [edi + 0x108]
mov dword [edi + 0x104], eax
mov esi, dword [esp + 0x28]
lea eax, [esi + 0x3f43]
cmp ebx, eax
jg 0x404c7a
mov eax, dword [esp + 0x18]
add eax, 0xffffff6f
cmp edx, eax
jl 0x404bfe
mov eax, dword [edi + 0xb0]
cmp eax, dword [edi + 0x78]
mov eax, dword [0x603bec]
jbe 0x404bb2
mov eax, dword [eax + 0xa4]
add eax, dword [0x60d74c]
xor dword [0x60d788], eax
jmp 0x404bbb
mov eax, dword [eax + 8]
add dword [edi + 0x104], eax
lea eax, [ebx + 0x50ec]
xor ebx, 0x5413
push eax
lea eax, [ebp - 0x19b]
push eax
lea eax, [ebp - 0x327]
push eax
push ebx
push edi
call fcn.00413ed1
mov eax, dword [edi + 0xe8]
add esp, 0x14
add eax, dword [0x60d834]
xor eax, dword [0x60d738]
xor eax, 0x1804ee
mov dword [0x60d738], eax
jmp 0x404c7a
mov eax, dword [edi + 0x44]
mov ebp, dword [edi + 0xa8]
and eax, edx
imul eax, edx
cmp ebp, eax
ja 0x404c7a
mov eax, dword [edi + 0x3c]
or eax, 0x3c1b
xor eax, 0x5278
cmp dword [edi + 0xc4], eax
jb 0x404c67
mov eax, dword [0x603bec]
mov ecx, dword [0x60d73c]
xor ecx, dword [esp + 0x28]
mov esi, dword [eax + 0x1c]
mov edx, dword [eax + 0xb4]
xor esi, 0x4500
mov eax, dword [0x60d840]
or edx, dword [edi + 0x4c]
xor eax, ebx
push eax
push ecx
push edi
push edx
push esi
call fcn.00404812
mov edx, eax
add esp, 0x14
mov eax, dword [esp + 0x20]
and eax, 0xffffba7f
add edx, eax
mov eax, dword [edi + 0x44]
add ebp, 2
and eax, edx
imul eax, edx
cmp ebp, eax
jbe 0x404c10
mov esi, dword [esp + 0x28]
pop edi
lea eax, [esi + 0x4ded]
pop esi
pop ebp
pop ebx
ret
Function at 0x413ca7
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
add eax, 0xffffb213
mov edx, dword [esp + 0x1c]
xor ecx, 0x4ba0
push ebx
mov ebx, dword [esp + 0x28]
mov dword [esp + 4], eax
mov eax, ebx
push ebp
push esi
xor eax, 0xc1e
mov dword [esp + 0x34], ecx
mov esi, ebx
mov dword [esp + 0x10], eax
xor esi, 0x418
lea eax, [ecx + 0x5413]
push edi
lea edi, [edx - 0x49f5]
mov dword [esp + 0x20], esi
xor edx, 0xb44
mov ebp, edi
cmp esi, eax
mov dword [esp + 0x2c], edx
mov esi, dword [esp + 0x28]
jge 0x413d23
xor ecx, 0x3b8a
add ebp, 0x56ec
mov dword [esp + 0x38], ecx
xor edi, 0x4191
jmp 0x413e7b
mov eax, dword [esi + 0xe0]
imul eax, dword [0x60d748]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x30], ecx
imul eax, edx
cmp ecx, eax
ja 0x413da8
mov edx, dword [esi + 0x118]
mov ebx, dword [esp + 0x2c]
xor edx, ebx
mov ecx, dword [0x60d748]
add edx, 0x4191
mov edi, dword [esp + 0x30]
mov eax, dword [esi + 0xc]
cmp eax, edx
je 0x413d89
mov edi, eax
call dword [0x41802c]
mov edx, dword [esi + 0x118]
add edi, 2
xor edx, ebx
add edx, 0x4191
cmp edi, edx
jne 0x413d64
mov ecx, dword [0x60d748]
mov edi, dword [esp + 0x30]
mov eax, dword [esi + 0xe0]
inc edi
imul eax, ecx
mov dword [esp + 0x30], edi
imul eax, ebx
cmp edi, eax
jbe 0x413d5b
mov ebx, dword [esp + 0x34]
mov edi, ebp
mov ecx, dword [esp + 0x10]
mov eax, dword [0x60d77c]
add eax, 0x5278
xor eax, ebp
cmp dword [0x60d840], eax
jb 0x413e7b
mov eax, dword [esi + 0x20]
or eax, dword [0x60d75c]
cmp dword [esi + 0xb0], eax
jae 0x413e7b
mov eax, dword [esi + 0xb4]
sub eax, 0x4c7b
push eax
mov eax, dword [0x603bec]
mov eax, dword [eax + 0x98]
and eax, dword [esi + 0xc]
and eax, 0x56ec
push eax
mov eax, dword [esi + 4]
xor eax, dword [esi + 0xc]
imul eax, dword [esi + 0x98]
push eax
mov eax, dword [esi + 0x84]
xor eax, dword [esp + 0x20]
imul eax, ecx
push eax
call dword [0x418034]
mov ecx, dword [0x603bec]
mov eax, dword [esi + 0x10]
add eax, dword [0x60d81c]
push esi
or dword [ecx + 0xb4], eax
mov eax, dword [esp + 0x18]
xor eax, 0x3b8a
add eax, ebp
push eax
mov eax, dword [0x60d804]
or eax, dword [esp + 0x34]
imul eax, dword [0x60d7cc]
push eax
mov eax, dword [esp + 0x44]
add eax, 0x50ec
push eax
mov eax, dword [0x603bec]
mov eax, dword [eax + 0xc]
add eax, 0xffffbe0d
add eax, ebp
push eax
mov eax, dword [esp + 0x34]
and eax, 0x4bb4
sub eax, 0x3c1b
push eax
call fcn.004046ac
add esp, 0x18
xor edi, 0xf0
cmp ebx, edi
je 0x413ec1
mov eax, dword [esp + 0x38]
add eax, 0x1562
push eax
mov eax, ebp
xor eax, 0x2ff
push eax
push esi
lea eax, [ebp - 0x600]
push eax
mov eax, dword [esp + 0x20]
xor eax, 0x4191
push eax
call fcn.00404812
mov ecx, dword [0x603bec]
add esp, 0x14
mov dword [ecx + 0xf4], 0x418130
pop edi
pop esi
xor ebx, 0x1f95
pop ebp
mov eax, ebx
pop ebx
add esp, 0x14
ret