joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43d9b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov edi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x3c]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ebx + eax + 2], 0
lea eax, [eax + 2]
jne 0x43d9d0
mov esi, eax
sar esi, 1
cmp esi, 0xfffffffb
jge 0x43d9eb
mov eax, 0xffffffff
jmp 0x43d9ee
add eax, 0xa
push eax
call fcn.00408bc0
add esp, 4
mov dword [eax], 0x3f005c
mov dword [eax + 4], 0x5c003f
lea ecx, [esi + 4]
mov word [eax + 8], 0
mov edx, eax
add edx, 8
movzx ebp, word [ebx]
test bp, bp
je 0x43da31
add ebx, 2
nop
nop
nop
mov word [edx], bp
add edx, 2
movzx ebp, word [ebx]
add ebx, 2
test bp, bp
jne 0x43da20
mov word [edx], 0
mov edx, ecx
and edx, 0xfffd
and esi, 2
mov ebx, esi
xor ebx, 2
imul ebx, edx
or ecx, 2
imul ecx, esi
lea edx, [ecx + ebx]
mov word [esp + 8], dx
add ecx, ebx
add ecx, 2
mov word [esp + 0xa], cx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x18
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], 0x40
lea ecx, [esp + 8]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp], 0x4778797a
mov ecx, 0x5f3f59d
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + ecx - 0x5f3f59d]
xor edx, ecx
add edx, 0xd0605317
mov esi, edx
and esi, 1
xor edx, 1
lea edx, [edx + esi*2]
mov byte [esp + ecx - 0x5f3f59d], dl
inc ecx
cmp ecx, 0x5f3f5a1
jne 0x43dab0
mov esi, dword [esp]
mov ecx, dword [0x449558]
test ecx, ecx
je 0x43db34
xor edx, edx
mov ebx, dword [0x44955c]
cmp dword [ebx + edx*8], 0x75935cf9
je 0x43db00
inc edx
cmp ecx, edx
jne 0x43daf0
jmp 0x43db34
mov ecx, dword [ebx + edx*8 + 4]
cmp ecx, esi
je 0x43db34
mov edx, esp
lea esi, [esp + 0x10]
push edi
push dword [esp + 0x4c]
push edx
push esi
push dword [esp + 0x54]
push dword [esp + 0x54]
push 0x18
push ecx
push dword [0x449560]
mov edi, eax
call fcn.0043b830
add esp, 0x24
mov esi, eax
mov eax, edi
push eax
call fcn.00408bd0
add esp, 4
mov eax, esi
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x43db50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x50
mov ebx, dword [ebp + 8]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ebx + eax + 2], 0
lea eax, [eax + 2]
jne 0x43db70
mov esi, eax
sar esi, 1
cmp esi, 0xfffffffb
jge 0x43db8b
mov eax, 0xffffffff
jmp 0x43db8e
add eax, 0xa
push eax
call fcn.00408bc0
add esp, 4
mov dword [eax], 0x3f005c
mov dword [eax + 4], 0x5c003f
lea ecx, [esi + 4]
mov word [eax + 8], 0
mov edx, eax
add edx, 8
movzx edi, word [ebx]
test di, di
je 0x43dbd1
add ebx, 2
nop
nop
nop
mov word [edx], di
add edx, 2
movzx edi, word [ebx]
add ebx, 2
test di, di
jne 0x43dbc0
mov word [edx], 0
mov edx, ecx
and edx, 0xfffd
and esi, 2
mov edi, esi
xor edi, 2
imul edi, edx
or ecx, 2
imul ecx, esi
lea edx, [ecx + edi]
mov word [esp], dx
add ecx, edi
add ecx, 2
mov word [esp + 2], cx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], 0x40
mov ecx, esp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0x4778797a
mov ecx, 0x5f3f59d
nop
movzx edx, byte [esp + ecx - 0x5f3f57d]
xor edx, ecx
add edx, 0xd0605317
mov esi, edx
and esi, 1
xor edx, 1
lea edx, [edx + esi*2]
mov byte [esp + ecx - 0x5f3f57d], dl
inc ecx
cmp ecx, 0x5f3f5a1
jne 0x43dc40
mov esi, dword [esp + 0x20]
mov ecx, dword [0x449558]
test ecx, ecx
je 0x43dcc9
xor edx, edx
mov edi, dword [0x44955c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0xcaa82e26
je 0x43dca0
inc edx
cmp ecx, edx
jne 0x43dc90
jmp 0x43dcc9
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, esi
je 0x43dcc9
lea edx, [esp + 0x20]
lea esi, [esp + 8]
push edx
push esi
push 8
push ecx
push dword [0x449560]
mov edi, eax
call fcn.0043b830
add esp, 0x14
mov esi, eax
mov eax, edi
push eax
call fcn.00408bd0
add esp, 4
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x43dcdf
mov eax, dword [esp + 0x40]
mov dword [ecx], eax
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x43dcf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov dword [esp], 0x4778797a
mov eax, 0x5f3f59d
nop
nop
movzx ecx, byte [esp + eax - 0x5f3f59d]
xor ecx, eax
add ecx, 0xd0605317
mov edx, ecx
and edx, 1
xor ecx, 1
lea ecx, [ecx + edx*2]
mov byte [esp + eax - 0x5f3f59d], cl
inc eax
cmp eax, 0x5f3f5a1
jne 0x43dd10
mov eax, dword [esp]
mov edx, dword [0x449558]
test edx, edx
je 0x43dd88
xor ebx, ebx
mov ecx, dword [0x44955c]
nop
cmp dword [ecx + ebx*8], 0xa269eeef
je 0x43dd60
inc ebx
cmp edx, ebx
jne 0x43dd50
jmp 0x43dd88
mov edx, dword [ecx + ebx*8 + 4]
cmp edx, eax
je 0x43dd88
mov eax, esp
lea ecx, [esp + 0x1c]
push 5
push 0x18
push eax
push ecx
push dword [ebp + 8]
push 0x14
push edx
push dword [0x449560]
call fcn.0043b830
add esp, 0x20
test edi, edi
je 0x43dd92
mov ecx, dword [esp + 8]
mov dword [edi], ecx
test esi, esi
je 0x43dd9e
cmp byte [esp + 0x15], 0
setne byte [esi]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x43ddb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov dword [esp + 4], 0x4778797a
mov eax, 0x5f3f59d
movzx edi, byte [esp + eax - 0x5f3f599]
xor edi, eax
add edi, 0xd0605317
mov ebx, edi
and ebx, 1
xor edi, 1
lea ebx, [edi + ebx*2]
mov byte [esp + eax - 0x5f3f599], bl
inc eax
cmp eax, 0x5f3f5a1
jne 0x43ddd0
mov eax, dword [esp + 4]
mov ebx, dword [0x449558]
test ebx, ebx
je 0x43de4e
xor ebp, ebp
mov edi, dword [0x44955c]
cmp dword [edi + ebp*8], 0xe88ddea1
je 0x43de20
inc ebp
cmp ebx, ebp
jne 0x43de10
jmp 0x43de4e
mov ebx, dword [edi + ebp*8 + 4]
cmp ebx, eax
je 0x43de4e
lea eax, [esp + 4]
push 0
push 0
push edx
push ecx
push eax
push 0
push 0
push 0
push dword [esp + 0x40]
push 0x24
push ebx
push dword [0x449560]
call fcn.0043b830
add esp, 0x30
cmp eax, 0x103
jne 0x43dee9
mov dword [esp], 0x4778797a
mov eax, 0x5f3f59d
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax - 0x5f3f59d]
xor ecx, eax
add ecx, 0xd0605317
mov edx, ecx
and edx, 1
xor ecx, 1
lea ecx, [ecx + edx*2]
mov byte [esp + eax - 0x5f3f59d], cl
inc eax
cmp eax, 0x5f3f5a1
jne 0x43de70
mov eax, dword [esp]
mov ecx, dword [0x449558]
test ecx, ecx
je 0x43dee1
xor edx, edx
mov edi, dword [0x44955c]
nop
cmp dword [edi + edx*8], 0xa67d73aa
je 0x43dec0
inc edx
cmp ecx, edx
jne 0x43deb0
jmp 0x43dee1
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, eax
je 0x43dee1
push 0
push 0
push dword [esp + 0x28]
push 0xc
push ecx
push dword [0x449560]
call fcn.0043b830
add esp, 0x18
test eax, eax
js 0x43dee9
mov eax, dword [esp + 4]
test esi, esi
je 0x43defc
xor ecx, ecx
cmp eax, 0xc0000011
je 0x43defa
mov ecx, dword [esp + 8]
mov dword [esi], ecx
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x43df10
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov dword [esp + 4], 0x4778797a
mov eax, 0x5f3f59d
movzx edi, byte [esp + eax - 0x5f3f599]
xor edi, eax
add edi, 0xd0605317
mov ebx, edi
and ebx, 1
xor edi, 1
lea ebx, [edi + ebx*2]
mov byte [esp + eax - 0x5f3f599], bl
inc eax
cmp eax, 0x5f3f5a1
jne 0x43df30
mov eax, dword [esp + 4]
mov ebx, dword [0x449558]
test ebx, ebx
je 0x43dfae
xor ebp, ebp
mov edi, dword [0x44955c]
cmp dword [edi + ebp*8], 0x88822328
je 0x43df80
inc ebp
cmp ebx, ebp
jne 0x43df70
jmp 0x43dfae
mov ebx, dword [edi + ebp*8 + 4]
cmp ebx, eax
je 0x43dfae
lea eax, [esp + 4]
push 0
push 0
push edx
push ecx
push eax
push 0
push 0
push 0
push dword [esp + 0x40]
push 0x24
push ebx
push dword [0x449560]
call fcn.0043b830
add esp, 0x30
cmp eax, 0x103
jne 0x43e049
mov dword [esp], 0x4778797a
mov eax, 0x5f3f59d
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax - 0x5f3f59d]
xor ecx, eax
add ecx, 0xd0605317
mov edx, ecx
and edx, 1
xor ecx, 1
lea ecx, [ecx + edx*2]
mov byte [esp + eax - 0x5f3f59d], cl
inc eax
cmp eax, 0x5f3f5a1
jne 0x43dfd0
mov eax, dword [esp]
mov ecx, dword [0x449558]
test ecx, ecx
je 0x43e041
xor edx, edx
mov edi, dword [0x44955c]
nop
cmp dword [edi + edx*8], 0xa67d73aa
je 0x43e020
inc edx
cmp ecx, edx
jne 0x43e010
jmp 0x43e041
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, eax
je 0x43e041
push 0
push 0
push dword [esp + 0x28]
push 0xc
push ecx
push dword [0x449560]
call fcn.0043b830
add esp, 0x18
test eax, eax
js 0x43e049
mov eax, dword [esp + 4]
test esi, esi
je 0x43e053
mov ecx, dword [esp + 8]
mov dword [esi], ecx
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x43e060
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
xor ebx, ebx
nop
nop
nop
cmp word [edi + ebx], 0
lea ebx, [ebx + 2]
jne 0x43e080
add ebx, 0xfffffffe
and ebx, 0xfffe
mov word [esp + 4], bx
add ebx, 2
mov word [esp + 6], bx
mov dword [esp + 8], edi
mov dword [esp + 0xc], 0x18
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], 0x40
lea eax, [esp + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp], 0x4778797a
mov eax, 0x5f3f59d
nop
nop
nop
nop
movzx edi, byte [esp + eax - 0x5f3f59d]
xor edi, eax
add edi, 0xd0605317
mov ebx, edi
and ebx, 1
xor edi, 1
lea ebx, [edi + ebx*2]
mov byte [esp + eax - 0x5f3f59d], bl
inc eax
cmp eax, 0x5f3f5a1
jne 0x43e0e0
mov eax, dword [esp]
mov edi, dword [0x449558]
test edi, edi
je 0x43e152
xor ebx, ebx
mov ebp, dword [0x44955c]
nop
cmp dword [ebp + ebx*8], 0xb7847e1b
je 0x43e131
inc ebx
cmp edi, ebx
jne 0x43e120
jmp 0x43e152
mov edi, dword [ebp + ebx*8 + 4]
cmp edi, eax
je 0x43e152
lea eax, [esp + 0xc]
push esi
push eax
push edx
push ecx
push 0x10
push edi
push dword [0x449560]
call fcn.0043b830
add esp, 0x1c
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x99768c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x9976b3
call fcn.00939c18
mov dword [eax], esi
call fcn.00939c05
push 0x16
pop esi
mov dword [eax], esi
call fcn.0093a85a
mov eax, esi
jmp 0x997708
test dword [ebp + 0xc], 0xfffffff9
jne 0x997699
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x9976e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00939c2b
pop ecx
call fcn.00939c05
mov eax, dword [eax]
jmp 0x997708
test al, 0x10
jne 0x997706
test al, 1
je 0x997706
test byte [ebp + 0xc], 2
je 0x997706
call fcn.00939c18
mov dword [eax], 5
call fcn.00939c05
mov dword [eax], 0xd
jmp 0x9976d7
xor eax, eax
pop esi
pop ebp
ret

Function at 0x401750
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov al, 0x2b
or byte [ebx + 0x40c07b0d], cl
add byte [eax - 0x7d], dl
inc eax
push 0x5f40d274
push ecx
call dword [0x29c180]
mov eax, dword [0x41eaac]
add esp, 0xc
test dword [esp + esi*2 + 0x5468500f], edi
rol byte [edi + 0x6415ff00], cl
rol dword [eax], 0x83
les ecx, [eax]
push 1
call dword [sym.imp.MSVCRT.dll_exit]
nop
push ebp
dec esi
in al, dx
sub esp, 0xb8
mov eax, dword [0x81410278]
test eax, eax
in al, 0x4c
pop es
inc ecx
add byte [esp + edx + 0x68], dh
inc eax
cmp al, 0x41
add byte [eax - 0x18], dl
sahf
inc eax
sbb byte [eax], al
dec ax
or eax, 0x410274
jmp 0x4017cf
mov dword [0x4118f0], eax
mov eax, dword [0x2410288]
ja 0x401831
dec eax
xor eax, 0x58c164
mov word [0x440bb4], cx
pop eax
add byte [esi - 0x77], ah
or eax, 0x440bb4
test eax, eax
push edi
jne 0x40184a
mov edx, dword [0x411800]
push edx
push 0xa940d498
call esi
mov eax, dword [0xbc0907]
or ebx, 8
mov esp, 0x8cb8300
test eax, eax
je 0x4017fe
mov eax, dword [0x20411f74]
push eax
push 0x413c0f
push str._through__s:_d_
call esi
jne 0x4017df
or al, 0xa1
adc al, 0xd0
inc eax
add byte [ebp - 0x2b7f4740], al
pop ds
add byte [ebp + 5], dh
mov eax, 0x35137c
push eax
push str._be_patient__s
call esi
insb byte es:[edi], dx
aam 0x40
add bh, bh
salc
push ecx
or eax, 0x5e40c03b
add ecx, 0x20
push ecx
inc dword [ebp + 0xa3c118]
add esp, 0xc
mov edx, dword [0x8a40d077]
mov esi, dword [0x408458]
push 0x860
push edx
call esi
mov dword [0x410bb0], eax
mov eax, dword [0x3340d010]
push eax
and byte [edi], dh
jmp dword [edi - 0x5a05f275]
Function at 0x10001be0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1001f6a0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
mov eax, dword [0x1002a258]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
lea eax, [esp + 0x3c]
xor ebx, ebx
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 1
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call fcn.100014a0
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x1c], ecx
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 2
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
call fcn.100014a0
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], eax
lea ecx, [esp + 8]
mov byte [esp + 0x28], 3
call fcn.10001300
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 1
call fcn.10001300
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], bl
call fcn.10001300
lea ecx, [esp + 0x3c]
mov dword [esp + 0x28], 0xffffffff
call fcn.10001300
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x24
ret

Function at 0x10002080
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1001f7e1
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x1002a258]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], 0
cmp dword [esp + 0x30], edi
mov dword [esp + 0x24], 1
jne 0x100020c6
mov eax, dword [esp + 0x38]
cmp eax, dword [edi + 0x10]
jne 0x100020dd
push 0x308
push str.Q:VS8VCincludelist
push str.list_erase_iterator_outside_range
call fcn.100040c0
add esp, 0xc
push 0
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x38]
call fcn.10001d30
mov esi, dword [eax + 8]
lea ecx, [esp + 0x10]
call fcn.10001300
push esi
push edi
mov ecx, edi
call fcn.10001140
cmp esi, dword [edi + 0x10]
je 0x10002123
mov eax, dword [esi + 4]
mov edx, dword [esi]
mov dword [eax], edx
mov eax, dword [esi]
mov ecx, dword [esi + 4]
push esi
mov dword [eax + 4], ecx
call fcn.10004930
add esp, 4
add dword [edi + 0x14], 0xffffffff
mov esi, dword [esp + 0x2c]
lea edx, [esp + 0x30]
push edx
mov ecx, esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100014a0
mov eax, dword [esp + 0x38]
mov dword [esi + 8], eax
lea ecx, [esp + 0x30]
mov dword [esp + 0xc], 1
mov byte [esp + 0x24], 0
call fcn.10001300
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret 0x10
Function at 0x10003090
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x10003101
mov ecx, dword [ebp - 4]
cmp dword [ecx + 8], 0
je 0x10003101
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
test eax, eax
jne 0x100030ea
jmp 0x10003101
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
push 0x40
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x100035f0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x1002b2e0], 0
je 0x10003609
mov eax, dword [0x1002b2e0]
jmp 0x100037ab
mov dword [0x1002b2e0], 0x1002b2b8
push 0x28
push 0
push 0x1002b2b8
call fcn.10005ef0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [0x1002b2b8], eax
push str.imagehlp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x1002b2bc], eax
cmp dword [0x1002b2bc], 0
jne 0x1000364f
xor eax, eax
jmp 0x100037ab
push str.ImagehlpApiVersionEx
mov eax, dword [0x1002b2bc]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1002b2c0], eax
push str.SymInitialize
mov ecx, dword [0x1002b2bc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1002b2c4], eax
push str.SymSetOptions
mov edx, dword [0x1002b2bc]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1002b2c8], eax
push str.SymGetOptions
mov eax, dword [0x1002b2bc]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1002b2cc], eax
push str.SymLoadModule
mov ecx, dword [0x1002b2bc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1002b2d0], eax
push str.SymGetModuleInfo
mov edx, dword [0x1002b2bc]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1002b2d4], eax
push str.SymGetSymFromName
mov eax, dword [0x1002b2bc]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1002b2d8], eax
push str.BindImage
mov ecx, dword [0x1002b2bc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1002b2dc], eax
push 8
push 0
lea edx, [ebp - 8]
push edx
call fcn.10005ef0
add esp, 0xc
mov word [ebp - 8], 7
cmp dword [0x1002b2c0], 0
je 0x1000372d
lea eax, [ebp - 8]
push eax
call dword [0x1002b2c0]
cmp dword [0x1002b2c0], 0
je 0x10003744
mov ecx, dword [ebp - 8]
and ecx, 0xffff
cmp ecx, 7
jge 0x1000375f
mov edx, dword [0x1002b2bc]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x1002b2bc], 0
xor eax, eax
jmp 0x100037ab
cmp dword [0x1002b2c4], 0
je 0x10003778
push 0
push 0
mov eax, dword [0x1002b2b8]
push eax
call dword [0x1002b2c4]
cmp dword [0x1002b2cc], 0
je 0x100037a6
cmp dword [0x1002b2c8], 0
je 0x100037a6
call dword [0x1002b2cc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
and ecx, 7
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [0x1002b2c8]
mov eax, dword [0x1002b2e0]
mov esp, ebp
pop ebp
ret

Function at 0x100059d0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1002a258]
jne 0x100059da
repz ret
jmp fcn.1000f180
Function at 0x401230
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 4]
mov edx, ecx
dec ecx
test edx, edx
je 0x40126e
push ebx
push esi
lea esi, [ecx + 1]
mov ecx, dword [esp + 0x10]
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xffff
shr edx, 8
xor edx, ebx
xor ebx, ebx
mov bh, al
mov ax, word [edx*2 + 0x66cdd0]
xor ax, bx
inc ecx
dec esi
jne 0x401248
pop esi
pop ebx
ret

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

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x404e0b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x404f0e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x63787c]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x63787c]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x63787c]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x63787c]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x63787c]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x63787c]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x63787c]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x63787c]
xor eax, edx
inc ecx
dec edi
jne 0x404e26
pop edi
test esi, esi
je 0x404f30
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x63787c]
xor eax, edx
inc ecx
dec esi
jne 0x404f12
pop esi
pop ebx
not eax
ret
Function at 0x412b10
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x10]
mov eax, dword [esi]
mov edx, dword [esi + 0x58]
and al, 1
push edi
neg al
sbb al, al
lea ebx, [esi + 0x3e]
and eax, 0xff
push eax
push ecx
push edx
push ebx
push ebp
call fcn.00412bc0
mov edi, eax
xor eax, eax
add esp, 0x14
cmp edi, eax
jne 0x412b6d
mov eax, dword [ebp]
xor ecx, ecx
push ebx
mov ax, word [eax + 6]
mov cl, ah
mov ch, al
mov word [esi + 0x4a], cx
call fcn.00412b90
add esp, 4
mov word [esi + 0x4c], ax
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
mov word [esi + 0x4c], ax
mov word [esi + 0x4a], ax
mov eax, dword [esi]
and al, 0xf9
mov dword [esi], eax
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x427c90
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
xor eax, eax
mov edx, ecx
dec ecx
test edx, edx
jle 0x427cc6
push ebx
push esi
lea esi, [ecx + 1]
mov ecx, dword [esp + 0xc]
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x5ff090]
xor eax, edx
inc ecx
dec esi
jne 0x427ca6
pop esi
pop ebx
ret