joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4143e9
Capabilities:
Encode data using xor

Disassembly:
push 0x54
mov eax, 0x430455
call fcn.0041a8d7
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x438f3b
call fcn.004042c3
and dword [ebp - 4], 0
lea edi, [ebp - 0x30]
cmp byte [0x43a535], 0
mov esi, 0x43a52c
push 0x31
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop esi
je 0x414438
xor ecx, ecx
xor edx, edx
mov eax, ecx
div esi
add dl, 0x39
xor byte [ebp + ecx - 0x30], dl
inc ecx
cmp ecx, 0xa
jl 0x414425
sub esp, 0x18
lea eax, [ebp - 0x30]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.004042c3
mov byte [ebp - 4], 1
cmp byte [0x439537], 0
mov eax, dword [str.XVW_mRNRY_M__0]
mov dword [ebp - 0x14], eax
je 0x414473
xor ecx, ecx
xor edx, edx
mov eax, ecx
div esi
add dl, 0x39
xor byte [ebp + ecx - 0x14], dl
inc ecx
cmp ecx, 4
jl 0x414460
sub esp, 0x18
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.004042c3
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x442408
call fcn.00405ac7
push 0x1a
pop edx
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 3
call fcn.00405dad
mov esi, str.exRRP_A
mov byte [ebp - 4], 4
lea edi, [ebp - 0x30]
xor ecx, ecx
push 0x31
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x39
xor byte [ebp + ecx - 0x30], dl
inc ecx
cmp ecx, 9
jl 0x4144bd
sub esp, 0x18
lea eax, [ebp - 0x30]
mov esi, esp
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x24], esi
push eax
call fcn.00404870
push eax
mov ecx, esi
call fcn.0040428a
push 0
xor dl, dl
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x48]
call fcn.00408948
add esp, 0x7c
mov ecx, 0x442408
push eax
call fcn.00405b13
lea ecx, [ebp - 0x3c]
call fcn.00404333
lea ecx, [ebp - 0x48]
call fcn.004043bd
lea ecx, [ebp - 0x60]
call fcn.00402616
call fcn.0041a8a5
ret
Function at 0x414528
Capabilities:
Encode data using xor

Disassembly:
push 0x64
mov eax, 0x43049f
call fcn.0041a8d7
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x438f3b
call fcn.004042c3
and dword [ebp - 4], 0
cmp byte [0x439537], 0
mov eax, dword [str.XVW_mRNRY_M__0]
push 0x31
mov dword [ebp - 0x10], eax
pop esi
je 0x414573
xor ecx, ecx
xor edx, edx
mov eax, ecx
div esi
add dl, 0x39
xor byte [ebp + ecx - 0x10], dl
inc ecx
cmp ecx, 4
jl 0x414560
sub esp, 0x18
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.004042c3
mov byte [ebp - 4], 1
cmp byte [0x439537], 0
mov eax, dword [str.XVW_mRNRY_M__0]
mov dword [ebp - 0x10], eax
je 0x4145ae
xor ecx, ecx
xor edx, edx
mov eax, ecx
div esi
add dl, 0x39
xor byte [ebp + ecx - 0x10], dl
inc ecx
cmp ecx, 4
jl 0x41459b
sub esp, 0x18
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.004042c3
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0x4421c8
call fcn.00405ac7
push 0x1a
pop edx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 3
call fcn.00405dad
push 7
mov byte [ebp - 4], 4
lea edi, [ebp - 0x70]
cmp byte [0x43aa95], 0
mov esi, str.e_OSPW_
pop ecx
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
je 0x414618
push 0x31
xor ecx, ecx
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x39
xor byte [ebp + ecx - 0x70], dl
inc ecx
cmp ecx, 0x1e
jl 0x414605
sub esp, 0x18
lea eax, [ebp - 0x70]
mov esi, esp
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x20], esi
push eax
call fcn.00404870
push eax
mov ecx, esi
call fcn.0040428a
push 0
xor dl, dl
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x38]
call fcn.00408948
add esp, 0x7c
mov ecx, 0x4421c8
push eax
call fcn.00405b13
lea ecx, [ebp - 0x2c]
call fcn.00404333
lea ecx, [ebp - 0x38]
call fcn.004043bd
lea ecx, [ebp - 0x50]
call fcn.00402616
call fcn.0041a8a5
ret
Function at 0x414670
Capabilities:
Encode data using xor

Disassembly:
push 0x5c
mov eax, 0x4304e9
call fcn.0041a8d7
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x438f3b
call fcn.004042c3
and dword [ebp - 4], 0
cmp byte [0x439537], 0
mov eax, dword [str.XVW_mRNRY_M__0]
push 0x31
mov dword [ebp - 0x10], eax
pop esi
je 0x4146bb
xor ecx, ecx
xor edx, edx
mov eax, ecx
div esi
add dl, 0x39
xor byte [ebp + ecx - 0x10], dl
inc ecx
cmp ecx, 4
jl 0x4146a8
sub esp, 0x18
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.004042c3
mov byte [ebp - 4], 1
cmp byte [0x439537], 0
mov eax, dword [str.XVW_mRNRY_M__0]
mov dword [ebp - 0x10], eax
je 0x4146f6
xor ecx, ecx
xor edx, edx
mov eax, ecx
div esi
add dl, 0x39
xor byte [ebp + ecx - 0x10], dl
inc ecx
cmp ecx, 4
jl 0x4146e3
sub esp, 0x18
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.004042c3
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0x442180
call fcn.00405ac7
push 0x1a
pop edx
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 3
call fcn.00405dad
push 5
mov byte [ebp - 4], 4
lea edi, [ebp - 0x38]
cmp byte [0x43a81d], 0
mov esi, 0x43a808
pop ecx
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
je 0x414760
push 0x31
xor ecx, ecx
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x39
xor byte [ebp + ecx - 0x38], dl
inc ecx
cmp ecx, 0x16
jl 0x41474d
sub esp, 0x18
lea eax, [ebp - 0x38]
mov esi, esp
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x20], esi
push eax
call fcn.00404870
push eax
mov ecx, esi
call fcn.0040428a
push 0
xor dl, dl
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x50]
call fcn.00408948
add esp, 0x7c
mov ecx, 0x442180
push eax
call fcn.00405b13
lea ecx, [ebp - 0x44]
call fcn.00404333
lea ecx, [ebp - 0x50]
call fcn.004043bd
lea ecx, [ebp - 0x68]
call fcn.00402616
call fcn.0041a8a5
ret
Function at 0x417345
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
mov dword [ebp - 0xc], edx
mov ebx, ecx
call fcn.00417268
mov eax, dword [ebx + 0x1af68]
lea esi, [ebx + 0x1af64]
dec eax
lea ecx, [ebx + 0x10]
lea edi, [ebx + 0x1af60]
mov dword [ebp - 4], ecx
cmp dword [esi], eax
jb 0x41738a
push esi
push dword [edi]
push dword [ebx]
call dword [ecx]
lea eax, [ebx + 0x1af64]
add esp, 0xc
mov dword [ebp - 8], eax
jmp 0x417390
mov dword [ebp - 4], ecx
mov dword [ebp - 8], esi
mov ecx, dword [esi]
mov eax, dword [edi]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x10], esi
mov byte [ecx + eax], dl
mov edx, dword [esi]
mov eax, dword [ebp + 8]
inc edx
movzx ecx, ax
mov eax, dword [edi]
mov dword [ebp - 0x14], ecx
shr ecx, 8
mov dword [esi], edx
mov byte [edx + eax], cl
mov ecx, dword [esi]
mov eax, dword [ebx + 0x1af68]
inc ecx
dec eax
mov dword [esi], ecx
cmp ecx, eax
jb 0x4173d6
mov eax, dword [ebp - 4]
push esi
push dword [edi]
push dword [ebx]
call dword [eax]
mov eax, dword [ebp - 8]
add esp, 0xc
mov dword [ebp - 0x10], eax
mov eax, dword [esi]
mov ecx, dword [edi]
mov dl, byte [ebp + 8]
not dl
mov byte [ecx + eax], dl
mov ecx, dword [esi]
mov edx, dword [ebp - 0x14]
inc ecx
mov eax, dword [edi]
not edx
shr edx, 8
mov dword [esi], ecx
mov byte [ecx + eax], dl
lea ecx, [ebx + 0x1af6c]
inc dword [esi]
add dword [ecx], 0x20
cmp dword [ebx + 0x1af54], 0
mov edx, dword [esi]
mov dword [ebp - 0x14], ecx
je 0x41742f
push esi
push dword [edi]
mov edi, dword [ebp - 4]
push dword [ebx]
call dword [edi]
mov eax, dword [ebp + 8]
push esi
push dword [ebp - 0xc]
mov dword [esi], eax
push dword [ebx]
call dword [edi]
mov ecx, dword [ebp - 0x14]
add esp, 0x18
mov edx, dword [ebp + 8]
jmp 0x417491
mov ecx, dword [ebp + 8]
lea eax, [edx + ecx]
cmp eax, dword [ebx + 0x1af68]
jbe 0x417472
push 0xc
pop ecx
mov esi, str.VOOLHJ
lea edi, [ebp - 0x48]
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
movsw word es:[edi], word [esi]
xor edx, edx
mov eax, ecx
push 0x37
pop esi
div esi
add dl, 0x39
xor byte [ebp + ecx - 0x48], dl
inc ecx
cmp ecx, 0x32
jl 0x41744e
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x48]
mov dword [ebx + 0x6afa4], eax
jmp 0x41748b
mov eax, dword [edi]
push ecx
push dword [ebp - 0xc]
add eax, edx
push eax
call fcn.0041b5c0
mov eax, dword [ebp - 0x10]
add esp, 0xc
mov edx, dword [ebp + 8]
add dword [eax], edx
lea ecx, [ebx + 0x1af6c]
pop edi
shl edx, 3
add dword [ecx], edx
pop esi
pop ebx
leave
ret
Function at 0x41749b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov esi, 0x43ac24
mov dword [ebp - 8], edx
lea edi, [ebp - 0x18]
mov byte [ebp - 1], 1
mov ebx, ecx
lea eax, [edx - 1]
xor ecx, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
cmp eax, 7
jbe 0x4174c8
mov byte [ebp - 1], cl
mov esi, ecx
xor edx, edx
mov eax, esi
push 0x37
pop edi
div edi
add dl, 0x39
xor byte [ebp + esi - 0x18], dl
inc esi
cmp esi, 0xf
jl 0x4174ca
cmp byte [ebp - 1], cl
jne 0x4174ee
lea eax, [ebp - 0x18]
mov dword [ebx + 0x6afa4], eax
mov dword [ebx + 0x6af78], ecx
cmp dword [ebx + 0x6af70], ecx
jne 0x417510
mov dword [ebx + 0x6af78], 1
mov dword [ebx + 0x6af70], 0x10000
push 0x1fffc
push ecx
lea eax, [ebx + 0x4af70]
mov dword [ebx + 0x6af6c], ecx
push eax
call fcn.0041bd20
mov ecx, dword [ebp - 8]
add esp, 0xc
movzx eax, word [ecx*8 + 0x438e9a]
mov dword [ebx + 0x6af98], eax
movzx eax, word [ecx*8 + 0x438e98]
mov dword [ebx + 0x6af9c], eax
movzx eax, word [ecx*8 + 0x438e9c]
push 2
mov dword [ebx + 0x6afa0], eax
movzx eax, word [ecx*8 + 0x438e9e]
pop edx
mov dword [ebx + 0x6af94], eax
cmp ecx, edx
jg 0x417576
mov eax, dword [ebp + 8]
or word [eax], 4
jmp 0x417581
cmp ecx, 8
jl 0x417581
mov eax, dword [ebp + 8]
or word [eax], dx
push 0x10000
lea edi, [ebx + 0x1af70]
xor esi, esi
push edi
push ebx
mov dword [ebx + 0x6af84], esi
mov dword [ebx + 0x6af74], esi
call dword [ebx + 0xc]
add esp, 0xc
mov dword [ebx + 0x6af90], eax
test eax, eax
je 0x4175ea
cmp eax, 0xffffffff
je 0x4175ea
mov dword [ebx + 0x6af8c], esi
cmp eax, 0x106
jae 0x4175c5
mov ecx, ebx
call fcn.00417769
mov dword [ebx + 0x6af7c], esi
mov ecx, esi
movzx eax, byte [edi + esi]
shl ecx, 5
xor ecx, eax
and ecx, 0x7fff
inc esi
mov dword [ebx + 0x6af7c], ecx
cmp esi, 2
jb 0x4175cd
jmp 0x4175fa
mov dword [ebx + 0x6af8c], 1
mov dword [ebx + 0x6af90], esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4178a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov ecx, ebx
push edi
mov dword [ebp - 4], ecx
mov edi, ebx
mov dword [esi + 0x6af80], 2
jmp 0x417a99
cmp eax, 3
jb 0x417919
mov edx, dword [esi + 0x6af84]
mov eax, dword [esi + 0x6af7c]
shl eax, 5
movzx ecx, byte [edx + esi + 0x1af72]
xor ecx, eax
and ecx, 0x7fff
and edx, 0x7fff
mov dword [esi + 0x6af7c], ecx
mov eax, dword [esi + ecx*4 + 0x4af70]
mov dword [esi + edx*4 + 0x2af70], eax
mov ecx, dword [esi + 0x6af7c]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x6af84]
mov dword [esi + ecx*4 + 0x4af70], eax
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x417956
mov eax, dword [esi + 0x6af84]
sub eax, ecx
cmp eax, 0x7efa
ja 0x417956
mov eax, dword [esi + 0x6af90]
cmp dword [esi + 0x6afa0], eax
jbe 0x417940
mov dword [esi + 0x6afa0], eax
mov edx, ecx
mov ecx, esi
call fcn.004175ff
mov ecx, dword [esi + 0x6af90]
mov edi, eax
cmp edi, ecx
cmova edi, ecx
mov ecx, dword [esi + 0x6af84]
cmp edi, 3
jb 0x417a25
sub ecx, dword [esi + 0x6af88]
lea eax, [edi - 3]
mov edx, ecx
mov ecx, esi
push eax
call fcn.00416ee5
pop ecx
mov ecx, dword [esi + 0x6af90]
sub ecx, edi
mov dword [ebp - 8], eax
mov dword [esi + 0x6af90], ecx
cmp edi, dword [esi + 0x6af98]
ja 0x4179f4
cmp ecx, 3
jb 0x4179f4
dec edi
inc dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af84]
mov eax, dword [esi + 0x6af7c]
shl eax, 5
movzx ecx, byte [edx + esi + 0x1af72]
and edx, 0x7fff
xor ecx, eax
and ecx, 0x7fff
mov dword [esi + 0x6af7c], ecx
mov eax, dword [esi + ecx*4 + 0x4af70]
mov dword [esi + edx*4 + 0x2af70], eax
mov ecx, dword [esi + 0x6af7c]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x6af84]
mov dword [esi + ecx*4 + 0x4af70], eax
sub edi, 1
jne 0x417998
jmp 0x417a41
add dword [esi + 0x6af84], edi
mov edi, ebx
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [edx + esi + 0x1af70]
mov dword [esi + 0x6af7c], ecx
movzx eax, byte [edx + esi + 0x1af71]
shl ecx, 5
xor eax, ecx
mov dword [esi + 0x6af7c], eax
jmp 0x417a4d
movzx eax, byte [ecx + esi + 0x1af70]
xor edx, edx
push eax
mov ecx, esi
call fcn.00416ee5
dec dword [esi + 0x6af90]
pop ecx
mov dword [ebp - 8], eax
inc dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af84]
cmp dword [ebp - 8], ebx
je 0x417a83
mov eax, dword [esi + 0x6af74]
test eax, eax
js 0x417a66
lea ecx, [esi + 0x1af70]
add ecx, eax
jmp 0x417a68
mov ecx, ebx
sub edx, eax
push ebx
push edx
mov edx, ecx
mov ecx, esi
call fcn.00416cf6
mov eax, dword [esi + 0x6af84]
pop ecx
pop ecx
mov dword [esi + 0x6af74], eax
cmp dword [esi + 0x6af90], 0x106
jae 0x417a96
mov ecx, esi
call fcn.00417769
mov ecx, dword [ebp - 4]
mov eax, dword [esi + 0x6af90]
test eax, eax
jne 0x4178c2
mov ecx, dword [esi + 0x6af74]
test ecx, ecx
js 0x417ab9
lea ebx, [esi + 0x1af70]
add ebx, ecx
mov eax, dword [esi + 0x6af84]
mov edx, ebx
sub eax, ecx
mov ecx, esi
push 1
push eax
call fcn.00416cf6
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x418756
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x418761
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x41881d
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x438958]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x438958]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x438958]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x438958]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x438958]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x438958]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x438958]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x438958]
sub edi, 1
jne 0x418776
pop edi
test esi, esi
je 0x418839
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x438958]
inc edx
sub esi, 1
jne 0x418821
not ecx
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x418840
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push esi
mov esi, ecx
movsx eax, dl
mov ecx, dword [esi]
xor eax, ecx
movzx eax, al
shr ecx, 8
xor ecx, dword [eax*4 + 0x438958]
movzx eax, cl
add eax, dword [esi + 4]
imul eax, eax, 0x8088405
mov dword [esi], ecx
mov ecx, dword [esi + 8]
inc eax
mov dword [esi + 4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x438958]
mov dword [esi + 8], ecx
pop esi
ret
Function at 0x4188a4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, ecx
push esi
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4188b0
sub edx, esi
lea esi, [edx + ecx]
jmp 0x4188c4
cmp byte [esi], 0x2e
je 0x4188d6
dec esi
cmp esi, ecx
ja 0x4188be
jne 0x4188d6
cmp byte [esi], 0x2e
je 0x4188d6
xor al, al
jmp 0x418aab
mov ax, word [0x43ac34]
push ebx
push edi
mov word [ebp - 8], ax
xor edi, edi
mov al, byte [0x43ac36]
mov ecx, edi
push 0x39
mov byte [ebp - 6], al
mov dword [ebp - 0x10], 0x37
pop ebx
xor edx, edx
mov eax, ecx
div dword [ebp - 0x10]
add dl, bl
xor byte [ebp + ecx - 8], dl
inc ecx
cmp ecx, 3
jl 0x4188f8
lea eax, [ebp - 8]
push eax
push esi
call fcn.0041fddf
pop ecx
pop ecx
test eax, eax
je 0x418aa7
mov eax, dword [0x43ac1c]
mov ecx, edi
mov dword [ebp - 8], eax
mov al, byte [0x43ac20]
mov byte [ebp - 4], al
xor edx, edx
mov eax, ecx
div dword [ebp - 0x10]
add dl, bl
xor byte [ebp + ecx - 8], dl
inc ecx
cmp ecx, 5
jl 0x418931
lea eax, [ebp - 8]
push eax
push esi
call fcn.0041fddf
pop ecx
pop ecx
test eax, eax
je 0x418aa7
mov eax, dword [0x43ac10]
mov ecx, edi
mov dword [ebp - 8], eax
mov al, byte [0x43ac14]
mov byte [ebp - 4], al
xor edx, edx
mov eax, ecx
div dword [ebp - 0x10]
add dl, bl
xor byte [ebp + ecx - 8], dl
inc ecx
cmp ecx, 5
jl 0x41896a
lea eax, [ebp - 8]
push eax
push esi
call fcn.0041fddf
pop ecx
pop ecx
test eax, eax
je 0x418aa7
mov eax, dword [0x43abf8]
mov ecx, edi
mov dword [ebp - 8], eax
mov al, byte [0x43abfc]
mov byte [ebp - 4], al
xor edx, edx
mov eax, ecx
div dword [ebp - 0x10]
add dl, bl
xor byte [ebp + ecx - 8], dl
inc ecx
cmp ecx, 5
jl 0x4189a3
lea eax, [ebp - 8]
push eax
push esi
call fcn.0041fddf
pop ecx
pop ecx
test eax, eax
je 0x418aa7
mov eax, dword [0x43ac00]
mov ecx, edi
mov dword [ebp - 8], eax
mov al, byte [0x43ac04]
mov byte [ebp - 4], al
xor edx, edx
mov eax, ecx
div dword [ebp - 0x10]
add dl, bl
xor byte [ebp + ecx - 8], dl
inc ecx
cmp ecx, 5
jl 0x4189dc
lea eax, [ebp - 8]
push eax
push esi
call fcn.0041fddf
pop ecx
pop ecx
test eax, eax
je 0x418aa7
mov eax, dword [0x43abf0]
mov ecx, edi
mov dword [ebp - 8], eax
mov al, byte [0x43abf4]
mov byte [ebp - 4], al
xor edx, edx
mov eax, ecx
div dword [ebp - 0x10]
add dl, bl
xor byte [ebp + ecx - 8], dl
inc ecx
cmp ecx, 5
jl 0x418a15
lea eax, [ebp - 8]
push eax
push esi
call fcn.0041fddf
pop ecx
pop ecx
test eax, eax
je 0x418aa7
cmp byte [0x43ac1b], 0
mov eax, dword [0x43ac18]
mov dword [ebp - 8], eax
je 0x418a5e
mov ecx, edi
xor edx, edx
mov eax, ecx
div dword [ebp - 0x10]
add dl, bl
xor byte [ebp + ecx - 8], dl
inc ecx
cmp ecx, 4
jl 0x418a4b
lea eax, [ebp - 8]
push eax
push esi
call fcn.0041fddf
pop ecx
pop ecx
test eax, eax
je 0x418aa7
mov eax, dword [0x43ac08]
mov dword [ebp - 0x10], eax
mov al, byte [0x43ac0c]
push 0x37
mov byte [ebp - 0xc], al
pop ecx
xor edx, edx
mov eax, edi
div ecx
add dl, bl
xor byte [ebp + edi - 0x10], dl
inc edi
cmp edi, 5
jl 0x418a81
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.0041fddf
neg eax
pop ecx
sbb al, al
pop ecx
inc al
jmp 0x418aa9
mov al, 1
pop edi
pop ebx
pop esi
leave
ret
Function at 0x418b93
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x440040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0xc]
cmp byte [esi + 0x2d], 0
je 0x418c14
mov ecx, dword [esi + 0x3c]
mov eax, ecx
test ecx, ecx
je 0x418bce
cmp dword [esi + 0x40], edi
jae 0x418bce
push ecx
call fcn.0041a35d
and dword [esi + 0x3c], 0
pop ecx
jmp 0x418bd2
test eax, eax
jne 0x418be2
lea eax, [edi + edi]
push eax
call fcn.0041a362
pop ecx
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edi
push edi
push ebx
push eax
call fcn.0041b5c0
add esp, 0xc
xor ebx, ebx
test edi, edi
je 0x418c11
lea eax, [esi + 0x30]
mov edx, dword [esi + 0x3c]
mov ecx, eax
mov dl, byte [edx + ebx]
call fcn.00418883
mov ecx, dword [esi + 0x3c]
mov byte [ebx + ecx], al
inc ebx
lea eax, [esi + 0x30]
cmp ebx, edi
jb 0x418bf6
mov ebx, dword [esi + 0x3c]
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x418c43
mov edx, dword [esi + 0x24]
lea eax, [edx + edi]
cmp eax, dword [esi + 0x28]
jb 0x418c2f
mov dword [esi + 0x14], 0x30000
jmp 0x418c65
push edi
add ecx, edx
push ebx
push ecx
call fcn.0041b5c0
add esp, 0xc
mov eax, edi
add dword [esi + 0x24], edi
jmp 0x418c67
mov eax, dword [esi + 4]
test eax, eax
je 0x418c5e
push 0
lea ecx, [ebp - 8]
push ecx
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 8]
jmp 0x418c67
mov dword [esi + 0x14], 0x1000000
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00419f88
leave
ret 8

Function at 0x418dc5
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x440040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x84]
test ecx, ecx
je 0x418e27
mov eax, dword [edi + 0x8c]
mov esi, dword [edi + 0x88]
cmp eax, esi
jae 0x418e5f
sub esi, eax
cmp esi, dword [ebp + 0xc]
cmova esi, dword [ebp + 0xc]
add eax, ecx
push esi
push eax
push ebx
call fcn.0041b5c0
mov ecx, dword [edi + 0x78]
mov edx, ebx
add dword [edi + 0x8c], esi
add dword [edi + 0x74], esi
push esi
call fcn.00418756
add esp, 0x10
mov dword [edi + 0x78], eax
mov eax, esi
jmp 0x418e61
cmp dword [edi + 0x7c], 0
je 0x418e58
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
push ebx
push dword [edi + 0x7c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x418e5f
mov esi, dword [ebp - 8]
mov edx, ebx
mov ecx, dword [edi + 0x78]
add dword [edi + 0x74], esi
push esi
call fcn.00418756
pop ecx
jmp 0x418e20
mov dword [edi + 0x14], 0x1000000
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00419f88
leave
ret 8
Function at 0x41ad57
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41ad96
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41ad96
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41ad96
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41ad96
cmp dword [ecx + 0x74], 0xe
jbe 0x41ad96
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x421ba2
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x434a7c
push 0x434a74
push str.FlsAlloc
push 0x1f
call fcn.00421a7e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x421bd6
push dword [ebp + 8]
mov ecx, esi
call dword [0x4321ac]
call esi
jmp 0x421bdc
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x421c20
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x434a8c
push 0x434a84
push str.FlsGetValue
push 0x21
call fcn.00421a7e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x421c57
push dword [ebp + 8]
mov ecx, esi
call dword [0x4321ac]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x421c5f
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x434a94
push 0x434a8c
push str.FlsSetValue
push 0x22
call fcn.00421a7e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x421c99
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x4321ac]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x424fbe
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x42505b
push ebx
push esi
call fcn.00424f85
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00424f19
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x425008
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x42505a
push edi
push eax
call fcn.00421855
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x425028
call fcn.0042181b
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x425059
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00424f19
add esp, 0x20
test eax, eax
jne 0x425047
push edi
call fcn.0042181b
jmp 0x42504f
push ebx
call fcn.0042181b
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x42bd00
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42bd2d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42bd2d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret