joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1009bae0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x1009bb1e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x1009bb16
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x1009bb20
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x1009bb06
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x1009bbf0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x1009bc21
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x1009bc21
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x1009bc21
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x100b31b7
Capabilities:
Encode data using xor

Disassembly:
call 0x100b3130
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x100b3160
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x100b317c
xor edx, 0
jmp 0x100b3187
xor edx, edx
jmp 0x100b319e
jmp 0x100b31aa
xor eax, eax
push 0x8427d7c0
call 0x100b31b7
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x100b31f3
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x100b31cc
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x100b320a
add eax, 0
jno 0x100b320f
add esi, 0
ret 0x10
Function at 0x100b3f78
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x100b3f9a
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x100b413c
cmp edi, dword [ebp + 0x10]
jb 0x100b413c
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.100b3a64
inc edi
jmp 0x100b4023
jmp 0x100b4030
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.100b3a64
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.100b3a64
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x100b4084
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x100b4068
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.100b40b2
add dword [eax], 0x39
jle 0x100b408e
sub al, 0xf5
mov ch, al
call fcn.100b40c7
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x100b5d9f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x100b5db5
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x100b5dc6
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.100b5e07
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx
Function at 0x100b8173
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x100b80bc
add ebx, 0
push ecx
call 0x100b80d1
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x737661ff
sub ebx, dword [0x73785a3e]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x73785a2e
call fcn.100b3b9b
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.100b30a9
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x100b822f
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x100b822f
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x100b81e6
mov eax, 1
lock xchg dword [0x73785a3a], eax
push 0x3dd1fc71
call 0x100b8173
push esi
add esp, 8
cmp eax, 0
jne 0x100b815c
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x100b8182
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x100b8197
cmp ecx, edx
cmp eax, 0
je 0x100b81bc
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x100b81a6
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.100b81d5
dec eax
loope 0x100b81d8
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x73785a3a], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x100b820c
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x100b8221
jmp 0x100b822c
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x100b811a
Function at 0x100bf294
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x100bf56a
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x737726b2
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x73769678
push 0xffffffffffffffff
call fcn.100b6494
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x100bf2fe
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.100bf316
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x100bf55e
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x100bf532
Function at 0x100ced64
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x100ced86
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x100ced86
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x100ced86
ret
cmp word [ebx + 4], 0x14c
jne 0x100ced86
test word [ebx + 0x16], 2
je 0x100ced86
test word [ebx + 0x16], 0x100
je 0x100ced86
cmp word [ebx + 0x18], 0x10b
jne 0x100ced86
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x100ced86
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x100cee12
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x100ceda6
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.100b5cf1
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x100ced86
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x100cee12
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x100ced86
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x100ced86
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x100ced86
ret
cmp word [ebx + 4], 0x14c
jne 0x100ced86
test word [ebx + 0x16], 2
je 0x100ced86
test word [ebx + 0x16], 0x100
je 0x100ced86
cmp word [ebx + 0x18], 0x10b
jne 0x100ced86
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x100ced86
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x100cee12
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x100ceda6
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.100b5cf1
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x100ced86
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x100ceec9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x100cef22
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x100ceec9
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x100ceed8
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x104d4b7b
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x100cef29
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.100b5d9f
cmp eax, dword [ebp + 0xc]
pop eax
je 0x100cefc8
add edi, 4
add eax, 2
dec ecx
jne 0x100cef0e
call 0x100cef75
loope 0x100cef6b
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x100cefc5
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x100cefd6
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x100cef89
cmp eax, ecx
ja 0x100cef89
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x100cf013
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x100cf009
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.100b627e
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x100ceed8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x100cef22
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x100ceec9
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x100ceed8
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x104d4b7b
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x100cef29
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.100b5d9f
cmp eax, dword [ebp + 0xc]
pop eax
je 0x100cefc8
add edi, 4
add eax, 2
dec ecx
jne 0x100cef0e
call 0x100cef75
loope 0x100cef6b
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x100cefc5
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x100cefd6
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x100cef89
cmp eax, ecx
ja 0x100cef89
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x100cf013
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x100cf009
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.100b627e
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x4a6230
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6f000]
push edi
or ebp, 0xffffffff
jmp 0x4a6252
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4a6259
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a6248
mov eax, 1
add ebx, ebx
jne 0x4a626b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4a627c
jne 0x4a628c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a628c
dec eax
add ebx, ebx
jne 0x4a6288
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4a6260
xor ecx, ecx
sub eax, 3
jb 0x4a62a4
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4a6316
sar eax, 1
mov ebp, eax
jmp 0x4a62af
add ebx, ebx
jne 0x4a62af
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4a62bc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4a62e0
inc ecx
add ebx, ebx
jne 0x4a62cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4a62c1
jne 0x4a62dd
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4a62c1
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4a6300
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4a62f1
jmp 0x4a624e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4a6300
add edi, ecx
jmp 0x4a624e
pop esi
mov edi, esi
mov ecx, 0x2ad8
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4a631e
cmp byte [edi], 0xd
jne 0x4a631e
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 eax, ebx
loop 0x4a6323
lea edi, [esi + 0xa3000]
mov eax, dword [edi]
or eax, eax
je 0x4a6392
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa7328]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa73f0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4a6350
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xa73f4]
or eax, eax
je 0x4a638c
mov dword [ebx], eax
add ebx, 4
jmp 0x4a636d
call dword [esi + 0xa73f8]
popal
jmp 0x45acd0
Function at 0x40f1a0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov dword [0x5e5470], eax
xor eax, eax
lea esi, [esi]
add eax, 1
mov ecx, dword [eax*4 + 0x5e546c]
mov edx, ecx
shr edx, 0x1e
xor edx, ecx
imul edx, edx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x5e5470], edx
cmp eax, 0x26f
jl 0x40f1b0
mov dword [0x56efb0], 0x270
mov esp, ebp
pop ebp
ret

Function at 0x40f1f0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ebx
mov eax, 0xffffffff
lea esi, [esi]
add eax, 1
mov ecx, dword [eax*4 + 0x5e5474]
mov ebx, dword [eax*4 + 0x5e5470]
mov edx, ecx
and edx, 1
neg edx
and edx, 0x9908b0df
and ebx, 0x80000000
and ecx, 0x7fffffff
or ebx, ecx
shr ebx, 1
xor edx, ebx
xor edx, dword [eax*4 + 0x5e5aa4]
mov dword [eax*4 + 0x5e5470], edx
cmp eax, 0xe2
jl 0x40f200
mov eax, 0xe2
lea esi, [esi]
add eax, 1
mov ecx, dword [eax*4 + 0x5e5474]
mov ebx, dword [eax*4 + 0x5e5470]
mov edx, ecx
and edx, 1
neg edx
and edx, 0x9908b0df
and ebx, 0x80000000
and ecx, 0x7fffffff
or ebx, ecx
shr ebx, 1
xor edx, ebx
xor edx, dword [eax*4 + 0x5e50e4]
mov dword [eax*4 + 0x5e5470], edx
cmp eax, 0x26e
jl 0x40f250
mov edx, dword [0x5e5470]
mov ecx, dword [0x5e5e2c]
mov eax, edx
and eax, 1
neg eax
and eax, 0x9908b0df
and ecx, 0x80000000
and edx, 0x7fffffff
or ecx, edx
shr ecx, 1
xor eax, ecx
xor eax, dword [0x5e5aa0]
mov dword [0x5e5e2c], eax
mov dword [0x56efb0], 0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40f2e0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [0x56efb0]
add dword [0x56efb0], 1
mov eax, dword [0x5e4020]
cmp eax, dword [0x56e700]
jne 0x40f306
cmp ebx, 0x271
jb 0x40f328
mov eax, dword [0x5e4020]
call fcn.0040f1a0
not dword [0x5e4020]
mov eax, dword [0x5e4020]
mov dword [0x56e700], eax
mov ebx, 0x270
lea esi, [esi]
cmp ebx, 0x270
jne 0x40f344
call fcn.0040f1f0
xor ebx, ebx
mov dword [0x56efb0], 1
lea esi, [esi]
mov edx, dword [ebx*4 + 0x5e5470]
mov eax, edx
shr eax, 0xb
xor eax, edx
mov edx, eax
shl edx, 7
and edx, 0x9d2c5680
xor edx, eax
mov ecx, edx
shl ecx, 0xf
and ecx, 0xefc60000
xor ecx, edx
mov eax, ecx
shr eax, 0x12
xor eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x410f70
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ax, word [0x56e450]
cmp ax, 0xcb
je 0x41107c
cmp ax, 0xcc
je 0x41107c
mov edx, dword [0x5e6070]
test edx, edx
je 0x410fa5
mov eax, dword [0x5e5f20]
call edx
mov ebx, eax
jmp 0x410faa
mov ebx, 0x5e5f24
cmp word [0x5e5f10], 0
jle 0x410fd0
mov eax, 0x5e5ef0
call fcn.004111f0
mov eax, ebx
call fcn.00410af0
mov eax, ebx
call fcn.00410b70
lea esi, [esi]
mov edi, dword [ebx]
jmp 0x410ff2
mov esi, dword [edi + 4]
mov eax, dword [edi]
and eax, 1
jne 0x410fed
mov edx, edi
mov eax, ebx
call fcn.0040ff40
jmp 0x410ff0
and dword [edi], 0xfffffffe
mov edi, esi
test edi, edi
jne 0x410fd8
mov dword [ebx], 0
mov dword [ebx + 0x88], 0
cmp word [0x5e5f10], 0
jle 0x41107c
mov edx, 0x5e5e30
mov eax, ebx
call fcn.00410090
mov edi, eax
test edi, edi
je 0x41104c
mov eax, dword [0x5e5ec4]
mov dword [edi + 0xc], eax
cmp dword [0x5e5ec4], 0
je 0x411040
mov eax, dword [0x5e5ec4]
mov dword [eax + 8], edi
mov eax, dword [ebx + 0x94]
mov dword [0x5e5ec4], eax
nop
sub word [0x5e5f10], 1
cmp word [0x5e5f10], 0
sete bl
mov eax, 0x5e5ef0
call fcn.00411210
test bl, bl
je 0x41107c
mov eax, 0x5e5ef0
call fcn.004111e0
lea esi, [esi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4131c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x20]
push ebx
push esi
push edi
mov byte [ebp - 0x20], al
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
xor eax, eax
push fcn.004131a0
push ebp
push 0x4145a0
push dword fs:[eax]
mov dword fs:[eax], esp
test byte [ebp - 0x20], 0xff
je 0x4132ea
movzx eax, byte [ebp - 0x20]
sub eax, 0xffffffc0
mov word [ebp - 8], ax
mov word [ebp - 6], 0x3a
mov word [ebp - 4], 0
mov word [ebp - 2], 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_GetFullPathNameW
mov esi, eax
lea edx, [esi - 1]
mov eax, dword [ebp - 0x1c]
call fcn.0040b640
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
test edx, edx
jne 0x41324f
mov edx, 0x5e52f0
push edx
push esi
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_GetFullPathNameW
mov ebx, eax
test ebx, ebx
jne 0x4132a1
call sub.kernel32.dll_GetLastError
call fcn.00404090
lea eax, [ebp - 0x10]
call fcn.0040a180
movzx eax, byte [ebp - 0x20]
sub eax, 0xffffffc0
lea edx, [ebp - 0x14]
call fcn.0040a610
mov edx, dword [ebp - 0x14]
mov ecx, 0x58a324
lea eax, [ebp - 0x10]
call fcn.0040a4b0
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
call fcn.0040aea0
jmp 0x413338
mov eax, esi
mov edx, 0
sub eax, 1
sbb edx, 0
mov ecx, ebx
xor edi, edi
cmp edx, edi
jne 0x4132ba
cmp eax, ecx
je 0x4132c4
mov eax, dword [ebp - 0x1c]
mov edx, ebx
call fcn.0040b640
cmp byte [0x56e6d0], 0
jne 0x413338
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
lea edx, [ebp - 0x18]
call fcn.0040bb80
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.0040afb0
lea esi, [esi]
jmp 0x413338
push 0
push 0
call sub.kernel32.dll_GetCurrentDirectoryW
mov esi, eax
lea edx, [esi - 1]
mov eax, dword [ebp - 0x1c]
call fcn.0040b640
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
test eax, eax
jne 0x41330e
mov eax, 0x5e52f0
push eax
push esi
call sub.kernel32.dll_GetCurrentDirectoryW
cmp byte [0x56e6d0], 0
jne 0x413338
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
lea edx, [ebp - 0x18]
call fcn.0040bb80
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.0040afb0
mov esi, esi
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.004131a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret