joyce8/EMBER2024-capa huggingface dataset:
Function at 0x456990
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
call sym.__pthread_once_raw.constprop.0.isra.0
mov eax, dword [0x45ea60]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
test eax, eax
je 0x456a00
test byte [ebx + 0x20], 0xc
jne 0x4569c0
mov eax, dword [0x47abf8]
test eax, eax
jne 0x4569d0
add esp, 0x14
pop ebx
pop esi
ret
lea esi, [ebx + 0x1c]
mov dword [esp], esi
call dbg.pthread_mutex_lock
movzx eax, byte [ebx + 0x20]
test al, 3
je 0x4569f2
mov edx, dword [ebx + 0x24]
test dl, 1
je 0x4569f2
mov ecx, dword [ebx + 0x10]
test ecx, ecx
jle 0x456a11
mov dword [esp], esi
call dbg.pthread_mutex_unlock
add esp, 0x14
pop ebx
pop esi
ret
call sym.___pthread_self_lite.part.0
mov ebx, eax
test eax, eax
jne 0x4569b1
add esp, 0x14
pop ebx
pop esi
ret
and eax, 0xfffffff3
and edx, 0xfffffffe
or eax, 4
mov dword [ebx + 0x24], edx
mov byte [ebx + 0x20], al
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x456a31
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push eax
mov dword [esp], esi
call dbg.pthread_mutex_unlock
call dbg._pthread_invoke_cancel
nop
Function at 0x457520
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x24
mov esi, dword [esp + 0x30]
test esi, esi
je 0x457650
mov dword [esp], 0x45ea58
call dbg.pthread_mutex_lock
mov eax, esi
call dbg.__pthread_get_pointer
mov dword [esp], 0x45ea58
mov ebx, eax
call dbg.pthread_mutex_unlock
test ebx, ebx
je 0x457650
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x457650
lea edx, [esp + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], edx
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
sub esp, 8
test eax, eax
je 0x457650
test byte [ebx + 0x24], 4
jne 0x457660
call sym.__pthread_once_raw.constprop.0.isra.0
mov eax, dword [0x45ea60]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x457680
cmp esi, dword [eax + 0xb4]
je 0x4576b0
mov ecx, dword [ebx + 0x68]
mov eax, dword [ebx + 0x14]
test ecx, ecx
je 0x4575c7
lea edx, [eax - 1]
cmp edx, 0xfffffffd
ja 0x4575de
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebx + 0x14]
sub esp, 8
mov dword [esp], eax
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
mov eax, dword [ebx + 0x18]
sub esp, 4
test eax, eax
je 0x4575fb
mov dword [esp], eax
call esi
sub esp, 4
mov edx, dword [esp + 0x34]
mov dword [ebx + 0x18], 0
test edx, edx
je 0x457698
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x34]
mov dword [ecx], eax
lea eax, [ebx + 0x1c]
mov dword [esp], eax
call dbg.pthread_mutex_destroy
lea eax, [ebx + 0x38]
mov dword [esp], eax
call dbg.pthread_spin_destroy
cmp eax, 1
je 0x4576b7
mov eax, dword [ebx + 0xb0]
mov dword [ebx + 0x38], 0xffffffff
test eax, eax
je 0x457670
xor eax, eax
add esp, 0x24
pop ebx
pop esi
ret
mov eax, 3
add esp, 0x24
pop ebx
pop esi
ret
add esp, 0x24
mov eax, 0x16
pop ebx
pop esi
ret
mov eax, ebx
call sym._push_pthread_mem.part.0
xor eax, eax
jmp 0x457649
call sym.___pthread_self_lite.part.0
test eax, eax
jne 0x4575a9
jmp 0x4575b5
lea eax, [ebx + 0x1c]
mov dword [esp], eax
call dbg.pthread_mutex_destroy
lea eax, [ebx + 0x38]
jmp 0x457625
mov eax, 0x24
jmp 0x457655
call sym._replace_spin_keys.part.0
lea esi, [esi]
Function at 0x401000
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x23c
mov esi, dword [esp + 0x254]
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
mov dword [esi + 4], 0
mov dword [esi], 0
xor eax, eax
cmp byte [0x4493f4], 0
sete al
jmp dword [eax*4 + 0x444484]

Function at 0x403130
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
xor eax, eax
cmp dword [esp + 0x20], 0
je 0x403210
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x403210
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0x40317a
mov ecx, 0x1505
xor edi, edi
nop
movzx edx, byte [ebx + edi]
test edx, edx
je 0x403181
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc edi
mov ecx, esi
cmp ebp, edi
jne 0x403160
jmp 0x403183
mov esi, 0x1505
jmp 0x403183
mov esi, ecx
mov ecx, dword [esp + 0x20]
mov ebx, dword [ecx + 0x20]
lea edi, [ebx - 1]
mov edx, ebx
sub edx, 1
mov dword [esp + 8], edx
jb 0x403210
and edi, esi
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x4031b4
inc edi
dec ebx
je 0x40320e
mov eax, edi
and eax, dword [esp + 8]
mov edx, dword [esp + 4]
mov ebp, dword [edx + eax*4]
cmp ebp, 0xffffffff
je 0x40320e
mov eax, dword [ecx + 8]
cmp dword [eax + ebp*4], esi
jne 0x4031b0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + ebp*4]
mov dword [esp], eax
push eax
call fcn.00409b80
mov ecx, dword [esp + 0x24]
add esp, 4
cmp eax, dword [esp + 0x28]
jne 0x4031b0
push dword [esp + 0x28]
push dword [esp + 4]
push dword [esp + 0x2c]
call fcn.00409ba0
mov ecx, dword [esp + 0x2c]
add esp, 0xc
test eax, eax
jne 0x4031b0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + ebp*4]
jmp 0x403210
xor eax, eax
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x403220
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
xor edi, edi
cmp dword [esp + 0x24], 0
je 0x403321
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x403321
push ebx
call fcn.00409b80
add esp, 4
test eax, eax
je 0x40327a
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x403281
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x403260
jmp 0x403283
mov esi, 0x1505
jmp 0x403283
mov esi, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx + 0x20]
lea ebp, [ebx - 1]
mov eax, ebx
sub eax, 1
mov dword [esp + 0xc], eax
jb 0x403321
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x4032b4
inc ebp
dec ebx
je 0x40331f
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x40331f
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x4032b0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.00409b80
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x4032b0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00409ba0
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x4032b0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x40331f
cmp dword [eax + 4], 2
mov edi, 0
jne 0x403321
mov edi, dword [eax + 8]
jmp 0x403321
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x403350
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
fldz
fstp qword [esp + 0x10]
cmp dword [esp + 0x2c], 0
je 0x4033bb
mov esi, dword [esp + 0x30]
test esi, esi
je 0x4033bb
push esi
call fcn.00409b80
add esp, 4
test eax, eax
je 0x40339a
mov ecx, 0x1505
xor edi, edi
movzx edx, byte [esi + edi]
test edx, edx
je 0x4033a1
mov ebp, ecx
shl ebp, 5
add ebp, ecx
add ebp, edx
inc edi
mov ecx, ebp
cmp eax, edi
jne 0x403380
jmp 0x4033a3
mov ebp, 0x1505
jmp 0x4033a3
mov ebp, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x2c]
mov edi, dword [ecx + 0x20]
lea ebx, [edi - 1]
mov eax, edi
sub eax, 1
mov dword [esp + 0xc], eax
jae 0x4033c7
fld qword [esp + 0x10]
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
and ebx, ebp
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x4033e4
inc ebx
dec edi
je 0x4033bb
mov eax, ebx
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x4033bb
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebp
jne 0x4033e0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.00409b80
mov ecx, dword [esp + 0x30]
add esp, 4
cmp eax, dword [esp]
jne 0x4033e0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x38]
call fcn.00409ba0
mov ecx, dword [esp + 0x38]
add esp, 0xc
test eax, eax
jne 0x4033e0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x4033bb
cmp dword [eax + 4], 3
jne 0x4033bb
fld qword [eax + 8]
fstp qword [esp + 0x10]
jmp 0x4033bb
Function at 0x403480
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
xor edi, edi
cmp dword [esp + 0x24], 0
je 0x403581
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x403581
push ebx
call fcn.00409b80
add esp, 4
test eax, eax
je 0x4034da
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x4034e1
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x4034c0
jmp 0x4034e3
mov esi, 0x1505
jmp 0x4034e3
mov esi, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx + 0x20]
lea ebp, [ebx - 1]
mov eax, ebx
sub eax, 1
mov dword [esp + 0xc], eax
jb 0x403581
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x403514
inc ebp
dec ebx
je 0x40357f
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x40357f
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x403510
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.00409b80
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x403510
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00409ba0
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x403510
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x40357f
cmp dword [eax + 4], 5
mov edi, 0
jne 0x403581
mov edi, dword [eax + 8]
jmp 0x403581
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4035b0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov edi, 0xffffffff
cmp dword [esp + 0x24], 0
je 0x4036b4
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x4036b4
push ebx
call fcn.00409b80
add esp, 4
test eax, eax
je 0x40360a
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x403611
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x4035f0
jmp 0x403613
mov esi, 0x1505
jmp 0x403613
mov esi, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx + 0x20]
lea ebp, [ebx - 1]
mov eax, ebx
sub eax, 1
mov dword [esp + 0xc], eax
jb 0x4036b4
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x403644
inc ebp
dec ebx
je 0x4036af
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x4036af
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x403640
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.00409b80
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x403640
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00409ba0
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x403640
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x4036af
cmp dword [eax + 4], 6
mov edi, 0xffffffff
jne 0x4036b4
mov edi, dword [eax + 8]
jmp 0x4036b4
mov edi, 0xffffffff
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4036c0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
push 0x2e
push ebp
call fcn.00409bf0
add esp, 8
test eax, eax
je 0x403724
mov esi, eax
jmp 0x403704
mov ebp, esi
inc ebp
push 0x2e
push ebp
call fcn.00409bf0
add esp, 8
mov esi, eax
test eax, eax
je 0x403724
mov eax, esi
sub eax, ebp
push eax
push ebp
push edi
call fcn.00403130
add esp, 0xc
xor edi, edi
test eax, eax
je 0x4036f0
cmp dword [eax + 4], 4
jne 0x4036f0
mov edi, dword [eax + 8]
jmp 0x4036f0
xor eax, eax
test edi, edi
je 0x40378b
test ebp, ebp
je 0x40378b
push ebp
call fcn.00409b80
add esp, 4
test eax, eax
je 0x40376b
mov ecx, 0x1505
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebp + ebx]
test edx, edx
je 0x403772
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebx
mov ecx, esi
cmp eax, ebx
jne 0x403750
jmp 0x403774
mov esi, 0x1505
jmp 0x403774
mov esi, ecx
mov dword [esp + 4], eax
mov ecx, dword [edi + 0x20]
lea ebx, [ecx - 1]
mov eax, ecx
sub eax, 1
mov dword [esp + 0x14], eax
jae 0x403793
xor eax, eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
and ebx, esi
mov dword [esp], edi
mov eax, dword [edi + 4]
mov dword [esp + 0x10], eax
jmp 0x4037b4
inc ebx
dec ecx
je 0x403789
mov eax, ebx
and eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x403789
mov eax, dword [esp]
mov eax, dword [eax + 8]
cmp dword [eax + edi*4], esi
jne 0x4037b0
mov eax, dword [esp]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 0xc], eax
push eax
mov dword [esp + 0xc], ecx
call fcn.00409b80
mov ecx, dword [esp + 0xc]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x4037b0
push dword [esp + 4]
push dword [esp + 0x10]
push ebp
call fcn.00409ba0
mov ecx, dword [esp + 0x14]
add esp, 0xc
test eax, eax
jne 0x4037b0
mov eax, dword [esp]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + edi*4]
jmp 0x40378b
Function at 0x4038b0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
xor eax, eax
cmp dword [esp + 0x24], 0
je 0x40391d
mov esi, dword [esp + 0x28]
test esi, esi
je 0x40391d
push esi
call fcn.00409b80
add esp, 4
test eax, eax
je 0x4038fa
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
movzx edx, byte [esi + edi]
test edx, edx
je 0x403901
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc edi
mov ecx, ebx
cmp eax, edi
jne 0x4038e0
jmp 0x403903
mov ebx, 0x1505
jmp 0x403903
mov ebx, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov edi, dword [ecx + 0x20]
lea ebp, [edi - 1]
mov eax, edi
sub eax, 1
mov dword [esp + 0xc], eax
jae 0x403925
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
and ebp, ebx
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x403934
inc ebp
dec edi
je 0x40391b
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x40391b
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebx
jne 0x403930
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.00409b80
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x403930
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00409ba0
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x403930
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax + esi*4]
test ecx, ecx
mov eax, 0
je 0x40391d
xor eax, eax
mov edx, dword [esp + 0x2c]
cmp dword [ecx + 4], edx
sete al
jmp 0x40391d
Function at 0x403b40
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, 0xffffffff
cmp dword [esp + 0x24], 0
je 0x403c52
mov esi, dword [esp + 0x28]
test esi, esi
je 0x403c52
cmp dword [esp + 0x2c], 0
je 0x403c52
push esi
call fcn.00409b80
add esp, 4
test eax, eax
je 0x403baa
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esi + edi]
test edx, edx
je 0x403bb1
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc edi
mov ecx, ebx
cmp eax, edi
jne 0x403b90
jmp 0x403bb3
mov ebx, 0x1505
jmp 0x403bb3
mov ebx, ecx
mov ecx, dword [esp + 0x24]
mov esi, dword [ecx + 0x20]
lea edi, [esi - 1]
mov edx, esi
sub edx, 1
mov dword [esp + 8], edx
jae 0x403c5a
mov ebp, 0xffffffff
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x1c]
jb 0x403c17
call fcn.00403d50
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
mov ecx, dword [esp + 0x28]
jne 0x403c52
push ecx
call fcn.00409b80
add esp, 4
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov esi, dword [ecx + 0x20]
lea edi, [esi - 1]
mov eax, esi
sub eax, 1
mov dword [esp + 8], eax
jae 0x403ccd
mov ebp, 0xffffffff
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 0x18]
mov esi, dword [esp + 0x28]
mov dword [eax + edx*4], esi
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 0x18]
mov dword [eax + ebp*4], edx
mov eax, dword [ecx + 0x10]
mov esi, dword [esp + 0x2c]
mov dword [eax + edx*4], esi
mov eax, dword [ecx + 0x14]
mov edx, dword [ecx + 0x18]
mov dword [eax + edx*4], ebp
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0x18]
mov dword [eax + edx*4], ebx
inc dword [ecx + 0x18]
mov eax, dword [ecx]
mov dword [esi], eax
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp], eax
and edi, ebx
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x403c78
inc edi
dec esi
je 0x403bcc
mov ebp, edi
and ebp, dword [esp + 8]
mov eax, dword [esp + 4]
mov eax, dword [eax + ebp*4]
cmp eax, 0xffffffff
je 0x403bd1
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebx
jne 0x403c70
mov ecx, dword [ecx + 0xc]
mov ebp, dword [ecx + eax*4]
push ebp
call fcn.00409b80
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x403c70
push dword [esp]
push ebp
push dword [esp + 0x30]
call fcn.00409ba0
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x403c70
mov eax, 0xffffffff
jmp 0x403c52
and edi, ebx
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x403ce8
inc edi
dec esi
je 0x403c12
mov ebp, edi
and ebp, dword [esp + 8]
mov eax, dword [esp + 4]
mov eax, dword [eax + ebp*4]
cmp eax, 0xffffffff
je 0x403c17
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebx
jne 0x403ce0
mov ecx, dword [ecx + 0xc]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0xc], eax
push eax
call fcn.00409b80
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x403ce0
push dword [esp]
push dword [esp + 0x10]
push dword [esp + 0x30]
call fcn.00409ba0
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x403ce0
jmp 0x403c17
Function at 0x404460
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0x404606
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
movzx edi, si
shr esi, 0x10
test ebx, ebx
je 0x4045ff
mov ecx, 0x5e6ea9af
mov eax, ebx
mul ecx
shr edx, 0xb
imul eax, edx, 0x15b0
mov ecx, ebx
sub ecx, eax
jmp 0x4044f6
mov ecx, dword [esp + 4]
mov eax, ecx
sub eax, dword [esp]
add ebp, eax
mov eax, edi
mov edx, 0x80078071
mul edx
mov ebx, edx
shr ebx, 0xf
mov eax, esi
mov edx, 0x80078071
mul edx
imul eax, ebx, 0xfff1
sub edi, eax
shr edx, 0xf
imul eax, edx, 0xfff1
sub esi, eax
mov ebx, dword [esp + 0xc]
sub ebx, ecx
mov ecx, 0x15b0
je 0x4045ff
xor edx, edx
cmp ecx, 8
mov dword [esp + 4], ecx
mov dword [esp + 0xc], ebx
jb 0x40456f
and ecx, 0x1ff8
mov dword [esp], ecx
xor ebx, ebx
mov edx, ebx
movzx eax, byte [ebp + ebx]
add eax, edi
add esi, eax
movzx ecx, byte [ebp + ebx + 1]
add ecx, eax
add esi, ecx
movzx eax, byte [ebp + ebx + 2]
add eax, ecx
movzx edi, byte [ebp + ebx + 3]
add edi, eax
add eax, esi
movzx ecx, byte [ebp + ebx + 4]
add ecx, edi
add eax, edi
movzx esi, byte [ebp + ebx + 5]
add esi, ecx
add eax, ecx
movzx ecx, byte [ebp + ebx + 6]
add ecx, esi
add eax, esi
movzx edi, byte [ebp + ebx + 7]
add edi, ecx
add eax, ecx
mov ecx, dword [esp + 4]
add ebx, 8
mov esi, eax
add esi, edi
add edx, 0xf
cmp edx, ecx
jb 0x404510
add ebp, ebx
mov edx, dword [esp]
mov ebx, edx
sub ebx, ecx
jae 0x4044bb
mov eax, ecx
and eax, 3
mov dword [esp], edx
je 0x4045b1
mov dword [esp + 8], ebx
neg eax
xor ebx, ebx
mov edx, ebp
nop
nop
nop
movzx ecx, byte [edx]
inc edx
add edi, ecx
add esi, edi
dec ebx
cmp eax, ebx
jne 0x404590
mov eax, dword [esp]
sub eax, ebx
mov ebx, dword [esp + 8]
cmp ebx, 0xfffffffc
ja 0x4044b0
jmp 0x4045be
mov eax, edx
mov edx, ebp
cmp ebx, 0xfffffffc
ja 0x4044b0
mov ebx, dword [esp + 4]
sub ebx, eax
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [edx + eax]
add ecx, edi
add esi, ecx
movzx edi, byte [edx + eax + 1]
add edi, ecx
add esi, edi
movzx ecx, byte [edx + eax + 2]
add ecx, edi
add esi, ecx
movzx edi, byte [edx + eax + 3]
add edi, ecx
add esi, edi
add eax, 4
cmp ebx, eax
jne 0x4045d0
jmp 0x4044b0
shl esi, 0x10
or esi, edi
jmp 0x40460b
mov esi, 1
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x404620
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x40468c
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
lea eax, [esi + esi]
not eax
add eax, esi
test edx, edx
je 0x404688
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [ecx + esi]
mov ebx, eax
shr ebx, 4
xor eax, edi
and eax, 0xf
mov eax, dword [eax*4 + 0x44180c]
mov ebp, eax
and ebp, ebx
add ebx, eax
add ebp, ebp
sub ebx, ebp
mov eax, ebx
shr eax, 4
and ebx, 0xf
shr edi, 4
xor edi, ebx
xor eax, dword [edi*4 + 0x44180c]
inc esi
cmp edx, esi
jne 0x404650
not eax
jmp 0x40468e
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40edc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x148
mov word [esp + 0x98], 0xe25a
mov dword [esp + 0x9a], 0
mov byte [esp + 0x9e], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 6
ja 0x40ee39
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x98]
add eax, 0x96dbdc0f
xor eax, ecx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x48]
add al, 0xe
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x98], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 7
jb 0x40ee00
lea edi, [esp + 0x98]
push edi
push dword [ebp + 8]
call fcn.00403480
add esp, 8
mov esi, eax
xor ecx, ecx
test eax, eax
sete cl
xor ebx, ebx
xor eax, eax
jmp dword [ecx*4 + 0x4453c4]