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

Disassembly:
sub esp, 0x120
mov eax, dword [0x10091628]
xor eax, esp
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x124]
push ebx
push ebp
mov ebp, dword [esp + 0x134]
xor ebx, ebx
push esi
push edi
mov edi, dword [esp + 0x138]
xor esi, esi
push edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], edi
call fcn.10022ff0
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
jne 0x1006c99f
push 0x100
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.1004cb30
push eax
push edi
push str.schannel:_invalid_path_name_for_CA_file__s:__s
push ebp
call fcn.100250b0
push esi
call dword [0x1009125c]
add esp, 0x20
lea eax, [ebx + 0x4d]
jmp 0x1006caff
push 0
push 0x80
push 3
push 0
push 1
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
jne 0x1006c9f9
push 0x100
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.1004cb30
push eax
push edi
push str.schannel:_failed_to_open_CA_file__s:__s
push ebp
call fcn.100250b0
push 0
mov esi, 0x4d
call dword [0x1009125c]
add esp, 0x20
jmp 0x1006caf1
lea ecx, [esp + 0x24]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x1006ca39
push 0x100
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.1004cb30
push eax
push edi
push str.schannel:_failed_to_determine_size_of_CA_file__s:__s
push ebp
call fcn.100250b0
add esp, 0x1c
mov esi, 0x4d
jmp 0x1006cadd
mov edi, dword [esp + 0x24]
cmp dword [esp + 0x28], ebx
jl 0x1006ca67
jg 0x1006ca4d
cmp edi, 0x100000
jbe 0x1006ca67
push 0x100000
push str.schannel:_CA_file_exceeds_max_size_of__u_bytes
push ebp
call fcn.100250b0
add esp, 0xc
mov esi, 0x4d
jmp 0x1006cadd
lea eax, [edi + 1]
push eax
call dword [0x10091258]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x1006ca7f
lea esi, [eax + 0x1b]
jmp 0x1006cadd
test edi, edi
je 0x1006cac4
nop dword [eax]
nop word [eax + eax]
push 0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
mov eax, edi
sub eax, esi
push eax
lea eax, [esi + ebx]
push eax
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1006cb1c
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1006cb18
add esi, eax
cmp esi, edi
jb 0x1006ca90
push ebp
push dword [esp + 0x18]
mov byte [edi + ebx], 0
push edi
push ebx
push dword [esp + 0x2c]
call fcn.1006c720
add esp, 0x14
mov esi, eax
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [0x1009125c]
add esp, 4
push dword [esp + 0x20]
call fcn.100772c0
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10075d21
add esp, 0x120
ret
mov edi, esi
jmp 0x1006cac4
push 0x100
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.1004cb30
push eax
push dword [esp + 0x24]
push str.schannel:_failed_to_read_from_CA_file__s:__s
push ebp
call fcn.100250b0
add esp, 0x1c
mov esi, 0x4d
jmp 0x1006cadd
Function at 0x10071f70
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
push edi
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [0x10091258]
mov edi, eax
add esp, 4
test edi, edi
jne 0x10071f97
pop edi
pop esi
pop ecx
ret
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
push ebx
mov ebx, dword [esp + 0x1c]
mov dword [edi + 8], eax
push ebp
cmp ebx, dword [esi + 0x10]
jbe 0x10071fe2
mov eax, dword [esi]
push ecx
call eax
mov eax, dword [esi + 4]
push ebx
push dword [esp + 0x24]
push dword [edi + 4]
call eax
mov ebp, dword [edi + 8]
push dword [edi + 4]
add ebp, dword [esi + 0xc]
mov eax, dword [esi + 8]
push ebp
call eax
mov ebx, dword [esi + 0x14]
add esp, 0x18
mov ecx, dword [edi + 4]
mov dword [esp + 0x20], ebx
jmp 0x10071fe6
mov ebp, dword [esp + 0x1c]
mov eax, dword [esi]
push ecx
call eax
push dword [edi + 8]
mov eax, dword [esi]
call eax
mov eax, dword [esp + 0x28]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x10072046
mov dword [esp + 0x10], eax
mov ebx, eax
movzx eax, byte [ebp]
xor al, 0x36
mov byte [esp + 0x18], al
lea eax, [esp + 0x18]
push 1
push eax
push dword [edi + 4]
mov eax, dword [esi + 4]
call eax
movzx eax, byte [ebp]
lea ebp, [ebp + 1]
xor al, 0x5c
mov byte [esp + 0x24], al
lea eax, [esp + 0x24]
push 1
push eax
push dword [edi + 8]
mov eax, dword [esi + 4]
call eax
add esp, 0x18
sub ebx, 1
jne 0x10072005
mov ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0x10]
jae 0x10072077
nop dword [eax + eax]
mov eax, dword [esi + 4]
push 1
push 0x10088308
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
push 1
push 0x10088309
push dword [edi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x10]
jb 0x10072050
pop ebp
pop ebx
mov eax, edi
pop edi
pop esi
pop ecx
ret
Function at 0x10072080
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push dword [esp + 0x20]
call fcn.10024d50
mov esi, dword [esp + 0x1c]
mov ebx, eax
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x14], ebx
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
lea ecx, [ecx + edx*2]
add ecx, 0xc
push ecx
call dword [0x10091258]
mov edi, eax
add esp, 8
test edi, edi
je 0x100721e8
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
mov dword [edi + 8], eax
cmp ebx, dword [esi + 0x10]
jbe 0x100720fc
mov eax, dword [esi]
push ecx
call eax
mov eax, dword [esi + 4]
push ebx
push ebp
push dword [edi + 4]
call eax
mov ebp, dword [edi + 8]
push dword [edi + 4]
add ebp, dword [esi + 0xc]
mov eax, dword [esi + 8]
push ebp
call eax
mov eax, dword [esi + 0x14]
add esp, 0x18
mov ecx, dword [edi + 4]
mov dword [esp + 0x10], eax
mov eax, dword [esi]
push ecx
call eax
push dword [edi + 8]
mov eax, dword [esi]
call eax
mov eax, dword [esp + 0x18]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x10072161
mov dword [esp + 0x18], eax
mov ebx, eax
nop dword [eax + eax]
movzx eax, byte [ebp]
xor al, 0x36
mov byte [esp + 0x1c], al
lea eax, [esp + 0x1c]
push 1
push eax
push dword [edi + 4]
mov eax, dword [esi + 4]
call eax
movzx eax, byte [ebp]
lea ebp, [ebp + 1]
xor al, 0x5c
mov byte [esp + 0x28], al
lea eax, [esp + 0x28]
push 1
push eax
push dword [edi + 8]
mov eax, dword [esi + 4]
call eax
add esp, 0x18
sub ebx, 1
jne 0x10072120
mov ebx, dword [esp + 0x18]
cmp ebx, dword [esi + 0x10]
jae 0x1007218d
mov eax, dword [esi + 4]
push 1
push 0x10088308
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
push 1
push 0x10088309
push dword [edi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x10]
jb 0x10072166
push dword [esp + 0x28]
call fcn.10024d50
mov ecx, dword [edi]
push eax
push dword [esp + 0x2c]
push dword [edi + 4]
mov eax, dword [ecx + 4]
call eax
mov esi, dword [esp + 0x3c]
add esp, 0x10
mov ebx, dword [edi]
test esi, esi
jne 0x100721b8
mov esi, dword [ebx + 0xc]
add esi, dword [edi + 8]
push dword [edi + 4]
mov eax, dword [ebx + 8]
push esi
call eax
push dword [ebx + 0x14]
mov eax, dword [ebx + 4]
push esi
push dword [edi + 8]
call eax
push dword [edi + 8]
mov eax, dword [ebx + 8]
push esi
call eax
push edi
call dword [0x1009125c]
add esp, 0x20
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
pop ecx
ret
Function at 0x100722c0
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
sub esp, 0xc
lea eax, [esp + 4]
push 0xf0000040
push 0x18
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x100722e6
mov eax, 0x1b
add esp, 0xc
ret
lea eax, [esp + 8]
push eax
push 0
push 0
push 0x800c
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x10072316
push eax
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, 2
add esp, 0xc
ret
push dword [esp + 0x18]
call fcn.10024d50
add esp, 4
push 0
push eax
push dword [esp + 0x1c]
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
push 0
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
push 0
push 2
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
cmp dword [esp], 0x20
jne 0x1007236d
push 0
lea eax, [esp + 4]
push eax
push dword [esp + 0x18]
push 2
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov eax, dword [esp + 8]
test eax, eax
je 0x1007237c
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x1007238d
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
add esp, 0xc
ret
Function at 0x432000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x2b581d6d
nop
nop
nop
test eax, eax
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
mov eax, section..data
nop
nop
mov ebx, 0x42f314
nop
mov ecx, 0x64321ed0
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43206c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x401b60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x51f620]
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.00486440
mov ebx, eax
xor esi, esi
lea edi, [esi + ebx]
push edi
lea edx, [ebp - 0x28]
mov dword [ebp - 0x28], 0
call fcn.00407a30
mov edx, dword [ebp - 0x28]
mov cl, byte [edx]
cmp cl, 0xe8
je 0x401c31
cmp cl, 0xe9
je 0x401c31
add esi, eax
cmp esi, 0x1000
jb 0x401bf2
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046d9cb
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.0046d9cb
mov esp, ebp
pop ebp
ret

Function at 0x4030c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x51f620]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x529868], 0
jne 0x403184
cmp byte [0x529869], 0
mov al, 1
mov byte [0x529868], al
jne 0x4030fd
push 0x5294c0
mov byte [0x529869], al
call fcn.007d47fa
call fcn.00402780
call fcn.004031a0
mov dword [0x529864], eax
mov al, 0x73
mov cl, 0x65
mov byte [ebp - 0x1f], al
mov byte [ebp - 0x14], al
mov byte [ebp - 0x13], al
lea eax, [ebp - 0x20]
mov byte [ebp - 0xf], cl
mov byte [ebp - 0xc], cl
mov byte [ebp - 0x15], cl
mov dl, 0x6f
push eax
lea ecx, [ebp - 0x10]
push ecx
mov byte [ebp - 0x10], 0x6b
mov byte [ebp - 0xe], 0x72
mov byte [ebp - 0xd], 0x6e
mov byte [ebp - 0xb], 0x6c
mov byte [ebp - 0xa], 0x33
mov byte [ebp - 9], 0x32
mov byte [ebp - 8], 0
mov byte [ebp - 0x20], 0x49
mov byte [ebp - 0x1e], 0x57
mov byte [ebp - 0x1d], dl
mov byte [ebp - 0x1c], 0x77
mov byte [ebp - 0x1b], 0x36
mov byte [ebp - 0x1a], 0x34
mov byte [ebp - 0x19], 0x50
mov byte [ebp - 0x18], 0x72
mov byte [ebp - 0x17], dl
mov byte [ebp - 0x16], 0x63
mov byte [ebp - 0x12], 0
call fcn.0043f04c
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046d9cb
mov esp, ebp
pop ebp
ret
Function at 0x4031a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x51f620]
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
call fcn.004147e0

Function at 0x40e84c
Capabilities:
Encode data using base64
Parse pe header

Disassembly:
push ebp
shrd ax, ax, 0xb7
mov ebp, esp
push 0xffffffffffffffff
cmovle ax, bx
nop
btc eax, 0xf9
push 0x4e38ab
mov eax, dword fs:[0]
test esi, 0xd4b3a0f
push eax
xadd ah, al
sbb eax, edi
cmp sp, 0x7fa4
sub esp, 0x2c4
stc
jmp fcn.007738bb
Function at 0x42c730
Capabilities:
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
push eax
push esi
mov dword [edi], 0
call fcn.0042c6c0
mov ebx, eax
test ebx, ebx
jne 0x42c763
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.004709ad
mov eax, dword [esi + 0x78]
mov ecx, dword [ebx + 0x28]
mov edx, dword [0x529924]
push eax
push 1
push ecx
push edx
call fcn.00470edd
mov ecx, dword [0x529b30]
push 0
lea eax, [esp + 0x2c]
push eax
mov eax, dword [0x529924]
mov dword [esp + 0x30], 0
mov edx, dword [ebx + 0x28]
push ecx
push edx
push eax
call fcn.004e2020
add esp, 0x30
test eax, eax
jne 0x42c8ba
mov ecx, dword [esp + 0xc]
cmp ecx, dword [ebx + 0x24]
jne 0x42c8ba
mov eax, dword [0x529b30]
movzx esi, word [eax]
movzx edi, word [eax + 2]
xor eax, eax
push 0x2c
push eax
lea edx, [esp + 0x44]
push edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
call fcn.004737c0
add esp, 0xc
push 0
push 0
lea edx, [esp + 0x18]
push edx
mov eax, 0x18
mov word [esp + 0x2e], ax
push 0
mov ecx, 1
lea eax, [esp + 0x4c]
mov word [esp + 0x30], cx
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edi
push eax
mov ecx, 0xa
lea esi, [esp + 0x28]
lea edi, [esp + 0x50]
mov dword [esp + 0x28], 0x28
mov dword [esp + 0x38], 0
push 0
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x28], 0
push eax
call fcn.006a82ac
mov esi, eax
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x42c882
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebx + 0x24]
mov edx, dword [0x529b30]
sub ecx, 4
add edx, 4
push eax
call fcn.00446a70
mov edi, dword [ebp + 8]
add esp, 4
mov ecx, edi
call fcn.004658b6
push esi
mov ecx, edi
call fcn.0046588a
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [edi], 7
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x44fec0
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 0x44ffab
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x44fef7
cmp dword [esi + 0x40], edi
jae 0x44fef7
push eax
call fcn.00450231
add esp, 4
mov dword [esi + 0x3c], 0
cmp dword [esi + 0x3c], 0
jne 0x44ff0f
lea eax, [edi + edi]
push eax
call fcn.0045023c
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.00475820
add esp, 0xc
xor ebx, ebx
test edi, edi
jbe 0x44ffa8
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 + 0x50f670]
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 + 0x50f670]
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 0x44ff27
mov edi, dword [ebp + 0xc]
mov eax, dword [esi + 0x3c]
mov edx, dword [esi + 0x20]
test edx, edx
je 0x44ffea
mov ecx, dword [esi + 0x24]
lea ebx, [ecx + edi]
cmp ebx, dword [esi + 0x28]
jb 0x44ffcf
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.00475820
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 0x45000c
push 0
lea edx, [ebp + 0xc]
push edx
push edi
push eax
push ecx
call 0x6e3249
ret
pop edi
mov dword [esi + 0x14], 0x1000000
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4dcc30
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ecx, dword [esp + 0x1c]
cmp ecx, 0
je 0x4dcded
call fcn.004dcc46
Function at 0x536c80
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
sub esp, 0x4c
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x536d8c
test eax, eax
je 0x536d8c
push esi
push edi
mov ecx, 0x10
mov esi, 0x551ff0
lea edi, [ebp - 0x4c]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x14]
mov esi, dword [esi]
add esi, eax
mov dword [ebp - 8], esi
xor esi, esi
mov dword [ebp - 4], 0
mov ecx, eax
test edx, edx
jbe 0x536d73
lea edi, [eax + 4]
jmp 0x536cd7
mov ebx, dword [ebp + 8]
movzx eax, byte [esi + ebx]
inc esi
shl eax, 0x10
cmp esi, edx
jne 0x536cec
mov dword [ebp - 4], 2
jmp 0x536d0d
movzx ebx, byte [esi + ebx]
shl ebx, 8
inc esi
or eax, ebx
cmp esi, edx
jne 0x536d03
mov dword [ebp - 4], 1
jmp 0x536d0d
mov edx, dword [ebp + 8]
movzx edx, byte [esi + edx]
or eax, edx
inc esi
mov edx, eax
and edx, 0x3f
cmp edi, dword [ebp - 8]
ja 0x536d83
mov ebx, eax
shr ebx, 0x12
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x4c]
mov byte [ecx], bl
mov ebx, eax
shr ebx, 0xc
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x4c]
inc ecx
inc edi
mov byte [ecx], bl
mov ebx, dword [ebp - 4]
inc ecx
inc edi
cmp ebx, 1
jbe 0x536d46
mov byte [ecx], 0x3d
jmp 0x536d52
shr eax, 6
and eax, 0x3f
mov al, byte [ebp + eax - 0x4c]
mov byte [ecx], al
inc ecx
inc edi
test ebx, ebx
jbe 0x536d5d
mov byte [ecx], 0x3d
jmp 0x536d63
mov dl, byte [ebp + edx - 0x4c]
mov byte [ecx], dl
mov edx, dword [ebp + 0xc]
inc ecx
inc edi
cmp esi, edx
jb 0x536cd4
mov eax, dword [ebp + 0x10]
sub ecx, eax
mov eax, dword [ebp + 0x14]
pop edi
pop esi
mov dword [eax], ecx
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x58d7fc
Capabilities:
Parse pe header

Disassembly:
mov byte [ebp - 0x27], bl
jmp 0x62ebb9
mov byte [ebp - 0x25], 0x6e
jmp 0x5de6d1
push ebp
not eax
xadd ax, ax
movsx eax, cx
mov ebp, esp
dec al
not al
movzx ax, ch
lea esp, [esp - 0x16c]
btr eax, ecx
bt ax, 0x69
bts ax, si
mov eax, dword [0x51f620]
clc
jmp 0x67660f
mov byte [ebp - 0x24], bl
jmp 0x7cc075
mov byte [ebp - 0x26], 0x72
jmp 0x586f79
mov dword [ebp - 4], eax
jmp 0x836b66
xor eax, ebp
jmp 0x643a98
push eax
jmp 0x18be270
push ecx
bswap si
mov esi, eax
jmp 0x825871
mov byte [ebp - 0x12], 0x64
mov byte [ebp - 0x11], 0x6c
jmp 0x1898b63
push edi
jmp 0x83588e
mov byte [ebp - 0x1e], 0x6c
jmp 0x1864bd3
mov byte [ebp - 0x20], 0x2e
mov byte [ebp - 0x1f], 0x64
jmp 0x71ed3a
mov byte [ebp - 0x22], 0x33
jmp 0x82c6b4
mov byte [ebp - 0xf], 0
jmp 0x82321d
mov byte [ebp - 0x14], 0x6c
jmp 0x182fd10
mov byte [ebp - 0x23], 0x6c
jmp 0x7419f4
mov byte [ebp - 0x16], 0x64
mov byte [ebp - 0x15], 0x6c
jmp 0x788d89
call edi
lea ecx, [ebp - 0x28]
mov bl, 0x65
jmp 0x6dc5ce
mov byte [ebp - 0x28], 0x6b
jmp 0x5626d7
mov byte [ebp - 0x21], 0x32
jmp 0x7248d3
call fcn.007a97ad
lea eax, [ebp - 0x18]
jmp 0x6d44cb
push ebx
push esi
jmp 0x718d90
mov byte [ebp - 0x13], 0x2e
jmp 0x71870c
mov byte [ebp - 0x1d], 0x6c
jmp loc.00449e39
mov byte [ebp - 0x10], 0x6c
jmp 0x7857ce
mov byte [ebp - 0x18], 0x6e
mov byte [ebp - 0x17], 0x74
jmp 0x80b384

Function at 0x5e9b9e
Capabilities:
Execute anti-debugging instructions
Parse pe header

Disassembly:
push 0xa37b86fe
call fcn.005b0de8
dec ecx
and ebx, ebp
inc cx
mov esp, 0x634d7716
loopne 0x5e9bfd
mov dword [edi + 8], ebx
dec esp
arpl bx, sp
jmp loc.00414a09
cwd
mov ecx, dword [esp + 0x5dc]
bt eax, 0x4a
sub ecx, dword [esp + 0x5d8]
mov eax, 0x92492493
rcl dl, cl
or dx, 0x66e8
btc dx, 0x3b
imul ecx
sar ebx, 0x21
sar bh, cl
xor bh, ah
lea edx, [edx + ecx]
sar edx, 4
mov ebx, edx
shr ebx, 0x1f
clc
test bx, 0x498
lea ebx, [ebx + edx]
cmc
cmp ah, 0xa0
stc
sub eax, eax
cmp ebx, edi
jmp loc.0043b110
Function at 0x6d9664
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
movzx eax, ax
mov ax, 0x7b6e
add ecx, edi
sub esp, 0x4ac
bswap ecx
add eax, esi
cmc
mov eax, dword [0x51f620]
shl cl, cl
clc
bsf ecx, ebp
xor eax, ebp
mov dword [ebp - 4], eax
and ecx, ecx
shrd ecx, esi, 0x72
xor eax, eax
push 0x3fe
xchg ch, cl
push eax
lea ecx, [ebp - 0x49e]
jmp loc.00409952
Function at 0x7598b0
Capabilities:
Execute anti-debugging instructions
Resolve function by parsing pe exports

Disassembly:
push 0xd
push 0x4d
movzx eax, di
nop
jmp 0x703c0e
lea eax, [esp + 0x2e4]
push eax
jmp 0x189d9f8
jbe 0x1889da1
mov edx, dword [esp + 0x14]
bswap ax
push edx
cbw
bswap ecx
lea eax, [esp + 0xc10]
xchg ecx, edx
movsx edx, si
push eax
movsx edx, bx
movzx dx, cl
lea ecx, [esp + 0xd1c]
push ecx
movsx ax, ah
mov dx, 0x215c
lea edx, [esp + 0x950]
movzx eax, di
cmovbe ax, bx
jmp 0x77c90d
push 0xa8a766e9
call fcn.006014ca
call edi
cmp byte [esp + 0x13], bl
jmp 0x816e80
push edx
bswap ax
movsx eax, bx
jmp 0x6c043f
jne 0x1889da1
cmp eax, ebx
jmp 0x72a216

Function at 0x760975
Capabilities:
Parse pe header

Disassembly:
mov byte [ebp - 0xb3], 0x91
mov byte [ebp - 0xb2], 0x75
jmp 0x7853f5
mov byte [ebp - 0xa7], 0x5a
mov byte [ebp - 0xa6], 0xb7
jmp loc.00449457
push 0xa8a766e9
call fcn.006014ca
mov byte [ebp - 0xb5], 0x4e
jmp 0x7ba4a9
mov byte [ebp - 0xb1], 0x79
jmp 0x18cafa2
mov byte [ebp - 0xaf], 0xde
mov byte [ebp - 0xae], 0x63
jmp 0x189d398
mov byte [ebp - 0xa9], 0xcb
mov byte [ebp - 0xa8], 0x4c
jmp 0x75bc93
mov byte [ebp - 0xb4], 0x4a
jmp 0x575bba
mov byte [ebp - 0xac], 0x4e
mov byte [ebp - 0xab], 0x1c
mov byte [ebp - 0xaa], 9
jmp 0x79f77e
mov byte [ebp - 0xad], 0xfc
jmp 0x7ccf35
mov byte [ebp - 0xb0], 0x4f
jmp 0x7946cd