joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414779
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004100b5
xor ebx, ebx
cmp dword [0x4244a8], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x41484e
push 0x41cb64
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x4147b9
xor eax, eax
jmp 0x414912
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x41cb58
push edi
call esi
cmp eax, ebx
je 0x4147b2
push eax
call fcn.00410052
mov dword [esp], 0x41cb48
push edi
mov dword [0x4244a8], eax
call esi
push eax
call fcn.00410052
mov dword [esp], 0x41cb34
push edi
mov dword [0x4244ac], eax
call esi
push eax
call fcn.00410052
mov dword [0x4244b0], eax
lea eax, [ebp - 8]
push eax
call fcn.0040eac1
test eax, eax
pop ecx
pop ecx
je 0x41481c
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040cbfb
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x41484e
push 0x41cb18
push edi
call esi
push eax
call fcn.00410052
cmp eax, ebx
pop ecx
mov dword [0x4244b8], eax
je 0x41484e
push 0x41cb00
push edi
call esi
push eax
call fcn.00410052
pop ecx
mov dword [0x4244b4], eax
mov eax, dword [0x4244b4]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x4148c7
cmp dword [0x4244b8], esi
je 0x4148c7
push eax
call fcn.004100be
pop ecx
call eax
cmp eax, ebx
je 0x414894
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4244b8]
call fcn.004100be
pop ecx
call eax
test eax, eax
je 0x414894
test byte [ebp - 0x18], 1
jne 0x4148c7
lea eax, [ebp - 0xc]
push eax
call fcn.0040eaf8
test eax, eax
pop ecx
je 0x4148af
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040cbfb
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x4148be
or dword [ebp + 0x10], 0x200000
jmp 0x4148f8
or dword [ebp + 0x10], 0x40000
jmp 0x4148f8
mov eax, dword [0x4244ac]
cmp eax, esi
je 0x4148f8
push eax
call fcn.004100be
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4148f8
mov eax, dword [0x4244b0]
cmp eax, esi
je 0x4148f8
push dword [ebp - 4]
push eax
call fcn.004100be
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x4244a8]
call fcn.004100be
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00431219
Function at 0x4066be
Capabilities:
Create thread

Disassembly:
push edi
xor edi, edi
cmp dword [esi + 8], edi
jg 0x40674a
cmp dword [esi + 0xc], edi
jne 0x40674a
push edi
push edi
push 1
push edi
call dword [0x465104]
cmp eax, edi
mov dword [esi + 0x10], eax
je 0x40674a
push edi
push 0x7fffffff
push edi
push edi
call dword [0x465108]
cmp eax, edi
mov dword [esi + 0x14], eax
je 0x40674a
mov eax, dword [esp + 8]
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042e57e
cmp eax, edi
pop ecx
mov dword [esi + 0xc], eax
je 0x40674a
push ebx
xor ebx, ebx
cmp dword [esp + 0xc], edi
jle 0x40673e
push edi
push edi
push esi
push 0x40685b
push edi
push edi
call fcn.0043113d
mov ecx, dword [esi + 0xc]
add esp, 0x18
mov dword [ecx + ebx*4], eax
inc ebx
cmp ebx, dword [esp + 0xc]
jl 0x40671f
mov eax, dword [esp + 0xc]
mov dword [esi + 8], eax
mov al, 1
pop ebx
jmp 0x40674c
xor al, al
pop edi
ret 4
Function at 0x41958f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
shr eax, 5
push ebx
mov ebx, ecx
lea ecx, [eax - 4]
cmp ecx, 0xa
mov dword [ebp - 4], ebx
ja 0x4196fa
push esi
xor ecx, ecx
test eax, eax
push edi
jbe 0x4195cf
mov edx, dword [ebp + 8]
sub edx, 0x47ecc8
mov esi, dword [edx + ecx*4 + 0x47ecc8]
mov dword [ecx*4 + 0x47ecc8], esi
inc ecx
cmp ecx, eax
jb 0x4195bc
push 0xf
mov dword [eax*4 + 0x47ecc8], eax
inc eax
pop ecx
cmp eax, ecx
jae 0x4195eb
lea edi, [eax*4 + 0x47ecc8]
sub ecx, eax
xor eax, eax
rep stosd dword es:[edi], eax
push 4
xor esi, esi
lea edi, [ebx + 4]
pop edx
xor eax, eax
mov ecx, dword [eax + 0x47c0f8]
mov ecx, dword [ecx*4 + 0x47ecc8]
mov ebx, dword [eax + 0x47c134]
xor ecx, dword [ebx*4 + 0x47ecc8]
lea ebx, [eax + esi]
rol ecx, 3
xor ecx, ebx
xor dword [eax + 0x47ecc8], ecx
add eax, edx
cmp eax, 0x3c
jb 0x4195f5
mov dword [ebp + 0xc], edx
xor ecx, ecx
mov ebx, dword [ecx + 0x47b8bc]
mov ebx, dword [ebx*4 + 0x47ecc8]
and ebx, 0x1ff
mov ebx, dword [ebx*4 + 0x47b8f8]
lea eax, [ecx + 0x47ecc8]
add ebx, dword [eax]
add ecx, edx
rol ebx, 9
cmp ecx, 0x3c
mov dword [eax], ebx
jb 0x419629
dec dword [ebp + 0xc]
jne 0x419627
mov eax, edi
xor ecx, ecx
mov edi, dword [ecx + 0x47c170]
mov edi, dword [edi*4 + 0x47ecc8]
mov dword [eax], edi
add ecx, edx
add eax, edx
cmp ecx, 0x28
jb 0x419660
inc esi
cmp esi, edx
mov edi, eax
jb 0x4195f3
mov esi, dword [ebp - 4]
add esi, 0x18
mov dword [ebp + 0xc], 0x10
mov ecx, dword [esi]
mov edx, ecx
or edx, 3
mov eax, edx
shr eax, 1
mov edi, edx
not edi
xor eax, edi
and eax, 0x7fffffff
mov edi, eax
shr edi, 2
mov ebx, eax
shr ebx, 1
and edi, ebx
and eax, edi
mov edi, eax
mov ebx, eax
shr edi, 6
shr ebx, 3
and edi, ebx
and eax, edi
je 0x4196ee
add eax, eax
lea edi, [eax + eax]
or eax, edi
and ecx, 3
mov edi, eax
shl edi, 2
or eax, edi
mov edi, dword [ecx*4 + 0x47c1ac]
mov cl, byte [esi - 4]
rol edi, cl
mov ecx, eax
shl ecx, 4
or ecx, eax
and edi, ecx
and edi, 0xfffffffc
xor edx, edi
mov dword [esi], edx
add esi, 8
dec dword [ebp + 0xc]
jne 0x419690
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x41a883
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4014
call fcn.00449600
or dword [ebp - 4], 0xffffffff
push esi
xor esi, esi
push esi
push 0x8000000
push 3
push esi
push 1
push 0x80000000
push dword [ebp + 8]
mov dword [ebp - 8], esi
call dword [0x4650bc]
push esi
push eax
mov dword [ebp - 0x10], eax
call dword [0x4650c0]
cmp eax, esi
mov dword [ebp - 0xc], eax
jbe 0x41a96d
push ebx
push edi
mov eax, 0x4000
cmp dword [ebp - 0xc], eax
ja 0x41a8d8
mov eax, dword [ebp - 0xc]
push esi
lea ecx, [ebp - 0x14]
push ecx
push eax
lea eax, [ebp - 0x4014]
push eax
push dword [ebp - 0x10]
call dword [0x4650c4]
test eax, eax
je 0x41a96b
mov edi, dword [ebp - 0x14]
cmp edi, esi
jbe 0x41a96b
mov eax, edi
xor ecx, ecx
shr eax, 2
je 0x41a925
movzx ebx, byte [ebp - 4]
movzx edx, byte [ebp + ecx*4 - 0x4014]
xor edx, ebx
mov ebx, dword [ebp - 4]
shr ebx, 8
xor ebx, dword [edx*4 + 0x46b168]
inc ecx
cmp ecx, eax
mov dword [ebp - 4], ebx
jb 0x41a902
mov edx, edi
and edx, 3
je 0x41a95c
movzx eax, byte [ebp + eax*4 - 0x4014]
push 4
pop ecx
sub ecx, edx
shl ecx, 3
or edx, 0xffffffff
shr edx, cl
movzx ecx, dl
and ecx, eax
movzx eax, byte [ebp - 4]
xor ecx, eax
mov eax, dword [ebp - 4]
shr eax, 8
xor eax, dword [ecx*4 + 0x46b168]
mov dword [ebp - 4], eax
add dword [ebp - 8], edi
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
jb 0x41a8cb
pop edi
pop ebx
push dword [ebp - 0x10]
call dword [0x4652cc]
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 8], eax
pop esi
jb 0x41a982
not dword [ebp - 4]
mov eax, dword [ebp - 4]
leave
ret

