joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403420
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bad3b
mov eax, dword fs:[0]
push eax
sub esp, 0xc08
mov eax, dword [0x4fc060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x5058f4]
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.0043c360
push 0x400
lea ecx, [ebp - 0xc10]
push 0
push ecx
call fcn.0043c360
mov edx, dword [0x4fc020]
mov eax, dword [edx + 0xc]
add esp, 0x18
mov ecx, 0x4fc020
call eax
add eax, 0x10
mov dword [ebp - 0xc14], eax
mov ecx, str.TYPE_I_r_n
mov dword [ebp - 4], 0
test ecx, 0xffff0000
jne 0x4034cc
mov edx, ecx
movzx edi, dx
push edi
call fcn.00401080
add esp, 4
test eax, eax
je 0x4034e1
push eax
mov eax, edi
lea edi, [ebp - 0xc14]
call fcn.00405650
jmp 0x4034e1
push str.TYPE_I_r_n
mov eax, 8
lea ebx, [ebp - 0xc14]
call fcn.004054e0
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [ebp - 0xc14]
push ebx
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.0043a0c3
lea eax, [ebp - 0x410]
add esp, 0xc
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403510
sub eax, edx
cmp dword [ebp + 0xc], 1
mov edi, eax
jne 0x403565
push esi
call fcn.00412820
add esp, 4
cmp eax, 1
jne 0x403540
push edi
lea ecx, [ebp - 0x410]
push ecx
push esi
call fcn.00410a00
add esp, 0xc
push esi
call fcn.00412820
add esp, 4
cmp eax, 1
jne 0x4035b5
push 0x3ff
lea eax, [ebp - 0x810]
push eax
push esi
call fcn.00410960
add esp, 0xc
jmp 0x40358e
mov esi, dword [ebp + 8]
push 0
push edi
lea edx, [ebp - 0x410]
push edx
push esi
call dword [sym.imp.WS2_32.dll_send]
push 0
push 0x3ff
lea ecx, [ebp - 0x810]
push ecx
push esi
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
js 0x4035b5
lea edx, [ebp - 0x810]
push edx
mov byte [ebp + eax - 0x810], 0
lea eax, [ebp - 0xc10]
push 0x400
push eax
call fcn.0043a0c3
add esp, 0xc
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4035d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00439f9b
mov esp, ebp
pop ebp
ret
Function at 0x4042e0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bad3b
mov eax, dword fs:[0]
push eax
sub esp, 0xc08
mov eax, dword [0x4fc060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x5058f4]
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.0043c360
push 0x400
lea ecx, [ebp - 0xc10]
push 0
push ecx
call fcn.0043c360
mov edx, dword [0x4fc020]
mov eax, dword [edx + 0xc]
add esp, 0x18
mov ecx, 0x4fc020
call eax
add eax, 0x10
mov dword [ebp - 0xc14], eax
mov ecx, str.quit_r_n
mov dword [ebp - 4], 0
test ecx, 0xffff0000
jne 0x40438c
mov edx, ecx
movzx edi, dx
push edi
call fcn.00401080
add esp, 4
test eax, eax
je 0x4043a1
push eax
mov eax, edi
lea edi, [ebp - 0xc14]
call fcn.00405650
jmp 0x4043a1
push str.quit_r_n
mov eax, 6
lea ebx, [ebp - 0xc14]
call fcn.004054e0
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [ebp - 0xc14]
push ebx
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.0043a0c3
lea eax, [ebp - 0x410]
add esp, 0xc
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4043d0
sub eax, edx
cmp dword [ebp + 0xc], 1
mov edi, eax
jne 0x404425
push esi
call fcn.00412820
add esp, 4
cmp eax, 1
jne 0x404400
push edi
lea ecx, [ebp - 0x410]
push ecx
push esi
call fcn.00410a00
add esp, 0xc
push esi
call fcn.00412820
add esp, 4
cmp eax, 1
jne 0x404475
push 0x3ff
lea eax, [ebp - 0x810]
push eax
push esi
call fcn.00410960
add esp, 0xc
jmp 0x40444e
mov esi, dword [ebp + 8]
push 0
push edi
lea edx, [ebp - 0x410]
push edx
push esi
call dword [sym.imp.WS2_32.dll_send]
push 0
push 0x3ff
lea ecx, [ebp - 0x810]
push ecx
push esi
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
js 0x404475
lea edx, [ebp - 0x810]
push edx
mov byte [ebp + eax - 0x810], 0
lea eax, [ebp - 0xc10]
push 0x400
push eax
call fcn.0043a0c3
add esp, 0xc
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404491
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00439f9b
mov esp, ebp
pop ebp
ret

