joyce8/EMBER2024-capa huggingface dataset:
Function at 0xa8a057
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov word [esp + 6], di
lea eax, [esi + 0x8d]
mov dl, dh
xchg ah, bl
lea esp, [esp + 1]
mov word [esp + 6], sp
jmp 0xa89f94
rdtsc
push dword [esp + 1]
pop word [esp + 5]
mov eax, dword [esp + 0xc]
lea eax, [esp + esi]
mov bp, word [esp + 0xb]
jmp 0xa89f3f
mov dx, word [esp + 2]
mov eax, esi
xchg ebx, ebp
bswap esi
mov bx, word [esp + 2]
mov word [esp], di
jmp 0xa89fe1
bswap ebx
lea esp, [esp + 5]
pop bx
pop di
mov dl, dh
xchg ah, bl
jmp 0xa89f7a
push word [esp + 1]
mov byte [esp + 4], bh
push dword [esp]
mov dword [esp + 5], eax
lea esp, [esp + 2]
lea esp, [esp + 8]
jmp 0xa8a039
mov bh, byte [esp]
lea esp, [esp + 1]
lea esp, [esp + 4]
popal
push edx
jmp 0xa89fa4
lea edi, [ebp*4]
xchg bx, cx
xchg dh, al
mov bl, bh
xchg ch, dl
push word [esp + 1]
jmp 0xa89fca
mov ebp, 0xdd8487b8
xchg ah, bl
mov edi, 0x9da81102
rdtsc
jmp 0xa8a099
lea edx, [esi*4]
mov bl, bh
bswap ebx
mov edi, esi
mov al, ah
not ebx
jmp 0xa89ff8
push 0
pushal
mov al, byte [esp]
mov cl, byte [esp]
mov dl, byte [esp]
jmp 0xa8a012
mov bl, 0xf0
setg dh
not bp
jmp 0xa89f61
setl ah
xchg ah, bl
mov di, sp
mov bp, dx
mov cl, ch
call fcn.00a8a064
insb byte es:[edi], dx
jae 0xa8a106
jb 0xa8a0f7
jo 0xa8a10f
outsb dx, byte [esi]
push edi
add byte [ebp + 0xad3c], cl
add byte [eax], al
lea edi, [ebp*4]
setne ch
mov si, 0xfb6f
rdtsc
bswap ebp
lea ebx, [edi*4]
jmp 0xa8a07d
invalid
leave
mov bh, byte [ebx + 0xf]
mov byte [0x9604eb60], al
add eax, eax
xor dword [edx + reloc.KERNEL32.dll_SetUnhandledExceptionFilter], 4
je 0xa8a12c
add al, 0xf
xchg ebp, eax
lds eax, [esi + 0x23e8dc]
and eax, dword [eax]
add byte [eax], al
jnp 0xa8a0ed
inc eax
fdiv dword [ebp + edx*8 - reloc.KERNEL32.dll_SetUnhandledExceptionFilter]
popal
push word [esp + 4]
call 0xa8a142
aaa
jmp 0xa8a1ca
mov word [esp + 2], dx
pop word [esp + 5]
mov eax, dword [esp + 4]
mov dword [esp + 1], eax
mov ebx, esi
rdtsc
lea esp, [esp + 4]
jmp 0xa8a147

Function at 0xa8f223
Capabilities:
Parse pe header

Disassembly:
mov byte [esp + 6], bh
mov ebp, dword [esp + 0x50]
mov ax, 0x137
clc
mov ax, word [esp]
jmp 0xa8f2c4
lea esp, [esp + 4]
call fcn.00a8f272
pushal
xchg al, ah
mov ax, 0xad09
mov eax, dword [esp + 0x74]
lea esp, [esp + 0x78]
popfd
jmp 0xa8f293

Function at 0xa8f2ae
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
shr al, cl
in al, 0xff
invalid
jmp dword [eax + 0x66]
mov dword [esp + 4], ecx
call fcn.00a8f2d6
jae 0xa8f29b
jo 0xa8f2d2
loop 0xa8f2d0
mov bh, 0x27
mov bh, 0xd2
and dword [edx - reloc.KERNEL32.dll_SetUnhandledExceptionFilter], ebx
and al, 0x78
js 0xa8f271

Function at 0xa8f2d6
Capabilities:
Parse pe header

Disassembly:
pop word [esp]
push word [esp + 1]
jmp 0xa8f51c
push word [esp + 3]
push dword [esp + 3]
call fcn.00a8f388
pop ds
mov word [edx], es
xchg esp, eax
jge 0xa8f4b8
sbb dword [ecx - 0x1441e418], ecx
jp 0xa8f51d
invalid

