joyce8/EMBER2024-capa huggingface dataset:
Function at 0x429ea0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46eb29
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x495574]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
lea ecx, [esi + 4]
mov dword [esi], vtable.CStickerMap.0
call fcn.0043bb76
mov dword [esi + 0x1c], vtable.CMap_struct_SStickerMapModPosKey__struct_SStickerMapModPosKey_const___class_CStickerMapModPosDesc__class_CStickerMapModPosDesc_const__.0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0x11
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0xa
mov dword [esi + 0x40], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x3c], vtable.OCArray_struct_SStickerMapModPosKey_.0
push 0xffffffffffffffff
push 1
lea ecx, [esi + 4]
mov byte [ebp - 4], 3
call fcn.0043bcf7
cmp dword [esi + 0xc], 0
jle 0x42a09a
mov eax, dword [esi + 8]
lea ecx, [esi + 0x1c]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xffffff
mov word [ebp - 0x18], 0
mov byte [eax], 0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xe]
mov byte [esi + 0x18], 0
push eax
mov word [ebp - 0xe], 0
call fcn.0042d300
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
lea eax, [ebp - 0xe]
mov dword [ebp - 0x1c], 0xffffff
push eax
lea ecx, [esi + 0x1c]
mov word [ebp - 0x18], 0
mov word [ebp - 0xe], 0x100
call fcn.0042d300
push ecx
push 0x10
lea ecx, [esi + 0x3c]
mov word [esi + 0x38], 0x101
call fcn.0042d8c0
xor edx, edx
mov eax, dword [esi + 0x40]
mov word [eax + edx], 0
mov eax, dword [esi + 0x40]
mov word [edx + eax + 2], 0
mov eax, dword [esi + 0x40]
mov word [edx + eax + 4], 0
mov eax, dword [esi + 0x40]
mov word [eax + edx + 6], 0
add edx, 8
cmp edx, 0x20
jl 0x429fc1
movsd xmm0, qword [0x48ae50]
mov eax, 0x7f
mov word [esi + 0xa0], ax
mov eax, esi
mov dword [esi + 0x50], 2
mov dword [esi + 0x54], 2
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 1
mov dword [esi + 0x60], 1
mov dword [esi + 0x64], 1
mov dword [esi + 0x68], 0xffffff
mov dword [esi + 0x6c], 0
mov byte [esi + 0x70], 1
mov dword [esi + 0x74], 0xe6e6e6
mov byte [esi + 0x78], 1
mov dword [esi + 0x7c], 0x646464
mov byte [esi + 0x80], 1
mov dword [esi + 0x84], 0xffdcdc
mov byte [esi + 0x88], 0
mov dword [esi + 0x8c], 0xff0000
mov dword [esi + 0x90], 0
movsd qword [esi + 0x98], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00437e01
int3
Function at 0x432ac0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46ef98
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x495574]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ebx, eax
call fcn.0043b6b2
mov ecx, dword [eax + 4]
call fcn.0043d26c
mov dword [ebp - 4], 0
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
nop dword [eax]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
call esi
test eax, eax
jne 0x432b40
call edi
sub eax, ebx
cmp eax, 0x190
jae 0x432b6c
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
call esi
test eax, eax
je 0x432b22
nop
call fcn.0043b6b2
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
call dword [eax + 0x5c]
call edi
sub eax, ebx
cmp eax, 0x190
jae 0x432b6c
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
call esi
test eax, eax
jne 0x432b40
jmp 0x432b10
lea ecx, [ebp - 0xd]
call fcn.00432e40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4331b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46f061
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x495574]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
lea ecx, [ebx + 4]
mov dword [ecx + 4], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 8], 0
mov dword [ecx], vtable.OCArray_class_CVkFParam_.0
mov dword [ebp - 4], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x18], vtable.OCArray_bool_.0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x2c], vtable.OCArray_class_CVkFParam_.0
push ecx
mov byte [ebp - 4], 2
push 8
mov byte [ebx], 0xff
call fcn.00434480
push ecx
push 8
lea ecx, [ebx + 0x18]
call fcn.00411e00
push ecx
push 8
lea ecx, [ebx + 0x2c]
call fcn.00434480
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4354d0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46f1c0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x495574]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
mov edx, dword [ebx + 0x18]
mov edi, dword [ebx + 4]
mov cl, byte [eax]
movzx eax, cl
xor eax, 0x811c9dc5
imul eax, eax, 0x1000193
and edx, eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x14], edx
lea esi, [eax + edx*8]
mov eax, dword [esi]
cmp eax, edi
jne 0x435535
mov esi, edi
jmp 0x435540
mov esi, dword [esi + 4]
mov esi, dword [esi]
nop word [eax + eax]
cmp esi, eax
je 0x435569
mov esi, dword [esi + 4]
cmp cl, byte [esi + 8]
jne 0x435540
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov dword [ebp - 4], 0xffffffff
mov edi, dword [edi]
push dword [ebp + 0xc]
mov eax, dword [edi + 4]
push eax
push edi
mov dword [ebp - 0x18], eax
call fcn.00435910
mov edx, eax
mov ecx, 0x15555554
mov eax, dword [ebx + 8]
sub ecx, eax
cmp ecx, 1
jb 0x435666
inc eax
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x18]
mov dword [edi + 4], edx
mov dword [eax], edx
mov ecx, dword [ebx + 4]
mov edi, dword [ecx]
mov dword [ebp + 0xc], edi
mov eax, dword [edi]
cmp esi, eax
je 0x4355d5
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 0xc]
mov edx, dword [ebp - 0x14]
lea edx, [eax + edx*8]
mov eax, dword [edx]
cmp eax, ecx
jne 0x4355f2
mov ecx, dword [ebp - 0x14]
mov dword [edx], edi
mov eax, dword [ebx + 0xc]
mov dword [eax + ecx*8 + 4], edi
jmp 0x435618
cmp eax, esi
jne 0x4355fa
mov dword [edx], edi
jmp 0x435618
mov eax, dword [edx + 4]
mov eax, dword [eax]
mov dword [edx + 4], eax
cmp eax, edi
je 0x435618
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp - 0x14]
lea ecx, [eax + ecx*8]
mov eax, dword [ecx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
mov ecx, ebx
mov dword [ebp - 4], 2
call fcn.00435680
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push str.list_T__too_long
call fcn.0044d57b
int3
Function at 0x4357a0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46f1e0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x495574]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
mov edx, dword [ebx + 0x18]
mov esi, dword [ebx + 4]
mov cl, byte [eax]
movzx eax, cl
xor eax, 0x811c9dc5
imul eax, eax, 0x1000193
and edx, eax
mov eax, dword [ebx + 0xc]
mov dword [ebp + 0xc], edx
lea edx, [eax + edx*8]
mov eax, dword [edx]
cmp esi, eax
je 0x43584f
mov esi, dword [edx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x43584f
mov esi, dword [esi + 4]
cmp cl, byte [esi + 8]
jne 0x435806
mov edx, dword [ebp + 0x10]
push 0xc
push edx
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 8]
call fcn.0044c2b7
mov eax, dword [ebp + 8]
add esp, 8
mov dword [eax], esi
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x14], edi
mov eax, dword [edi]
cmp esi, eax
je 0x43587c
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov eax, dword [ebx + 0xc]
mov edx, dword [ebp + 0xc]
lea ecx, [eax + edx*8]
mov eax, dword [ecx]
cmp eax, dword [ebx + 4]
jne 0x435897
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [eax + edx*8 + 4], edi
jmp 0x4358ba
cmp eax, esi
jne 0x43589f
mov dword [ecx], edi
jmp 0x4358ba
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x4358ba
mov eax, dword [ebx + 0xc]
lea ecx, [eax + edx*8]
mov eax, dword [ecx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
mov ecx, ebx
mov dword [ebp - 4], 2
call fcn.00435680
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x435a30
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x495574]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.0044e9c0
add esp, 0xc
mov dword [ebp - 0x118], 0x114
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x114]
cmp eax, 6
jne 0x435a94
cmp dword [ebp - 0x110], 2
jb 0x435a96
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044c2a6
mov esp, ebp
pop ebp
ret
ja 0x435a84
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
call fcn.0044c2a6
mov esp, ebp
pop ebp
ret
Function at 0x44477f
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x4447d2
push esi
push dword [ebp + 8]
call fcn.00444968
mov edi, eax
test edi, edi
je 0x4447cd
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4447cd
mov eax, dword [ebp - 8]
jmp 0x4447e4
mov eax, dword [ebp + 0x10]
jmp 0x4447e4
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop edi
pop esi
leave
ret 0xc