Function at 0x4044c0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x4fc060]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 1
jne 0x4044fe
push esi
call fcn.00412820
add esp, 4
cmp eax, 1
jne 0x404537
push 0x3ff
lea eax, [ebp - 0x404]
push eax
push esi
call fcn.00410960
add esp, 0xc
jmp 0x404516
mov edx, dword [ebp + 8]
push 0
push 0x3ff
lea ecx, [ebp - 0x404]
push ecx
push edx
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
js 0x404537
mov byte [ebp + eax - 0x404], 0
lea eax, [ebp - 0x404]
push eax
push 0x400
push edi
call fcn.0043a0c3
add esp, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00439f9b
mov esp, ebp
pop ebp
ret
Function at 0x4074b0
Capabilities:
Access the windows event log
Write file on windows

Disassembly:
mov eax, 0x108
call fcn.0043b180
mov eax, dword [0x4fc060]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
test esi, esi
je 0x407537
push esi
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x407537
mov ecx, dword [esp + 0x110]
lea eax, [esp + 0x114]
push eax
push ecx
lea edx, [esp + 0x10]
push 0x100
push edx
call fcn.0043b5f8
add esp, 0x10
test eax, eax
jns 0x40750d
mov eax, 0x100
push 0
lea ecx, [esp + 8]
push ecx
push eax
lea edx, [esp + 0x14]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00439f9b
add esp, 0x108
ret
mov ecx, dword [esp + 0x110]
lea eax, [esp + 0x114]
push eax
push ecx
lea edx, [esp + 0x10]
push 0xff
push edx
call fcn.0043b5f8
add esp, 0x10
mov byte [esp + 0x107], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x4075c9
call fcn.00407370
test eax, eax
jle 0x4075c9
push str.OpenSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov esi, eax
test esi, esi
je 0x4075dd
push 0
lea ecx, [esp + 8]
push ecx
push 0
push 1
push 0
push 0
push 0
push 1
lea eax, [esp + 0x28]
push esi
mov dword [esp + 0x28], eax
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00439f9b
add esp, 0x108
ret
push 0x10
push str.OpenSSL:_FATAL
lea edx, [esp + 0x10]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x108]
pop esi
xor ecx, esp
call fcn.00439f9b
add esp, 0x108
ret

Function at 0x407630
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0x10]
xor cl, cl
test edi, edi
je 0x407656
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, dword [esp + 0x14]
sub esi, eax
mov dl, byte [esi + eax]
mov bl, byte [eax]
xor dl, bl
or cl, dl
inc eax
dec edi
jne 0x407647
pop esi
pop ebx
movzx eax, cl
pop edi
ret

