joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4012ba
Capabilities:
Hide graphical window

Disassembly:
push ebp
push 0x10000
push 0x1000
push 1
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov dword [0x404014], eax
push 0x64
push 8
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, 0x30
push eax
mov dword [eax], ecx
add eax, 0x4c
mov ebp, eax
mov eax, 0x400000
mov dword [0x404010], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], 0x401198
mov dword [ebp - 0x24], str.resiliency
call dword [sym.imp.USER32.dll_RegisterClassExA]
xor eax, eax
push eax
push dword [0x404010]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.abasement
push str.resiliency
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x404018], eax
push eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x401384
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x40136b
mov eax, dword [0x404014]
push eax
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
pop ebp
ret 0x10

Function at 0x4252a0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
jmp 0x4252b8
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jae 0x42535c
mov edx, dword [ebp - 4]
sub edx, 0x231d
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx + eax*2 + 0x463a]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
shr eax, 0xc
cmp eax, 3
jne 0x425357
mov ecx, dword [ebp - 8]
push ecx
call fcn.004257c0
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
jne 0x425316
push 0x154b
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
je 0x425316
xor eax, eax
jmp 0x42535c
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax - 0x4c3f8]
mov eax, dword [ebp + 0x18]
mov dword [eax], edx
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + edx]
add ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
mov edx, dword [ebp + 0x10]
mov dword [edx + eax], ecx
mov eax, dword [ebp - 8]
sub eax, 0x4c3f8
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
sub edx, eax
mov eax, dword [ebp + 0x18]
mov dword [eax], edx
jmp 0x4252af
mov esp, ebp
pop ebp
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x408379
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x408388
pop dword [ebp - 0x20]
mov eax, 0x8e9d46f4
sub eax, 0x8e5cc36c
sub dword [ebp - 0x20], eax
push 0x40
push 0x1000
push 0x35bbe
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x20]
call dword [eax]
mov ecx, 0x1f47954b
sub ecx, 0x1f475b4d
mov edx, eax
mov edi, 0x413bc4
add edi, dword [ebp - 0x20]
mov esi, 0xc477973
add esi, 0x5a7df25
xor dword [ebp - 0x18], esi
mov ebx, dword [edi]
mov dword [ebp - 0x18], 0x6e999665
xor ebx, esi
mov dword [edx], ebx
xor dword [ebp - 8], ebx
add edx, 0x6cd842fb
sub edx, 0x6cd842f7
add edi, 0x5a231f14
sub edi, 0x5a231f10
loop 0x4083dc
add eax, 0x455b0055
add eax, 0xbaa5da76
mov ebx, eax
add eax, 0xcc0d516c
add eax, 0x33f2ae99
mov ecx, 0x7945c487
add ecx, 0x86fa3b79
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x40bb80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x40bb8f
pop dword [ebp - 0x34]
mov eax, 0xca91bf18
add eax, 0x35aefc77
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0xc45a3f21
sub dword [ebp - 0x44], 0x7607f9d6
mov dword [ebp - 0x40], 0xab13d5ec
add dword [ebp - 0x40], 0x871f7659
mov dword [ebp - 0x3c], 0x4717aa00
sub dword [ebp - 0x3c], 0xfacb65d2
mov dword [ebp - 0x38], 0xf29e351a
add dword [ebp - 0x38], 0xd61cae6
lea eax, [ebp - 0x44]
push eax
mov eax, 0xf73a4197
sub eax, 0xf6f910f7
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0xfca10509
add dword [ebp - 0x44], 0x77d1644d
mov dword [ebp - 0x40], 0x321611a7
sub dword [ebp - 0x40], 0xf0a9b032
mov dword [ebp - 0x3c], 0xfb91a633
sub dword [ebp - 0x3c], 0x982239c7
mov dword [ebp - 0x38], 0x73eb26fb
sub dword [ebp - 0x38], 0x73eb26fb
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, 0x89e867a8
add eax, 0x7658c894
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x3abbd
push 0
call eax
mov ecx, 0x3f805200
add ecx, 0xc07ff5ee
xor edx, edx
add edx, eax
mov ebx, 0x68ad98d0
sub ebx, 0x686be8d0
add ebx, dword [ebp - 0x34]
mov esi, 0xe1b4d50b
add esi, 0xd3a83d14
sub dword [ebp - 0xc], 0x973984b2
mov edi, dword [ebx]
xor dword [ebp - 8], ebx
add edi, esi
add dword [ebp - 0x18], eax
mov dword [edx], edi
sub dword [ebp - 4], ebx
add edx, 4
add ebx, 0x55deead4
add ebx, 0xaa211530
loop 0x40bcb3
add eax, 0x4fae6c94
add eax, 0xb052a5f7
xor ebx, ebx
add ebx, eax
add eax, 0x2a15f54e
add eax, 0xd5ea0ab7
mov ecx, 0x4fd042fd
add ecx, 0xb06fbd03
add ecx, dword [ebp - 0x34]
call ebx
leave
ret

Function at 0x410100
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 4
mov esi, ecx
call main
pop ecx
xor ecx, ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x41011c
mov dword [eax], ecx
jmp 0x41011e
mov eax, ecx
push ecx
push ecx
push esi
push 0x410190
push ecx
push ecx
mov dword [esi + 0x10], eax
call dword [sym.imp.kernel32.dll_CreateThread]
mov ecx, dword [esi + 0x10]
pop esi
mov dword [ecx], eax
leave
ret

Function at 0x40127b
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
push esi
push edi
enter 0x84, 0
jmp 0x40131c
mov edx, edi
call fcn.004011e2
mov edx, 0x1c000
mov eax, 0x404054
mov ebx, esi
call fcn.0040267d
lea edx, [ebp - 2]
mov eax, esi
mov dword [ebp - 2], 0
jmp 0x40135a
or bl, 1
idiv ebx
mov edx, dword [0x404050]
mov ebx, esi
add edx, eax
mov eax, 0x404054
call fcn.004011e2
xor eax, eax
mov dword [ebp + 0x7e], eax
lea eax, [ebp + 0x7e]
push eax
mov eax, esi
or al, 0x40
mov edi, 0x40338d
push eax
sub edi, fcn.00402b27
push edi
push fcn.00402b27
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp + 0x7e], 0
je 0x4012be
mov eax, fcn.00402b27
mov ebx, esi
jmp 0x4012a6
sub ebp, 0x82
mov esi, eax
mov ebx, dword [0x404050]
cdq
jmp 0x4012cf
call fcn.00401fff
lea eax, [esi + 0x1c000]
lea ebx, [ebp - 2]
test esi, esi
je 0x40136e
add eax, eax
dec esi
and esi, 0x404054
mov edx, eax
mov eax, esi
call fcn.00402b27
lea esp, [ebp + 0x82]
pop ebp
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret
Function at 0x403880
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.0043f5a0
mov eax, dword [0x474718]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x478b5c], 0
je 0x40392d
push 0x1000
lea eax, [ebp - 0x1004]
push 0
push eax
call fcn.004403b0
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x1004]
push 0x1000
push 0x1000
push eax
call fcn.00401050
push dword [eax + 4]
push dword [eax]
call fcn.00445584
or ecx, 0xffffffff
add esp, 0x20
test eax, eax
cmovs eax, ecx
mov byte [ebp + eax - 0x1004], 0xa
inc eax
cmp eax, 0x1000
jae 0x40393b
push 0
lea ecx, [ebp - 0x1008]
mov byte [ebp + eax - 0x1004], 0
push ecx
push eax
lea eax, [ebp - 0x1004]
mov dword [ebp - 0x1008], 0
push eax
push dword [0x478b5c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043efc4
mov esp, ebp
pop ebp
ret
call fcn.0043f0f4
int3
Function at 0x4039e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x474718]
xor eax, esp
mov dword [esp + 0x78], eax
push esi
lea ecx, [esp + 0x64]
call fcn.00403670
push 3
push 0x46e578
mov byte [esp + 0x40], 0
lea ecx, [esp + 0x10]
push dword [esp + 0x40]
call fcn.0040a1f0
add esp, 0xc
lea eax, [esp + 0x64]
lea ecx, [esp + 0x20]
push eax
call fcn.00407c70
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x24]
call fcn.00401e40
push eax
lea ecx, [esp + 0x50]
call fcn.00407c70
mov edx, dword [esp + 0x34]
cmp edx, 8
jb 0x403a7c
mov ecx, dword [esp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403a72
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403c0d
push edx
push ecx
call fcn.0043f1ff
add esp, 8
mov edx, dword [esp + 0x1c]
cmp edx, 8
jb 0x403ab8
mov ecx, dword [esp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403aae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403c12
push edx
push ecx
call fcn.0043f1ff
add esp, 8
lea ecx, [esp + 0x4c]
call fcn.00403280
test al, al
je 0x403b8d
push str.Searching_for_the_client_cache...
call fcn.00403880
add esp, 4
lea eax, [esp + 0x4c]
cmp dword [esp + 0x60], 8
cmovae eax, dword [esp + 0x4c]
push eax
call fcn.0043e2a1
mov esi, edx
movzx eax, al
cdq
mov ecx, 0x475198
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], ecx
cmp esi, 0x91
jne 0x403b2a
lea eax, [esp + 0x40]
push eax
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x50]
call fcn.00403360
mov ecx, dword [esp + 0x40]
add esp, 4
mov esi, dword [esp + 0x38]
mov eax, dword [ecx]
lea edx, [esp + 8]
push esi
push edx
call dword [eax + 8]
sub esp, 0x18
mov ecx, esp
movups xmm0, xmmword [eax]
push str.Deleting_client_cache:__s
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
call fcn.00403880
mov edx, dword [esp + 0x38]
add esp, 0x1c
cmp edx, 0x10
jb 0x403b8d
mov ecx, dword [esp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403b83
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403c17
push edx
push ecx
call fcn.0043f1ff
add esp, 8
mov edx, dword [esp + 0x60]
cmp edx, 8
jb 0x403bc5
mov ecx, dword [esp + 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403bbb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403c1c
push edx
push ecx
call fcn.0043f1ff
add esp, 8
mov edx, dword [esp + 0x78]
cmp edx, 8
jb 0x403bfd
mov ecx, dword [esp + 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403bf3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403c21
push edx
push ecx
call fcn.0043f1ff
add esp, 8
mov ecx, dword [esp + 0x7c]
pop esi
xor ecx, esp
call fcn.0043efc4
mov esp, ebp
pop ebp
ret
call fcn.00445a28
call fcn.00445a28
call fcn.00445a28
call fcn.00445a28
call fcn.00445a28
int3
Function at 0x4070c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x474718]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ebx]
mov eax, dword [eax]
test eax, eax
je 0x4071b5
lea ecx, [ebp - 0xc]
push ecx
push 0
push esi
push eax
call fcn.0040ab70
test al, al
je 0x4071b5
push edi
push 0x10
call fcn.0043f1cf
mov ecx, dword [ebp - 0xc]
mov edi, eax
add esp, 4
mov dword [edi], ecx
lea ecx, [edi + 0xc]
push ecx
push dword [ebp - 0xc]
call fcn.0040b860
mov dword [edi + 8], eax
mov ecx, dword [ebx + 4]
push esi
call fcn.00406f60
push 0x46e804
push esi
call fcn.0044341b
add esp, 8
mov ebx, eax
push esi
test ebx, ebx
jne 0x407158
push str.Cant_create___s__for_writting
call fcn.00403880
add esp, 8
push dword [edi]
call fcn.0040ab30
push 0x10
push edi
call fcn.0043f1ff
lea eax, [ebx + 1]
jmp 0x4071b1
push str.File_created___s_
call fcn.00403880
push dword [edi + 8]
call fcn.0043f20d
add esp, 0xc
mov dword [ebp - 8], 0
mov esi, eax
lea eax, [ebp - 8]
push 0
push eax
push dword [edi + 8]
push esi
push dword [edi]
call fcn.0040b8e0
push ebx
push 1
push dword [edi + 8]
push esi
call fcn.004457ee
push esi
call fcn.004193a0
push ebx
call fcn.004434a9
add esp, 0x18
push dword [edi]
call fcn.0040ab30
push 0x10
push edi
call fcn.0043f1ff
add esp, 8
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0043efc4
mov esp, ebp
pop ebp
ret 4
Function at 0x40f330
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov edx, ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov al, byte [ecx]
test al, al
je 0x40f358
cmp al, 0x5c
je 0x40f34b
cmp al, 0x2f
jne 0x40f34e
lea edx, [ecx + 1]
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x40f343
mov al, byte [edx]
mov esi, 0x7fed7fed
push edi
mov edi, 0xeeeeeeee
test al, al
je 0x40f391
movzx eax, al
lea edx, [edx + 1]
add esi, edi
movzx ecx, byte [eax + 0x472188]
mov eax, edi
shl eax, 5
add eax, ecx
add eax, edi
xor esi, dword [ecx*4 + 0x476390]
lea edi, [esi + 3]
add edi, eax
mov al, byte [edx]
test al, al
jne 0x40f367
test dword [ebp + 0x18], 0x20000
pop edi
je 0x40f3a5
lea eax, [esi + ebx]
xor eax, dword [ebp + 0x14]
pop esi
pop ebx
pop ebp
ret
mov eax, esi
pop esi
pop ebx
pop ebp
ret

Function at 0x40f3b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0xeeeeeeee
push edi
shr esi, 2
xor edi, edi
test esi, esi
je 0x40f405
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
nop dword [eax]
movzx ecx, al
add edx, dword [ecx*4 + 0x476790]
lea ecx, [edx + eax]
xor dword [ebx + edi*4], ecx
mov ecx, eax
not ecx
shr eax, 0xb
shl ecx, 0x15
add ecx, 0x11111111
or eax, ecx
mov ecx, edx
shl ecx, 5
add edx, 3
add ecx, dword [ebx + edi*4]
inc edi
add edx, ecx
cmp edi, esi
jb 0x40f3d0
pop ebx
pop edi
pop esi
pop ebp
ret

Function at 0x40f520
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
shr edi, 2
mov esi, 0xeeeeeeee
mov dword [ebp + 0xc], edi
test edi, edi
je 0x40f57f
mov eax, dword [ebp + 0x10]
nop dword [eax]
mov edi, dword [ebp + 8]
movzx ecx, al
add esi, dword [ecx*4 + 0x476790]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + ebx*4]
lea ecx, [esi + eax]
xor ecx, edx
mov dword [edi + ebx*4], ecx
mov ecx, eax
not ecx
shr eax, 0xb
shl ecx, 0x15
inc ebx
add ecx, 0x11111111
or eax, ecx
mov ecx, esi
shl ecx, 5
add esi, 3
add ecx, edx
add esi, ecx
cmp ebx, dword [ebp + 0xc]
jb 0x40f540
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4102e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 4]
mov edi, dword [esi + 0x38]
mov ecx, dword [esi + 0x10]
mov ebx, dword [esi + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ebx
mov edx, dword [edi]
test dword [eax + 0x20], 0x10000
mov dword [ebp - 4], edx
je 0x410383
mov eax, dword [ebp - 4]
mov edx, dword [esi + 0x24]
shr eax, 2
dec edx
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
mov eax, dword [esi + 0x38]
mov dword [ebp - 8], edi
mov edi, 0xeeeeeeee
jbe 0x41037e
xor ebx, ebx
mov esi, dword [ebp - 8]
movzx eax, dl
add edi, dword [eax*4 + 0x476790]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + ebx*4]
lea eax, [edi + edx]
xor eax, ecx
mov dword [esi + ebx*4], eax
mov eax, edx
not eax
shr edx, 0xb
shl eax, 0x15
inc ebx
add eax, 0x11111111
or edx, eax
mov eax, edi
shl eax, 5
add edi, 3
add eax, ecx
add edi, eax
cmp ebx, dword [ebp - 0xc]
jb 0x410332
mov esi, dword [ebp + 8]
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov edi, dword [esi + 0x38]
jmp 0x410380
mov edi, eax
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0x34]
test eax, eax
je 0x410395
add ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
adc ebx, 0
mov dword [ebp - 0x18], ebx
push edx
push edi
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x14]
push dword [eax]
call fcn.0040e130
add esp, 0x10
pop edi
pop esi
pop ebx
test al, al
jne 0x4103b9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x414600
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
dec edx
add edx, eax
cmp eax, edx
jae 0x414625
movzx ecx, byte [edx]
xor byte [eax], cl
movzx ecx, byte [eax]
xor byte [edx], cl
movzx ecx, byte [edx]
dec edx
xor byte [eax], cl
inc eax
cmp eax, edx
jb 0x414610
pop ebp
ret
Function at 0x416990
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x4169b2
push 0xeb
push str.e:eurekawow_stormlib_9.22_srclibtomcrypt_srchashesmd5.c
push str.md___NULL
call fcn.00426880
add esp, 0xc
mov dword [esi + 8], 0x67452301
xor eax, eax
mov dword [esi + 0xc], 0xefcdab89
mov dword [esi + 0x10], 0x98badcfe
mov dword [esi + 0x14], 0x10325476
mov dword [esi + 0x18], 0
mov dword [esi], 0
mov dword [esi + 4], 0
pop esi
pop ebp
ret
Function at 0x4175f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [edx - 0x21524111]
mov eax, dword [eax]
add ecx, eax
mov eax, dword [ebp + 0x14]
push esi
push edi
mov esi, ecx
mov edi, ecx
add ecx, dword [eax]
mov dword [ebp - 4], esi
cmp edx, 0xc
jbe switch.0x00417700
add edx, 0xfffffff3
mov eax, 0xaaaaaaab
mul edx
mov eax, edx
shr eax, 3
inc eax
mov dword [ebp - 8], eax
movzx esi, byte [ebx + 7]
movzx eax, byte [ebx + 6]
movzx edx, byte [ebx + 0xb]
shl esi, 8
add esi, eax
shl edx, 8
movzx eax, byte [ebx + 5]
shl esi, 8
add esi, eax
movzx eax, byte [ebx + 4]
add edi, eax
shl esi, 8
movzx eax, byte [ebx + 0xa]
add edi, esi
movzx esi, byte [ebx + 8]
add edx, eax
movzx eax, byte [ebx + 9]
add esi, ecx
shl edx, 8
add edx, eax
shl edx, 8
add esi, edx
mov edx, dword [ebp + 8]
mov ebx, esi
rol ebx, 4
movzx ecx, byte [edx + 3]
movzx eax, byte [edx + 2]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 1]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx]
shl ecx, 8
add ecx, eax
sub ecx, esi
add esi, edi
add ecx, dword [ebp - 4]
xor ebx, ecx
sub edi, ebx
mov eax, ebx
add ebx, esi
rol eax, 6
xor eax, edi
sub esi, eax
mov edx, eax
rol edx, 8
add eax, ebx
xor edx, esi
sub ebx, edx
mov esi, edx
rol esi, 0x10
add edx, eax
xor esi, ebx
mov ebx, dword [ebp + 8]
mov edi, esi
sub eax, esi
ror edi, 0xd
add esi, edx
xor edi, eax
mov dword [ebp - 4], esi
sub edx, edi
mov ecx, edi
rol ecx, 4
add ebx, 0xc
xor ecx, edx
mov dword [ebp + 8], ebx
mov edx, dword [ebp + 0xc]
add edi, esi
sub edx, 0xc
sub dword [ebp - 8], 1
mov dword [ebp + 0xc], edx
jne 0x417634
cmp edx, 0xc
ja 0x41776c
jmp dword [edx*4 + 0x4177c4]
movzx eax, byte [ebx + 0xb]
shl eax, 0x18
add ecx, eax
movzx eax, byte [ebx + 0xa]
shl eax, 0x10
add ecx, eax
movzx eax, byte [ebx + 9]
shl eax, 8
add ecx, eax
movzx eax, byte [ebx + 8]
add ecx, eax
movzx eax, byte [ebx + 7]
shl eax, 0x18
add edi, eax
movzx eax, byte [ebx + 6]
shl eax, 0x10
add edi, eax
movzx eax, byte [ebx + 5]
shl eax, 8
add edi, eax
movzx eax, byte [ebx + 4]
add edi, eax
movzx eax, byte [ebx + 3]
shl eax, 0x18
add esi, eax
movzx eax, byte [ebx + 2]
shl eax, 0x10
add esi, eax
movzx eax, byte [ebx + 1]
shl eax, 8
add esi, eax
movzx eax, byte [ebx]
add esi, eax
mov dword [ebp - 4], esi
xor ecx, edi
mov eax, edi
rol eax, 0xe
sub ecx, eax
mov eax, ecx
mov esi, ecx
xor esi, dword [ebp - 4]
rol eax, 0xb
sub esi, eax
xor edi, esi
mov eax, esi
ror eax, 7
sub edi, eax
mov eax, edi
xor ecx, edi
rol eax, 0x10
sub ecx, eax
mov eax, ecx
mov edx, ecx
rol eax, 4
xor edx, esi
sub edx, eax
mov eax, edx
xor edi, edx
rol eax, 0xe
sub edi, eax
mov eax, edi
xor ecx, edi
ror eax, 8
sub ecx, eax
mov eax, dword [ebp + 0x10]
mov dword [eax], ecx
mov eax, dword [ebp + 0x14]
mov dword [eax], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4194f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4194fc
pop ebp
ret
mov dword [ebp + 0xc], eax
pop ebp
jmp fcn.00419510

Function at 0x41c590
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 8]
xor eax, eax
push ebx
push esi
mov dword [ebp - 8], eax
lea edx, [ecx + 0x32550]
mov dword [ebp - 0xc], edx
push edi
nop word [eax + eax]
xor ebx, ebx
mov dword [ebp - 4], 4
mov edi, eax
lea eax, [ebx + 1]
nop
movzx edx, word [ecx + eax*2 + 0x32bf4]
mov esi, edi
and esi, 1
shr edx, 4
mov ecx, esi
shr edi, 1
neg ecx
add eax, eax
sar ecx, 4
or eax, esi
and ecx, 0x7f
xor edx, ecx
mov ecx, dword [ebp + 8]
add ebx, dword [ecx + edx*4 + 0x30ea0]
sub dword [ebp - 4], 1
jne 0x41c5c0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov dword [edx], ebx
add edx, 4
mov dword [ebp - 0xc], edx
cmp eax, 0x10
jb 0x41c5b0
pop edi
pop esi
mov dword [ecx + 0x32590], 0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41c620
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x474718]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, 4
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x208], ebx
nop dword [eax]
nop dword [eax + eax]
movzx ecx, byte [edi + ebx + 0x306a0]
mov esi, 1
mov eax, ecx
mov dword [ebp - 0x218], ecx
mov edx, ecx
shr eax, 1
dec eax
mov dword [ebp - 0x20c], 0
and edx, 1
mov dword [ebp - 0x210], eax
or edx, 2
mov ecx, eax
shl edx, cl
mov ecx, ebx
sub ecx, edx
mov dword [ebp - 0x214], edx
test eax, eax
je 0x41c6f0
mov ebx, eax
mov eax, esi
mov edx, ecx
sub eax, dword [ebp - 0x218]
and edx, 1
add eax, dword [ebp - 0x214]
add esi, esi
shr ecx, 1
or esi, edx
mov dword [ebp - 0x210], ecx
movzx ecx, word [edi + eax*2 + 0x32b0e]
mov eax, edx
neg eax
shr ecx, 4
sar eax, 4
and eax, 0x7f
xor ecx, eax
mov eax, dword [ebp - 0x20c]
add eax, dword [edi + ecx*4 + 0x30ea0]
mov ecx, dword [ebp - 0x210]
mov dword [ebp - 0x20c], eax
sub ebx, 1
jne 0x41c694
mov ebx, dword [ebp - 0x208]
jmp 0x41c6f2
xor eax, eax
mov dword [ebp + ebx*4 - 0x204], eax
inc ebx
mov dword [ebp - 0x208], ebx
cmp ebx, 0x80
jb 0x41c650
lea ecx, [ebp - 0x204]
mov dword [ebp - 0x210], 4
sub ecx, edi
lea esi, [edi + 0x31950]
lea eax, [edi + 0x32910]
mov dword [ebp - 0x208], esi
lea edx, [edi + 0x31d58]
mov dword [ebp - 0x21c], eax
sub ecx, 0x31d50
mov dword [ebp - 0x20c], edx
mov dword [ebp - 0x218], ecx
nop
mov eax, dword [edi + 0x32594]
xor ebx, ebx
mov dword [ebp - 0x214], ebx
test eax, eax
je 0x41c7c2
mov eax, ebx
xor esi, esi
mov ebx, dword [ebp - 0x21c]
or eax, 0x40
nop
mov edx, eax
and eax, 1
shr edx, 1
neg eax
sar eax, 4
and eax, 0x7f
movzx ecx, word [ebx + edx*2]
shr ecx, 4
xor ecx, eax
mov eax, edx
add esi, dword [edi + ecx*4 + 0x30ea0]
cmp eax, 1
jne 0x41c770
mov ebx, dword [ebp - 0x214]
mov eax, dword [ebp - 0x208]
mov dword [eax + ebx*4], esi
inc ebx
mov eax, dword [edi + 0x32594]
mov dword [ebp - 0x214], ebx
cmp ebx, eax
jb 0x41c762
mov esi, dword [ebp - 0x208]
mov edx, dword [ebp - 0x20c]
mov ecx, 0xe
cmp eax, ecx
jbe 0x41c7e6
nop dword [eax + eax]
mov eax, ecx
shr eax, 1
shl eax, 4
sub eax, 0x50
add dword [esi + ecx*4], eax
inc ecx
cmp ecx, dword [edi + 0x32594]
jb 0x41c7d0
mov eax, dword [esi]
mov ecx, 4
mov ebx, dword [ebp - 0x218]
mov dword [edx - 8], eax
mov eax, dword [esi + 4]
mov dword [edx - 4], eax
mov eax, dword [esi + 8]
mov dword [edx], eax
mov eax, dword [esi + 0xc]
mov dword [edx + 4], eax
add edx, 8
nop word [eax + eax]
movzx eax, byte [edi + ecx + 0x306a0]
lea edx, [edx + 4]
inc ecx
mov eax, dword [esi + eax*4]
add eax, dword [edx + ebx - 4]
mov dword [edx - 4], eax
cmp ecx, 0x80
jb 0x41c810
mov edx, dword [ebp - 0x20c]
add esi, 0x100
sub dword [ebp - 0x21c], 0xffffff80
add edx, 0x200
sub ebx, 0x200
mov dword [ebp - 0x208], esi
sub dword [ebp - 0x210], 1
mov dword [ebp - 0x20c], edx
mov dword [ebp - 0x218], ebx
jne 0x41c750
mov ecx, dword [ebp - 4]
mov dword [edi + 0x3bcf8], 0
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0043efc4
mov esp, ebp
pop ebp
ret