Function at 0x461e29
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00461c9f
Function at 0x10004f20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b1847
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x10229fec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [ebp - 4], 4
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov byte [ebp - 4], 0xd
lea edi, [esi + 0x34]
cmp dword [0x10237564], 0
mov dword [ebp - 0x10], edi
jne 0x10004fb0
call fcn.10034e50
mov dword [0x10237564], 0x1002a5a0
mov dword [edi], vtable.CryptoPP::Integer.0
mov ecx, 2
mov dword [edi + 8], 2
call fcn.10028140
mov ecx, 8
call fcn.10041190
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 0
mov dword [eax + 4], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov byte [ebp - 4], 0xe
lea edi, [esi + 0x48]
cmp dword [0x10237564], 0
mov dword [ebp - 0x10], edi
jne 0x1000500d
call fcn.10034e50
mov dword [0x10237564], 0x1002a5a0
mov dword [edi], vtable.CryptoPP::Integer.0
mov ecx, 2
mov dword [edi + 8], 2
call fcn.10028140
mov ecx, 8
call fcn.10041190
mov dword [edi + 0xc], eax
mov ecx, eax
mov dword [edi + 0x10], 0
mov eax, esi
mov dword [ecx + 4], 0
mov ecx, dword [edi + 0xc]
mov dword [ecx], 0
mov byte [esi + 0x5c], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000cda0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b21f8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10229fec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x1000cece
cmp byte [ebx + 0x3d], 0
je 0x1000cece
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x1000cdf9
xor al, al
jmp 0x1000ced0
push 0
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.1000c650
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x1000ce5f
sub eax, 1
je 0x1000ce63
mov ecx, dword [ebp - 0x14]
sub eax, 2
je 0x1000ceb6
xor bl, bl
jmp 0x1000ceb8
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x1000ce98
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.10192bc9
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp esi, eax
jne 0x1000ce5b
cmp byte [ebx + 0x3d], 0
je 0x1000ceb6
test esi, esi
jne 0x1000ce21
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.1000c950
jmp 0x1000ce1e
mov bl, 1
cmp ecx, 0x10
jb 0x1000ceca
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.1000d260
mov al, bl
jmp 0x1000ced0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10181d22
mov esp, ebp
pop ebp
ret
Function at 0x100121c0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x100121cb
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.100121e0
Function at 0x10012600
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 0x2c]
nop
mov eax, dword [edi + 0x2c]
mov edx, dword [edi + 0x3c]
add eax, 0xfffffefa
sub edx, dword [edi + 0x74]
add eax, esi
sub edx, dword [edi + 0x6c]
mov dword [ebp - 4], edx
cmp dword [edi + 0x6c], eax
jb 0x1001268f
mov ecx, dword [edi + 0x38]
push esi
lea eax, [ecx + esi]
push eax
push ecx
call fcn.101863d0
mov edx, dword [edi + 0x4c]
add esp, 0xc
mov eax, dword [edi + 0x44]
sub dword [edi + 0x70], esi
sub dword [edi + 0x6c], esi
sub dword [edi + 0x5c], esi
lea ecx, [eax + edx*2]
nop
movzx eax, word [ecx - 2]
lea ecx, [ecx - 2]
cmp eax, esi
jb 0x1001265f
sub eax, esi
jmp 0x10012661
xor eax, eax
mov word [ecx], ax
sub edx, 1
jne 0x10012650
mov eax, dword [edi + 0x40]
mov edx, esi
lea ecx, [eax + esi*2]
movzx eax, word [ecx - 2]
lea ecx, [ecx - 2]
cmp eax, esi
jb 0x10012680
sub eax, esi
jmp 0x10012682
xor eax, eax
mov word [ecx], ax
sub edx, 1
jne 0x10012671
mov edx, dword [ebp - 4]
add edx, esi
mov ebx, dword [edi]
cmp dword [ebx + 4], 0
je 0x100127c3
mov eax, dword [edi + 0x74]
add eax, dword [edi + 0x6c]
add eax, dword [edi + 0x38]
mov dword [ebp - 8], eax
mov eax, dword [ebx + 4]
cmp eax, edx
mov ecx, eax
cmova ecx, edx
mov dword [ebp - 4], ecx
test ecx, ecx
jne 0x100126bc
xor eax, eax
jmp 0x1001270f
sub eax, ecx
mov dword [ebx + 4], eax
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 0x18]
cmp eax, 1
jne 0x100126d9
mov edx, dword [ebx]
push ecx
mov ecx, dword [ebx + 0x30]
call fcn.10011f40
jmp 0x100126f1
cmp eax, 2
jne 0x100126f7
mov edx, dword [ebx]
test edx, edx
jne 0x100126e8
xor eax, eax
jmp 0x100126f4
push ecx
mov ecx, dword [ebx + 0x30]
call fcn.100121e0
add esp, 4
mov dword [ebx + 0x30], eax
push dword [ebp - 4]
push dword [ebx]
push dword [ebp - 8]
call fcn.101863d0
mov eax, dword [ebp - 4]
add esp, 0xc
add dword [ebx], eax
add dword [ebx + 8], eax
add dword [edi + 0x74], eax
mov ebx, dword [edi + 0x74]
cmp ebx, 3
jb 0x10012737
mov eax, dword [edi + 0x38]
add eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x58]
movzx edx, byte [eax]
mov dword [edi + 0x48], edx
movzx eax, byte [eax + 1]
shl edx, cl
xor edx, eax
and edx, dword [edi + 0x54]
mov dword [edi + 0x48], edx
cmp ebx, 0x106
jae 0x1001274b
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x10012610
mov edx, dword [edi + 0x16c0]
mov ecx, dword [edi + 0x3c]
cmp edx, ecx
jae 0x100127c3
mov esi, dword [edi + 0x6c]
add esi, ebx
cmp edx, esi
jae 0x10012793
sub ecx, esi
mov eax, 0x102
cmp ecx, eax
cmova ecx, eax
mov eax, dword [edi + 0x38]
push ecx
add eax, esi
mov dword [ebp - 8], ecx
push 0
push eax
call fcn.10186950
mov eax, dword [ebp - 8]
add esp, 0xc
add eax, esi
mov dword [edi + 0x16c0], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esi + 0x102]
cmp edx, eax
jae 0x100127c3
mov eax, dword [edi + 0x38]
sub esi, edx
sub ecx, edx
add esi, 0x102
cmp esi, ecx
cmova esi, ecx
add eax, edx
push esi
push 0
push eax
call fcn.10186950
add esp, 0xc
add dword [edi + 0x16c0], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100170d0
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 0x100170e5
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10017126
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 0x10017122
nop word [eax + eax]
cmp esi, edx
jae 0x10017126
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x10017110
cmp esi, edx
jb 0x1001712b
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 0x100171d0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b282a
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x10229fec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 0x1c], 0
xorps xmm0, xmm0
mov eax, dword [ebp + 8]
mov esi, 0x6400000
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x88], edi
movlpd qword [ebp - 0x80], xmm0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x78], 0x67452301
mov dword [ebp - 0x74], 0xefcdab89
mov dword [ebp - 0x70], 0x98badcfe
mov dword [ebp - 0x6c], 0x10325476
jb 0x10017317
ja 0x10017277
cmp dword [ebp + 0x18], 0
jbe 0x10017317
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x7c], ecx
xor eax, eax
mov edx, esi
add edx, ecx
adc eax, dword [ebp - 0x84]
cmp eax, dword [ebp + 0x1c]
jb 0x100172a4
mov eax, dword [ebp + 0x18]
ja 0x100172a0
cmp edx, eax
jbe 0x100172a4
mov esi, eax
sub esi, ecx
push esi
push 0
push edi
call fcn.10186950
mov eax, dword [ebx]
add esp, 0xc
mov ecx, ebx
push esi
push edi
call dword [eax + 0x38]
mov edi, eax
cmp edi, esi
jae 0x100172db
nop
mov edx, dword [ebx]
mov eax, esi
sub eax, edi
mov ecx, ebx
push eax
mov eax, dword [ebp - 0x88]
add eax, edi
push eax
call dword [edx + 0x38]
add edi, eax
cmp edi, esi
jb 0x100172c0
mov edi, dword [ebp - 0x88]
lea eax, [ebp - 0x78]
push esi
push edi
push eax
call fcn.100173e0
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x84]
add ecx, esi
mov dword [ebp - 0x7c], ecx
adc eax, 0
mov dword [ebp - 0x84], eax
cmp eax, dword [ebp + 0x1c]
jb 0x10017286
ja 0x10017317
cmp ecx, dword [ebp + 0x18]
jb 0x10017286
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.10017490
call fcn.1004b6ac
mov ecx, eax
test ecx, ecx
jne 0x10017339
push 0x80004005
call fcn.100170b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x7c], eax
mov dword [ebp - 4], 1
mov ebx, dword [ebp - 0x8c]
mov ecx, ebx
push 0x101fb058
call fcn.10017cd0
mov dword [ebp - 0x90], 1
xor edi, edi
nop dword [eax]
movzx eax, byte [ebp + edi - 0x20]
push eax
lea eax, [ebp - 0x7c]
push str._02X
push eax
call fcn.100183a0
mov esi, dword [ebp - 0x7c]
add esp, 0xc
mov ecx, ebx
push dword [esi - 0xc]
push esi
call fcn.100182d0
inc edi
cmp edi, 0x10
jl 0x10017370
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100173b7
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10181d22
mov esp, ebp
pop ebp
ret 0x18