Function at 0x407fc0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
xor esi, esi
test edx, edx
je 0x408004
mov al, byte [edx]
test al, al
je 0x408004
push edi
mov edi, 0x100
movsx eax, al
or eax, edi
mov ecx, eax
shr ecx, 2
xor ecx, eax
imul eax, eax
and ecx, 0xf
add edi, 0x100
rol esi, cl
inc edx
xor esi, eax
mov al, byte [edx]
test al, al
jne 0x407fd7
mov eax, esi
shr eax, 0x10
pop edi
xor eax, esi
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x40ac00
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
push edi
push esi
call fcn.0040a580
mov edi, eax
add esp, 4
test edi, edi
jne 0x40aca6
push 0xaf
push str..crypto_bio_bss_file.c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 1
push 2
call fcn.00406850
push 0x4bcbf0
push esi
push 0x4bcbec
push ebx
push str.fopen_
push 5
call fcn.00406de0
add esp, 0x2c
call fcn.0043cc9d
cmp dword [eax], 2
je 0x40ac85
call fcn.0043cc9d
cmp dword [eax], 6
je 0x40ac85
push 0xb8
push str..crypto_bio_bss_file.c
push 2
push 0x6d
push 0x20
call fcn.00406850
add esp, 0x14
pop edi
pop esi
xor eax, eax
pop ebx
ret
push 0xb6
push str..crypto_bio_bss_file.c
push 0x80
push 0x6d
push 0x20
call fcn.00406850
add esp, 0x14
pop edi
pop esi
xor eax, eax
pop ebx
ret
push 0x4f92a8
call fcn.0040a4f0
mov esi, eax
add esp, 4
test esi, esi
jne 0x40acc8
push edi
call fcn.0043a8aa
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
ret
push 0
push esi
call fcn.00409e40
push edi
push 1
push 0x6a
push esi
call fcn.0040a230
add esp, 0x18
pop edi
mov eax, esi
pop esi
pop ebx
ret
Function at 0x42b6e0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xc
call fcn.0043b180
push ebp
push esi
mov esi, dword [esp + 0x54]
push edi
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
xor ebp, ebp
push ebp
xor edi, edi
call fcn.004141f0
add esp, 0xc
test eax, eax
je 0x42b73a
lea esp, [esp]
mov edx, dword [esp + 0xc]
shl edx, 0xa
test dword [esp + 0x1c], edx
je 0x42b71e
inc edi
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
inc ebp
push ebp
call fcn.004141f0
add esp, 0xc
test eax, eax
jne 0x42b710
test edi, edi
jne 0x42b75e
push 0x109
push str.._ssl_t1_enc.c
push 0x44
push 0x11c
push 0x14
call fcn.00406850
add esp, 0x14
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0xc
ret
mov eax, dword [esp + 0x4c]
cdq
idiv edi
push ebx
mov ebx, eax
cmp edi, 1
jne 0x42b775
mov dword [esp + 0x50], 0
mov eax, dword [esp + 0x54]
mov edi, dword [esp + 0x4c]
push esi
push 0
push eax
call fcn.0043c360
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
push 0
mov dword [esp + 0x30], 0
call fcn.004141f0
add esp, 0x18
test eax, eax
je 0x42b854
lea ebx, [ebx]
mov eax, dword [esp + 0x10]
shl eax, 0xa
test dword [esp + 0x20], eax
je 0x42b830
mov eax, dword [esp + 0x14]
test eax, eax
je 0x42b861
mov ebp, dword [esp + 0x58]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
push esi
push ebp
push edx
mov edx, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x54]
and edx, 1
add edx, ebx
push edx
mov edx, dword [esp + 0x60]
push edi
push eax
call fcn.0042b2d0
add esp, 0x34
test eax, eax
je 0x42b87f
add edi, ebx
test esi, esi
jle 0x42b830
mov eax, dword [esp + 0x54]
mov ecx, ebp
sub ecx, eax
mov ebp, esi
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
dec ebp
jne 0x42b827
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
inc eax
push edx
push eax
mov dword [esp + 0x24], eax
call fcn.004141f0
add esp, 0xc
test eax, eax
jne 0x42b7b0
pop ebx
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0xc
ret
push 0x114
push str.._ssl_t1_enc.c
push 0x146
push 0x11c
push 0x14
call fcn.00406850
add esp, 0x14
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0xc
ret
Function at 0x42da40
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.0043b180
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 8]
mov ecx, dword [eax + 0x64]
inc ebp
test byte [ecx + 0x38], 1
je 0x42da88
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi + 4]
lea edx, [ecx + ebp]
cmp edx, eax
jbe 0x42da7b
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret
add dword [esi + 0xc], ecx
add dword [esi + 0x10], ecx
sub eax, ecx
mov dword [esi + 4], eax
jmp 0x42da93
mov eax, dword [esp + 0x18]
cmp ebp, dword [eax + 4]
ja 0x42da74
mov esi, eax
test dword [edi + 0x100], 0x200
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
push ebx
movzx ebx, byte [ecx + edx - 1]
je 0x42dae6
cmp dword [edi + 0x88], 0
jne 0x42dae6
mov eax, dword [edi + 0x58]
push 8
add eax, 8
push 0x4d20d0
push eax
call fcn.00407630
add esp, 0xc
test eax, eax
jne 0x42dad9
test bl, 1
jne 0x42dad9
mov eax, dword [edi + 0x58]
or dword [eax], 8
mov ecx, dword [edi + 0x58]
test byte [ecx], 8
je 0x42dae6
test ebx, ebx
je 0x42dae6
dec ebx
mov edx, dword [edi + 0x80]
mov eax, dword [edx]
push eax
call fcn.004108e0
add esp, 4
test eax, 0x200000
je 0x42db11
or ecx, 0xffffffff
sub ecx, ebx
add dword [esi + 4], ecx
pop ebx
pop edi
pop esi
mov eax, 1
pop ebp
pop ecx
ret
mov edi, dword [esi + 4]
lea eax, [ebx + ebp]
mov esi, edi
sub esi, eax
xor esi, eax
mov edx, edi
xor edx, eax
or esi, edx
xor esi, edi
shr esi, 0x1f
mov ecx, 0xff
lea eax, [edi - 1]
dec esi
mov dword [esp + 0x18], ecx
cmp eax, ecx
jae 0x42db3f
mov ecx, eax
mov dword [esp + 0x18], eax
xor ebp, ebp
test ecx, ecx
je 0x42db97
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0xc]
mov ecx, ebx
shr ecx, 0x1f
lea eax, [edi + edx - 1]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], eax
lea ecx, [ecx]
mov edx, ebx
sub edx, ebp
shr edx, 0x1f
mov eax, ebp
shr eax, 0x1f
xor dl, al
xor cl, al
or dl, cl
mov ecx, dword [esp + 0x10]
xor dl, cl
dec dl
movzx eax, dl
mov edx, dword [esp + 0x24]
movzx edx, byte [edx]
dec dword [esp + 0x24]
xor edx, ebx
and eax, edx
not eax
inc ebp
and esi, eax
cmp ebp, dword [esp + 0x18]
jb 0x42db60
mov edx, dword [esp + 0x1c]
not esi
and esi, 0xff
lea eax, [esi - 1]
shr eax, 0x1f
not esi
shr esi, 0x1f
and eax, esi
neg eax
lea ecx, [ebx + 1]
and ecx, eax
sub edi, ecx
shl ecx, 8
or dword [edx], ecx
mov dword [edx + 4], edi
mov dword [esp + 0x24], eax
not eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
pop ebx
pop edi
and eax, 1
pop esi
or eax, ecx
pop ebp
pop ecx
ret
Function at 0x42dbe0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xa4
call fcn.0043b180
mov eax, dword [0x4fc060]
xor eax, esp
mov dword [esp + 0xa0], eax
mov ecx, dword [esp + 0xac]
mov eax, dword [esp + 0xa8]
push ebx
mov ebx, dword [esp + 0xb8]
push ebp
push esi
mov esi, dword [ecx + 4]
push edi
mov edi, dword [esp + 0xc0]
mov dword [esp + 0x1c], esi
sub esi, edi
xor ebp, ebp
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ebp
cmp ebx, edi
jae 0x42dc4a
push str.orig_len___md_size
push 0xf8
push str.._ssl_s3_cbc.c
call fcn.00407600
add esp, 0xc
cmp edi, 0x40
jbe 0x42dc66
push str.md_size___EVP_MAX_MD_SIZE
push 0xf9
push str.._ssl_s3_cbc.c
call fcn.00407600
add esp, 0xc
lea ecx, [esp + 0x30]
neg ecx
and ecx, 0x3f
lea edx, [edi + 0x100]
lea ecx, [esp + ecx + 0x30]
mov dword [esp + 0x20], ecx
cmp ebx, edx
jbe 0x42dc90
mov eax, ebx
sub eax, edi
sub eax, 0x100
mov dword [esp + 0x14], eax
mov ebp, eax
mov eax, edi
and eax, 0xfffffffe
shl eax, 0x17
sub eax, ebp
add eax, esi
xor edx, edx
div edi
push edi
push 0
push ecx
mov ebx, edx
mov dword [esp + 0x30], ebx
call fcn.0043c360
mov ecx, dword [esp + 0x20]
add esp, 0xc
xor esi, esi
cmp ecx, dword [esp + 0xc4]
jae 0x42dd70
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, ebx
shr eax, 0x1f
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xbc]
mov eax, dword [eax + 0xc]
shr edx, 0x1f
sub ecx, ebx
sub ebx, dword [esp + 0x18]
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], eax
jmp 0x42dd08
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
add ebx, ecx
shr ebx, 0x1f
xor bl, dl
mov eax, ebp
shr eax, 0x1f
xor dl, al
or bl, dl
mov dl, byte [esp + 0x2c]
xor bl, al
dec bl
mov byte [esp + 0x13], bl
mov ebx, ecx
shr ebx, 0x1f
xor bl, dl
xor dl, al
or bl, dl
mov edx, dword [esp + 0x18]
mov dl, byte [edx + ebp]
xor al, bl
dec al
not al
and al, dl
and al, byte [esp + 0x13]
mov edx, dword [esp + 0x20]
or byte [esi + edx], al
inc esi
mov eax, esi
sub eax, edi
xor eax, edi
mov ebx, esi
xor ebx, edi
or eax, ebx
xor eax, esi
shr eax, 0x1f
neg eax
inc ebp
and esi, eax
inc ecx
cmp ebp, dword [esp + 0xc4]
jb 0x42dd00
mov ebx, dword [esp + 0x24]
jmp 0x42dd74
mov edx, dword [esp + 0x20]
xor esi, esi
test edi, edi
je 0x42ddad
lea ebx, [ebx]
mov ecx, ebx
xor ecx, 0x20
mov al, byte [ecx + edx]
mov cl, byte [ebx + edx]
mov eax, dword [esp + 0x28]
mov byte [eax + esi], cl
inc ebx
mov ecx, ebx
sub ecx, edi
xor ecx, edi
mov eax, ebx
xor eax, edi
or ecx, eax
xor ecx, ebx
shr ecx, 0x1f
neg ecx
inc esi
and ebx, ecx
cmp esi, edi
jb 0x42dd80
mov ecx, dword [esp + 0xb0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00439f9b
add esp, 0xa4
ret
Function at 0x439f9b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4fc060]
jne 0x439fa5
repz ret
jmp fcn.0043e035