Function at 0x41c1b6
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
push esi
mov esi, edx
jne 0x41c1c1
xor eax, eax
pop esi
ret
cmp eax, 8
push ebx
not esi
mov edx, 0xff
jb 0x41c273
push edi
mov edi, eax
shr edi, 3
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x46ad68]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x46ad68]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x46ad68]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x46ad68]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x46ad68]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x46ad68]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x46ad68]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x46ad68]
inc ecx
sub eax, 8
dec edi
jne 0x41c1d8
pop edi
test eax, eax
je 0x41c28c
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x46ad68]
inc ecx
dec eax
jne 0x41c277
mov eax, esi
pop ebx
not eax
pop esi
ret
Function at 0x41c293
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov eax, dword [ecx]
xor edx, eax
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edx*4 + 0x46ad68]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x46ad68]
pop esi
mov dword [ecx + 8], eax
ret
Function at 0x4210e0
Capabilities:
Check for peb beingdebugged flag
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4607cc
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x47a468]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, dword [esp + 0x20]
lea esi, [edi + 4]
mov dword [edi], vtable.base_drawtext_class_dui_ctrl_panel_.0
xor ebx, ebx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
xor eax, eax
mov ecx, 0x46ba6c
mov word [esi + 4], bx
call fcn.0041197b
mov dword [esp + 0x18], ebx
mov dword [edi + 0x20], 0xff010101
mov dword [edi + 0x24], 0xffa2a2ab
lea esi, [edi + 0x38]
mov dword [edi + 0x28], 0xc
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], 0x64
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
lea eax, [ebx + 2]
mov ecx, 0x46da7c
mov word [esi + 4], bx
call fcn.0041197b
lea ecx, [edi + 0x54]
mov byte [esp + 0x18], 1
push 4
mov esi, 0xf
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push str.left
mov byte [ecx + 4], bl
call fcn.00405eb1
lea ecx, [edi + 0x70]
mov byte [esp + 0x18], 2
push 6
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push str.center
mov byte [ecx + 4], bl
call fcn.00405eb1
lea ecx, [edi + 0x8c]
mov byte [esp + 0x18], 3
push 6
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push str.normal
mov byte [ecx + 4], bl
call fcn.00405eb1
mov byte [edi + 0xa8], 1
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4

Function at 0x422490
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x460248
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push edi
mov eax, dword [0x47a468]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x44]
xor edi, edi
push 0xffffffffffffffff
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x48]
xor ebx, ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], edi
mov word [esp + 0x20], di
call fcn.004115f8
mov eax, ebp
mov dword [esp + 0x38], edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4224f0
sub eax, edx
sar eax, 1
push eax
push ebp
lea ecx, [esp + 0x1c]
call fcn.004228b0
push 0xffffffffffffffff
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push esi
xor ebx, ebx
mov word [esi + 4], di
call fcn.004115f8
cmp dword [esp + 0x2c], 8
jb 0x422536
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0042fa12
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x2c
ret
Function at 0x428390
Capabilities:
Check for peb beingdebugged flag
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4607cc
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x47a468]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, dword [esp + 0x20]
lea esi, [edi + 4]
mov dword [edi], method.sigslot::_signal_base_class_sigslot::multi_threaded_local_.virtual_12
xor ebx, ebx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
xor eax, eax
mov ecx, 0x46ba6c
mov word [esi + 4], bx
call fcn.0041197b
mov dword [esp + 0x18], ebx
mov dword [edi + 0x20], 0xff010101
mov dword [edi + 0x24], 0xffa2a2ab
lea esi, [edi + 0x38]
mov dword [edi + 0x28], 0xc
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], 0x64
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
lea eax, [ebx + 2]
mov ecx, 0x46da7c
mov word [esi + 4], bx
call fcn.0041197b
lea ecx, [edi + 0x54]
mov byte [esp + 0x18], 1
push 4
mov esi, 0xf
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push str.left
mov byte [ecx + 4], bl
call fcn.00405eb1
lea ecx, [edi + 0x70]
mov byte [esp + 0x18], 2
push 6
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push str.center
mov byte [ecx + 4], bl
call fcn.00405eb1
lea ecx, [edi + 0x8c]
mov byte [esp + 0x18], 3
push 6
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push str.normal
mov byte [ecx + 4], bl
call fcn.00405eb1
mov byte [edi + 0xa8], 1
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4

Function at 0x428b30
Capabilities:
Check for peb beingdebugged flag
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4607cc
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x47a468]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, dword [esp + 0x20]
lea esi, [edi + 4]
mov dword [edi], method.sigslot::_signal_base_class_sigslot::multi_threaded_local_.virtual_12
xor ebx, ebx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
xor eax, eax
mov ecx, 0x46ba6c
mov word [esi + 4], bx
call fcn.0041197b
mov dword [esp + 0x18], ebx
mov dword [edi + 0x20], 0xff010101
mov dword [edi + 0x24], 0xffa2a2ab
lea esi, [edi + 0x38]
mov dword [edi + 0x28], 0xc
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], 0x64
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
lea eax, [ebx + 2]
mov ecx, 0x46da7c
mov word [esi + 4], bx
call fcn.0041197b
lea ecx, [edi + 0x54]
mov byte [esp + 0x18], 1
push 4
mov esi, 0xf
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push str.left
mov byte [ecx + 4], bl
call fcn.00405eb1
lea ecx, [edi + 0x70]
mov byte [esp + 0x18], 2
push 6
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push str.center
mov byte [ecx + 4], bl
call fcn.00405eb1
lea ecx, [edi + 0x8c]
mov byte [esp + 0x18], 3
push 6
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push str.normal
mov byte [ecx + 4], bl
call fcn.00405eb1
mov byte [edi + 0xa8], 1
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x431d05
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x431d42
cmp dword [ebp + 0x14], edi
je 0x431d42
cmp ecx, edi
jne 0x431d49
call fcn.004349f1
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.004312f1
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x431d5d
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x431d7e
cmp ebx, 0xffffffff
je 0x431d6d
push ebx
push edi
push ecx
call fcn.004381b0
add esp, 0xc
cmp esi, edi
je 0x431d2a
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x431d2a
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x431d9a
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x431da1
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x431e92
test word [esi + 0xc], 0x10c
je 0x431df5
mov eax, dword [esi + 4]
test eax, eax
je 0x431df5
jl 0x431ef3
cmp ebx, eax
mov edi, ebx
jb 0x431dc6
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x431e9a
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00430419
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x431e8a
cmp ebx, dword [ebp - 0xc]
jb 0x431e62
cmp dword [ebp - 0xc], 0
je 0x431e1f
mov ecx, 0x7fffffff
xor edx, edx
cmp ebx, ecx
jbe 0x431e14
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x431e1b
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x431e2a
mov eax, 0x7fffffff
cmp ebx, eax
ja 0x431e2a
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x431ec6
push eax
push dword [ebp - 8]
push esi
call fcn.0043e89f
pop ecx
push eax
call fcn.0043efd9
add esp, 0xc
test eax, eax
je 0x431f05
cmp eax, 0xffffffff
je 0x431ef3
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x431e8a
push esi
call fcn.0043e8f8
cmp eax, 0xffffffff
pop ecx
je 0x431ef7
cmp dword [ebp - 4], 0
je 0x431ec6
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x431da9
mov eax, dword [ebp + 0x14]
jmp 0x431d44
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x431eb1
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.004381b0
add esp, 0xc
call fcn.004349f1
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x431d3a
cmp dword [ebp + 0xc], 0xffffffff
je 0x431edc
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.004381b0
add esp, 0xc
call fcn.004349f1
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x431d3a
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x431d44
or dword [esi + 0xc], 0x10
jmp 0x431ef7
Function at 0x4918a3
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
push 0xf
push 0
lea eax, [ebp - 0x14]
push eax
call fcn.004aed4a
add esp, 0xc
jnp 0x4918be
cmp ecx, dword [esp + 8]
lea edx, [edx + 0x3692]
sub edx, 0x3692
add esi, dword [esp]
sub esi, dword [esp]
jae 0x4918ea
pushf
ja 0x4918da
cmp esi, 0x72c1
popf
nop
jp 0x4918e5
jmp 0x4918e7
jb 0x4918ea
mov ecx, 0x53ec45c6
mov byte [ebp - 0x14], 0x53
mov byte [ebp - 8], 0x70
mov byte [ebp - 0xb], 0x71
mov byte [ebp - 0x11], 0x74
mov byte [ebp - 0x10], 0x66
mov byte [ebp - 0xf], 0x46
mov byte [ebp - 7], 0x6f
mov byte [ebp - 0xd], 0x64
mov byte [ebp - 0xc], 0x66
mov byte [ebp - 0x12], 0x6a
mov byte [ebp - 0xe], 0x79
mov byte [ebp - 0xa], 0x75
mov byte [ebp - 9], 0x6a
mov byte [ebp - 0x13], 0x62
mov byte [ebp - 6], 0
rol esp, 0
shl edi, 0
rol edi, 0x19
rol edi, 7
jo 0x491940
pushf
js 0x491938
popf
lea esp, [esp]
jno 0x491940
xor eax, 0x80ec4d8a
jmp 0xec96a14a
mov cl, byte [ebp - 0x14]
sub cl, 1
mov byte [ebp - 0x14], cl
mov dl, byte [ebp - 9]
sub dl, 1
mov byte [ebp - 9], dl
mov al, byte [ebp - 0xd]
sub al, 1
mov byte [ebp - 0xd], al
mov cl, byte [ebp - 7]
sub cl, 1
mov byte [ebp - 7], cl
mov dl, byte [ebp - 0x11]
sub dl, 1
mov byte [ebp - 0x11], dl
mov al, byte [ebp - 0xb]
sub al, 1
mov byte [ebp - 0xb], al
mov cl, byte [ebp - 0xf]
sub cl, 1
mov byte [ebp - 0xf], cl
mov dl, byte [ebp - 0x13]
sub dl, 1
mov byte [ebp - 0x13], dl
mov al, byte [ebp - 0xe]
sub al, 1
mov byte [ebp - 0xe], al
mov cl, byte [ebp - 0xc]
sub cl, 1
mov byte [ebp - 0xc], cl
mov dl, byte [ebp - 0x10]
sub dl, 1
mov byte [ebp - 0x10], dl
mov al, byte [ebp - 0xa]
sub al, 1
mov byte [ebp - 0xa], al
mov cl, byte [ebp - 8]
sub cl, 1
mov byte [ebp - 8], cl
mov dl, byte [ebp - 0x12]
sub dl, 1
mov byte [ebp - 0x12], dl
call fcn.00493c28
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4919ca
jmp 0x491a2a
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.0049b743
mov dword [ebp - 0x18], eax
push 0xf
push 0
lea edx, [ebp - 0x14]
push edx
call fcn.004aed4a
add esp, 0xc
cmp dword [ebp - 0x18], 0
je 0x491a2a
stc
je 0x4919fd
xchg esi, eax
xchg esi, eax
jbe 0x4919f7
js 0x4919f9
jne 0x4919fd
sbb dword [edi + 0x50e8458b], 0xc69be8
add byte [ebx + 0x51f904c4], al
mov eax, dword [ebp - 0x18]
push eax
call fcn.0049e0a1
add esp, 4
stc
push ecx
pop ecx
jno 0x491a17
pushf
nop
popf
nop
jo 0x491a17
mov esi, 0x51144d8b
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x491d60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
push 0x22
push 0
lea eax, [ebp - 0x138]
push eax
call fcn.004aed4a
add esp, 0xc
push 0x21
push 0x48c480
lea ecx, [ebp - 0x138]
push ecx
call fcn.004903e6
add esp, 0xc
lea edx, [ebp - 0x110]
push edx
push 1
push 0
lea eax, [ebp - 0x138]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jne 0x491e68
push 0x22
push 0
lea ecx, [ebp - 0x138]
push ecx
call fcn.004aed4a
add esp, 0xc
push 0xb
push 0x48c4a4
lea edx, [ebp - 0x138]
push edx
call fcn.004903e6
add esp, 0xc
mov dword [ebp - 0x13c], 0x105
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x108]
push ecx
lea edx, [ebp - 0x10c]
push edx
push 0
lea eax, [ebp - 0x138]
push eax
mov ecx, dword [ebp - 0x110]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jne 0x491e5b
push 0x105
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004903e6
add esp, 0xc
mov ecx, dword [ebp - 0x110]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x491e6a
mov edx, dword [ebp - 0x110]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov esp, ebp
pop ebp
ret