joyce8/EMBER2024-capa huggingface dataset:
Function at 0x455e20
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x455ec3
test eax, eax
jbe 0x455ec3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x455ec3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x455e6e
xor esi, esi
jmp 0x455e74
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x455e9f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00403350
add esi, eax
push esi
mov ebx, esi
call fcn.00403350
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x455e80
pop ebp
test edi, edi
pop edi
jne 0x455ec3
test ebx, ebx
je 0x455ec3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.0045bd40
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x456005
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x45611d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45611d
mov eax, dword [esi + 0x3c]
push eax
call fcn.0046cc05
mov esi, eax
test esi, esi
je 0x45611d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x45611d
mov ecx, esi
call fcn.00455f70
cmp edi, eax
jge 0x45611d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x4560a3
mov dword [esp + 0x34], 1
jmp 0x4560fe
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x45611d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00455480
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x46d5a9
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x46d5e1
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0046b65d
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046b635
jmp 0x46d5ed
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x46eca0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x46ece2
call fcn.004749cb
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46ece2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46ecd9
xor eax, eax
jmp 0x46ecea
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046ecf0
pop edi
pop esi
pop ebx
ret 4

Function at 0x474efb
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x474f29
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x474f47
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00474e61
jmp 0x474f47
mov eax, dword [esi + 0x14]
test eax, eax
je 0x474f47
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00474e61
test edi, edi
mov eax, edi
jne 0x474f31
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x405d6b
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a0c], 0
push esi
jne 0x405da2
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405d7c
mov dword [ecx*4 + 0x422a08], eax
inc ecx
cmp ecx, 0x100
jl 0x405d77
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405dd3
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a08]
xor eax, esi
inc ecx
dec edx
jne 0x405db5
pop edi
not eax
pop esi
ret 0xc

Function at 0xcd1e87
Capabilities:
Check for trap flag exception

Disassembly:
call fcn.00cd0425
pushfd
mov edx, dword [ebp]
jmp 0xcd1638
pushfd
mov word [esp + 4], dx
div dword [ebp + 8]
call fcn.00cd13de
mov eax, dword [ebp + 4]
jmp 0xcd135f
pushfd
pop dword [esp + 0x1c]
push dword [esp]
pushfd
lea esp, [esp + 0x24]
js 0xccff5f
pop dword [ebp]
push ebp
mov byte [esp], 0xed
lea esp, [esp + 4]
jmp 0xcd209c
Function at 0x100dd720
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.100dd79f
jae 0x100dd72c
xor ecx, ecx
call fcn.100dd79f
jae 0x100dd756
xor eax, eax
call fcn.100dd79f
jae 0x100dd767
mov al, 0x10
call fcn.100dd79f
adc al, al
jae 0x100dd748
jne 0x100dd794
stosb byte es:[edi], al
jmp 0x100dd72d
call fcn.100dd7ab
dec ecx
loop 0x100dd773
mov eax, ebp
call fcn.100dd7a9
jmp 0x100dd795
lodsb al, byte [esi]
shr eax, 1
je 0x100dd7bb
adc ecx, 2
mov ebp, eax
jmp 0x100dd795
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.100dd7a9
cmp eax, 0x7d00
jae 0x100dd793
cmp eax, 0x500
jae 0x100dd794
cmp eax, 0x7f
ja 0x100dd795
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x100dd72d
pop ebp
ret 8

Function at 0x5d8ac7
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x5d87dc
mov edx, 0xb8a1fef5
mov edx, 0xc1e89705
or ebx, edx
call fcn.005d8b0d
sub edx, edx
or edx, ebx
inc ebx
xor dword [edi], esi
sub edx, 0xd24f2989
or ebx, ebx
add edi, 2
or edx, edx
and ebx, ebx
or edx, ebx
cmp edi, ecx
jl fcn.005d8ac7
inc ebx
add edx, 1
sub ebx, 0xe8aa287a
ret
Function at 0x4015a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x5015e8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov cl, 0x64
mov al, 0x6c
push esi
mov byte [ebp - 0xe], cl
mov byte [ebp - 0xa], cl
mov byte [ebp - 0x23], cl
mov cl, 0x69
push edi
mov byte [ebp - 0xd], al
mov byte [ebp - 0xc], al
mov byte [ebp - 9], al
mov byte [ebp - 8], al
mov byte [ebp - 0x1b], al
lea eax, [ebp - 0x24]
mov dl, 0x6e
mov byte [ebp - 0x1f], cl
mov byte [ebp - 0x1d], cl
mov byte [ebp - 0x1a], cl
push eax
lea ecx, [ebp - 0x10]
mov bl, 0x74
push ecx
mov byte [ebp - 0x10], dl
mov byte [ebp - 0xf], bl
mov byte [ebp - 0xb], 0x2e
mov byte [ebp - 7], 0
mov byte [ebp - 0x24], 0x4c
mov byte [ebp - 0x22], 0x72
mov byte [ebp - 0x21], 0x49
mov byte [ebp - 0x20], dl
mov byte [ebp - 0x1e], bl
mov byte [ebp - 0x1c], 0x61
mov byte [ebp - 0x19], 0x7a
mov byte [ebp - 0x18], 0x65
mov byte [ebp - 0x17], 0x54
mov byte [ebp - 0x16], 0x68
mov byte [ebp - 0x15], 0x75
mov byte [ebp - 0x14], dl
mov byte [ebp - 0x13], 0x6b
mov byte [ebp - 0x12], 0
call fcn.0046dc30
mov ebx, eax
xor esi, esi
lea edi, [esi + ebx]
push edi
lea edx, [ebp - 0x28]
mov dword [ebp - 0x28], 0
call fcn.00403b00
mov edx, dword [ebp - 0x28]
mov cl, byte [edx]
cmp cl, 0xe8
je 0x401671
cmp cl, 0xe9
je 0x401671
add esi, eax
cmp esi, 0x1000
jb 0x401632
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045593f
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 1]
mov ecx, dword [ebp - 4]
lea eax, [eax + edi + 5]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045593f
mov esp, ebp
pop ebp
ret

Function at 0x4029e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x5015e8]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, 0x65
mov cl, 0x74
mov byte [ebp - 0xf], al
mov byte [ebp - 0xc], al
mov byte [ebp - 0x23], al
mov byte [ebp - 0x1c], al
mov byte [ebp - 0x17], al
lea eax, [ebp - 0x24]
mov byte [ebp - 0x22], cl
mov byte [ebp - 0x1f], cl
mov byte [ebp - 0x18], cl
mov dl, 0x6e
push eax
lea ecx, [ebp - 0x10]
push ecx
mov byte [ebp - 0x10], 0x6b
mov byte [ebp - 0xe], 0x72
mov byte [ebp - 0xd], dl
mov byte [ebp - 0xb], 0x6c
mov byte [ebp - 0xa], 0x33
mov byte [ebp - 9], 0x32
mov byte [ebp - 8], 0
mov byte [ebp - 0x24], 0x47
mov byte [ebp - 0x21], 0x4e
mov byte [ebp - 0x20], 0x61
mov byte [ebp - 0x1e], 0x69
mov byte [ebp - 0x1d], 0x76
mov byte [ebp - 0x1b], 0x53
mov byte [ebp - 0x1a], 0x79
mov byte [ebp - 0x19], 0x73
mov byte [ebp - 0x16], 0x6d
mov byte [ebp - 0x15], 0x49
mov byte [ebp - 0x14], dl
mov byte [ebp - 0x13], 0x66
mov byte [ebp - 0x12], 0x6f
mov byte [ebp - 0x11], 0
push eax
call fcn.005f9c2d
push eax
call fcn.006a954d
Function at 0x41f580
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
push eax
mov ebx, esi
mov dword [edi], 0
call fcn.0041f510
mov ebx, eax
test ebx, ebx
jne 0x41f5b1
mov dword [edi], 6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebx + 0x20]
mov edx, dword [esi + 0x78]
push 0
push ecx
push edx
call fcn.00457636
mov eax, dword [esi + 0x78]
mov ecx, dword [ebx + 0x28]
mov edx, dword [0x50ba30]
push eax
push 1
push ecx
push edx
call fcn.00457b66
mov ecx, dword [0x50ba34]
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [0x50ba30]
mov dword [ebp - 4], 0
mov edx, dword [ebx + 0x28]
push ecx
push edx
push eax
call fcn.004c5e60
add esp, 0x30
test eax, eax
jne 0x41f6f0
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebx + 0x24]
jne 0x41f6f0
mov eax, dword [0x50ba34]
movzx esi, word [eax]
movzx edi, word [eax + 2]
xor eax, eax
push 0x2c
push eax
lea edx, [ebp - 0x5c]
push edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
call fcn.0045a370
add esp, 0xc
push 0
push 0
lea edx, [ebp - 8]
push edx
mov eax, 0x18
mov word [ebp - 0x22], ax
push 0
mov ecx, 1
lea eax, [ebp - 0x5c]
mov word [ebp - 0x24], cx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], edi
push eax
mov ecx, 0xa
lea esi, [ebp - 0x30]
lea edi, [ebp - 0x5c]
mov dword [ebp - 0x30], 0x28
mov dword [ebp - 0x20], 0
push 0
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 8], 0
call fcn.007406bb
ret
mov dword [edi], 7
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x433850
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
or eax, 0xffffffff
xor ecx, ecx
test edx, edx
jbe 0x43387f
push ebx
push edi
jmp 0x433860
movzx edi, byte [ecx + esi]
mov ebx, eax
and ebx, 0xff
xor edi, ebx
shr eax, 8
xor eax, dword [edi*4 + 0x5039b0]
inc ecx
cmp ecx, edx
jb 0x433860
pop edi
pop ebx
not eax
ret
Function at 0x4358c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
jne 0x4358c7
xor eax, eax
ret
push esi
not eax
cmp edx, 8
jb 0x4359a4
mov esi, edx
shr esi, 3
push edi
lea esp, [esp]
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4f31e0]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x4f31e0]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x4f31e0]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4f31e0]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4f31e0]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4f31e0]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4f31e0]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4f31e0]
inc ecx
sub edx, 8
sub esi, 1
jne 0x4358e0
pop edi
test edx, edx
je 0x4359cb
jmp 0x4359b0
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x4f31e0]
inc ecx
sub edx, 1
jne 0x4359b0
not eax
pop esi
ret

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

Disassembly:
mov eax, dword [edx]
movsx ecx, cl
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4f31e0]
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x4f31e0]
mov dword [edx + 8], ecx
ret

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

Disassembly:
mov ecx, dword [esi + 8]
push ebx
mov edx, ecx
and edx, 0xfffd
or edx, 2
mov ebx, edx
xor ebx, 1
imul ebx, edx
mov edx, dword [esi]
shr ebx, 8
push edi
xor al, bl
movsx edi, al
xor edi, edx
shr edx, 8
and edi, 0xff
mov ebx, dword [edi*4 + 0x4f31e0]
xor ebx, edx
movzx edx, bl
add edx, dword [esi + 4]
mov dword [esi], ebx
imul edx, edx, 0x8088405
inc edx
mov dword [esi + 4], edx
shr edx, 0x18
xor edx, ecx
and edx, 0xff
shr ecx, 8
xor ecx, dword [edx*4 + 0x4f31e0]
pop edi
mov dword [esi + 8], ecx
pop ebx
ret
Function at 0x438600
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp byte [esi + 0x2d], 0
push edi
mov edi, dword [ebp + 0xc]
mov eax, ebx
je 0x4386eb
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x438637
cmp dword [esi + 0x40], edi
jae 0x438637
push eax
call fcn.00438971
add esp, 4
mov dword [esi + 0x3c], 0
cmp dword [esi + 0x3c], 0
jne 0x43864f
lea eax, [edi + edi]
push eax
call fcn.0043897c
add esp, 4
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edi
mov ecx, dword [esi + 0x3c]
push edi
push ebx
push ecx
call fcn.00460350
add esp, 0xc
xor ebx, ebx
test edi, edi
jbe 0x4386e8
mov edx, dword [esi + 0x3c]
mov cl, byte [ebx + edx]
mov edi, dword [esi + 0x30]
mov byte [ebp + 8], cl
movsx ecx, cl
xor ecx, edi
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4f1a00]
mov dword [ebp - 4], ecx
mov eax, dword [esi + 0x38]
shr edi, 8
xor dword [ebp - 4], edi
mov ecx, dword [ebp - 4]
mov dword [esi + 0x30], ecx
movzx ecx, cl
add ecx, dword [esi + 0x34]
mov edx, eax
imul ecx, ecx, 0x8088405
inc ecx
mov dword [esi + 0x34], ecx
shr ecx, 0x18
xor ecx, eax
shr eax, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x4f1a00]
and edx, 0xfffd
mov dword [esi + 0x38], eax
mov ecx, dword [esi + 0x3c]
or edx, 2
mov eax, edx
xor eax, 1
imul eax, edx
shr eax, 8
xor al, byte [ebp + 8]
inc ebx
mov byte [ebx + ecx - 1], al
cmp ebx, dword [ebp + 0xc]
jb 0x438667
mov edi, dword [ebp + 0xc]
mov eax, dword [esi + 0x3c]
mov edx, dword [esi + 0x20]
test edx, edx
je 0x43872a
mov ecx, dword [esi + 0x24]
lea ebx, [ecx + edi]
cmp ebx, dword [esi + 0x28]
jb 0x43870f
pop edi
mov dword [esi + 0x14], 0x30000
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
push edi
push eax
add ecx, edx
push ecx
call fcn.00460350
add esp, 0xc
add dword [esi + 0x24], edi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x43874c
push 0
lea edx, [ebp + 0xc]
push edx
push edi
push eax
push ecx
call dword [0x4ca2ec]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
mov dword [esi + 0x14], 0x1000000
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x46ec80
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
cmp dword [eax], 0x52727464
je 0x46ec95
xor eax, eax
jmp 0x46ed0a
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 0x10000
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
add eax, 0x48
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
jmp 0x46ecc2
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0x38d
jae 0x46ed05
mov edx, dword [ebp - 0x10]
imul edx, edx, 0x48
mov eax, dword [ebp - 0xc]
cmp dword [eax + edx + 0x40], 0
je 0x46ed03
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 4]
jb 0x46ecff
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 8]
jb 0x46ed03
xor eax, eax
jmp 0x46ed0a
jmp 0x46ecb9
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x46f760
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0046dfe0
add esp, 0xc
mov dword [ebp - 0x10], 0
cmp dword [0x509564], 0
jne 0x46f79d
cmp dword [0x509560], 0
je 0x46f79d
mov eax, dword [0x509560]
mov dword [0x509564], eax
cmp dword [0x509564], 0
je 0x46f81a
mov ecx, dword [0x509564]
cmp dword [ecx + 8], 0
je 0x46f81a
mov edx, dword [0x509564]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 8]
jb 0x46f81a
mov ecx, dword [0x509564]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x46f81a
mov eax, dword [0x509564]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 8]
jb 0x46f7e9
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jbe 0x46f7f0
xor eax, eax
jmp 0x46f93d
mov ecx, dword [0x509564]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x40]
mov dword [ecx + 8], eax
push 0x48
push 0xcc
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0045a370
add esp, 0xc
mov eax, dword [ebp - 0x10]
jmp 0x46f93d
mov edx, dword [0x509560]
mov dword [0x509564], edx
jmp 0x46f836
mov eax, dword [0x509564]
mov ecx, dword [eax + 4]
mov dword [0x509564], ecx
cmp dword [0x509564], 0
je 0x46f876
cmp dword [0x509564], 0
je 0x46f874
mov edx, dword [0x509564]
cmp dword [edx + 8], 0
je 0x46f874
mov eax, dword [0x509564]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 8]
jb 0x46f874
mov edx, dword [0x509564]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x46f874
jmp 0x46f7ce
jmp 0x46f828
mov ecx, dword [ebp + 8]
and ecx, 0xffff
mov edx, dword [ebp + 8]
sub edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0046e0c0
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x46f93b
mov eax, dword [ebp - 4]
mov dword [0x509564], eax
mov ecx, dword [0x509564]
mov dword [ecx], 0x52727464
mov edx, dword [0x509564]
mov dword [edx + 8], 0
mov eax, dword [0x509564]
mov ecx, dword [0x509560]
mov dword [eax + 4], ecx
mov edx, dword [0x509564]
mov dword [0x509560], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x509564]
add eax, 0x48
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], 0x38c
jmp 0x46f907
mov ecx, dword [ebp - 0x18]
sub ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 1
jle 0x46f92b
mov edx, dword [ebp - 0x18]
imul edx, edx, 0x48
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx + 0x40], ecx
mov edx, dword [ebp - 0x18]
imul edx, edx, 0x48
add edx, dword [ebp - 0x10]
mov dword [ebp - 0x14], edx
jmp 0x46f8fe
mov eax, dword [0x509564]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x46f7ce
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4709a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d0
mov eax, dword [0x5015e8]
xor eax, ebp
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp + 0x14]
add eax, 0x1b8
mov dword [ebp - 0x144], eax
push 4
push 0x1000
mov ecx, dword [ebp - 0x144]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
push ebx
call 0x67eebc
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0
jne 0x4709f4
xor eax, eax
jmp 0x470cfa
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x168], 0
push 0x40
push 0
lea ecx, [ebp - 0x1a8]
push ecx
call fcn.0045a370
add esp, 0xc
mov edx, 0x5a4d
mov word [ebp - 0x1a8], dx
mov dword [ebp - 0x16c], 0x40
lea eax, [ebp - 0x168]
push eax
push 0x40
lea ecx, [ebp - 0x1a8]
push ecx
mov edx, dword [ebp - 0xfc]
push edx
mov eax, dword [ebp + 8]
push eax
push ebx
call 0x7c019e
test eax, eax
je 0x470a61
cmp dword [ebp - 0x168], 0x40
je 0x470a68
xor eax, eax
jmp 0x470cfa
mov ecx, dword [ebp - 0xfc]
add ecx, 0x40
mov dword [ebp - 0xfc], ecx
push 0xf8
push 0
lea edx, [ebp - 0xf8]
push edx
call fcn.0045a370
add esp, 0xc
mov dword [ebp - 0xf8], 0x4550
mov eax, 0xe0
mov word [ebp - 0xe4], ax
mov ecx, 0x2000
mov word [ebp - 0xe2], cx
mov edx, 1
mov word [ebp - 0xf2], dx
mov eax, 0x10b
mov word [ebp - 0xe0], ax
lea ecx, [ebp - 0x168]
push ecx
push 0xf8
lea edx, [ebp - 0xf8]
push edx
mov eax, dword [ebp - 0xfc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call 0x79ed5a
mov ecx, dword [ebp - 0x14c]
xor ecx, ebp
call fcn.0045593f
mov esp, ebp
pop ebp
ret 0x10

Function at 0x474920
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00474690
Function at 0x474e50
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x5c
push 0
push esi
call fcn.0045a370
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov eax, 1
pop esi
ret

Function at 0x4750c0
Capabilities:
Hash data using sha1

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x60
push 0
push esi
call fcn.0045a370
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
mov eax, 1
pop esi
ret
Function at 0x4b2cd0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
cmp ecx, dword [edi + 4]
jge 0x4b2ce9
mov esi, edi
mov edi, eax
jmp 0x4b2ceb
mov esi, eax
mov eax, dword [esi + 4]
mov ebx, dword [esp + 0x10]
cmp eax, dword [ebx + 8]
jg 0x4b2cfb
mov eax, ebx
jmp 0x4b2d05
push eax
push ebx
call fcn.00475df0
add esp, 8
test eax, eax
jne 0x4b2d0d
pop edi
pop esi
pop ebx
ret
xor eax, eax
cmp dword [edi + 4], eax
jle 0x4b2d29
mov edx, dword [esi]
mov ecx, dword [edi]
mov edx, dword [edx + eax*4]
xor edx, dword [ecx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [edi + 4]
jl 0x4b2d14
cmp eax, dword [esi + 4]
jge 0x4b2d40
mov edi, edi
mov edx, dword [esi]
mov edx, dword [edx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [esi + 4]
jl 0x4b2d30
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
test eax, eax
jle 0x4b2d61
mov ecx, dword [ebx]
lea ecx, [ecx + eax*4 - 4]
mov edx, dword [ecx]
sub ecx, 4
test edx, edx
jne 0x4b2d5e
dec eax
test eax, eax
jg 0x4b2d50
mov dword [ebx + 4], eax
pop edi
pop esi
mov eax, 1
pop ebx
ret