joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b790
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x10000]
push edi
jmp 0x41b7aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41b7b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41b7a0
mov eax, 1
add ebx, ebx
jne 0x41b7c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41b7b8
jne 0x41b7d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41b7b8
xor ecx, ecx
sub eax, 3
jb 0x41b7e8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41b85a
mov ebp, eax
add ebx, ebx
jne 0x41b7f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41b800
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41b824
inc ecx
add ebx, ebx
jne 0x41b810
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41b805
jne 0x41b821
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41b805
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41b844
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41b835
jmp 0x41b7a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41b844
add edi, ecx
jmp 0x41b7a6
pop esi
mov edi, esi
mov ecx, 0x12d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41b862
cmp byte [edi], 2
jne 0x41b862
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 0x41b867
lea edi, [esi + 0x19000]
mov eax, dword [edi]
or eax, eax
je 0x41b8d6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1b638]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1b6cc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41b894
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1b6d4]
or eax, eax
je 0x41b8d0
mov dword [ebx], eax
add ebx, 4
jmp 0x41b8b1
call dword [esi + 0x1b6d0]
mov ebp, dword [esi + 0x1b6d8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
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 0x41b90a
sub esp, 0xffffff80
jmp 0x405a80

Function at 0x41101e
Capabilities:
Terminate process

Disassembly:
jmp 0x411900
jmp fcn.004120b0
cmp ecx, dword [0x418004]
jne 0x41190a
repz ret
jmp 0x41109b
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
nop
nop
nop
nop
push 4
pop edi
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x432072
mov ebx, 0x40c7d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0xba40f2b
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x432060
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
je 0x4320d2
nop
nop
nop
nop
nop
mov ebx, 0x42f314
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x711811ef
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x1013c2cd
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x2c
mov dword [ebp - 0xc], 0
mov dword [0x10268894], 0x1367
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov esi, dword [0x10268894]
mov edi, esi
add edi, 0xffffec0a
mov dword [0x10268894], edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
jmp 0x1013c389
mov eax, dword [ebp - 0x20]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x24], eax
jl 0x1013c389
jmp 0x1013c3a3
mov dword [0x10268894], 0x2505
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff5
shl eax, 1
mov ecx, dword [ebp - 0x18]
add ecx, eax
mov dword [ebp - 0x2c], ecx
xor eax, eax
mov ecx, dword [ebp - 0x2c]
cmp word [ecx], 0x61
mov dword [ebp - 0x30], eax
je 0x1013c3ce
jmp 0x1013c45c
xor eax, eax
mov dword [0x10268894], 0x28f
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x30], eax
je 0x1013c335
jmp 0x1013c45c
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], edx
jne 0x1013c31c
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov edx, dword [ebp - 0x14]
add edx, 0xfffff5a8
mov dword [0x10268894], edx
mov edx, dword [ebp - 0x18]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x30], ecx
je 0x1013c366
jmp 0x1013c45c
xor eax, eax
mov dword [0x10268898], 0x870
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x30], eax
jne 0x1013c45c
xor eax, eax
mov dword [0x10268894], 0x264f
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x30], eax
jne 0x1013c45c
xor eax, eax
mov dword [0x10268894], 0x1f9e
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x30], eax
jne 0x1013c45c
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff9
shl eax, 1
mov ecx, dword [ebp - 0x18]
add ecx, eax
mov dword [ebp - 0x34], ecx
xor eax, eax
mov ecx, dword [ebp - 0x34]
cmp word [ecx], 0x6c
mov dword [ebp - 0x30], eax
jne 0x1013c45c
mov eax, 1
mov dword [0x10268894], 0x536
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
add esp, 0x2c
pop esi
pop edi
pop ebp
ret
Function at 0x1013c6d3
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x102688a0], 0
mov byte [0x102688a4], 0
mov dword [0x10268898], 0x247e
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov dword [0x1026889c], 0
mov dword [ebp - 0x1c], eax
jmp 0x1013c73d
mov dword [0x10268894], 0x71f
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [0x1026889c], 0
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x1013c765
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x1026889c]
add eax, 1
mov dword [0x1026889c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1013c73d
jmp 0x1013c72c
mov eax, dword [ebp - 0x20]
mov ecx, pe_nt_image_headers32
mov dword [0x102688a8], 0
mov edx, dword [0x10268894]
mov esi, edx
add esi, 0xffffd965
mov dword [0x10268898], esi
mov esi, dword [0x102688a0]
mov edi, dword [ebp - 0x18]
movzx ebx, byte [edi + eax]
add ebx, esi
mov dword [ebp - 0x24], eax
xor esi, esi
mov dword [ebp - 0x28], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add ebx, edx
mov dword [0x102688a8], ebx
mov dword [0x10268898], 0x162a
mov eax, ebx
cdq
idiv ecx
mov dword [0x102688a0], edx
mov ecx, dword [ebp - 0x28]
add ecx, 0x26f4
mov dword [0x10268894], ecx
mov ecx, dword [ebp - 0x24]
mov cl, byte [edi + ecx]
mov byte [0x102688a4], cl
mov dword [0x10268894], 0x8fc
mov cl, byte [edi + edx]
mov edx, dword [ebp - 0x24]
mov byte [edi + edx], cl
mov dword [0x10268894], 0x721
mov cl, byte [0x102688a4]
mov ebx, dword [0x102688a0]
mov byte [edi + ebx], cl
mov dword [0x10268898], 0x15d4
mov ebx, dword [0x1026889c]
add ebx, 1
mov dword [0x1026889c], ebx
cmp ebx, 0x100
mov dword [ebp - 0x20], ebx
jl 0x1013c765
jmp 0x1013c71a
Function at 0x1013c844
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x1013f713]
mov esi, 0xe
lea edi, [ebp - 0x2c]
mov ebx, dword [0x10268894]
add ebx, 0x1e99
mov dword [0x10268894], ebx
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], esi
call fcn.1013c626
mov eax, dword [0x10268894]
add eax, 0xfffffc44
mov dword [0x10268898], eax
mov dword [0x10268894], 0x6c2
call fcn.1013ce12
mov dword [esp], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], eax
call fcn.1013c4a5
xor ecx, ecx
mov dword [0x10268894], 0x236d
cmp eax, 0
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
je 0x1013c972
mov eax, dword [ebp - 0x40]
mov dword [0x10268894], 0x1258
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov ecx, dword [0x10268894]
add ecx, 0x194b
mov dword [0x10268898], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x30]
mov dword [esp + 4], ecx
mov dword [ebp - 0x48], eax
call fcn.1013ccfe
xor eax, eax
mov ecx, dword [ebp - 0x48]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x38], ecx
mov dword [0x10268894], 0x341
mov ecx, dword [ebp - 0x48]
mov dword [edx + 8], ecx
cmp ecx, 0
mov dword [ebp - 0x44], eax
jne 0x1013c97d
mov eax, dword [ebp - 0x44]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x48]
add eax, 0x11d0
mov dword [0x10268898], 0x1ddf
mov dword [0x10268894], 0xffffefc9
mov dword [ebp - 0x44], eax
jmp 0x1013c972
Function at 0x1013c9f1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov eax, dword [ebp + 8]
mov ecx, dword [0x10268894]
add ecx, 0xffffea42
mov dword [0x10268898], ecx
mov dword [ebp - 0x10], eax
call fcn.1013d5f7
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov dword [0x10268894], 0x1516
mov esi, dword [eax + esi + 0x78]
mov dword [0x10268894], 0x11d0
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x10268898], 0x6c2
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
je 0x1013cb60
xor eax, eax
mov ecx, 0xffffefb4
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x24]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
xor esi, esi
mov edi, dword [ebp - 0x14]
mov ebx, dword [edi + edx*4]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x44], esi
mov eax, dword [ebp - 0x44]
mov ecx, eax
mov edx, dword [ebp - 0x40]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x49], bh
mov byte [ebp - 0x4a], cl
je 0x1013caef
mov eax, dword [ebp - 0x48]
add eax, 1
mov cl, byte [ebp - 0x49]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x4a]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x44], eax
jne 0x1013ca9e
mov al, byte [ebp - 0x4a]
test al, 1
jne 0x1013cb34
jmp 0x1013caf8
mov eax, 0xffffeebe
xor ecx, ecx
mov dword [0x10268894], 0x10da
mov edx, dword [ebp - 0x34]
add edx, 2
mov esi, dword [ebp - 0x3c]
add esi, 1
mov edi, dword [ebp - 0x18]
cmp esi, edi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
jb 0x1013ca7e
jmp 0x1013cb60
mov eax, dword [ebp - 0x34]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x38]
mov dword [0x10268898], edx
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
add esi, dword [esi + edi + 0x1c]
mov ebx, dword [ebp - 0x1c]
add ebx, dword [esi + ecx*4]
mov dword [0x10268894], 0x1a69
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp - 0x24]
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1013d288
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x6c
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x10268898], 0x26bd
mov dword [0x10268894], 0xe95
mov edx, ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], ecx
jmp 0x1013d3d5
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
lea edx, section..data
mov esi, dword [ebp - 0x44]
add esi, eax
mov edi, ecx
add edi, 1
imul ebx, ecx, 0xc8
mov dword [ebp - 0x48], eax
mov eax, edx
add eax, ebx
add eax, 0x3c
imul ebx, ecx, 0xc8
mov dword [ebp - 0x4c], eax
mov eax, edx
add eax, ebx
imul ecx, ecx, 0xc8
add edx, ecx
add edx, 0x84
mov ecx, dword [edx]
mov eax, dword [eax]
mov edx, dword [ebp - 0x4c]
movzx ebx, word [edx]
xor ebx, ecx
mov dword [esp], esi
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
call fcn.1013d4c3
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x48]
add eax, ecx
mov edx, dword [ebp - 0x50]
cmp edx, 0x190
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], eax
jne 0x1013d2ba
mov dword [0x10268898], 0x9b1
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x58]
mov dword [esp + 8], ecx
call fcn.1013cb6b
mov eax, dword [ebp - 0x44]
add eax, 0x1061d0
mov ecx, dword [ebp - 0x30]
mov dword [ecx], eax
mov eax, dword [0x10268894]
add eax, 0x183c
mov dword [0x10268894], eax
mov dword [ecx + 4], 0x13a600
mov dword [0x10268898], 0x13e1
mov eax, dword [ebp - 0x44]
add eax, 0xf78c5
mov dword [ebp - 0x5c], eax
xor eax, eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x5c]
mov dword [ecx + 8], edx
mov esi, dword [0x10268894]
add esi, 0x1510
mov dword [0x10268894], esi
mov dword [ecx + 0xc], 0x20b0
mov esi, dword [0x10268898]
add esi, 0xfffff7d7
mov dword [0x10268898], esi
add esp, 0x6c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
lea edx, section..data
imul esi, eax, 0xc8
mov edi, edx
add edi, esi
add edi, 0x84
mov esi, dword [edi]
imul edi, eax, 0xc8
add edx, edi
add edx, 0x3c
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x190
mov ecx, edx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
jne 0x1013d3d5
lea eax, [0x1013f713]
mov ecx, 0xe
lea edx, [ebp - 0x2c]
mov dword [0x10268898], 0x130b
mov dword [0x10268894], 0x1346
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x64], ecx
call fcn.1013c626
mov dword [0x10268898], 0xb5d
mov dword [0x10268894], 0x6c2
call fcn.1013ce12
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [esp], eax
mov ecx, dword [ebp - 0x60]
mov dword [esp + 4], ecx
call fcn.1013c4a5
mov ecx, eax
mov dword [0x102688b4], eax
mov eax, esp
mov edx, dword [ebp - 0x58]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], ecx
jmp 0x1013d2ba
Function at 0x1013d782
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov ebx, 0x4207
mov dword [0x1026889c], 0
mov dword [0x102688a0], 0
mov dword [0x102688ac], 0
mov dword [0x10268898], 0x222c
mov dword [0x10268894], 0x4207
cmp eax, 0
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov eax, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], edi
je 0x1013d926
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
mov edi, pe_nt_image_headers32
add ecx, 0xfffff351
mov dword [0x10268894], ecx
add edx, 1
mov dword [ebp - 0x30], eax
mov eax, edx
cdq
idiv edi
mov dword [0x1026889c], edx
mov ecx, dword [ebp - 0x24]
movzx ebx, byte [ecx + edx]
add ebx, esi
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv edi
mov dword [0x102688a0], edx
mov dword [0x10268894], 0x1bda
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x102688a4], cl
mov dword [0x10268894], 0x297
mov edi, dword [ebp - 0x24]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov dword [0x10268894], 0x2f0
mov cl, byte [0x102688a4]
mov edx, dword [0x102688a0]
mov byte [edi + edx], cl
mov edx, dword [0x1026889c]
movzx edx, byte [edi + edx]
mov ebx, dword [0x102688a0]
movzx ebx, byte [edi + ebx]
add ebx, edx
mov dword [0x10268898], 0xffffe4ab
and ebx, 0xff
mov dword [0x102688ac], ebx
mov dword [0x10268894], 0x1696
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x30]
mov ch, byte [edx + ebx]
mov byte [0x102688b1], ch
mov byte [0x102688b2], cl
xor ch, cl
mov byte [0x102688b0], ch
mov dword [0x10268898], 0xffffef26
mov dword [0x10268894], 0x15f1
mov edx, dword [ebp - 0x20]
mov byte [edx + ebx], ch
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x38], ebx
je 0x1013d926
mov eax, dword [0x10268894]
mov ecx, dword [0x1026889c]
mov edx, dword [0x102688a0]
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], esi
jmp 0x1013d7f7
mov dword [0x10268898], 0x23ec
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1013d938
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.1013d288
lea ecx, [0x1013cca6]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x70], edx
mov dword [0x10268898], 0x1082
mov dword [esp + 0x5c], 0x13a600
mov edx, dword [0x10268880]
mov dword [esp + 0x7c], edx
mov edx, dword [0x10268884]
mov dword [esp + 0x78], edx
mov edx, dword [0x10268888]
mov dword [esp + 0x50], edx
mov edx, dword [0x1026888c]
mov dword [esp + 0x74], edx
mov edx, dword [0x10268890]
mov dword [esp + 0x80], edx
mov dword [0x10268894], 0xffffe113
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jmp 0x1013d9d3
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
jne 0x1013d9c1
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
jne 0x1013d9c1
mov eax, dword [esp + 0x10]
mov dword [esp + 0x6c], eax
mov dword [0x10268894], 0x1516
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x30], edx
mov dword [0x10268898], 0x3a6
call fcn.1013c2cd
xor ecx, ecx
cmp eax, 0
mov dword [esp + 8], ecx
jne 0x1013da64
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.1013c844
mov dword [0x10268898], 0x2491
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x40c544
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
push ebx
push esi
mov ecx, edx
mov edx, eax
mov esi, ecx
shr esi, 2
and ecx, 3
test esi, esi
je 0x40c5cb
je 0x40c5fa
mov eax, 0xffffffff
xor ebx, ebx
mov dword [esp], edi
movzx edi, byte [edx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x59c0c0]
movzx edi, byte [edx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x59c0c0]
movzx edi, byte [edx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x59c0c0]
movzx edi, byte [edx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x59c0c0]
add edx, 4
inc ebx
cmp ebx, esi
jb 0x40c567
mov edi, dword [esp]
jmp 0x40c5d0
mov eax, 0xffffffff
test ecx, ecx
je 0x40c5f4
je 0x40c5f4
xor ebx, ebx
inc edx
movzx esi, byte [edx - 1]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x59c0c0]
inc ebx
cmp ebx, ecx
jb 0x40c5d8
not eax
pop ecx
pop ebx
pop esi
ret
mov eax, 0xffffffff
jmp 0x40c5d0

Function at 0x40c608
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
lea edx, [esp]
push 8
push edx
push dword [eax]
call fcn.00470b98
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
add esp, 0x14
ret
Function at 0x40d54c
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push edi
push esi
push ebp
push ebx
push esi
mov dword [esp], edx
mov eax, dword [eax]
inc dword [0x835e54]
mov edi, ecx
xor esi, esi
xor esi, ecx
cmp ecx, 4
jl 0x40d58d
imul ebp, dword [edx], 0x5bd1e995
mov ebx, ebp
shr ebx, 0x18
xor ebp, ebx
imul ebx, ebp, 0x5bd1e995
imul esi, esi, 0x5bd1e995
xor esi, ebx
add edx, 4
add edi, 0xfffffffc
cmp edi, 4
jge 0x40d567
cmp edi, 3
je 0x40d59e
cmp edi, 2
je 0x40d5a7
cmp edi, 1
je 0x40d5b0
jmp 0x40d5bb
movzx edi, byte [edx + 2]
shl edi, 0x10
xor esi, edi
movzx edi, byte [edx + 1]
shl edi, 8
xor esi, edi
movzx edx, byte [edx]
xor esi, edx
imul esi, esi, 0x5bd1e995
mov edx, esi
shr edx, 0xd
xor esi, edx
imul esi, esi, 0x5bd1e995
mov edi, esi
shr edi, 0xf
xor esi, edi
and esi, 0x7fffffff
add esi, 0x80000000
test eax, eax
je 0x40d61e
mov edi, dword [0x835e50]
mov ebx, eax
mov ebp, ecx
inc edi
mov dword [0x835e50], edi
cmp esi, dword [ebx + 0x1c]
jne 0x40d615
cmp ebp, dword [ebx + 0x18]
jne 0x40d60f
push ebp
mov edx, dword [esp + 4]
push edx
push dword [ebx + 0x14]
call fcn.00471120
add esp, 0xc
test eax, eax
je 0x40d624
inc dword [0x835e4c]
mov ebx, dword [ebx + 0xc]
test ebx, ebx
jne 0x40d5e9
mov eax, ebx
pop ecx
pop ebx
pop ebp
pop esi
pop edi
ret
mov eax, ebx
pop ecx
pop ebx
pop ebp
pop esi
pop edi
ret
Function at 0x4177cc
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [0x59cc10]
cmp eax, 0x270
jl 0x41789a
xor edx, edx
mov eax, dword [edx*4 + 0x5cfd80]
and eax, 0x80000000
mov ecx, dword [edx*4 + 0x5cfd84]
and ecx, 0x7fffffff
or eax, ecx
mov ecx, eax
shr ecx, 1
and eax, 1
xor ecx, dword [edx*4 + 0x5d03b4]
xor ecx, dword [eax*4 + 0x578538]
mov dword [edx*4 + 0x5cfd80], ecx
inc edx
cmp edx, 0xe3
jl 0x4177de
cmp edx, 0x26f
jge 0x417866
mov eax, dword [edx*4 + 0x5cfd80]
and eax, 0x80000000
mov ecx, dword [edx*4 + 0x5cfd84]
and ecx, 0x7fffffff
or eax, ecx
mov ecx, eax
shr ecx, 1
and eax, 1
xor ecx, dword [edx*4 + 0x5cf9f4]
xor ecx, dword [eax*4 + 0x578538]
mov dword [edx*4 + 0x5cfd80], ecx
inc edx
cmp edx, 0x26f
jl 0x417826
mov edx, dword [0x5d073c]
and edx, 0x80000000
mov eax, dword [0x5cfd80]
and eax, 0x7fffffff
or edx, eax
mov ecx, edx
shr ecx, 1
xor ecx, dword [0x5d03b0]
and edx, 1
xor ecx, dword [edx*4 + 0x578538]
mov dword [0x5d073c], ecx
xor eax, eax
lea edx, [eax + 1]
mov dword [0x59cc10], edx
mov eax, dword [eax*4 + 0x5cfd80]
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov edx, eax
shl edx, 7
and edx, 0x9d2c5680
xor eax, edx
mov edx, eax
shl edx, 0xf
and edx, 0xefc60000
xor eax, edx
mov edx, eax
shr edx, 0x12
xor eax, edx
ret