joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001050
Capabilities:
Allocate or change rwx memory

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
push 0
push 0x40
push 0x3000
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.KERNEL32.dll_VirtualAllocExNuma
mov esi, eax
test esi, esi
je 0x1000107e
mov dword [0x1001102c], 0
mov eax, dword [esp + 0xc]
push edi
push eax
push esi
call fcn.10002410
add esp, 0xc
pop edi
mov eax, esi
pop esi
ret

Function at 0x10001150
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hide graphical window

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
mov cl, byte [eax]
mov dl, byte [eax + 1]
push ebp
xor ebp, ebp
cmp dword [esp + 0x10], ebp
jle 0x10001216
push ebx
push esi
push edi
movzx esi, cl
movzx edi, dl
lea eax, [esi + 1]
cdq
mov ecx, 0x18d
idiv ecx
mov bl, dl
mov edx, dword [0x1001213c]
movzx esi, bl
movzx eax, byte [esi + edx]
lea ecx, [esi + edx]
add eax, edi
cdq
mov edi, 0x18d
idiv edi
mov eax, dword [0x1001213c]
movzx edi, dl
add eax, edi
mov byte [esp + 0x13], dl
call fcn.10001040
mov ecx, dword [0x1001213c]
movzx eax, byte [edi + ecx]
movzx ecx, byte [esi + ecx]
add eax, ecx
cdq
mov ecx, 0x18d
idiv ecx
push 0
push 0
mov byte [esp + 0x1a], dl
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esp + 0x18]
movzx ecx, byte [esp + 0x12]
mov edx, ebp
sub edx, dword [0x1001102c]
inc ebp
add eax, edx
mov edx, dword [0x1001213c]
mov cl, byte [ecx + edx]
xor byte [eax], cl
cmp ebp, dword [esp + 0x1c]
jl 0x10001170
mov eax, dword [esp + 0x20]
mov dl, byte [esp + 0x13]
pop edi
pop esi
mov byte [eax], bl
pop ebx
mov byte [eax + 1], dl
pop ebp
pop ecx
ret
mov byte [eax], cl
mov byte [eax + 1], dl
pop ebp
pop ecx
ret
Function at 0x10001860
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x18]
push ebx
mov ebx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 8], ecx
movzx ecx, word [eax + 0x14]
push ebp
xor edx, edx
push esi
push edi
lea ecx, [ecx + eax + 0x18]
mov dword [esp + 0x10], 0
cmp dx, word [eax + 6]
jae 0x10001944
mov ebp, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
lea esi, [ecx + 0x10]
lea esp, [esp]
mov eax, dword [esi]
test eax, eax
jne 0x100018dc
mov eax, dword [esp + 0x24]
mov edi, dword [eax + 0x38]
test edi, edi
jle 0x10001926
mov ecx, dword [esi - 4]
push 4
push 0x1000
push edi
add ecx, ebx
push ecx
call ebp
test eax, eax
je 0x10001953
mov eax, dword [esi - 4]
push edi
add eax, ebx
push 0
push eax
mov dword [esi - 8], eax
call fcn.10001710
jmp 0x10001923
mov edx, dword [esi + 4]
mov ecx, dword [esp + 0x14]
add edx, eax
mov eax, dword [esp + 0x20]
push edx
push eax
call fcn.10001840
test eax, eax
je 0x10001953
mov ecx, dword [esi]
mov edx, dword [esi - 4]
push 4
push 0x1000
push ecx
add edx, ebx
push edx
call ebp
test eax, eax
je 0x10001953
mov ecx, dword [esi + 4]
mov eax, dword [esi]
add ecx, dword [esp + 0x1c]
mov edi, dword [esi - 4]
push eax
add edi, ebx
push ecx
push edi
call fcn.10001740
mov dword [esi - 8], edi
add esp, 0xc
mov edx, dword [esp + 0x28]
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 0x100018a0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 0x10
Function at 0x10001a40
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x20
push ebx
push ebp
mov ebp, dword [esp + 0x2c]
mov ebx, dword [ebp + 0x30]
push esi
mov esi, dword [ebp]
movzx eax, word [esi + 0x14]
push edi
lea edi, [eax + esi + 0x18]
mov eax, dword [edi + 8]
dec ebx
not ebx
push edi
and ebx, eax
push ebp
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebx
call fcn.10001960
mov ecx, dword [edi + 0x24]
mov edx, 1
add edi, 0x28
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x14], 1
cmp dx, word [esi + 6]
jae 0x10001b57
mov esi, dword [ebp + 0x30]
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x10]
dec esi
push edi
not esi
push ebp
mov dword [esp + 0x3c], eax
and esi, eax
call fcn.10001960
mov dword [esp + 0x18], eax
cmp ebx, esi
je 0x10001b07
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
add ecx, edx
cmp ecx, esi
ja 0x10001b07
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push eax
push ebp
call fcn.10001990
test eax, eax
je 0x10001b7e
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x18]
mov eax, dword [edi + 0x24]
mov ebx, esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
jmp 0x10001b3c
mov ecx, dword [edi + 0x24]
test ecx, 0x2000000
je 0x10001b22
test dword [esp + 0x28], 0x2000000
je 0x10001b22
or dword [esp + 0x28], ecx
jmp 0x10001b30
or ecx, dword [esp + 0x28]
and ecx, 0xfdffffff
mov dword [esp + 0x28], ecx
sub eax, dword [esp + 0x1c]
add eax, dword [esp + 0x34]
mov dword [esp + 0x24], eax
mov ecx, dword [ebp]
mov eax, dword [esp + 0x14]
movzx edx, word [ecx + 6]
inc eax
add edi, 0x28
cmp eax, edx
mov dword [esp + 0x14], eax
jl 0x10001aa1
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push eax
push ebp
mov dword [esp + 0x34], 1
call fcn.10001990
pop edi
neg eax
pop esi
sbb eax, eax
pop ebp
neg eax
pop ebx
add esp, 0x20
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret 4
Function at 0x10002775
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100110b0]
jne 0x1000277f
repz ret
jmp fcn.10003cbe

Function at 0x100095ed
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.10004a53
and dword [ebp - 4], 0
cmp dword [0x10012b3c], 0
mov ebx, eax
jne 0x1000969e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1000974f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1000f178
push edi
call esi
test eax, eax
je 0x1000974f
push eax
call fcn.100049e1
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10012b3c], eax
call esi
push eax
call fcn.100049e1
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10012b40], eax
call esi
push eax
call fcn.100049e1
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10012b44], eax
call esi
push eax
call fcn.100049e1
pop ecx
mov dword [0x10012b4c], eax
test eax, eax
je 0x1000969e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100049e1
pop ecx
mov dword [0x10012b48], eax
mov eax, dword [0x10012b48]
cmp eax, ebx
je 0x100096f6
cmp dword [0x10012b4c], ebx
je 0x100096f6
push eax
call fcn.10004a5c
push dword [0x10012b4c]
mov esi, eax
call fcn.10004a5c
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x100096f6
test edi, edi
je 0x100096f6
call esi
test eax, eax
je 0x100096ed
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x100096ed
test byte [ebp - 0xc], 1
jne 0x100096f6
or dword [ebp + 0x10], 0x200000
jmp 0x1000972f
mov eax, dword [0x10012b40]
cmp eax, ebx
je 0x1000972f
push eax
call fcn.10004a5c
pop ecx
test eax, eax
je 0x1000972f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1000972f
mov eax, dword [0x10012b44]
cmp eax, ebx
je 0x1000972f
push eax
call fcn.10004a5c
pop ecx
test eax, eax
je 0x1000972f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10012b3c]
call fcn.10004a5c
pop ecx
test eax, eax
je 0x1000974f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10009751
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x407010
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 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
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 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x438c99
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0x438a14
mov ecx, dword [esp]
add esp, 4
inc edi
call fcn.00438ced
or edi, edi
or esi, esi
push 0xddd2fee6
pop edi
xor dword [ebx], ecx
mov edi, 0xd153ba1b
mov edi, 0x884ab753
sub edi, 0x1f3bff01
inc ebx
sub edi, esi
add esi, 1
cmp ebx, edx
jne fcn.00438c99
inc edi
add esi, 0x2f065f8f
add edi, esi
ret
Function at 0x4072ad
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x46bc7c], 0
jne 0x4072eb
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4072c1
mov dword [ecx*4 + 0x46bc78], eax
inc ecx
cmp ecx, 0x100
jl 0x4072bc
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x407318
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x46bc78]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x4072f9
not eax
pop ebp
ret 0xc

Function at 0x438c98
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x438a14
sub edx, 0x41b33f1e
push 0x527a96ed
pop edx
add edx, edx
call fcn.00438cd9
and ebx, ebx
sub ebx, 0x5c94ea0b
xor dword [eax], esi
add edx, 0xeac107fd
inc eax
and edx, edx
add edx, 1
inc edx
cmp eax, edi
jne fcn.00438c98
push edx
pop ebx
sub ebx, 1
ret
Function at 0x3057b4
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push edx
push ecx
call fcn.0030aa7d
mov dword [esp + 0x28], 0xe59a27
lea edi, [ecx + 4]
shl dword [esp + 0x28], 0xc
xor dword [esp + 0x28], 0x59a35371
mov dword [esp + 0x24], 0xbf2298
or dword [esp + 0x24], 0x43da2daf
shr dword [esp + 0x24], 6
shr dword [esp + 0x24], 1
xor dword [esp + 0x24], 0x85b67f
mov eax, dword [ecx]
mov ebp, dword [edi]
add edi, 4
xor ebp, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ebp
lea esi, [ebp + 1]
mov eax, esi
mov ecx, esi
and eax, 0xfffffffc
add eax, 4
and cl, 3
cmovne esi, eax
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
add esp, 0x10
lea ecx, [esi + esi]
call fcn.0031f6a3
mov ebx, eax
mov dword [esp + 0x18], ebx
pop ecx
test ebx, ebx
je 0x3058af
shr esi, 2
xor eax, eax
lea ecx, [edi + esi*4]
mov esi, ebx
mov edx, ecx
sub edx, edi
add edx, 3
shr edx, 2
cmp edi, ecx
cmova edx, eax
test edx, edx
je 0x3058a9
mov ebx, dword [esp + 0x18]
xor ebp, ebp
mov ecx, dword [edi]
lea edi, [edi + 4]
xor ecx, ebx
movzx eax, cl
mov word [esi], ax
mov eax, ecx
shr eax, 8
lea esi, [esi + 8]
movzx eax, al
mov word [esi - 6], ax
shr ecx, 0x10
movzx eax, cl
shr ecx, 8
inc ebp
mov word [esi - 4], ax
movzx eax, cl
mov word [esi - 2], ax
cmp ebp, edx
jb 0x30586c
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
xor eax, eax
mov word [ebx + ebp*2], ax
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x10
ret
Function at 0x30bc99
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
push dword [ebp + 0xc]
push ebx
push edx
push ecx
call fcn.0030aa7d
and dword [ebp - 8], 0
add esp, 0x14
mov dword [ebp - 0x10], 0x3be52f
xor edx, edx
mov dword [ebp - 0xc], 0x1d2c41
mov dword [ebp + 8], 0xeadf60
add dword [ebp + 8], 0x5fa9
mov eax, dword [ebp + 8]
push 0x25
pop ecx
div ecx
mov dword [ebp + 8], eax
add dword [ebp + 8], 0xffffd8b5
xor dword [ebp + 8], 0x6345b
mov dword [ebp - 4], 0xbf24c0
imul eax, dword [ebp - 4], 0x15
mov dword [ebp - 4], eax
shl dword [ebp - 4], 2
xor dword [ebp - 4], 0x3eb80f06
mov dword [ebp - 4], 0x286c39
xor dword [ebp - 4], 0x9b091a3d
xor dword [ebp - 4], 0x9b217614
cmp byte [ebx], 0
je 0x30bd7c
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0xbf24c0
imul eax, dword [ebp - 4], 0x15
mov dword [ebp - 4], eax
shl dword [ebp - 4], 2
xor dword [ebp - 4], 0x3eb80f06
mov cl, byte [ebp - 4]
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0x286c39
xor dword [ebp - 4], 0x9b091a3d
xor dword [ebp - 4], 0x9b217614
shl esi, cl
mov cl, byte [ebp - 4]
mov edx, dword [ebp + 8]
movsx eax, byte [ebx]
mov dword [ebp + 8], eax
add dword [ebp + 8], esi
shl edx, cl
add dword [ebp + 8], edx
sub dword [ebp + 8], edi
inc ebx
cmp byte [ebx], 0
jne 0x30bd24
pop edi
pop esi
mov eax, dword [ebp + 8]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x310101
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push dword [ebp + 8]
push edx
push ecx
call fcn.0030aa7d
and dword [ebp - 8], 0
add esp, 0xc
mov dword [ebp - 0xc], 0x1709c5
mov dword [ebp - 4], 0x534f4d
xor dword [ebp - 4], 0xcb28e746
xor dword [ebp - 4], 0xcb7ba900
cmp dword [edx + 4], 0x40
jae 0x31013e
xor eax, eax
jmp 0x310167
mov ecx, dword [edx]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x31013a
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x31013a
movzx edx, word [eax + 0x18]
mov ecx, dword [ebp - 4]
push esi
xor esi, esi
cmp edx, ecx
cmovne eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x311a0b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
push dword [esp + 0x30]
mov ebx, edx
push dword [esp + 0x30]
push dword [esp + 0x30]
push ebx
push ecx
call fcn.0030aa7d
mov dword [esp + 0x24], 0x7402d9
add esp, 0x14
add dword [esp + 0x10], 0xfffff275
shr dword [esp + 0x10], 0xb
xor dword [esp + 0x10], 0x175e81f2
xor dword [esp + 0x10], 0x175e8f8d
mov dword [esp + 0x20], 0xc553f
add dword [esp + 0x20], 0xffff8c50
xor dword [esp + 0x20], 0x2d175
mov dword [esp + 0x18], 0xb67b77
shr dword [esp + 0x18], 7
add dword [esp + 0x18], 0xda89
xor dword [esp + 0x18], 0x1782
mov dword [esp + 0x14], 0x4e9af1
imul eax, dword [esp + 0x14], 0x2c
mov dword [esp + 0x14], eax
imul eax, dword [esp + 0x14], 0x7b
mov dword [esp + 0x14], eax
shr dword [esp + 0x14], 1
xor dword [esp + 0x14], 0x3ee1f993
mov dword [esp + 0x1c], 0x4776bc
or dword [esp + 0x1c], 0xc1b7ea3e
shr dword [esp + 0x1c], 0xb
xor dword [esp + 0x1c], 0x1d8ae3
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esp + 0x10]
add eax, ebx
mov edx, dword [eax + ecx*8 + 0x78]
test edx, edx
je 0x311b48
cmp dword [eax + ecx*8 + 0x7c], 0
je 0x311b48
lea esi, [edx + ebx]
jmp 0x311b41
mov edx, dword [esp + 0x18]
add eax, ebx
mov ecx, dword [esp + 0x20]
push eax
call fcn.0031f5a4
pop ecx
mov ecx, eax
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x311b53
mov edi, dword [esi]
mov ebp, dword [esi + 0x10]
add edi, ebx
add ebp, ebx
jmp 0x311b38
jns 0x311b11
movzx eax, ax
jmp 0x311b16
add eax, 2
add eax, ebx
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x18]
push eax
call fcn.00304055
pop ecx
pop ecx
test eax, eax
je 0x311b53
mov ecx, dword [esp + 0x10]
add edi, 4
mov dword [ebp], eax
add ebp, 4
mov eax, dword [edi]
test eax, eax
jne 0x311b0a
add esi, 0x14
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x311ae4
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
xor eax, eax
jmp 0x311b4b
Function at 0x31b8ff
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x20]
push ebp
push esi
mov esi, dword [esp + 0x24]
push edi
push ebx
push esi
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push edx
push ecx
call fcn.0030aa7d
mov dword [esp + 0x40], 0xc1064a
xor edx, edx
mov eax, dword [esp + 0x40]
push 0x77
pop ecx
div ecx
mov dword [esp + 0x40], eax
or dword [esp + 0x40], 0xe4a72dc6
add dword [esp + 0x40], 0x6f6e
xor dword [esp + 0x40], 0xe4a3b5d7
mov dword [esp + 0x28], 0xe5013c
add dword [esp + 0x28], 0x749c
xor dword [esp + 0x28], 0xe846cb
mov eax, dword [esi]
mov edx, dword [esi + 4]
add esi, 8
xor edx, eax
mov dword [esp + 0x2c], eax
mov eax, edx
mov dword [esp + 0x30], edx
and eax, 0xfffffffc
mov ecx, edx
add eax, 4
mov edi, edx
and cl, 3
cmovne edi, eax
mov eax, dword [esp + 0x28]
mov eax, dword [esp + 0x40]
add esp, 0x14
mov ecx, edi
call fcn.0031f6a3
mov ebp, eax
pop ecx
test ebp, ebp
je 0x31b9df
shr edi, 2
xor eax, eax
lea ecx, [esi + edi*4]
xor edi, edi
mov edx, ecx
sub edx, esi
add edx, 3
shr edx, 2
cmp esi, ecx
cmova edx, eax
test edx, edx
je 0x31b9d5
mov ecx, ebp
sub ecx, esi
mov eax, dword [esi]
xor eax, dword [esp + 0x14]
inc edi
mov dword [ecx + esi], eax
lea esi, [esi + 4]
cmp edi, edx
jb 0x31b9c4
test ebx, ebx
je 0x31b9df
mov eax, dword [esp + 0x18]
mov dword [ebx], eax
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x31c158
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x2c
push ebx
mov ebx, dword [esp + 0x38]
mov eax, ecx
push ebp
push esi
push edi
push ebx
push dword [esp + 0x44]
mov dword [esp + 0x24], eax
push edx
push eax
call fcn.0030aa7d
mov dword [esp + 0x40], 0xd04d9a
xor esi, esi
mov dword [esp + 0x44], esi
add esp, 0x10
mov dword [esp + 0x38], esi
mov ebp, esi
mov dword [esp + 0x44], 0x4b2e1c
or dword [esp + 0x44], 0xa6a74ca
shr dword [esp + 0x44], 0xc
xor dword [esp + 0x44], 0x5434c
mov dword [esp + 0x18], 0x5a2110
imul eax, dword [esp + 0x18], 0x31
mov dword [esp + 0x18], eax
xor dword [esp + 0x18], 0x1148aa61
mov dword [esp + 0x14], 0xb57591
add dword [esp + 0x14], 0xffff8fbd
xor dword [esp + 0x14], 0xbe6b94
mov dword [esp + 0x10], 0x9fd46b
shl dword [esp + 0x10], 0xe
xor dword [esp + 0x10], 0xf51d759d
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0x2c], eax
mov edi, dword [eax + ebx + 0x78]
add edi, ebx
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x20]
add eax, ebx
mov dword [esp + 0x28], eax
add ecx, ebx
mov eax, dword [edi + 0x24]
add eax, ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
cmp dword [edi + 0x18], esi
jbe 0x31c27d
push dword [esp + 0x10]
mov eax, dword [ecx + ebp*4]
push dword [esp + 0x18]
mov edx, dword [esp + 0x20]
add eax, ebx
mov ecx, dword [esp + 0x4c]
push eax
call fcn.0030bc99
xor eax, 0x32c9db43
add esp, 0xc
cmp eax, dword [esp + 0x1c]
je 0x31c251
mov ecx, dword [esp + 0x20]
inc ebp
cmp ebp, dword [edi + 0x18]
jb 0x31c21c
jmp 0x31c27d
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
movzx eax, word [eax + ebp*2]
mov esi, dword [esi + eax*4]
add esi, ebx
cmp esi, edi
jb 0x31c27d
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + ebx + 0x7c]
add eax, edi
cmp esi, eax
jae 0x31c27d
mov ecx, esi
call fcn.0031bf84
mov esi, eax
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
Function at 0x31ed8b
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push esi
mov esi, dword [esp + 0x20]
push edi
push esi
push dword [esp + 0x24]
push dword [esp + 0x24]
push edx
push ecx
call fcn.0030aa7d
mov dword [esp + 0x20], 0x6e7b54
lea edi, [esi + 4]
or dword [esp + 0x20], 0x15cece1a
xor edx, edx
shl dword [esp + 0x20], 4
imul eax, dword [esp + 0x20], 0x49
push 0x2d
pop ecx
mov dword [esp + 0x20], eax
xor dword [esp + 0x20], 0x126cfc9a
mov dword [esp + 0x38], 0x2bdffd
shl dword [esp + 0x38], 0xf
mov eax, dword [esp + 0x38]
div ecx
mov dword [esp + 0x38], eax
add dword [esp + 0x38], 0xb6ff
xor dword [esp + 0x38], 0x552c2f8
mov ecx, dword [esi]
mov eax, dword [edi]
add edi, 4
xor eax, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
lea esi, [eax + 1]
mov eax, esi
mov ecx, esi
and eax, 0xfffffffc
add eax, 4
and cl, 3
cmovne esi, eax
mov eax, dword [esp + 0x38]
mov eax, dword [esp + 0x20]
add esp, 0x10
mov ecx, esi
call fcn.0031f6a3
mov ebx, eax
mov dword [esp + 0x28], ebx
pop ecx
test ebx, ebx
je 0x31ee91
shr esi, 2
xor eax, eax
push ebp
xor ebp, ebp
mov edx, ebx
lea ecx, [edi + esi*4]
mov esi, ecx
sub esi, edi
add esi, 3
shr esi, 2
cmp edi, ecx
cmova esi, eax
test esi, esi
je 0x31ee88
mov ebx, dword [esp + 0x14]
mov ecx, dword [edi]
lea edi, [edi + 4]
xor ecx, ebx
mov byte [edx], cl
mov eax, ecx
shr eax, 8
lea edx, [edx + 4]
shr ecx, 0x10
mov byte [edx - 3], al
mov byte [edx - 2], cl
shr ecx, 8
inc ebp
mov byte [edx - 1], cl
cmp ebp, esi
jb 0x31ee5f
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
pop ebp
mov byte [ebx + eax], 0
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0xc
ret
Function at 0x322472
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebx
push ebp
push dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
mov ebx, ecx
push dword [esp + 0x28]
push ebp
push dword [esp + 0x28]
push edx
push ebx
call fcn.0030aa7d
and dword [esp + 0x2c], 0
add esp, 0x18
mov dword [esp + 0x10], 0x3d6df0
mov dword [esp + 0x20], 0xf54b09
shr dword [esp + 0x20], 0x10
add dword [esp + 0x20], 0xffff0c14
xor dword [esp + 0x20], 0xffff0d0c
mov eax, dword [esp + 0x20]
mov ecx, dword [ebx + 0x3c]
add ecx, ebx
sub ebp, dword [ecx + 0x34]
mov edx, dword [ecx + eax*8 + 0x78]
mov dword [esp + 0x20], ebp
add edx, ebx
mov ebp, dword [ecx + eax*8 + 0x7c]
add ebp, edx
mov dword [esp + 0x10], ebp
cmp edx, ebp
jae 0x32252d
push esi
push edi
mov edi, dword [edx + 4]
lea esi, [edx + 8]
add edi, edx
cmp esi, edi
jae 0x322524
mov ebp, dword [esp + 0x28]
movzx eax, word [esi]
mov ecx, eax
mov dword [esp + 0x14], 0x3000
and ecx, 0xfff
and eax, 0xf000
add ecx, dword [edx]
add ecx, ebx
cmp ax, word [esp + 0x14]
jne 0x322519
add dword [ecx], ebp
add esi, 2
cmp esi, edi
jb 0x3224f4
mov ebp, dword [esp + 0x18]
add edx, dword [edx + 4]
cmp edx, ebp
jb 0x3224e4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret