joyce8/EMBER2024-capa huggingface dataset:
Function at 0x454020
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x518
mov eax, dword [0x4d3100]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x53a358], 0
jne 0x454075
mov ecx, str.REG_LOCAL
call fcn.00487da0
mov byte [0x53a358], 0
test eax, eax
je 0x454056
mov eax, dword [eax + 4]
jmp 0x45405b
mov eax, str.MAJIRO_RUNTIME
push 0x800
push eax
push 0x53a358
call fcn.00495450
add esp, 0xc
mov byte [0x53ab57], 0
cmp byte [0x53ab68], 0
jne 0x4540b7
mov ecx, str.REG_GLOBAL
call fcn.00487da0
mov byte [0x53ab68], 0
test eax, eax
je 0x454098
mov eax, dword [eax + 4]
jmp 0x45409d
mov eax, str.MAJIRO_SYSTEM
push 0x800
push eax
push 0x53ab68
call fcn.00495450
add esp, 0xc
mov byte [0x53b367], 0
push 0
lea eax, [ebp - 0x318]
push 0x4c3c38
push eax
call fcn.00493964
push 0x200
lea eax, [ebp - 0x518]
mov edx, 0x53a358
push eax
lea eax, [ebp - 0x318]
mov ecx, 0x53ab68
push eax
push str.QuickNum
call fcn.0047e280
lea eax, [ebp - 0x518]
push eax
call fcn.00494176
push eax
lea eax, [ebp - 0x118]
push str.save_chsmajiro_quick_d.sav
push eax
call fcn.00493964
add esp, 0x2c
lea ecx, [ebp - 0x118]
call fcn.0045e940
mov edx, 0x561ad0
sub edx, eax
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [edx + eax - 1], cl
test cl, cl
jne 0x454124
call fcn.00470220
test eax, eax
je 0x454159
push 0x4c68d8
call fcn.00485da0
add esp, 4
test eax, eax
jne 0x454159
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493955
mov esp, ebp
pop ebp
ret
push esi
push 0x4c3d40
push 0x561ad0
call fcn.00494396
mov esi, eax
add esp, 8
test esi, esi
je 0x4541e7
push esi
push 1
lea eax, [ebp - 0x14]
push 0x10
push eax
call fcn.00495739
push esi
call fcn.00494b54
add esp, 0x14
lea eax, [ebp - 0x14]
mov ecx, str.MajiroSavV1.105
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4541b1
test dl, dl
je 0x4541ad
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4541b1
add eax, 2
add ecx, 2
test dl, dl
jne 0x454191
xor eax, eax
jmp 0x4541b6
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4541e0
mov dword [0x53c88c], 2
or eax, 0xffffffff
mov dword [0x5379f4], 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493955
mov esp, ebp
pop ebp
ret
push 0x4c6900
jmp 0x4541ec
push 0x4c6918
call fcn.00485d10
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00493955
mov esp, ebp
pop ebp
ret
Function at 0x455bb0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [0x56eb6c], 0
jne 0x455c20
push ebx
mov ebx, dword [0x4b431c]
push esi
mov esi, dword [0x4b4318]
push edi
mov edi, dword [0x4b4314]
push 0xa
call dword [0x4b41e8]
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
call esi
test eax, eax
je 0x455c14
mov edi, edi
cmp dword [ebp - 0x18], 0x12
je 0x455c24
lea eax, [ebp - 0x1c]
push eax
call edi
lea eax, [ebp - 0x1c]
push eax
call ebx
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
call esi
test eax, eax
jne 0x455bf0
cmp dword [0x56eb6c], 0
je 0x455bd4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x14]
call fcn.0049501f
int3
Function at 0x46c690
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
push ebx
push esi
mov dword [ebp - 8], ecx
mov ecx, 0x46c660
push edi
call fcn.0047eb80
mov esi, dword [0x4b4318]
mov edi, dword [0x4b4314]
mov ebx, dword [0x4b431c]
jmp 0x46c6c0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x80], 0x44
push eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x7c], 0
push eax
mov eax, dword [ebp - 8]
xorps xmm0, xmm0
push 0
push 0
push 0
push 0
push 0
push 0
push eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
movdqu xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x50], 0xa
movdqu xmmword [ebp - 0x60], xmm0
mov dword [ebp - 4], 0x11c1
movdqu xmmword [ebp - 0x4c], xmm0
push eax
mov dword [0x56fe68], 0
call dword [0x4b4258]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x46c7ad
push 2
call dword [0x4b41e8]
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x38]
push eax
call esi
test eax, eax
je 0x46c778
lea ebx, [ebx]
cmp dword [ebp - 0x34], 0x12
je 0x46c827
lea eax, [ebp - 0x38]
push eax
call edi
lea eax, [ebp - 0x38]
push eax
call ebx
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x38]
push eax
call esi
test eax, eax
jne 0x46c750
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [0x4b4240]
test eax, eax
je 0x46c79b
cmp dword [0x56fe68], 0
jne 0x46c79b
cmp dword [ebp - 4], 0x103
je 0x46c730
push dword [ebp - 0x1c]
call dword [0x4b4264]
push dword [ebp - 0x18]
call dword [0x4b4264]
cmp dword [0x56fe68], 0
jne 0x46c7c8
push 0x4c8850
call fcn.004857d0
add esp, 4
jmp 0x46c6c0
xor ecx, ecx
lea ebx, [ebx]
cmp dword [ecx*4 + 0x575ae0], 0x46c660
je 0x46c7f0
inc ecx
cmp ecx, 0x100
jl 0x46c7d0
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0xff
sub eax, ecx
shl eax, 2
push eax
lea eax, [ecx*4 + 0x575ae4]
push eax
lea eax, [ecx*4 + 0x575ae0]
push eax
call fcn.004939f0
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov dword [0x575edc], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x30]
call fcn.0049501f
int3
Function at 0x484fb0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x4d3100]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x53c0f4], 0
push ebx
mov ebx, ecx
mov dword [ebp - 0x128], ebx
je 0x485239
push esi
push edi
push 0x4c3d40
push ebx
xor edi, edi
call fcn.00494396
mov esi, eax
lea eax, [ebp - 0x120]
push esi
push 1
push 0x14
push eax
call fcn.00495739
add esp, 0x18
cmp eax, 1
jne 0x485210
lea eax, [ebp - 0x120]
cmp dword [eax], 0x9a925a98
jne 0x485045
cmp dword [eax + 4], 0x30304354
jne 0x485045
mov edx, eax
mov ecx, ebx
call fcn.0048c420
mov eax, dword [0x4c9ad4]
lea ebx, [edi + 0x64]
mov dword [ebp - 0x120], eax
mov eax, dword [str.TS00]
mov dword [ebp - 0x11c], eax
jmp 0x4850c5
lea eax, [ebp - 0x120]
cmp dword [eax], 0x9a925a98
jne 0x485210
cmp dword [eax + 4], 0x31304354
jne 0x485210
mov edx, eax
mov ecx, ebx
call fcn.0048c420
mov eax, dword [0x4c9aec]
push esi
mov dword [ebp - 0x120], eax
mov eax, dword [str.TS01]
push 1
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x124]
push 2
push eax
call fcn.00495739
add esp, 0x10
cmp eax, 1
jne 0x485210
push esi
push eax
movzx eax, word [ebp - 0x124]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.00495739
add esp, 0x10
cmp eax, 1
jne 0x485210
lea ebx, [eax + 0x64]
mov eax, dword [ebp - 0x110]
add eax, 2
mov dword [ebp - 0x110], eax
add eax, 0x20
push eax
call fcn.00497cab
mov edi, eax
add esp, 4
test edi, edi
jne 0x4850f9
push 0x10
push str.malloc
push 0x4c9a90
push eax
call dword [0x4b4414]
mov eax, dword [ebp - 0x110]
push esi
push 1
add eax, 0xfffffffe
push eax
push edi
call fcn.00495739
add esp, 0x10
cmp eax, 1
jne 0x485210
push esi
call fcn.00494b54
mov eax, dword [ebp - 0x110]
mov ecx, edi
mov byte [edi + eax - 2], 0x54
mov eax, dword [ebp - 0x110]
mov byte [edi + eax - 1], 0x53
mov edx, dword [ebp - 0x110]
call fcn.00487220
push 0x4c3dd8
push dword [ebp - 0x128]
call fcn.00494396
mov esi, eax
add esp, 0xc
test esi, esi
je 0x485210
sub ebx, 0x64
je 0x4851c5
dec ebx
jne 0x4851d9
push esi
push 1
lea eax, [ebp - 0x120]
push 0x14
push eax
call fcn.0049528d
lea ecx, [ebp - 0x10c]
add esp, 0x10
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x485183
sub ecx, edx
push esi
push 1
push 2
lea eax, [ecx + 1]
movzx eax, ax
mov dword [ebp - 0x124], eax
lea eax, [ebp - 0x124]
push eax
call fcn.0049528d
movzx eax, word [ebp - 0x124]
push esi
push 1
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.0049528d
add esp, 0x20
jmp 0x4851d9
push esi
push 1
lea eax, [ebp - 0x120]
push 0x14
push eax
call fcn.0049528d
add esp, 0x10
push esi
push 1
push dword [ebp - 0x110]
push edi
call fcn.0049528d
add esp, 0x10
cmp eax, 1
jne 0x485210
push edi
call fcn.00494034
push esi
call fcn.00494b54
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493955
mov esp, ebp
pop ebp
ret
push 0x4c9af8
call fcn.004857d0
add esp, 4
test edi, edi
je 0x48522a
push edi
call fcn.00494034
add esp, 4
test esi, esi
je 0x485237
push esi
call fcn.00494b54
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00493955
mov esp, ebp
pop ebp
ret
Function at 0x4857d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1404
call fcn.0049f010
mov eax, dword [0x4d3100]
xor eax, ebp
mov dword [ebp - 4], eax
push dword [ebp + 0x18]
lea eax, [ebp - 0x404]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call fcn.00493964
mov eax, dword [0x53c0fc]
add esp, 0x18
test eax, eax
je 0x485810
call eax
push dword [0x53bb48]
call dword [0x4b4408]
cmp dword [0x53bf98], 0
je 0x485916
push esi
call dword [0x4b4378]
push eax
call dword [0x4b4304]
push 1
call dword [0x4b42fc]
mov esi, eax
test esi, esi
jne 0x48584d
mov byte [ebp - 0x1404], al
jmp 0x485874
push esi
call dword [0x4b4228]
test eax, eax
je 0x48586d
push 0x1000
push eax
lea eax, [ebp - 0x1404]
push eax
call fcn.00495450
add esp, 0xc
push esi
call dword [0x4b4220]
call dword [0x4b42f8]
lea ecx, [ebp - 0x1404]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x485883
sub ecx, edx
lea edx, [ebp - 0x404]
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x485895
sub edx, esi
lea eax, [edx + ecx]
cmp eax, 0x1000
jb 0x4858d1
push 0x1000
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x1404]
push eax
call fcn.00495450
add esp, 0xc
lea ecx, [ebp - 0x1404]
call fcn.00482b20
pop esi
jmp 0x485921
lea edx, [ebp - 0x404]
mov esi, edx
lea esp, [esp]
mov al, byte [edx]
inc edx
test al, al
jne 0x4858e0
push edi
lea edi, [ebp - 0x1404]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4858f1
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
lea ecx, [ebp - 0x1404]
call fcn.00482b20
pop esi
jmp 0x485921
lea ecx, [ebp - 0x404]
call fcn.00482b20
push 0x104
push 0x573048
push dword [0x53bb48]
mov dword [0x53bf98], 0
call dword [0x4b43f4]
push 0x40015
push 0x573048
lea eax, [ebp - 0x404]
push eax
push dword [0x53bb48]
call dword [0x4b4414]
cmp eax, 2
jne 0x48596e
mov eax, dword [0x53c0f8]
test eax, eax
je 0x48597e
jmp 0x48597c
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493955
mov esp, ebp
pop ebp
ret
call eax
push 0xffffffffffffffff
call fcn.0049501f
int3
Function at 0x485990
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1404
call fcn.0049f010
mov eax, dword [0x4d3100]
xor eax, ebp
mov dword [ebp - 4], eax
push dword [ebp + 0x18]
lea eax, [ebp - 0x404]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call fcn.00493964
mov eax, dword [0x53c0fc]
add esp, 0x18
test eax, eax
je 0x4859d0
call eax
push dword [0x53bb48]
call dword [0x4b4408]
cmp dword [0x53bf98], 0
je 0x485ad6
push esi
call dword [0x4b4378]
push eax
call dword [0x4b4304]
push 1
call dword [0x4b42fc]
mov esi, eax
test esi, esi
jne 0x485a0d
mov byte [ebp - 0x1404], al
jmp 0x485a34
push esi
call dword [0x4b4228]
test eax, eax
je 0x485a2d
push 0x1000
push eax
lea eax, [ebp - 0x1404]
push eax
call fcn.00495450
add esp, 0xc
push esi
call dword [0x4b4220]
call dword [0x4b42f8]
lea ecx, [ebp - 0x1404]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x485a43
sub ecx, edx
lea edx, [ebp - 0x404]
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x485a55
sub edx, esi
lea eax, [edx + ecx]
cmp eax, 0x1000
jb 0x485a91
push 0x1000
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x1404]
push eax
call fcn.00495450
add esp, 0xc
lea ecx, [ebp - 0x1404]
call fcn.00482b20
pop esi
jmp 0x485ae1
lea edx, [ebp - 0x404]
mov esi, edx
lea esp, [esp]
mov al, byte [edx]
inc edx
test al, al
jne 0x485aa0
push edi
lea edi, [ebp - 0x1404]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x485ab1
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
lea ecx, [ebp - 0x1404]
call fcn.00482b20
pop esi
jmp 0x485ae1
lea ecx, [ebp - 0x404]
call fcn.00482b20
push 0x104
push 0x573048
push dword [0x53bb48]
mov dword [0x53bf98], 0
call dword [0x4b43f4]
push 0x40010
push 0x573048
lea eax, [ebp - 0x404]
push eax
push dword [0x53bb48]
call dword [0x4b4414]
cmp eax, 2
jne 0x485b2e
mov eax, dword [0x53c0f8]
test eax, eax
je 0x485b3e
jmp 0x485b3c
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493955
mov esp, ebp
pop ebp
ret
call eax
push 0xffffffffffffffff
call fcn.0049501f
int3
Function at 0x485b50
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1404
call fcn.0049f010
mov eax, dword [0x4d3100]
xor eax, ebp
mov dword [ebp - 4], eax
push dword [ebp + 0x18]
lea eax, [ebp - 0x404]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call fcn.00493964
mov eax, dword [0x53c100]
add esp, 0x18
test eax, eax
je 0x485b90
call eax
push dword [0x53bb48]
call dword [0x4b4408]
cmp dword [0x53bf98], 0
je 0x485c96
push esi
call dword [0x4b4378]
push eax
call dword [0x4b4304]
push 1
call dword [0x4b42fc]
mov esi, eax
test esi, esi
jne 0x485bcd
mov byte [ebp - 0x1404], al
jmp 0x485bf4
push esi
call dword [0x4b4228]
test eax, eax
je 0x485bed
push 0x1000
push eax
lea eax, [ebp - 0x1404]
push eax
call fcn.00495450
add esp, 0xc
push esi
call dword [0x4b4220]
call dword [0x4b42f8]
lea ecx, [ebp - 0x1404]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x485c03
sub ecx, edx
lea edx, [ebp - 0x404]
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x485c15
sub edx, esi
lea eax, [edx + ecx]
cmp eax, 0x1000
jb 0x485c51
push 0x1000
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x1404]
push eax
call fcn.00495450
add esp, 0xc
lea ecx, [ebp - 0x1404]
call fcn.00482b20
pop esi
jmp 0x485ca1
lea edx, [ebp - 0x404]
mov esi, edx
lea esp, [esp]
mov al, byte [edx]
inc edx
test al, al
jne 0x485c60
push edi
lea edi, [ebp - 0x1404]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x485c71
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
lea ecx, [ebp - 0x1404]
call fcn.00482b20
pop esi
jmp 0x485ca1
lea ecx, [ebp - 0x404]
call fcn.00482b20
push 0x104
push 0x573048
push dword [0x53bb48]
mov dword [0x53bf98], 0
call dword [0x4b43f4]
push 0x40030
push 0x573048
lea eax, [ebp - 0x404]
push eax
push dword [0x53bb48]
call dword [0x4b4414]
cmp eax, 2
jne 0x485cee
mov eax, dword [0x53c0f8]
test eax, eax
je 0x485cfe
jmp 0x485cfc
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493955
mov esp, ebp
pop ebp
ret
call eax
push 0xffffffffffffffff
call fcn.0049501f
int3
Function at 0x486e50
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
or esi, 0xffffffff
cmp dword [0x53c13c], 0
push edi
mov edi, edx
jne 0x486f05
xor ecx, ecx
lea ebx, [ebx]
mov eax, ecx
shr eax, 1
test cl, 1
je 0x486e7e
xor eax, 0xedb88320
test al, 1
je 0x486e8b
shr eax, 1
xor eax, 0xedb88320
jmp 0x486e8d
shr eax, 1
test al, 1
je 0x486e9a
shr eax, 1
xor eax, 0xedb88320
jmp 0x486e9c
shr eax, 1
test al, 1
je 0x486ea9
shr eax, 1
xor eax, 0xedb88320
jmp 0x486eab
shr eax, 1
test al, 1
je 0x486eb8
shr eax, 1
xor eax, 0xedb88320
jmp 0x486eba
shr eax, 1
test al, 1
je 0x486ec7
shr eax, 1
xor eax, 0xedb88320
jmp 0x486ec9
shr eax, 1
test al, 1
je 0x486ed6
shr eax, 1
xor eax, 0xedb88320
jmp 0x486ed8
shr eax, 1
test al, 1
je 0x486ee5
shr eax, 1
xor eax, 0xedb88320
jmp 0x486ee7
shr eax, 1
mov dword [ecx*4 + 0x5867a0], eax
inc ecx
cmp ecx, 0x100
jl 0x486e70
mov dword [0x53c13c], 1
mov edx, dword [ebp + 8]
xor eax, eax
test edx, edx
jle 0x486f2b
mov edi, edi
movzx ecx, byte [eax + edi]
inc eax
xor ecx, esi
shr esi, 8
and ecx, 0xff
xor esi, dword [ecx*4 + 0x5867a0]
cmp eax, edx
jl 0x486f10
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x486f60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov eax, edx
mov dword [ebp - 4], ecx
or ebx, 0xffffffff
mov dword [ebp - 8], eax
or edi, 0xffffffff
cmp dword [0x53c138], 0
jne 0x487094
xor esi, esi
mov eax, esi
cdq
mov ecx, eax
and eax, 1
or eax, 0
je 0x486f9f
xor ecx, 0x53d46d27
xor edx, 0x85e1c3d7
shrd ecx, edx, 1
mov eax, ecx
shr edx, 1
and eax, 1
or eax, 0
je 0x486fbb
xor ecx, 0x53d46d27
xor edx, 0x85e1c3d7
shrd ecx, edx, 1
mov eax, ecx
shr edx, 1
and eax, 1
or eax, 0
je 0x486fd7
xor ecx, 0x53d46d27
xor edx, 0x85e1c3d7
shrd ecx, edx, 1
mov eax, ecx
shr edx, 1
and eax, 1
or eax, 0
je 0x486ff3
xor ecx, 0x53d46d27
xor edx, 0x85e1c3d7
shrd ecx, edx, 1
mov eax, ecx
shr edx, 1
and eax, 1
or eax, 0
je 0x48700f
xor ecx, 0x53d46d27
xor edx, 0x85e1c3d7
shrd ecx, edx, 1
mov eax, ecx
shr edx, 1
and eax, 1
or eax, 0
je 0x48702b
xor ecx, 0x53d46d27
xor edx, 0x85e1c3d7
shrd ecx, edx, 1
mov eax, ecx
shr edx, 1
and eax, 1
or eax, 0
je 0x487047
xor ecx, 0x53d46d27
xor edx, 0x85e1c3d7
shrd ecx, edx, 1
mov eax, ecx
shr edx, 1
and eax, 1
or eax, 0
je 0x487063
xor ecx, 0x53d46d27
xor edx, 0x85e1c3d7
shrd ecx, edx, 1
shr edx, 1
mov dword [esi*8 + 0x585fa0], ecx
mov dword [esi*8 + 0x585fa4], edx
inc esi
cmp esi, 0x100
jl 0x486f86
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [0x53c138], 1
xor esi, esi
test eax, eax
jle 0x4870c9
lea ebx, [ebx]
movzx ecx, byte [esi + ecx]
inc esi
xor ecx, ebx
and ecx, 0xff
shrd ebx, edi, 8
shr edi, 8
xor ebx, dword [ecx*8 + 0x585fa0]
xor edi, dword [ecx*8 + 0x585fa4]
mov ecx, dword [ebp - 4]
cmp esi, eax
jl 0x4870a0
mov edx, edi
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x487100
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, ecx
mov edi, edx
push 0
mov edx, esi
call fcn.00486e50
add esp, 4
cmp edi, 0x400
jb 0x4871a2
mov edx, edi
shr edx, 0xa
imul eax, edx, 0xfffffc00
add edi, eax
jmp 0x487130
lea eax, [esi + 0x3fc]
cmp esi, 0x586b9c
ja 0x487168
cmp eax, 0x5867a0
jb 0x487168
xor ecx, ecx
jmp 0x487150
mov eax, dword [ecx + 0x5867a0]
add ecx, 4
xor dword [esi], eax
add esi, 4
cmp ecx, 0x400
jb 0x487150
jmp 0x48719f
mov eax, 0x5867b0
mov ecx, 0x20
movdqu xmm0, xmmword [esi]
lea eax, [eax + 0x20]
movdqu xmm1, xmmword [eax - 0x30]
pxor xmm1, xmm0
movdqu xmmword [esi], xmm1
movdqu xmm1, xmmword [eax - 0x20]
movdqu xmm0, xmmword [esi + 0x10]
pxor xmm1, xmm0
movdqu xmmword [esi + 0x10], xmm1
add esi, 0x20
dec ecx
jne 0x487172
dec edx
jne 0x487130
test edi, edi
jle 0x4871be
mov ecx, 0x5867a0
sub ecx, esi
lea ecx, [ecx]
mov al, byte [ecx + esi]
lea esi, [esi + 1]
xor byte [esi - 1], al
dec edi
test edi, edi
jg 0x4871b0
pop edi
pop esi
ret

Function at 0x4871d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, ecx
push esi
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4871d6
sub edx, esi
push edx
mov edx, ecx
call fcn.00486e50
mov edx, eax
add esp, 4
not edx
xor ecx, ecx
movzx esi, dl
lea eax, [ecx + esi]
and eax, 0x800000ff
jns 0x487204
dec eax
or eax, 0xffffff00
inc eax
mov eax, dword [eax*4 + 0x5867a0]
xor eax, edx
mov dword [ecx*4 + 0x586ba0], eax
inc ecx
cmp ecx, 0x100
jl 0x4871f3
pop esi
ret

Function at 0x487220
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, edx
cmp esi, 0x400
jb 0x4872b3
push edi
mov edi, esi
shr edi, 0xa
imul eax, edi, 0xfffffc00
add esi, eax
lea ecx, [ecx]
lea eax, [ecx + 0x3fc]
cmp ecx, 0x586f9c
ja 0x487278
cmp eax, 0x586ba0
jb 0x487278
xor edx, edx
jmp 0x487260
mov eax, dword [edx + 0x586ba0]
add edx, 4
xor dword [ecx], eax
add ecx, 4
cmp edx, 0x400
jb 0x487260
jmp 0x4872af
mov eax, 0x586bb0
mov edx, 0x20
movdqu xmm0, xmmword [ecx]
lea eax, [eax + 0x20]
movdqu xmm1, xmmword [eax - 0x30]
pxor xmm1, xmm0
movdqu xmmword [ecx], xmm1
movdqu xmm1, xmmword [eax - 0x20]
movdqu xmm0, xmmword [ecx + 0x10]
pxor xmm1, xmm0
movdqu xmmword [ecx + 0x10], xmm1
add ecx, 0x20
dec edx
jne 0x487282
dec edi
jne 0x487240
pop edi
test esi, esi
jle 0x4872ce
mov edx, 0x586ba0
sub edx, ecx
mov edi, edi
mov al, byte [edx + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
dec esi
test esi, esi
jg 0x4872c0
pop esi
ret
Function at 0x48c310
Capabilities:
Read file on windows

Disassembly:
push esi
push edi
mov edx, 0x53c390
mov edi, ecx
call fcn.00482780
test eax, eax
je 0x48c418
mov esi, 0x53c390
mov edx, edi
sub esi, edi
nop
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [esi + edx - 1], al
test al, al
jne 0x48c330
mov edx, 0x4c3d40
mov ecx, edi
call fcn.004816c0
push 0x314
push 0
push 0x588568
mov esi, eax
call fcn.0049cbc0
push esi
push 1
push 0x314
push 0x588568
call fcn.00495739
push esi
call fcn.00494b54
add esp, 0x20
cmp dword [0x588568], 0x9a925a98
jne 0x48c3f3
cmp dword [0x58856c], 0x30305f38
je 0x48c418
cmp dword [0x588568], 0x9a925a98
jne 0x48c3f3
cmp dword [0x58856c], 0x30304354
je 0x48c418
cmp dword [0x588568], 0x9a925a98
jne 0x48c3f3
cmp dword [0x58856c], 0x31304354
je 0x48c418
cmp dword [0x588568], 0x9a925a98
jne 0x48c3f3
cmp dword [0x58856c], 0x30305354
je 0x48c418
cmp dword [0x588568], 0x9a925a98
jne 0x48c3f3
cmp dword [0x58856c], 0x31305354
je 0x48c418
push 0x314
push 0
push 0x588568
call fcn.0049cbc0
push 0x104
push 0
push 0x53c390
call fcn.0049cbc0
add esp, 0x18
pop edi
pop esi
ret
Function at 0x490db0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x53c5d4], 0
push esi
jne 0x490e15
push 0x490da0
call fcn.0049543a
add esp, 4
push 0x5889d0
call dword [0x4b4238]
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x4912c0
push 0
push 0
call fcn.004981a8
add esp, 0x18
mov esi, eax
push 1
push esi
call dword [0x4b420c]
push esi
call dword [0x4b4264]
mov dword [0x53c5d8], 0
mov dword [0x53c5d4], 1
mov esi, dword [0x4b4230]
push ebx
push edi
push 0x5889d0
call esi
mov edi, dword [0x53c5d8]
mov ebx, dword [0x4b4234]
test edi, edi
je 0x490e8f
mov eax, dword [edi + 0x6a8]
mov edi, dword [edi + 0x620]
push 0x5889d0
mov dword [ebp - 4], eax
call esi
test edi, edi
je 0x490e79
push 0x5889d0
call esi
mov esi, dword [0x53c5d8]
test esi, esi
je 0x490e72
nop
cmp dword [esi + 0x620], edi
je 0x490ecd
mov esi, dword [esi + 0x6a8]
test esi, esi
jne 0x490e60
push 0x5889d0
call ebx
push 0x5889d0
call ebx
mov eax, dword [ebp - 4]
mov edi, eax
mov esi, dword [0x4b4230]
test eax, eax
jne 0x490e34
push 0x5889d0
call ebx
cmp dword [0x53c5d8], 0
pop edi
pop ebx
je 0x490eb4
mov esi, dword [0x4b41e8]
push 0x32
call esi
cmp dword [0x53c5d8], 0
jne 0x490ea7
mov dword [0x53c5e0], 0
mov dword [0x53c5dc], 0
pop esi
mov esp, ebp
pop ebp
ret
push 0x5889d0
call ebx
mov dword [esi + 0x650], 0
jmp 0x490e79
Function at 0x492c00
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov eax, 0x1000
mov ebx, dword [edi + 0x8f8]
sub ebx, dword [edi + 0x8f4]
cmp ebx, eax
cmovg ebx, eax
cmp dword [edi + 0x8e4], 0
lea eax, [edi + 0x5d4]
jne 0x492c39
lea eax, [edi + 0x4d0]
push 0x4c3d40
push eax
call fcn.00494396
mov esi, eax
add esp, 8
mov dword [ebp - 8], esi
test esi, esi
jne 0x492c5a
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x8f0]
add eax, dword [edi + 0x8f4]
push 0
push eax
push esi
call fcn.00497be2
push esi
push ebx
push 1
push dword [ebp - 4]
call fcn.00495739
push dword [ebp - 8]
mov esi, eax
add dword [edi + 0x8f4], esi
call fcn.00494b54
add esp, 0x20
or eax, 0xffffffff
cmp esi, ebx
cmovne esi, eax
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x710c83
Capabilities:
Encode data using xor

Disassembly:
push 0x7109ec
mov edi, dword [esp]
add esp, 4
and eax, ebx
push eax
mov ebx, dword [esp]
add esp, 4
call fcn.00710cb9
add eax, 0xd4b4614c
xor dword [ecx], edi
add ebx, eax
inc ecx
add eax, ebx
or ebx, eax
and ebx, ebx
cmp ecx, edx
jne fcn.00710c83
and eax, eax
ret