Function at 0xa8f338
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
pop dword [esp + 0x1e]
call fcn.00a8f35f
out 0x71, al
loope fcn.00a8f2ae
jae fcn.00a8f308
call 0x7330d3a7
int3
pop dword [esp]
pushal
push dword [esp + 6]
jmp 0xa8f321
Function at 0xa8f35f
Capabilities:
Parse pe header

Disassembly:
pop word [esp + 0x23]
pop dword [esp]
mov byte [esp + 2], ch
pop dword [esp + 6]
push word [esp + 0x11]
jmp 0xa8f428
mov dword [esp + 0x20], ebx
push esp
call 0xa8f401

Function at 0xa8f388
Capabilities:
Parse pe header

Disassembly:
lea esp, [esp + 2]
mov dword [esp + 4], edx
push edx
call fcn.00a8f338
push dword [esp]
pop word [esp + 7]
pop dword [esp]
pop word [esp + 3]
mov dword [esp], esi
jmp 0xa8f351

Function at 0xa8f3ac
Capabilities:
Parse pe header

Disassembly:
push word [esp + 0x2d]
push word [esp + 0x11]
push word [esp + 0x1b]
jmp 0xa8f3e9
mov dword [esp + 0x50], esp
call fcn.00a8f3cf
xlatb
push ebp
lds ebp, [edi + ebx*2 + 0x54c647bc]
xor ecx, esi
sub al, 0xf7
fisubr word [ecx]
mov byte [esp], ah
call int.00a8f3c4
pop dword [esp + 0x12]
pop dword [esp + 0x18]
mov word [esp + 0xa], sp
mov byte [esp + 0xd], bh
mov dword [esp + 0x6c], ebp
call fcn.00a8f477
dec eax
jmp 0xa8f428

Function at 0xa8f3cf
Capabilities:
Parse pe header

Disassembly:
mov dword [esp], esi
pushal
push dword [esp + 0x12]
push dword [esp + 8]
pop dword [esp + 8]
jmp 0xa8f409

Function at 0xa8f401
Capabilities:
Parse pe header

Disassembly:
push word [esp + 0x2d]
push word [esp + 0x11]
push word [esp + 0x1b]
jmp 0xa8f3e9
mov dword [esp + 0x50], esp
call fcn.00a8f3cf
xlatb
push ebp
lds ebp, [edi + ebx*2 + 0x54c647bc]
xor ecx, esi
sub al, 0xf7
fisubr word [ecx]
mov byte [esp], ah
call int.00a8f3c4
pop dword [esp + 0x12]
pop dword [esp + 0x18]
mov word [esp + 0xa], sp
mov byte [esp + 0xd], bh
mov dword [esp + 0x6c], ebp
call fcn.00a8f477
dec eax
jmp 0xa8f428

Function at 0xa8f432
Capabilities:
Access peb ldr_data
Parse pe header

Disassembly:
push eax
jmp 0xa89087
call fcn.00a8908c
call 0xa8f01f
jmp 0xa8f4b7
movzx ebx, word [eax + 0x3c]
jmp 0xa8f501
push dword [esp]
mov byte [esp + 5], bh
jmp 0xa8f496
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
jmp 0xa8f4d7
pop word [esp + 1]
push esp
pop word [esp + 3]
mov dword [esp + 0x90], edi
lea esp, [esp + 0x90]
jmp 0xa8f47a
push eax
jmp 0xa8f01a
pop eax
xor ax, ax
cmp word [eax], 0x5a4d
je 0xa8f024
push dword [ebp + 0x19]
jne 0xa8f4e1
adc dword [eax + reloc.KERNEL32.dll_SetUnhandledExceptionFilter], ebx
jns 0xa8f4c5
or al, 0xff
adc esp, dword [edi + edx*4 - 2]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
jmp 0xa8f4b1
sub eax, 0x10000
jmp 0xa8f4bb
je 0xa885ac
jne 0xa8f4e1
les ecx, [ecx - 0x27]
mov eax, 0xea66ab4b
js 0xa8f519
ljmp 0xbfac:0x5d228b01
add ebx, eax
cmp word [ebx], 0x4550
jmp 0xa8f4e8
inc ebp
hlt
Function at 0x41cd10
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x16000]
push edi
or ebp, 0xffffffff
jmp 0x41cd32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41cd39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41cd28
mov eax, 1
add ebx, ebx
jne 0x41cd4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41cd40
jne 0x41cd5c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41cd40
xor ecx, ecx
sub eax, 3
jb 0x41cd70
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41cde2
mov ebp, eax
add ebx, ebx
jne 0x41cd7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41cd88
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41cdac
inc ecx
add ebx, ebx
jne 0x41cd98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41cd8d
jne 0x41cda9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41cd8d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41cdcc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41cdbd
jmp 0x41cd2e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41cdcc
add edi, ecx
jmp 0x41cd2e
pop esi
mov edi, esi
mov ecx, 0x20f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41cdea
cmp byte [edi], 5
jne 0x41cdea
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 0x41cdef
lea edi, [esi + 0x1a000]
mov eax, dword [edi]
or eax, eax
je 0x41ce67
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1e468]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1e508]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41ce1c
mov ecx, edi
jns 0x41ce4b
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 + 0x1e50c]
or eax, eax
je 0x41ce61
mov dword [ebx], eax
add ebx, 4
jmp 0x41ce39
call dword [esi + 0x1e514]
mov ebp, dword [esi + 0x1e510]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
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 0x41ce9b
sub esp, 0xffffff80
jmp 0x40cad0
Function at 0x10013a2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x3c]
lea ebx, [eax + edi + 0x78]
mov eax, dword [ebx]
test eax, eax
je 0x1001451
cmp dword [ebx + 4], 0x28
jb 0x1001451
lea esi, [eax + edi]
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x1001451
mov edx, dword [esi + 0x20]
cmp edx, eax
jb 0x1001451
lea edx, [edx + ecx*4]
mov ecx, dword [ebx + 4]
add ecx, eax
cmp ecx, edx
jb 0x1001451
mov eax, dword [esi + 0x20]
and dword [ebp + 8], 0
add eax, edi
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x1c]
add eax, edi
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x24]
add eax, edi
cmp dword [esi + 0x18], 0
mov dword [ebp - 0xc], eax
jbe 0x1001451
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 4]
lea eax, [eax + ecx*4]
mov ecx, dword [ebx]
cmp ecx, dword [eax]
ja 0x1001446
mov eax, dword [eax]
push dword [ebp + 0xc]
mov dword [ebp - 8], eax
call dword [0x4620302c]
mov edx, dword [ebx]
mov ecx, dword [ebp - 8]
add edx, dword [ebx + 4]
lea eax, [eax + ecx + 1]
cmp eax, edx
ja 0x1001446
push dword [ebp + 0xc]
lea eax, [ecx + edi]
push eax
call dword [0x46203028]
test eax, eax
je 0x1001458
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x18]
jb 0x1001408
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov ecx, dword [ebp + 8]
cmp dword [esi + 0x14], ecx
jbe 0x1001451
mov esi, dword [esi + 0x1c]
mov eax, dword [ebx]
cmp esi, eax
jb 0x1001451
lea edx, [esi + ecx*4 + 4]
mov esi, dword [ebx + 4]
add esi, eax
cmp esi, edx
jb 0x1001451
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + ecx*2]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + eax*4]
jmp 0x1001453

Function at 0x1002330
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push ebx
mov bl, byte [eax]
push esi
cmp bl, 0xd8
je 0x1002361
cmp bl, 0xd7
je 0x1002361
mov esi, dword [esp + 0x14]
lea ecx, [eax + 1]
test esi, esi
jle 0x1002389
mov eax, dword [esp + 0x10]
sub ecx, eax
mov dl, byte [ecx + eax]
mov byte [eax], dl
inc eax
sub esi, 1
jne 0x1002353
pop esi
pop ebx
ret
mov esi, dword [esp + 0x10]
push esi
inc eax
push eax
call fcn.010023ae
cmp bl, 0xd8
jne 0x1002389
mov ecx, dword [esp + 0x14]
xor eax, eax
test ecx, ecx
jle 0x1002389
lea esp, [esp]
xor byte [eax + esi], 0xf0
inc eax
cmp eax, ecx
jl 0x1002380
pop esi
pop ebx
ret
Function at 0x401430
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401449
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401484
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x401480
lea ebx, [ebx]
cmp esi, edx
jae 0x401484
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x401470
cmp esi, edx
jb 0x40148b
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x401dd0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x50d4cc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xc]
push edi
push eax
push esi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push eax
push dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
push 2
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ecx, eax
mov dword [edi + 8], ecx
test ecx, ecx
jne 0x401e26
call fcn.00401520
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048b090
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [ebp - 0x10]
push 0
push eax
mov dword [edi + 0x10], 0
push dword [edi + 0x10]
mov dword [edi + 0x14], 0
push dword [edi + 0x14]
mov dword [edi + 4], eax
push 4
push ecx
mov dword [edi + 0x18], 4
call dword [sym.imp.KERNEL32.dll_MapViewOfFileEx]
mov dword [edi], eax
test eax, eax
jne 0x401e84
call fcn.00401520
push dword [edi + 8]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 8], 0
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048b090
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0048b090
mov esp, ebp
pop ebp
ret 0x18

Function at 0x402330
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, dword [ecx]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
or ebx, 0xffffffff
call fcn.00402280
mov edx, eax
test esi, esi
je 0x402364
lea esp, [esp]
movzx eax, byte [edi]
lea edi, [edi + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [edx + ecx*4]
dec esi
jne 0x402350
pop edi
not ebx
pop esi
mov eax, ebx
pop ebx
ret
Function at 0x404000
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [0x50d4cc]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
push 0x4df520
mov edi, ecx
push 0
push edi
call fcn.00404490
add esp, 0x10
lea eax, [esp + 0x14]
mov dword [esp + 0x10], eax
test ebx, ebx
jne 0x404047
xor eax, eax
mov dword [esp + 0x10], eax
jmp 0x404084
mov esi, ebx
lea ecx, [esi + 1]
lea esp, [esp]
mov al, byte [esi]
inc esi
test al, al
jne 0x404050
sub esi, ecx
lea eax, [esp + 0x14]
push ecx
inc esi
lea ecx, [esp + 0x14]
push eax
mov edx, esi
call fcn.004086b0
push esi
push ebx
push esi
push dword [esp + 0x24]
call fcn.0048c509
push eax
call fcn.00401350
mov eax, dword [esp + 0x2c]
add esp, 0x1c
mov ecx, dword [edi + 0x44]
test ecx, ecx
je 0x4040a0
sub esp, 8
push 3
push ecx
push 1
push SysReAllocString
push eax
call fcn.00401550
jmp 0x4040b9
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
jne 0x4040c7
call fcn.00401520
mov esi, eax
jmp 0x4040cc
mov dword [edi + 0x40], eax
xor esi, esi
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
cmp eax, ecx
je 0x4040e1
push eax
call fcn.0048b8d4
add esp, 4
test esi, esi
js 0x404178
lea eax, [esp + 0x9c]
push eax
push dword [edi + 0x40]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
mov dword [esp + 0x98], ebx
cmp ebx, 0xffffffff
jne 0x404118
call fcn.00401520
test eax, eax
js 0x404127
mov ebx, dword [esp + 0x98]
cmp dword [esp + 0x9c], 0
ja 0x404153
cmp ebx, 0x18
jae 0x404153
push 0x4df534
push 0xffffffffffffffff
push edi
call fcn.00404490
add esp, 0xc
mov eax, 0x80004004
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.0048b090
mov esp, ebp
pop ebp
ret 4
sub esp, 0x14
lea ecx, [edi + 0x20]
push dword [edi + 0x40]
call fcn.00401dd0
mov esi, eax
test esi, esi
js 0x404178
mov eax, dword [edi]
mov ecx, edi
push ebx
push dword [edi + 0x20]
call dword [eax + 0x4c]
mov esi, eax
test esi, esi
jns 0x4041a6
lea ecx, [edi + 0x20]
call fcn.00401f30
mov eax, dword [edi + 0x40]
test eax, eax
je 0x404195
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x40], 0
push esi
push 0x4df550
push 0xffffffffffffffff
push edi
call fcn.00404490
add esp, 0x10
mov ecx, dword [esp + 0xa4]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0048b090
mov esp, ebp
pop ebp
ret 4
Function at 0x4047f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cb8d8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x50d4cc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x14]
push eax
mov dword [ebp - 0x14], 0
call fcn.00406580
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call fcn.00407480
mov ecx, eax
call fcn.00406a50
mov ecx, eax
call fcn.004069f0
mov edi, dword [ebp - 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
or ebx, 0xffffffff
call fcn.00402280
mov edx, eax
test esi, esi
je 0x404888
movzx eax, byte [edi]
lea edi, [edi + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [edx + ecx*4]
dec esi
jne 0x404874
not ebx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x18]
push eax
lea ecx, [ebx + 4]
call fcn.00407050
test eax, eax
je 0x4048a7
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
jmp 0x404907
push 0x50
call fcn.0048cdd1
mov esi, eax
add esp, 4
test esi, esi
je 0x4048cf
push 0x50
push 0
push esi
call fcn.0048f5e0
add esp, 0xc
mov ecx, esi
call fcn.004029c0
mov esi, eax
jmp 0x4048d1
xor esi, esi
push dword [ebp + 0xc]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x24]
mov dword [ebp - 0x18], esi
call dword [eax + 0x20]
mov edi, eax
test edi, edi
jns 0x4048f2
push esi
call fcn.0048b08b
add esp, 4
jmp 0x404909
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebx + 4]
call fcn.00406f00
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], esi
xor edi, edi
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov esi, dword [ebp - 0x14]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40492d
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048b090
mov esp, ebp
pop ebp
ret 0x10
Function at 0x404950
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cb908
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x50d4cc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0x14]
push eax
mov dword [ebp - 0x14], 0
call fcn.00406580
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call fcn.00407480
mov ecx, eax
call fcn.00406a50
mov ecx, eax
call fcn.004069f0
mov edi, dword [ebp - 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
or ebx, 0xffffffff
call fcn.00402280
mov edx, eax
test esi, esi
je 0x4049f4
lea ebx, [ebx]
movzx eax, byte [edi]
lea edi, [edi + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [edx + ecx*4]
dec esi
jne 0x4049e0
not ebx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x18]
push eax
lea ecx, [ebx + 4]
call fcn.00407050
test eax, eax
je 0x404a13
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
jmp 0x404a76
push 0x50
call fcn.0048cdd1
mov esi, eax
add esp, 4
test esi, esi
je 0x404a3b
push 0x50
push 0
push esi
call fcn.0048f5e0
add esp, 0xc
mov ecx, esi
call fcn.004029c0
mov esi, eax
jmp 0x404a3d
xor esi, esi
push dword [ebp - 0x24]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x28]
mov dword [ebp - 0x18], esi
push dword [ebp + 8]
call dword [eax + 0x24]
mov edi, eax
test edi, edi
jns 0x404a61
push esi
call fcn.0048b08b
add esp, 4
jmp 0x404a78
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebx + 4]
call fcn.00406f00
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], esi
xor edi, edi
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov esi, dword [ebp - 0x14]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x404a9c
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048b090
mov esp, ebp
pop ebp
ret 0x14
Function at 0x404c40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cb758
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x50d4cc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x14]
push eax
mov dword [ebp - 0x14], 0
call fcn.00406580
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call fcn.00407480
mov ecx, eax
call fcn.00406a50
mov ecx, eax
call fcn.004069f0
mov edi, dword [ebp - 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
or ebx, 0xffffffff
call fcn.00402280
mov edx, eax
test esi, esi
je 0x404cd4
jmp 0x404cc0
movzx eax, byte [edi]
lea edi, [edi + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [edx + ecx*4]
dec esi
jne 0x404cc0
mov edx, dword [ebp - 0x18]
xor esi, esi
mov ecx, dword [edx + 0xc]
lea edi, [edx + 4]
not ebx
test ecx, ecx
jle 0x404cf3
mov eax, dword [edi]
cmp dword [eax], ebx
je 0x404d37
inc esi
add eax, 4
cmp esi, ecx
jl 0x404ce7
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x404d17
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048b090
mov esp, ebp
pop ebp
ret 4
cmp esi, 0xffffffff
je 0x404cf3
test esi, esi
js 0x404d6d
cmp esi, ecx
jge 0x404d6d
mov eax, dword [edi + 4]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x404cf3
cmp dword [edx + 0x10], eax
jne 0x404d5a
mov dword [edx + 0x10], 0
push eax
call fcn.0048b08b
add esp, 4
mov ecx, edi
push esi
call fcn.00406f90
jmp 0x404cf3
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
Function at 0x404d80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cb788
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x50d4cc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x14]
push eax
mov dword [ebp - 0x14], 0
call fcn.00406580
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call fcn.00407480
mov ecx, eax
call fcn.00406a50
mov ecx, eax
call fcn.004069f0
mov edi, dword [ebp - 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
or ebx, 0xffffffff
call fcn.00402280
mov edx, eax
test esi, esi
je 0x404e14
mov edi, edi
movzx eax, byte [edi]
lea edi, [edi + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [edx + ecx*4]
dec esi
jne 0x404e00
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
not ebx
add ecx, 4
push eax
mov dword [ebp - 0x18], ebx
call fcn.00407050
test eax, eax
je 0x404e35
mov ecx, dword [ebp - 0x20]
xor esi, esi
mov dword [ecx], eax
jmp 0x404e3a
mov esi, 0x80004005
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov edi, dword [ebp - 0x14]
add edi, 0xfffffff0
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x404e5e
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048b090
mov esp, ebp
pop ebp
ret 8