joyce8/EMBER2024-capa huggingface dataset:
Function at 0x90a2d18
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x90d3fd3
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x13f0
call fcn.090cde60
mov eax, dword [0x91154f8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x13e8], edi
mov esi, dword [ebx + 8]
push 0
mov dword [ebp - 0x13e4], esi
mov eax, dword [esi + 4]
add eax, 0xa0
push eax
call fcn.090a51e0
cmp dword [edi], 0
pop ecx
pop ecx
jne 0x90a2d9d
push 0
push 0x9c4
push 0xf424
push dword [esi + 4]
call fcn.090a51e0
add esp, 0x10
mov dword [edi], eax
mov ecx, esi
mov dword [ebp - 0x13ec], esi
call fcn.09018f87
and dword [ebp - 4], 0
lea edi, [ebp - 0x48]
push 0xc
pop ecx
mov eax, ecx
mov dword [ebp - 0x13dc], 0x18
xor edx, edx
add ecx, 0x8000
div dword [ebp - 0x13dc]
mov word [edi], ax
lea edi, [edi + 2]
cmp ecx, 0xc800c
jb 0x90a2db4
and dword [ebp - 0x13e0], 0
lea eax, [ebp - 0x48]
mov dword [ebp - 0x13dc], eax
movzx eax, word [eax]
lea ecx, [ebp - 0x13cc]
xor edx, edx
mov dword [ebp - 0x13d8], eax
mov dword [ebp - 0x13d4], edx
movzx esi, word [ebp + edx*2 - 0x48]
xor edi, edi
mov edx, dword [ebp - 0x13d8]
mov ax, word [ebp + edi*2 - 0x48]
inc edi
mov word [ecx - 2], dx
mov word [ecx], si
mov word [ecx + 2], ax
add ecx, 8
cmp edi, 0x19
jb 0x90a2e10
mov edx, dword [ebp - 0x13d4]
inc edx
mov dword [ebp - 0x13d4], edx
cmp edx, 0x19
jb 0x90a2e03
mov ecx, dword [ebp - 0x13e4]
lea eax, [ebp - 0x13d0]
push 0
push 0x434d594b
push 0x50524742
push 0x271
push eax
push eax
call fcn.090a51e0
mov eax, dword [ebp - 0x13e8]
lea ecx, [ebp - 0x1400]
mov edi, dword [ebp - 0x13e0]
push 1
push 0x9c4
push edi
push dword [eax]
call fcn.090a51e0
lea ecx, [ebp - 0x1400]
mov byte [ebp - 4], 1
call fcn.090067dd
lea esi, [ebp - 0x13d0]
mov dword [ebp - 0x13d8], 0x19
lea edi, [eax + 2]
mov dword [ebp - 0x13d4], 0x19
mov ecx, dword [esi]
mov edx, dword [esi + 4]
add esi, 8
movzx eax, cx
imul eax, eax, 0xff
shr ecx, 0x10
add eax, 0x4000
shr eax, 0xf
mov byte [edi - 2], al
imul eax, ecx, 0xff
mov ecx, 0x4000
add eax, ecx
shr eax, 0xf
mov byte [edi - 1], al
movzx eax, dx
imul eax, eax, 0xff
shr edx, 0x10
add eax, ecx
shr eax, 0xf
mov byte [edi], al
imul eax, edx, 0xff
add eax, ecx
shr eax, 0xf
mov byte [edi + 1], al
add edi, 4
sub dword [ebp - 0x13d4], 1
jne 0x90a2eac
sub dword [ebp - 0x13d8], 1
jne 0x90a2ea2
lea ecx, [ebp - 0x1400]
mov byte [ebp - 4], 0
call fcn.090068a7
mov edi, dword [ebp - 0x13e0]
mov eax, dword [ebp - 0x13dc]
add edi, 0x9c4
mov esi, dword [ebp - 0x13e4]
add eax, 2
mov dword [ebp - 0x13dc], eax
mov dword [ebp - 0x13e0], edi
cmp edi, 0xf424
jb 0x90a2dec
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.090190fb
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.09002290
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
Function at 0x90a51e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x90a51ef
pop dword [ebp - 0x34]
mov eax, 0x90a51ef
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x76d7505f
sub dword [ebp - 0x44], 0x28850b14
mov dword [ebp - 0x40], 0xe2c59089
sub dword [ebp - 0x40], 0xb0924444
mov dword [ebp - 0x3c], 0x96389a91
add dword [ebp - 0x3c], 0xb613a99d
mov dword [ebp - 0x38], 0x41ed2a43
add dword [ebp - 0x38], 0xbe12d5bd
lea eax, [ebp - 0x44]
push eax
mov eax, 0xe5e04a18
add eax, 0x232d16ac
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x380afa62
add dword [ebp - 0x44], 0x3c676ef4
mov dword [ebp - 0x40], 0x2c33191
add dword [ebp - 0x40], 0x3ea92fe4
mov dword [ebp - 0x3c], 0xfdead2a4
add dword [ebp - 0x3c], 0x658499c8
mov dword [ebp - 0x38], 0x1a28e865
sub dword [ebp - 0x38], 0x1a28e865
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, 0x80474fc5
add eax, 0x88c610fb
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x7c6c5
push 0
call eax
mov ecx, 0x2844cd5c
add ecx, 0xd7bb8c65
mov edx, eax
mov edi, 0x9125c00
add edi, dword [ebp - 0x34]
mov esi, 0x60f3efea
sub esi, 0xee00f3f5
xor dword [ebp - 8], ebx
mov ebx, dword [edi]
xor dword [ebp - 0x18], esi
add ebx, esi
mov dword [ebp - 0x10], 0x7389e73c
mov dword [edx], ebx
add dword [ebp - 0x2c], ebx
add edx, 4
add edi, 0xcaddc1c1
sub edi, 0xcaddc1bd
loop 0x90a5306
add eax, 0xed8857f9
sub eax, 0xed86fe22
xor ebx, ebx
add ebx, eax
add eax, 0x3c7dd464
add eax, 0xc3822ba1
mov ecx, 0x87c8ca9f
add ecx, 0x81373561
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x90c4770
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x90d4bd2
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xb20
mov eax, dword [0x91154f8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 8]
mov esi, dword [ebx + 0x18]
push eax
mov dword [ebp - 0xb2c], eax
call fcn.090a51e0
add esp, 4
lea ecx, [ebp - 0xb24]
push eax
call fcn.090a51e0
push 0
push 0
push 0
push 1
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 1
push dword [ebp - 0xb24]
mov dword [ebp - 4], 0
push esi
call fcn.09009307
add esp, 0x3c
lea ecx, [ebp - 0xb20]
push eax
call fcn.090a51e0
mov byte [ebp - 4], 1
xor eax, eax
nop dword [eax]
nop dword [eax + eax]
mov byte [ebp + eax - 0x118], al
inc eax
cmp eax, 0x100
jb 0x90c4820
mov ecx, dword [ebp - 0xb20]
lea eax, [ebp - 0x918]
push 0
push 0x5058595a
push 0x67386b30
push 0x100
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.090a51e0
movzx ecx, word [ebp - 0x11c]
movzx edi, word [ebp - 0x914]
mov dword [ebp - 0xb28], ecx
cmp ecx, edi
jbe 0x90c499a
mov edx, ecx
sub edx, edi
xor esi, esi
mov dword [ebp - 0xb1c], edx
movzx eax, word [ebp + esi*8 - 0x914]
cmp eax, edi
ja 0x90c4891
xor eax, eax
jmp 0x90c48be
cmp eax, ecx
jb 0x90c489c
mov eax, 0x8000
jmp 0x90c48be
sub eax, edi
mov ecx, edx
shl eax, 0xf
xor edx, edx
shr ecx, 1
add eax, ecx
mov ecx, dword [ebp - 0xb28]
div dword [ebp - 0xb1c]
mov edx, dword [ebp - 0xb1c]
movzx eax, ax
mov word [ebp + esi*2 - 0xb18], ax
inc esi
cmp esi, 0x100
jb 0x90c4881
lea ecx, [ebp - 0xb20]
mov byte [ebp - 4], 0
call fcn.090198a7
lea ecx, [ebp - 0xb24]
mov dword [ebp - 4], 0xffffffff
call fcn.0901e58a
mov esi, dword [ebp - 0xb2c]
lea eax, [esi + 8]
push eax
push 0x280
mov dword [ebp - 0xb2c], eax
call fcn.090a51e0
add esp, 8
mov dword [ebp - 0xb28], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x90c492a
push esi
mov ecx, eax
call fcn.090a51e0
mov edx, eax
jmp 0x90c492c
xor edx, edx
movsd xmm1, qword [ebx + 0x10]
xorps xmm0, xmm0
mov eax, dword [ebx + 0xc]
mulsd xmm1, qword [0x90e7a70]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
comisd xmm0, xmm1
mov dword [edx + 0x70], ecx
mov dword [edx + 0x74], eax
jbe 0x90c495a
subsd xmm1, qword [0x90dd3d8]
jmp 0x90c4962
addsd xmm1, qword [0x90dd3d8]
cvttsd2si eax, xmm1
lea edi, [edx + 0x7a]
mov ecx, 0x80
lea esi, [ebp - 0xb18]
rep movsd dword es:[edi], dword [esi]
mov word [edx + 0x78], ax
mov eax, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.09002290
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x6250726f
call fcn.090a51e0
int3
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x42e002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219

Function at 0x402658
Capabilities:
Terminate process

Disassembly:
xor edi, edi
xor esi, esi
mov edx, eax
mov eax, 5
add eax, 5
inc eax
test eax, 0xb
jne 0x40267a
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
mov edx, eax
mov dword [0x401036], eax
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x403560
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
push 0x10
push 0x4122ec
push eax
call sub.MFC42.DLL_CWnd::MessageBoxA
push 0
call dword [sym.imp.MSVCRT.dll_exit]
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
push ebx
push ebp
push esi
cmp eax, 0xd
push edi
mov esi, ecx
je 0x40368b
mov ecx, dword [esi + 0x4c]
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esi + 0x50]
sar eax, 1
mov edi, edx
lea ebx, [eax + edx*8]
lea ebp, [eax + ecx*8]
add edi, ebx
mov ebx, dword [esp + 0x14]
add ebx, 0xffffffdf
cmp ebx, 7
ja case.default.0x4035ba
jmp dword [ebx*4 + 0x4036f0]
mov dword [esi + 0x284], eax
mov dword [esi + 0x288], eax
jmp 0x403621
mov dword [esi + 0x284], eax
mov dword [esi + 0x288], edi
jmp 0x403621
mov dword [esi + 0x284], ebp
mov dword [esi + 0x288], eax
jmp 0x403621
mov dword [esi + 0x284], ebp
mov dword [esi + 0x288], edi
jmp 0x403621
sub dword [esi + 0x284], ecx
jmp 0x403621
add dword [esi + 0x284], ecx
jmp 0x403621
mov ecx, dword [esi + 0x288]
sub ecx, edx
jmp 0x40361b
mov ecx, dword [esi + 0x288]
add ecx, edx
mov dword [esi + 0x288], ecx
mov ecx, dword [esi + 0x284]
lea ebx, [esi + 0x284]
cmp ecx, ebp
jl 0x403635
mov dword [ebx], ebp
jmp 0x40363b
cmp ecx, eax
jge 0x40363b
mov dword [ebx], eax
mov ecx, dword [esi + 0x288]
cmp ecx, edi
jl 0x40364d
mov dword [esi + 0x288], edi
jmp 0x403657
cmp ecx, eax
jge 0x403657
mov dword [esi + 0x288], eax
mov eax, dword [esi + 0x20]
push ebx
push eax
call dword [sym.imp.USER32.dll_ClientToScreen]
mov ecx, dword [esi + 0x288]
mov edx, dword [ebx]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetCursorPos]
mov eax, dword [esi + 0x20]
push ebx
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, esi
call sub.MFC42.DLL_CWnd::Default
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
lea edi, [esi + 0x284]
push edi
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [esi + 0x20]
push edi
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [esi + 0x288]
mov eax, dword [edi]
mov ebx, dword [sym.imp.USER32.dll_PostMessageA]
shl edx, 0x10
or edx, eax
mov eax, dword [esi + 0x20]
push edx
push 0
push 0x201
push eax
call ebx
mov ecx, dword [esi + 0x288]
mov ebp, dword [edi]
mov edx, dword [esi + 0x20]
shl ecx, 0x10
or ecx, ebp
push ecx
push 0
push 0x202
push edx
call ebx
mov ecx, esi
call sub.MFC42.DLL_CWnd::Default
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
Function at 0x4058b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov eax, dword [edi + 4]
test eax, eax
je 0x4058c7
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov dword [edi + 4], 0
call sub.MFC42.DLL_AfxGetModuleState
mov esi, dword [eax + 8]
mov eax, dword [edi]
push str.wave
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4058ff
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4058ff
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [edi + 4], eax
pop edi
pop esi
ret 4
Function at 0x408190
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
push esi
or esi, 0xffffffff
test eax, eax
jne 0x4081a4
mov eax, dword [esp + 0x10]
pop esi
ret 0x10
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x10]
push 0
push ecx
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [eax + 0xc]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4081d7
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov dword [eax], 0
mov eax, esi
pop esi
ret 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
mov eax, esi
pop esi
ret 0x10

Function at 0x408260
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x204
lea ecx, [esp + 4]
push 0
push 0
push eax
push str.tc__d__d__d_n
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov edx, dword [esp + 0x21c]
add esp, 0x14
mov edx, dword [edx + 8]
test edx, edx
je 0x4082c4
push edi
lea edi, [esp + 8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
test edx, edx
je 0x4082c4
mov edx, dword [edx + 0xc]
push eax
lea eax, [esp + 4]
push eax
push ecx
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4082c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 0x204
ret 0x14
Function at 0x409960
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
mov dword [esp], ecx
movsx ecx, byte [0x4131d7]
cmp eax, ecx
je 0x409b5c
mov edx, dword [0x4166c0]
push ebp
push esi
push edi
test eax, eax
je 0x409a71
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
test edx, edx
je 0x4099cc
mov edi, str.show_on_n
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
test edx, edx
je 0x4099cc
push eax
lea eax, [esp + 0x10]
push eax
push ecx
mov ecx, dword [edx + 0xc]
push str.show_on_n
push ecx
call esi
test eax, eax
jne 0x4099c6
call ebp
mov edx, dword [0x4166c0]
cmp dword [0x418168], 5
jne 0x409a18
mov edx, dword [0x415468]
test edx, edx
je 0x409b4f
mov edi, str.show_on_n
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
test edx, edx
je 0x409b4f
push eax
lea eax, [esp + 0x10]
push eax
push ecx
mov ecx, dword [edx + 0xc]
push str.show_on_n
push ecx
call esi
test eax, eax
jne 0x409a12
call ebp
mov edx, dword [0x4166c0]
cmp dword [0x418168], 6
jne 0x409b4f
test edx, edx
je 0x409a54
mov edi, str.stoh_n
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
test edx, edx
je 0x409a54
push eax
lea eax, [esp + 0x10]
push eax
push ecx
mov ecx, dword [edx + 0xc]
push str.stoh_n
push ecx
call esi
test eax, eax
jne 0x409a54
call ebp
mov dl, byte [esp + 0x18]
pop edi
pop esi
mov dword [0x418168], 3
mov byte [0x4131d7], dl
jne 0x409a7f
movsb byte es:[edi], byte [esi]
jbe 0x409b74
push eax
or al, 0x39
push esp
and al, 0xc
Function at 0x40a1e0
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x40a1d0
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x40a1ee
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
or byte [ecx], al
add byte [eax], al
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x40a24c
mov edx, edi
mov dword [ebp + 8], edi
or byte [ecx + 0x865], al
add byte [eax - 0x77], al
jge 0x40a22b
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x40a233
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x40a23c
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x40a246
invalid
add eax, 0x980c803
add al, 0x40
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x40a228
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x40a1b2
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x40a299
dec eax
je 0x40a290
sub eax, 3
je 0x40a287
mov dword [ebp - 4], 0x40
jmp 0x40a2b6
mov dword [ebp - 4], 4
jmp 0x40a29c
mov dword [ebp - 4], 0x20
jmp 0x40a29c
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x40a2e8
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x40a268
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.00409af9
loopne 0x40a355
sbb eax, dword [edi]
push dword [ebp + 0x14]
push 1
add dword [esi - 1], edx
xlatb
mov eax, esi
jmp 0x40a2f4
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
cld
invalid
Function at 0x40a240
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x40a1d0
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x40a1ee
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
or byte [ecx], al
add byte [eax], al
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x40a24c
mov edx, edi
mov dword [ebp + 8], edi
or byte [ecx + 0x865], al
add byte [eax - 0x77], al
jge 0x40a22b
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x40a233
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x40a23c
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x40a246
invalid
add eax, 0x980c803
add al, 0x40
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x40a228
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x40a1b2
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x40a299
dec eax
je 0x40a290
sub eax, 3
je 0x40a287
mov dword [ebp - 4], 0x40
jmp 0x40a2b6
mov dword [ebp - 4], 4
jmp 0x40a29c
mov dword [ebp - 4], 0x20
jmp 0x40a29c
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x40a2e8
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x40a268
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.00409af9
loopne 0x40a355
sbb eax, dword [edi]
push dword [ebp + 0x14]
push 1
add dword [esi - 1], edx
xlatb
mov eax, esi
jmp 0x40a2f4
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
cld
invalid
Function at 0x10006d30
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x10006d3b
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.10006d50
Function at 0x100099a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x100099b5
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x100099f6
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x100099f2
nop word [eax + eax]
cmp esi, edx
jae 0x100099f6
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x100099e0
cmp esi, edx
jb 0x100099fb
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret

Function at 0x10010e00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10080ad0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x100bb500]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [ebp - 0x18]
mov dword [edi + 0x30], 0xcaa1002d
push eax
call fcn.10010f10
push dword [edi + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
call fcn.10028ed0
add esp, 8
mov ecx, dword [edi + 4]
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 1
call fcn.10053b20
mov esi, eax
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
push ecx
call fcn.10008330
add eax, 0x10
add esp, 4
mov dword [ebp - 0x10], eax
push esi
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.1002dc20
test al, al
lea ecx, [ebp - 0x10]
sete bl
call fcn.10007c70
mov edx, dword [ebp - 0x1c]
or eax, 0xffffffff
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10010ebb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x10010ed1
push 0xcaa9002d
push edi
call fcn.100333e0
add esp, 8
xor bl, bl
jmp 0x10010ee1
push 0x4aa9002e
push edi
call fcn.100336a0
add esp, 8
mov bl, 1
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x10010eee
mov edx, dword [ecx]
push 1
call dword [edx]
lea ecx, [ebp - 0x18]
call fcn.10007c70
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret