joyce8/EMBER2024-capa huggingface dataset:
Function at 0x479020
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push esi
mov esi, dword [esp + 0xc]
xor ebp, ebp
push edi
mov al, byte [esi + 0x44]
test al, al
js 0x4790ba
je 0x479122
mov eax, dword [esi + 0x74]
push dword [eax + 0x48]
call fcn.004aa360
add esp, 4
dec byte [esi + 0x44]
je 0x4790af
push ebx
mov edi, edi
movsx eax, byte [esi + 0x44]
mov eax, dword [esi + eax*4 + 0x78]
mov edx, dword [eax + 0x48]
test byte [edx + 0x1c], 0x20
je 0x4790a0
mov eax, dword [edx + 0x14]
dec dword [eax + 0x78]
mov ecx, dword [eax + 0x88]
mov dword [edx + 0x10], ecx
mov edi, dword [eax + 0x3c]
mov dword [eax + 0x88], edx
push dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov eax, dword [eax + 0x98]
dec ecx
mov ebx, dword [edi]
cdq
push edx
push eax
push 0
push ecx
call fcn.0040b170
push edx
push eax
mov eax, dword [ebx + 0x48]
push edi
call eax
add esp, 0x10
jmp 0x4790a9
push edx
call fcn.004ab270
add esp, 4
dec byte [esi + 0x44]
jne 0x479050
pop ebx
mov eax, dword [esi + 0x78]
mov dword [esi + 0x74], eax
jmp 0x47913e
cmp dword [esi + 0x40], ebp
jne 0x4790cb
pop edi
mov byte [esi], 1
mov eax, 0x10
pop esi
pop ebp
ret
mov al, byte [esi]
cmp al, 3
jb 0x4790ed
cmp al, 4
jne 0x4790dc
mov eax, dword [esi + 4]
pop edi
pop esi
pop ebp
ret
push dword [esi + 0x10]
call fcn.00443690
add esp, 4
mov dword [esi + 0x10], ebp
mov byte [esi], 1
movzx eax, byte [esi + 2]
lea edi, [esi + 0x74]
push eax
mov eax, dword [esi + 8]
push 0
push edi
push dword [esi + 0x40]
push dword [eax + 4]
call fcn.00473fc0
mov ebp, eax
add esp, 0x14
test ebp, ebp
je 0x479116
pop edi
mov byte [esi], 1
pop esi
pop ebp
ret
mov eax, dword [edi]
mov byte [esi + 0x44], 0
mov al, byte [eax + 2]
mov byte [esi + 0x45], al
mov eax, dword [esi + 0x74]
cmp byte [eax], 0
je 0x4791a9
movzx eax, byte [eax + 2]
xor ecx, ecx
cmp dword [esi + 0x70], ecx
sete cl
cmp ecx, eax
jne 0x4791a9
and byte [esi + 1], 0xf1
xor eax, eax
mov word [esi + 0x46], ax
mov word [esi + 0x32], ax
mov eax, dword [esi + 0x74]
cmp word [eax + 0x18], 0
jbe 0x47915f
pop edi
mov byte [esi], 0
mov eax, ebp
pop esi
pop ebp
ret
cmp byte [eax + 8], 0
jne 0x47919b
cmp dword [eax + 4], 1
je 0x47917b
pop edi
pop esi
pop ebp
mov dword [esp + 4], 0x10ef3
jmp fcn.004906b0
movzx ecx, byte [eax + 9]
mov eax, dword [eax + 0x38]
mov eax, dword [ecx + eax + 8]
bswap eax
push eax
push esi
mov byte [esi], 0
call fcn.00478e00
add esp, 8
mov ebp, eax
pop edi
pop esi
pop ebp
ret
pop edi
mov ebp, 0x10
mov byte [esi], 1
pop esi
mov eax, ebp
pop ebp
ret
push 0x4f48b4
push 0x10ee6
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0044c270
add esp, 0x14
mov eax, 0xb
pop edi
pop esi
pop ebp
ret
Function at 0x47bff0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
mov esi, dword [ebx + 0x88]
test esi, esi
je 0x47c023
mov eax, dword [esp + 0x1c]
xor ecx, ecx
mov dword [eax], esi
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x88], eax
mov eax, dword [esi + 8]
mov dword [esi + 0x10], 0
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x47c097
movzx edi, word [ebx + 0x8c]
add edi, 0x28
push 0
push edi
call fcn.004a73f0
mov esi, eax
add esp, 8
test esi, esi
je 0x47c04a
push edi
push 0
push esi
call sub.MSVCRT.dll_memset
add esp, 0xc
mov ecx, dword [esp + 0x1c]
mov dword [ecx], esi
test esi, esi
jne 0x47c087
push dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx + 0x98]
dec ecx
mov esi, dword [ebx + 0x3c]
push 0
cdq
push ecx
mov edi, dword [esi]
push edx
push eax
call fcn.0040b170
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
mov eax, 7
pop edi
pop esi
pop ebx
ret
lea eax, [esi + 0x28]
mov dword [esi + 0x1c], 0x10020
mov dword [esi + 8], eax
mov dword [esi + 0x14], ebx
mov eax, dword [esp + 0x14]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 4], eax
xor eax, eax
inc dword [ebx + 0x78]
pop edi
pop esi
pop ebx
ret
Function at 0x4835f0
Capabilities:
Reference sql statements

Disassembly:
push edi
push dword [esp + 0x10]
mov edi, dword [esp + 0x10]
push edi
push str.sqlite_master
push edi
push str.SELECT_1_FROM___w_._s_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d_NULL
push dword [esp + 0x1c]
call fcn.004a7c70
add esp, 0x18
cmp dword [esp + 0x10], 0
jne 0x48362f
push edi
push str.sqlite_master
push str.SELECT_1_FROM_temp._s_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1_NULL
push dword [esp + 0x14]
call fcn.004a7c70
add esp, 0x10
pop edi
ret

Function at 0x48b9b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
xor ebx, ebx
push esi
xor ebp, ebp
mov dword [esp + 0x10], ebx
call fcn.00479020
add esp, 4
cmp eax, 0x10
jne 0x48b9de
mov eax, dword [esp + 0x1c]
pop esi
pop ebp
mov dword [eax], ebx
mov dword [eax + 4], ebx
xor eax, eax
pop ebx
pop ecx
ret
push edi
test eax, eax
jne 0x48bb22
jmp 0x48b9f0
mov ecx, dword [esp + 0x18]
cmp dword [ecx + 0x110], 0
jne 0x48bb22
mov edi, dword [esi + 0x74]
mov cl, byte [edi + 8]
test cl, cl
jne 0x48ba10
cmp byte [edi + 2], cl
jne 0x48ba1d
movzx eax, word [edi + 0x18]
cdq
add ebp, eax
adc ebx, edx
mov dword [esp + 0x10], ebx
test cl, cl
je 0x48babf
mov cl, byte [esi + 0x44]
test cl, cl
je 0x48bb0c
and byte [esi + 1], 0xf9
xor eax, eax
mov word [esi + 0x32], ax
movsx eax, cl
dec cl
mov ax, word [esi + eax*2 + 0x46]
mov word [esi + 0x46], ax
movsx eax, cl
mov byte [esi + 0x44], cl
mov eax, dword [esi + eax*4 + 0x78]
mov dword [esi + 0x74], eax
mov edx, dword [edi + 0x48]
test byte [edx + 0x1c], 0x20
je 0x48ba9d
mov eax, dword [edx + 0x14]
dec dword [eax + 0x78]
mov ecx, dword [eax + 0x88]
mov dword [edx + 0x10], ecx
mov edi, dword [eax + 0x3c]
mov dword [eax + 0x88], edx
push dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov eax, dword [eax + 0x98]
dec ecx
mov ebx, dword [edi]
cdq
push edx
push eax
push 0
push ecx
call fcn.0040b170
push edx
push eax
mov eax, dword [ebx + 0x48]
push edi
call eax
add esp, 0x10
jmp 0x48baa6
push edx
call fcn.004ab270
add esp, 4
mov edi, dword [esi + 0x74]
mov ax, word [esi + 0x46]
cmp ax, word [edi + 0x18]
jae 0x48ba25
inc word [esi + 0x46]
mov ebx, dword [esp + 0x10]
movzx ecx, word [esi + 0x46]
movzx eax, word [edi + 0x18]
cmp ecx, eax
jne 0x48bad8
movzx ecx, byte [edi + 9]
mov eax, dword [edi + 0x38]
mov eax, dword [ecx + eax + 8]
jmp 0x48baf2
mov eax, dword [edi + 0x40]
mov ax, word [eax + ecx*2]
mov ch, al
mov cl, ah
movzx eax, word [edi + 0x1a]
movzx ecx, cx
and ecx, eax
mov eax, dword [edi + 0x38]
mov eax, dword [ecx + eax]
bswap eax
push eax
push esi
call fcn.00478e00
add esp, 8
test eax, eax
je 0x48b9f0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
push esi
mov dword [eax], ebp
mov dword [eax + 4], ecx
call fcn.00479020
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x48ea40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x24
mov ecx, dword [esp + 0x2c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x34]
add ecx, ecx
push edi
mov eax, dword [esi]
mov eax, dword [eax + 0x10]
mov ebx, dword [eax + ecx*8]
mov eax, 1
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
push eax
push str.sqlite_stat_d
lea eax, [esp + 0x24]
push eax
push 0x18
call fcn.00442f40
mov ecx, dword [esi]
lea ebp, [esp + 0x2c]
add esp, 0x10
mov dword [esp + 0x3c], ecx
xor esi, esi
cmp dword [ecx + 0x14], esi
jle 0x48eb00
lea esp, [esp]
mov edi, esi
cmp esi, 2
jge 0x48ea9a
xor edi, 1
test ebx, ebx
je 0x48eacf
mov ecx, dword [ecx + 0x10]
mov edx, edi
add edx, edx
mov eax, ebx
mov ebx, dword [ecx + edx*8]
sub ebx, dword [esp + 0x10]
mov edi, edi
movzx edx, byte [eax]
movzx ecx, byte [ebx + eax]
cmp edx, ecx
jne 0x48eb48
test edx, edx
jne 0x48eb5a
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx + 0x10]
add edi, edi
push 0
push ebp
mov eax, dword [eax + edi*8 + 0xc]
add eax, 8
push eax
call fcn.00460240
add esp, 0xc
mov eax, dword [eax + 8]
test eax, eax
jne 0x48eba7
mov ecx, dword [esp + 0x3c]
inc esi
mov ebx, dword [esp + 0x10]
cmp esi, dword [ecx + 0x14]
jl 0x48ea90
mov edx, str.sqlite_master
sub edx, ebp
jmp 0x48eb10
movzx ecx, byte [ebp]
movzx eax, byte [edx + ebp]
cmp ecx, eax
jne 0x48eb60
test ecx, ecx
jne 0x48eb72
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0x10]
test ebx, ebx
jne 0x48eb75
neg ecx
sbb ecx, ecx
test ecx, ecx
jne 0x48ebc9
mov ecx, dword [esp + 0x3c]
mov ebp, str.sqlite_temp_master
jmp 0x48ea85
movzx ecx, byte [ecx + 0x4e9aa0]
movzx edx, byte [edx + 0x4e9aa0]
sub edx, ecx
jne 0x48eaf2
inc eax
jmp 0x48eab0
movzx eax, byte [eax + 0x4e9aa0]
movzx ecx, byte [ecx + 0x4e9aa0]
sub ecx, eax
jne 0x48ebc9
inc ebp
jmp 0x48eb10
test ecx, ecx
je 0x48ebc9
mov esi, ecx
mov edx, ebx
sub esi, ebx
nop
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x48eb92
test ecx, ecx
je 0x48eb3a
inc edx
jmp 0x48eb80
movzx eax, byte [eax + 0x4e9aa0]
movzx ecx, byte [ecx + 0x4e9aa0]
sub ecx, eax
jne 0x48eb32
inc edx
jmp 0x48eb80
push dword [esp + 0x44]
mov esi, dword [esp + 0x3c]
lea eax, [esp + 0x20]
push dword [esp + 0x44]
push eax
push ebx
push str.DELETE_FROM__Q._s_WHERE__s_Q
push esi
call fcn.004a7c70
add esp, 0x18
jmp 0x48ebcd
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, 4
jle 0x48ea66
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
Function at 0x499550
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
xor ebx, ebx
push esi
xor esi, esi
cmp dword [ebp + 0x14], ebx
jle 0x4995da
mov edx, dword [esp + 0x1c]
push edi
mov ecx, esi
cmp esi, 2
jge 0x499570
xor ecx, 1
shl ecx, 4
add ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x18], eax
test edx, edx
je 0x49959a
mov edi, dword [ecx]
mov eax, edx
sub edi, edx
movzx edx, byte [eax]
movzx ecx, byte [edi + eax]
cmp edx, ecx
jne 0x4995c5
test edx, edx
jne 0x4995d7
mov eax, dword [esp + 0x18]
push 0
push dword [esp + 0x20]
add eax, 0x18
push eax
call fcn.00460240
add esp, 0xc
mov ebx, dword [eax + 8]
test ebx, ebx
jne 0x4995bd
mov edx, dword [esp + 0x20]
inc esi
cmp esi, dword [ebp + 0x14]
jl 0x499566
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
pop ecx
ret
movzx ecx, byte [ecx + 0x4e9aa0]
movzx edx, byte [edx + 0x4e9aa0]
sub edx, ecx
jne 0x4995b3
inc eax
jmp 0x499587
pop esi
pop ebp
mov eax, ebx
pop ebx
pop ecx
ret

Function at 0x4995f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
lea ecx, [ecx]
mov ecx, dword [esp + 0x18]
xor esi, esi
cmp dword [ecx + 0x14], esi
jle 0x499678
jmp 0x499610
mov edi, esi
cmp esi, 2
jge 0x49961a
xor edi, 1
test ebx, ebx
je 0x499647
mov ecx, dword [ecx + 0x10]
mov edx, edi
add edx, edx
mov eax, ebx
mov ebx, dword [ecx + edx*8]
sub ebx, dword [esp + 0x20]
mov edi, edi
movzx edx, byte [eax]
movzx ecx, byte [ebx + eax]
cmp edx, ecx
jne 0x4996b0
test edx, edx
jne 0x4996c2
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x10]
add edi, edi
push 0
push ebp
mov eax, dword [eax + edi*8 + 0xc]
add eax, 8
push eax
call fcn.00460240
add esp, 0xc
mov eax, dword [eax + 8]
test eax, eax
jne 0x499710
mov ecx, dword [esp + 0x18]
inc esi
mov ebx, dword [esp + 0x20]
cmp esi, dword [ecx + 0x14]
jl 0x499610
mov edx, str.sqlite_master
sub edx, ebp
nop
movzx ecx, byte [ebp]
movzx eax, byte [edx + ebp]
cmp ecx, eax
jne 0x4996c8
test ecx, ecx
jne 0x4996da
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0x10]
test ebx, ebx
jne 0x4996dd
neg ecx
sbb ecx, ecx
test ecx, ecx
jne 0x49970e
mov ebp, str.sqlite_temp_master
jmp 0x499600
movzx ecx, byte [ecx + 0x4e9aa0]
movzx edx, byte [edx + 0x4e9aa0]
sub edx, ecx
jne 0x49966a
inc eax
jmp 0x499630
movzx eax, byte [eax + 0x4e9aa0]
movzx ecx, byte [ecx + 0x4e9aa0]
sub ecx, eax
jne 0x49970e
inc ebp
jmp 0x499680
test ecx, ecx
je 0x49970e
mov esi, ecx
mov edx, ebx
sub esi, ebx
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4996f9
test ecx, ecx
je 0x4996a6
inc edx
jmp 0x4996e7
movzx eax, byte [eax + 0x4e9aa0]
movzx ecx, byte [ecx + 0x4e9aa0]
sub ecx, eax
jne 0x4996a2
inc edx
jmp 0x4996e7
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x4b4be0
Capabilities:
Create thread

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov dword [edi], 0
cmp dword [0x5061d8], 0
je 0x4b4c33
mov eax, dword [0x50df18]
test eax, eax
je 0x4b4c08
push eax
call dword [0x506228]
add esp, 4
lea eax, [esp + 0xc]
push eax
push 0x14
call fcn.00478760
mov eax, dword [0x50df18]
add esp, 8
test eax, eax
je 0x4b4c2d
push eax
call dword [0x506230]
mov esi, dword [esp + 0x10]
jmp 0x4b4c3d
mov esi, dword [esp + 0xc]
jmp 0x4b4c40
push 0x14
call dword [0x5061f8]
mov esi, eax
add esp, 4
test esi, esi
jne 0x4b4c4a
pop edi
lea eax, [esi + 7]
pop esi
ret
cmp byte [0x5061dc], 0
push ebx
mov ebx, dword [esp + 0x18]
push ebp
mov ebp, dword [esp + 0x18]
je 0x4b4c99
mov eax, dword [0x5062cc]
test eax, eax
je 0x4b4c74
push 0xc8
call eax
add esp, 4
test eax, eax
jne 0x4b4c99
lea eax, [esi + 4]
mov dword [esi + 8], ebp
push eax
push 0
push esi
push 0x4b4d30
push 0
push 0
mov dword [esi + 0xc], ebx
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x4b4ca9
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
cmp dword [esi + 8], 0
jne 0x4b4cc1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push ebx
mov dword [esi + 4], eax
call ebp
add esp, 4
mov dword [esi + 0x10], eax
pop ebp
pop ebx
mov dword [edi], esi
xor eax, eax
pop edi
pop esi
ret
Function at 0x4c0720
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x50
push ebx
mov ebx, dword [esp + 0x5c]
push ebp
push esi
push edi
push ebx
call fcn.00474140
mov edi, dword [ebx + 0x28]
xor eax, eax
movzx ecx, word [ebx + 0x30]
xor ebp, ebp
mov esi, dword [ebx + 0x2c]
add esp, 4
mov word [esp + 0x18], ax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0x74]
mov dword [esp + 0x28], ebp
mov eax, dword [eax + 0x3c]
sub eax, edi
cmp ecx, eax
jle 0x4c0769
xor ecx, ecx
test eax, eax
sets cl
dec ecx
and ecx, eax
cmp esi, ecx
ja 0x4c0781
mov eax, 0x1010
mov dword [esp + 0x20], edi
mov word [esp + 0x18], ax
mov dword [esp + 0x1c], esi
jmp 0x4c07a6
lea eax, [esp + 0x10]
push eax
push esi
push 0
push ebx
call fcn.004d1760
add esp, 0x10
test eax, eax
jne 0x4c0880
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov al, byte [edi]
cmp al, 0x80
jae 0x4c07b1
movzx ebx, al
jmp 0x4c07c3
lea eax, [esp + 0x68]
push eax
push edi
call fcn.004a35e0
mov ebx, dword [esp + 0x70]
add esp, 8
cmp ebx, 3
jb 0x4c0842
cmp ebx, esi
ja 0x4c0842
lea eax, [edi - 1]
add eax, ebx
mov cl, byte [eax]
cmp cl, 0x80
jae 0x4c07dd
movzx ecx, cl
jmp 0x4c07ef
lea ecx, [esp + 0x68]
push ecx
push eax
call fcn.004a35e0
mov ecx, dword [esp + 0x70]
add esp, 8
lea eax, [ecx - 1]
cmp eax, 8
ja 0x4c0842
cmp ecx, 7
je 0x4c0842
movzx edx, byte [ecx + 0x4e8ed0]
lea eax, [edx + ebx]
cmp esi, eax
jb 0x4c0842
lea eax, [esp + 0x38]
sub esi, edx
push eax
push ecx
add esi, edi
push esi
call fcn.004c3160
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x44]
mov dword [ecx], eax
mov eax, dword [esp + 0x48]
mov dword [ecx + 4], eax
lea eax, [esp + 0x1c]
push eax
call fcn.004c1c70
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
test dword [esp + 0x18], 0x2400
jne 0x4c0850
test ebp, ebp
je 0x4c085d
lea eax, [esp + 0x10]
push eax
call fcn.004d16e0
add esp, 4
push 0x4f48b4
push 0x14152
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0044c270
add esp, 0x14
mov eax, 0xb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
Function at 0x4d5ab0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x60
mov ecx, 0xc
push ebx
mov ebx, dword [esp + 0x68]
push ebp
push esi
push edi
cmp byte [ebx + 0x2b], 2
lea edi, [esp + 0x10]
mov eax, dword [ebx + 0x20]
mov ebp, dword [eax]
mov esi, ebp
rep movsd dword es:[edi], dword [esi]
je 0x4d5ae1
mov eax, dword [ebx + 4]
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x3c]
call eax
add esp, 4
lea esi, [ebp + 0x30]
mov ecx, 0xc
lea edi, [esp + 0x40]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x10]
mov esi, 0x2c
lea edx, [esp + 0x40]
lea esp, [esp]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4d5bb1
add ecx, 4
add edx, 4
sub esi, 4
jae 0x4d5b00
cmp byte [esp + 0x1c], 0
je 0x4d5bb1
xor edx, edx
lea ecx, [esp + 0x10]
xor esi, esi
mov eax, dword [ecx]
add eax, edx
add esi, eax
mov eax, dword [ecx + 4]
add eax, esi
add ecx, 8
add edx, eax
lea eax, [esp + 0x38]
cmp ecx, eax
jb 0x4d5b28
cmp esi, dword [esp + 0x38]
jne 0x4d5bb1
cmp edx, dword [esp + 0x3c]
jne 0x4d5bb1
lea edi, [ebx + 0x34]
mov esi, 0x2c
mov ecx, edi
lea edx, [esp + 0x10]
lea ebx, [ebx]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4d5b7b
add ecx, 4
add edx, 4
sub esi, 4
jae 0x4d5b60
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x60
ret
mov eax, dword [esp + 0x78]
lea esi, [esp + 0x10]
mov ecx, 0xc
mov dword [eax], 1
rep movsd dword es:[edi], dword [esi]
movzx ecx, word [ebx + 0x42]
mov eax, ecx
and ecx, 0xfe00
and eax, 1
pop edi
shl eax, 0x10
pop esi
add eax, ecx
mov dword [ebx + 0x24], eax
xor eax, eax
pop ebp
pop ebx
add esp, 0x60
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x60
ret
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x431030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x24804a90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x24804a9f
pop dword [ebp - 0x50]
mov eax, 0x711e6a49
sub eax, 0x4c9e1faa
sub dword [ebp - 0x50], eax
push 0x40
push 0x1000
push 0x370a0
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x50]
call dword [eax]
mov ecx, 0x86adcbca
sub ecx, 0x86ad82d5
mov esi, eax
mov edx, 0xca3eeb53
add edx, 0x5a43d2ad
add edx, dword [ebp - 0x50]
mov edi, 0x96a3c9d3
mov dword [ebp - 0x1c], 0x1d3e19eb
mov ebx, dword [edx]
mov dword [ebp - 0x24], 0x15295a9
xor ebx, edi
sub dword [ebp - 0x14], esi
mov dword [esi], ebx
xor dword [ebp - 0x30], edi
add esi, 0xfcd81972
add esi, 0x327e692
add edx, 0xb234e468
add edx, 0x4dcb1b9c
loop 0x24804af3
add eax, 0x116a7
xor ebx, ebx
add ebx, eax
add eax, 0x7489db7f
sub eax, 0x7489db7a
mov ecx, 0xefbdb638
add ecx, 0x34c149c8
add ecx, dword [ebp - 0x50]
call ebx
leave
ret

Function at 0x24804da0
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
push esi
call fcn.24805660
call dword [sym.imp.kernel32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [0x2480e480], eax
je 0x24804df8
push 0x74
push 1
call fcn.24807430
mov esi, eax
add esp, 8
test esi, esi
je 0x24804df8
mov eax, dword [0x2480e480]
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
test eax, eax
je 0x24804df8
push esi
call fcn.24804e30
add esp, 4
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
mov dword [esi], eax
mov dword [esi + 4], 0xffffffff
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x24804e50
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
push edi
call dword [sym.imp.kernel32.dll_GetLastError]
mov edi, eax
mov eax, dword [0x2480e480]
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x24804ebe
push 0x74
push 1
call fcn.24807430
mov esi, eax
add esp, 8
test esi, esi
je 0x24804eb4
mov ecx, dword [0x2480e480]
push esi
push ecx
call dword [sym.imp.kernel32.dll_TlsSetValue]
test eax, eax
je 0x24804eb4
push esi
call fcn.24804e30
add esp, 4
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
push edi
mov dword [esi], eax
mov dword [esi + 4], 0xffffffff
call dword [sym.imp.kernel32.dll_SetLastError]
mov eax, esi
pop edi
pop esi
ret
push 0x10
call fcn.248041a0
add esp, 4
push edi
call dword [sym.imp.kernel32.dll_SetLastError]
mov eax, esi
pop edi
pop esi
ret
Function at 0x4025bb
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor ecx, ecx
push 8
mov eax, ecx
pop edx
mov esi, eax
and esi, 1
dec esi
not esi
and esi, 0xedb88320
shr eax, 1
xor eax, esi
dec edx
jne 0x4025c3
mov dword [ecx*4 + 0x49eea0], eax
inc ecx
cmp ecx, 0x100
jb 0x4025be
mov edx, 0x800
jmp 0x402610
mov eax, dword [ecx*4 + 0x49eaa0]
mov esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x49eea0]
inc ecx
mov dword [ecx*4 + 0x49ee9c], eax
cmp ecx, edx
jb 0x4025ef
mov dword [0x49d3b8], 0x402633
call 0x4149b9
test eax, eax
jne 0x402631
mov dword [0x49d3b8], 0x4026cf
pop esi
ret

Function at 0x43f746
Capabilities:
Get number of processors

Disassembly:
arpl word [eax], ax
sub dword [eax], eax
and byte [eax], al
sub byte [eax], al
inc esp
add byte [eax], dh
add byte [edx], bh
add byte [eax], dh
add byte [eax + eax], dh
sub dword [eax], eax
and byte [eax], al
pop ebx
add byte [ecx], dh
add byte [eax], bh
add byte [edx], bh
add byte [ecx], dh
add byte [ebx], dh
add byte [edx], bh
add byte [0x3a003200], dh
add byte [edx], dh
add byte [ecx], dh
add byte [esi], dh
add byte [ebp], bl
cmp al, byte [eax]
and byte [eax], al
push edx
add byte [ebp], ah
jae 0x43f782
add byte gs:[eax + eax + 0x74], dh
add byte [ecx], ch
outsb dx, byte [esi]
add byte [edi], ah
and byte [eax], al
arpl word [eax], ax
popal
add byte [ebx], ah
push 0x64006500
Function at 0x43fa2c
Capabilities:
Get number of processors

Disassembly:
and byte [eax], al
sub al, byte [eax]
sub al, byte [eax]
sub al, byte [eax]
sub al, byte [eax]
sub al, byte [eax]
sub al, byte [eax]
sub al, byte [eax]
sub al, byte [eax]
sub al, byte [eax]
sub al, byte [eax]
or eax, 0x4d000a00
add byte [ebx], dl
dec ecx
add byte [eax], ah
add byte [eax], ch
add byte [ebx], ah
sub dword [eax], eax
and byte [eax], al
sub byte [eax], al
inc esp
add byte [eax], dh
add byte [edx], bh
add byte [eax], dh
add byte [eax + eax], dh
sub dword [eax], eax
and byte [eax], al
pop ebx
add byte [ecx], dh
add byte [eax], bh
add byte [edx], bh
add byte [ecx], dh
add byte [ebx], dh
add byte [edx], bh
add byte [0x3a003200], dh
add byte [edx], dh
add byte [ecx], dh
add byte [esi], dh
add byte [ebp], bl
cmp al, byte [eax]
and byte [eax], al
inc ebx
add byte [eax + eax + 0x69], ch
add byte [ebp], ah
outsb dx, byte [esi]
add byte [eax + eax + 0x2d], dh
add byte [ebx], dh
imul eax, dword [eax], 0x650064
and byte [eax], al
popal
add byte [esi], ch
add byte fs:[eax], ah
add byte [ebp], dl
dec ecx
add byte [eax], ah
add byte [ecx], ch
jae 0x43fab0
and byte [eax], al
outsb dx, byte [esi]
add byte [edi], ch
outsb dx, byte [esi]
add byte [ebp], ah
and byte [eax], al
outsd dx, dword [esi]
add byte [edx], dh
and byte [eax], al

Function at 0x440370
Capabilities:
Get number of processors

Disassembly:
xor al, byte [eax]
cmp al, byte [eax]
xor al, byte [eax]
xor eax, dword [eax]
add byte ss:[ebp], bl