Function at 0x447769
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4fc060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0043ed62
and dword [ebp - 0x14], 0
cmp dword [0x505110], 0
mov dword [ebp - 0x18], eax
jne 0x44781c
push 0x4d50a4
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4478c4
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4478c4
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x505110], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x505114], eax
call edi
push eax
call esi
push 0x4d5058
push ebx
mov dword [0x505118], eax
call edi
push eax
call esi
mov dword [0x505120], eax
test eax, eax
je 0x44781c
push 0x4d5040
push ebx
call edi
push eax
call esi
mov dword [0x50511c], eax
mov eax, dword [0x50511c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x447875
cmp dword [0x505120], ecx
je 0x447875
push eax
call esi
push dword [0x505120]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x447875
test ebx, ebx
je 0x447875
call edi
test eax, eax
je 0x44786c
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x44786c
test byte [ebp - 8], 1
jne 0x447875
or dword [ebp + 0x10], 0x200000
jmp 0x4478a8
mov eax, dword [0x505114]
cmp eax, dword [ebp - 0x18]
je 0x4478a8
push eax
call esi
test eax, eax
je 0x4478a8
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4478a8
mov eax, dword [0x505118]
cmp eax, dword [ebp - 0x18]
je 0x4478a8
push eax
call esi
test eax, eax
je 0x4478a8
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x505110]
call esi
test eax, eax
je 0x4478c4
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4478c6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00439f9b
leave
ret
Function at 0x45d950
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x88
call fcn.0043b180
mov eax, dword [0x4fc060]
xor eax, esp
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x9c]
push ebx
mov ebx, dword [esp + 0x9c]
push esi
mov esi, dword [esp + 0x94]
mov dword [esp + 8], eax
xor eax, eax
push edi
mov edi, dword [esp + 0x9c]
test ebx, ebx
je 0x45d9c5
cmp ebx, dword [esi]
je 0x45d9bc
test edi, edi
je 0x45d9a2
cmp dword [esp + 0xa0], eax
jge 0x45d9bc
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.00439f9b
add esp, 0x88
ret
mov eax, 1
mov dword [esi], ebx
jmp 0x45d9cb
mov ebx, dword [esi]
test ebx, ebx
je 0x45d9a2
push ebp
test edi, edi
je 0x45da9d
push ebx
call fcn.00455880
mov ebp, eax
add esp, 4
cmp ebp, 0x80
jle 0x45d9fb
push str.j____int_sizeof_ctx__key_
push 0x74
push str..cryptohmachmac.c
call fcn.00407600
add esp, 0xc
mov eax, dword [esp + 0xa4]
cmp ebp, eax
jge 0x45da55
mov ecx, dword [esp + 0x10]
push ecx
lea ebp, [esi + 4]
push ebx
push ebp
call fcn.00454a10
add esp, 0xc
test eax, eax
je 0x45db4a
mov edx, dword [esp + 0xa4]
push edx
push edi
push ebp
call fcn.00454bc0
add esp, 0xc
test eax, eax
je 0x45db4a
lea edi, [esi + 0x4c]
push edi
lea eax, [esi + 0x50]
push eax
push ebp
call fcn.00454bd0
add esp, 0xc
test eax, eax
je 0x45db4a
jmp 0x45da7a
cmp eax, 0x80
ja 0x45db4a
push eax
lea ecx, [esi + 0x50]
push edi
push ecx
call fcn.0043bff0
mov edx, dword [esp + 0xb0]
lea edi, [esi + 0x4c]
add esp, 0xc
mov dword [edi], edx
mov edi, dword [edi]
cmp edi, 0x80
je 0x45daa5
mov eax, 0x80
sub eax, edi
push eax
lea ecx, [edi + esi + 0x50]
push 0
push ecx
call fcn.0043c360
add esp, 0xc
jmp 0x45daa5
test eax, eax
je 0x45db36
xor eax, eax
jmp 0x45dab0
mov dl, byte [esi + eax + 0x50]
xor dl, 0x36
mov byte [esp + eax + 0x14], dl
inc eax
cmp eax, 0x80
jl 0x45dab0
mov eax, dword [esp + 0x10]
push eax
lea ebp, [esi + 0x1c]
push ebx
push ebp
call fcn.00454a10
add esp, 0xc
test eax, eax
je 0x45db4a
push ebx
call fcn.00455880
push eax
lea ecx, [esp + 0x1c]
push ecx
push ebp
call fcn.00454bc0
add esp, 0x10
test eax, eax
je 0x45db4a
xor eax, eax
mov dl, byte [esi + eax + 0x50]
xor dl, 0x5c
mov byte [esp + eax + 0x14], dl
inc eax
cmp eax, 0x80
jl 0x45daf4
mov eax, dword [esp + 0x10]
push eax
lea ebp, [esi + 0x34]
push ebx
push ebp
call fcn.00454a10
add esp, 0xc
test eax, eax
je 0x45db4a
push ebx
call fcn.00455880
push eax
lea ecx, [esp + 0x1c]
push ecx
push ebp
call fcn.00454bc0
add esp, 0x10
test eax, eax
je 0x45db4a
lea edx, [esi + 0x1c]
push edx
add esi, 4
push esi
call fcn.00454d60
add esp, 8
test eax, eax
jne 0x45db4e
xor eax, eax
jmp 0x45db53
mov eax, 1
mov ecx, dword [esp + 0x94]
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00439f9b
add esp, 0x88
ret
Function at 0x462440
Capabilities:
Hash data using sha224

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0xc1059ed8
mov dword [eax + 4], 0xcbbb9d5d
mov dword [eax + 8], 0x367cd507
mov dword [eax + 0xc], 0x629a292a
mov dword [eax + 0x10], 0x3070dd17
mov dword [eax + 0x14], 0x9159015a
mov dword [eax + 0x18], 0xf70e5939
mov dword [eax + 0x1c], 0x152fecd8
mov dword [eax + 0x20], 0xffc00b31
mov dword [eax + 0x24], 0x67332667
mov dword [eax + 0x28], 0x68581511
mov dword [eax + 0x2c], 0x8eb44a87
mov dword [eax + 0x30], 0x64f98fa7
mov dword [eax + 0x34], 0xdb0c2e0d
mov dword [eax + 0x38], 0xbefa4fa4
mov dword [eax + 0x3c], 0x47b5481d
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], ecx
mov dword [eax + 0x48], ecx
mov dword [eax + 0x4c], ecx
mov dword [eax + 0xd0], ecx
mov dword [eax + 0xd4], 0x30
lea eax, [ecx + 1]
ret

Function at 0x4624e0
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0xf3bcc908
mov dword [eax + 4], 0x6a09e667
mov dword [eax + 8], 0x84caa73b
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0xfe94f82b
mov dword [eax + 0x14], 0x3c6ef372
mov dword [eax + 0x18], 0x5f1d36f1
mov dword [eax + 0x1c], 0xa54ff53a
mov dword [eax + 0x20], 0xade682d1
mov dword [eax + 0x24], 0x510e527f
mov dword [eax + 0x28], 0x2b3e6c1f
mov dword [eax + 0x2c], 0x9b05688c
mov dword [eax + 0x30], 0xfb41bd6b
mov dword [eax + 0x34], 0x1f83d9ab
mov dword [eax + 0x38], 0x137e2179
mov dword [eax + 0x3c], 0x5be0cd19
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], ecx
mov dword [eax + 0x48], ecx
mov dword [eax + 0x4c], ecx
mov dword [eax + 0xd0], ecx
mov dword [eax + 0xd4], 0x40
lea eax, [ecx + 1]
ret