joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d80de
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x24
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov eax, dword [edx + 0x78]
mov ebx, dword [edx + 0x8c]
cmp eax, ebx
mov eax, dword [edx + 0x34]
mov ebx, dword [edx + 0x7c]
jl 0x4d8103
shr ebx, 2
dec ebx
shl ebx, 0x10
or ebx, eax
mov dword [esp], ebx
mov eax, dword [edx + 0x90]
mov ebx, dword [edx + 0x74]
cmp ebx, eax
jl 0x4d811b
mov ebx, eax
mov dword [esp + 0x18], ebx
mov esi, dword [edx + 0x38]
mov dword [esp + 4], esi
mov ebp, dword [edx + 0x6c]
lea edi, [ebp + esi]
mov dword [esp + 0x20], edi
mov eax, edi
neg eax
and eax, 3
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x2c]
sub eax, 0x106
sub ebp, eax
jg 0x4d814a
xor ebp, ebp
mov eax, dword [edx + 0x78]
mov dword [esp + 0x1c], eax
add esi, eax
mov dword [esp + 8], esi
movzx ebx, word [edi]
mov dword [esp + 0x10], ebx
movzx ebx, word [eax + edi - 1]
mov dword [esp + 0xc], ebx
mov edi, dword [edx + 0x40]
mov edx, dword [esp]
jmp 0x4d818c
and ecx, edx
movzx ecx, word [edi + ecx*2]
cmp ecx, ebp
jbe 0x4d8260
sub edx, 0x10000
js 0x4d8260
movzx eax, word [ecx + esi - 1]
cmp eax, ebx
jne 0x4d8172
mov eax, dword [esp + 4]
movzx eax, word [ecx + eax]
cmp eax, dword [esp + 0x10]
jne 0x4d8172
mov dword [esp], edx
mov esi, dword [esp + 4]
mov edi, dword [esp + 0x20]
add esi, ecx
mov eax, dword [esp + 0x14]
mov edx, 0xfffffef8
lea edi, [eax + edi + 0x108]
lea esi, [eax + esi + 0x108]
mov eax, dword [edx + esi]
xor eax, dword [edx + edi]
jne 0x4d81e3
mov eax, dword [edx + esi + 4]
xor eax, dword [edx + edi + 4]
jne 0x4d81e0
add edx, 8
jne 0x4d81c7
jmp 0x4d8251
add edx, 4
test eax, 0xffff
jne 0x4d81f0
add edx, 2
shr eax, 0x10
sub al, 1
adc edx, 0
lea eax, [edx + edi]
mov edi, dword [esp + 0x20]
sub eax, edi
cmp eax, 0x102
jge 0x4d8251
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x1c]
cmp eax, ebx
jg 0x4d8224
mov esi, dword [esp + 8]
mov edi, dword [edx + 0x40]
mov ebx, dword [esp + 0xc]
mov edx, dword [esp]
jmp 0x4d8172
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov dword [edx + 0x70], ecx
cmp eax, ebx
jge 0x4d8260
mov esi, dword [esp + 4]
add esi, eax
mov dword [esp + 8], esi
movzx ebx, word [eax + edi - 1]
mov edi, dword [edx + 0x40]
mov dword [esp + 0xc], ebx
mov edx, dword [esp]
jmp 0x4d8172
mov edx, dword [esp + 0x38]
mov dword [esp + 0x1c], 0x102
mov dword [edx + 0x70], ecx
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x1c]
mov eax, dword [edx + 0x74]
cmp ebx, eax
jg 0x4d8271
mov eax, ebx
add esp, 0x24
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x59a0d3
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4302d1
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
mov eax, dword [0x43c3c0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], ebx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
mov ebp, 1
mov dword [esp + 0x40], ebp
push ebx
lea eax, [esp + 0x4c]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00599163
push esi
call fcn.0059a253
cmp al, bl
jne 0x59a16f
push ebx
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
push 0x436d3a
mov ecx, edi
mov byte [edi + 4], bl
call fcn.00599a13
mov byte [esp + 0x20], bl
cmp dword [esp + 0x40], 0x10
mov dword [esp + 0xc], ebp
jb 0x59a236
mov ecx, dword [esp + 0x2c]
push ecx
jmp 0x59a22e
mov ebp, dword [fcn.004310f8]
cmp dword [esp + 0x44], ebx
je 0x59a1bd
cmp dword [esi + 0xd8], ebx
jne 0x59a18f
push ebx
push ebx
push ebx
push ebx
call ebp
mov dword [esi + 0xd8], eax
cmp dword [esi + 0x74], 0x10
jb 0x59a19a
mov eax, dword [esi + 0x60]
jmp 0x59a19d
lea eax, [esi + 0x60]
push eax
call dword [0x431204]
test eax, eax
je 0x59a1bd
cmp dword [esi + 0x74], 0x10
jb 0x59a1b3
mov eax, dword [esi + 0x60]
jmp 0x59a1b6
lea eax, [esi + 0x60]
push eax
call dword [0x431118]
push ebx
push ebx
push ebx
push ebx
mov byte [esi + 4], bl
call ebp
lea edx, [esi + 0x10]
push edx
push ebx
push esi
push 0x40ccb0
push ebx
push ebx
mov dword [esi + 8], eax
call dword [fcn.00431178]
mov dword [esi + 0xc], eax
cmp dword [esp + 0x44], ebx
je 0x59a1fb
mov eax, dword [esi + 0xd8]
cmp eax, ebx
je 0x59a1fb
push 0xdbba0
push eax
call dword [0x4310f0]
push 0xffffffffffffffff
lea eax, [esi + 0x5c]
push ebx
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
push eax
mov ecx, edi
mov byte [edi + 4], bl
call fcn.00599163
mov byte [esp + 0x20], bl
cmp dword [esp + 0x40], 0x10
mov dword [esp + 0xc], 1
jb 0x59a236
mov eax, dword [esp + 0x2c]
push eax
call fcn.005ae7ee
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop ebp
pop ebx
add esp, 0x18
ret 0x20
Function at 0x59bc83
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push ebx
mov ebx, dword [eax + 4]
mov eax, dword [eax]
movzx ecx, word [eax + 0x14]
xor edx, edx
push esi
lea esi, [ecx + eax + 0x18]
mov dword [esp + 8], 0
cmp dx, word [eax + 6]
jae 0x59bd2a
push ebp
mov ebp, dword [fcn.0043114c]
push edi
add esi, 0x10
mov eax, dword [esi]
test eax, eax
jne 0x59bce5
mov eax, dword [esp + 0x1c]
mov edi, dword [eax + 0x38]
test edi, edi
jle 0x59bd0e
mov ecx, dword [esi - 4]
push 4
push 0x1000
push edi
add ecx, ebx
push ecx
call ebp
push edi
push 0
push eax
mov dword [esi - 8], eax
call fcn.005b1623
jmp 0x59bd0b
mov edx, dword [esi - 4]
push 4
push 0x1000
push eax
add edx, ebx
push edx
call ebp
mov ecx, dword [esi + 4]
add ecx, dword [esp + 0x18]
mov edi, eax
mov eax, dword [esi]
push eax
push ecx
push edi
call fcn.005b12b3
mov dword [esi - 8], edi
add esp, 0xc
mov edx, dword [esp + 0x20]
mov ecx, dword [edx]
mov eax, dword [esp + 0x10]
movzx edx, word [ecx + 6]
inc eax
add esi, 0x28
cmp eax, edx
mov dword [esp + 0x10], eax
jl 0x59bcb6
pop edi
pop ebp
pop esi
pop ebx
pop ecx
ret

Function at 0x59bd33
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
mov ebx, dword [eax]
movzx ecx, word [ebx + 0x14]
push ebp
xor edx, edx
xor ebp, ebp
lea eax, [ecx + ebx + 0x18]
cmp dx, word [ebx + 6]
jae 0x59bde8
push esi
push edi
lea edi, [eax + 0x24]
mov eax, dword [edi]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x59bd8a
mov eax, dword [edi - 0x14]
mov ecx, dword [edi - 0x1c]
push 0x4000
push eax
push ecx
call dword [0x43113c]
jmp 0x59bdd0
lea edx, [edx + ecx*2]
lea ecx, [esi + edx*2]
mov edx, dword [ecx*4 + 0x43d1c4]
test eax, 0x4000000
je 0x59bda4
or edx, 0x200
mov ecx, dword [edi - 0x14]
test ecx, ecx
jne 0x59bdbd
test al, 0x40
je 0x59bdb4
mov ecx, dword [ebx + 0x20]
jmp 0x59bdbb
test al, al
jns 0x59bdd0
mov ecx, dword [ebx + 0x24]
test ecx, ecx
jbe 0x59bdd0
lea eax, [esp + 0x10]
push eax
push edx
push ecx
mov ecx, dword [edi - 0x1c]
push ecx
call dword [0x431154]
mov edx, dword [esp + 0x18]
mov ebx, dword [edx]
movzx eax, word [ebx + 6]
inc ebp
add edi, 0x28
cmp ebp, eax
jl 0x59bd57
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x59bfa3
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, dword [esp + 8]
mov eax, 0x5a4d
cmp word [ebp], ax
je 0x59bfb7
xor eax, eax
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0x3c]
add ebx, ebp
cmp dword [ebx], 0x4550
je 0x59bfca
pop ebx
xor eax, eax
pop ebp
ret
mov ecx, dword [ebx + 0x50]
mov edx, dword [ebx + 0x34]
push esi
mov esi, dword [fcn.0043114c]
push edi
push 4
push 0x3000
push ecx
push edx
call esi
mov edi, eax
test edi, edi
jne 0x59c001
mov eax, dword [ebx + 0x50]
push 4
push 0x3000
push eax
push edi
call esi
mov edi, eax
test edi, edi
je 0x59c0a2
push 0x14
push 0
call dword [fcn.00431140]
push eax
call dword [fcn.00431134]
mov esi, eax
xor eax, eax
push 4
mov dword [esi + 4], edi
mov dword [esi + 0xc], eax
mov dword [esi + 8], eax
mov dword [esi + 0x10], eax
mov ecx, dword [ebx + 0x54]
push 0x1000
push ecx
push edi
call dword [fcn.0043114c]
mov edx, dword [ebp + 0x3c]
add edx, dword [ebx + 0x54]
mov dword [esp + 0x14], eax
push edx
push ebp
push eax
call fcn.005b12b3
mov eax, dword [ebp + 0x3c]
mov ecx, dword [esp + 0x20]
push esi
add eax, ecx
push ebx
mov dword [esi], eax
push ebp
mov dword [eax + 0x34], edi
call fcn.0059bc83
mov eax, edi
add esp, 0x18
sub eax, dword [ebx + 0x34]
je 0x59c071
push eax
mov eax, esi
call fcn.0059bdf3
add esp, 4
push esi
call fcn.0059be73
add esp, 4
test eax, eax
je 0x59c09d
push esi
call fcn.0059bd33
mov edx, dword [esi]
mov eax, dword [edx + 0x28]
add esp, 4
test eax, eax
je 0x59c0b0
push 0
push 1
add eax, edi
push edi
call eax
test eax, eax
jne 0x59c0a9
call fcn.0059c0c3
pop edi
pop esi
pop ebx
xor eax, eax
pop ebp
ret
mov dword [esi + 0x10], 1
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret

Function at 0x59e323
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x42f9b8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x43c3c0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], 0x438038
mov dword [esp + 0x18], 0
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x59e369
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov eax, dword [esi + 8]
mov edi, dword [0x431114]
mov dword [esi], 0x43895c
test eax, eax
je 0x59e37f
push eax
call edi
mov esi, dword [esi + 0xc]
test esi, esi
je 0x59e389
push esi
call edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x5a23b3
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42ff98
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x43c3c0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x4388ac
mov dword [esp + 0x14], 0
test byte [esi + 0x40], 1
je 0x5a23fd
mov eax, dword [esi + 0x10]
mov eax, dword [eax]
push eax
call fcn.005ae7ee
add esp, 4
mov ecx, dword [esi + 0x10]
mov dword [ecx], 0
mov edx, dword [esi + 0x20]
mov dword [edx], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov ecx, dword [esi + 0x14]
mov dword [ecx], 0
mov edx, dword [esi + 0x24]
mov dword [edx], 0
mov eax, dword [esi + 0x34]
mov dword [eax], 0
and dword [esi + 0x40], 0xfffffffe
mov ecx, esi
mov dword [esi + 0x3c], 0
mov dword [esp + 0x14], 0xffffffff
call fcn.005a2013
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x5a2e33
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x42fccb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x43c3c0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], 0x438868
call fcn.005c1af1
push 4
mov dword [esp + 0x20], 0
call fcn.005ae979
mov edi, eax
add esp, 4
test edi, edi
je 0x5a2eb1
call fcn.005c1962
mov dword [edi], eax
call fcn.005c1790
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.005c1ab2
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x5a2ea6
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.005c1ada
jmp 0x5a2eb3
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x5aac23
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0
jne 0x5aac34
xor eax, eax
jmp 0x5aae1e
mov eax, 1
test eax, eax
je 0x5aac80
mov dword [ebp - 4], 1
movzx ecx, byte [ebp - 4]
test ecx, ecx
je 0x5aac67
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.005aae33
add esp, 0xc
jmp 0x5aae1e
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.005ab233
add esp, 0xc
jmp 0x5aae1e
mov edx, dword [ebp + 8]
xor edx, 0xffffffff
mov dword [ebp + 8], edx
cmp dword [ebp + 0x10], 8
jb 0x5aaddf
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x432038]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x432038]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x432038]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x432038]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x432038]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x432038]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x432038]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x432038]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 8
mov dword [ebp + 0x10], edx
jmp 0x5aac89
cmp dword [ebp + 0x10], 0
je 0x5aae18
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x432038]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0x10]
sub ecx, 1
mov dword [ebp + 0x10], ecx
jne 0x5aade5
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov esp, ebp
pop ebp
ret 0xc
Function at 0x5ae5ef
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x24
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov eax, dword [edx + 0x78]
mov ebx, dword [edx + 0x8c]
cmp eax, ebx
mov eax, dword [edx + 0x34]
mov ebx, dword [edx + 0x7c]
jl 0x5ae614
shr ebx, 2
dec ebx
shl ebx, 0x10
or ebx, eax
mov dword [esp], ebx
mov eax, dword [edx + 0x90]
mov ebx, dword [edx + 0x74]
cmp ebx, eax
jl 0x5ae62c
mov ebx, eax
mov dword [esp + 0x18], ebx
mov esi, dword [edx + 0x38]
mov dword [esp + 4], esi
mov ebp, dword [edx + 0x6c]
lea edi, [ebp + esi]
mov dword [esp + 0x20], edi
mov eax, edi
neg eax
and eax, 3
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x2c]
sub eax, 0x106
sub ebp, eax
jg 0x5ae65b
xor ebp, ebp
mov eax, dword [edx + 0x78]
mov dword [esp + 0x1c], eax
add esi, eax
mov dword [esp + 8], esi
movzx ebx, word [edi]
mov dword [esp + 0x10], ebx
movzx ebx, word [eax + edi - 1]
mov dword [esp + 0xc], ebx
mov edi, dword [edx + 0x40]
mov edx, dword [esp]
jmp 0x5ae69d
and ecx, edx
movzx ecx, word [edi + ecx*2]
cmp ecx, ebp
jbe 0x5ae771
sub edx, 0x10000
js 0x5ae771
movzx eax, word [ecx + esi - 1]
cmp eax, ebx
jne 0x5ae683
mov eax, dword [esp + 4]
movzx eax, word [ecx + eax]
cmp eax, dword [esp + 0x10]
jne 0x5ae683
mov dword [esp], edx
mov esi, dword [esp + 4]
mov edi, dword [esp + 0x20]
add esi, ecx
mov eax, dword [esp + 0x14]
mov edx, 0xfffffef8
lea edi, [eax + edi + 0x108]
lea esi, [eax + esi + 0x108]
mov eax, dword [edx + esi]
xor eax, dword [edx + edi]
jne 0x5ae6f4
mov eax, dword [edx + esi + 4]
xor eax, dword [edx + edi + 4]
jne 0x5ae6f1
add edx, 8
jne 0x5ae6d8
jmp 0x5ae762
add edx, 4
test eax, 0xffff
jne 0x5ae701
add edx, 2
shr eax, 0x10
sub al, 1
adc edx, 0
lea eax, [edx + edi]
mov edi, dword [esp + 0x20]
sub eax, edi
cmp eax, 0x102
jge 0x5ae762
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x1c]
cmp eax, ebx
jg 0x5ae735
mov esi, dword [esp + 8]
mov edi, dword [edx + 0x40]
mov ebx, dword [esp + 0xc]
mov edx, dword [esp]
jmp 0x5ae683
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov dword [edx + 0x70], ecx
cmp eax, ebx
jge 0x5ae771
mov esi, dword [esp + 4]
add esi, eax
mov dword [esp + 8], esi
movzx ebx, word [eax + edi - 1]
mov edi, dword [edx + 0x40]
mov dword [esp + 0xc], ebx
mov edx, dword [esp]
jmp 0x5ae683
mov edx, dword [esp + 0x38]
mov dword [esp + 0x1c], 0x102
mov dword [edx + 0x70], ecx
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x1c]
mov eax, dword [edx + 0x74]
cmp ebx, eax
jg 0x5ae782
mov eax, ebx
add esp, 0x24
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x5dbb76
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a0c], 0
push esi
jne 0x5dbbad
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x5dbb87
mov dword [ecx*4 + 0x422a08], eax
inc ecx
cmp ecx, 0x100
jl 0x5dbb82
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x5dbbde
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a08]
xor eax, esi
inc ecx
dec edx
jne 0x5dbbc0
pop edi
not eax
pop esi
ret 0xc

Function at 0x5e7210
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a0c], 0
push esi
jne 0x5e7247
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x5e7221
mov dword [ecx*4 + 0x422a08], eax
inc ecx
cmp ecx, 0x100
jl 0x5e721c
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x5e7278
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a08]
xor eax, esi
inc ecx
dec edx
jne 0x5e725a
pop edi
not eax
pop esi
ret 0xc
Function at 0x401467
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40a004]
jne 0x401471
repz ret
jmp fcn.004017a6

Function at 0x403801
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0040281c
xor ebx, ebx
cmp dword [0x40b5f8], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x4038d6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x403841
xor eax, eax
jmp 0x40399a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x40383a
push eax
call fcn.004027b9
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40b5f8], eax
call esi
push eax
call fcn.004027b9
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40b5fc], eax
call esi
push eax
call fcn.004027b9
mov dword [0x40b600], eax
lea eax, [ebp - 8]
push eax
call fcn.00401acb
test eax, eax
pop ecx
pop ecx
je 0x4038a4
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004018b4
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x4038d6
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004027b9
cmp eax, ebx
pop ecx
mov dword [0x40b608], eax
je 0x4038d6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004027b9
pop ecx
mov dword [0x40b604], eax
mov eax, dword [0x40b604]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x40394f
cmp dword [0x40b608], esi
je 0x40394f
push eax
call fcn.00402825
pop ecx
call eax
cmp eax, ebx
je 0x40391c
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x40b608]
call fcn.00402825
pop ecx
call eax
test eax, eax
je 0x40391c
test byte [ebp - 0x18], 1
jne 0x40394f
lea eax, [ebp - 0xc]
push eax
call fcn.00401b02
test eax, eax
pop ecx
je 0x403937
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004018b4
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x403946
or dword [ebp + 0x10], 0x200000
jmp 0x403980
or dword [ebp + 0x10], 0x40000
jmp 0x403980
mov eax, dword [0x40b5fc]
cmp eax, esi
je 0x403980
push eax
call fcn.00402825
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x403980
mov eax, dword [0x40b600]
cmp eax, esi
je 0x403980
push dword [ebp - 4]
push eax
call fcn.00402825
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 [0x40b5f8]
call fcn.00402825
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10e3e
Capabilities:
Create device object

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
call fcn.00010e05
pop ebp
jmp fcn.00010490