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

Disassembly:
sub esp, 0x84
push ebx
mov ebx, dword [esp + 0x8c]
push ebp
mov ebp, dword [ebx]
push esi
mov esi, dword [ebx + 0x7c8]
push edi
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0x80
mov edx, dword [esi + 0x154]
mov eax, dword [esi + 0x15c]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esi + 0x14]
push 0
add edx, 4
push edx
push eax
push ecx
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [esi + 0x148], 0
mov dword [esi + 0x14c], eax
jne 0x42573a
mov edx, dword [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esi + 0xc8]
push ecx
call fcn.00506ba0
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov dword [esi + 0x148], edx
mov eax, dword [esi + 0x14c]
cmp eax, 4
jge 0x425767
push str.Received_too_short_packet
push ebp
call fcn.00410090
add esp, 8
mov dword [esi + 0xc], 7
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x84
ret
mov edx, dword [esi + 0x15c]
movzx ecx, byte [edx]
movzx edx, byte [edx + 1]
shl cx, 8
movzx ecx, cx
or ecx, edx
mov dword [esi + 0xc], ecx
add ecx, 0xfffffffd
cmp ecx, 3
ja case.default.0x42578c
jmp dword [ecx*4 + 0x4258e8]
cmp eax, 4
jle case.0x42578c.4
mov ecx, dword [esi + 0x15c]
movzx edx, byte [ecx + 2]
movzx ecx, byte [ecx + 3]
shl dx, 8
movzx edx, dx
or edx, ecx
movzx ecx, word [esi + 0x40]
inc ecx
and ecx, 0xffff
cmp ecx, edx
jne case.0x42578c.4
mov edx, dword [esi + 0x15c]
add eax, 0xfffffffc
push eax
add edx, 4
push edx
push 1
push ebx
call fcn.00410450
mov edi, eax
add esp, 0x10
test edi, edi
je 0x4257fe
mov eax, 5
mov ecx, esi
call fcn.00425640
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret
mov eax, dword [esi + 0x14c]
sub eax, 4
cdq
add dword [ebp + 0x98], eax
mov ecx, dword [ebp + 0x98]
adc dword [ebp + 0x9c], edx
mov eax, dword [ebp + 0x9c]
push eax
push ecx
push ebp
call fcn.0041ece0
add esp, 0xc
jmp case.0x42578c.4
mov edi, dword [esi + 0x15c]
lea ebx, [eax - 4]
mov eax, dword [esi + 0x15c]
movzx edx, byte [eax + 2]
shl dx, 8
movzx ecx, dx
movzx edx, byte [eax + 3]
push ebx
add edi, 4
or ecx, edx
push 0
push edi
mov dword [esi + 8], ecx
call fcn.00503be0
add esp, 0xc
test eax, eax
je 0x425878
sub eax, edi
cmp eax, ebx
jae 0x425878
push edi
push str.TFTP_error:__s_n
push ebp
call fcn.0040ffc0
add esp, 0xc
mov ebx, dword [esp + 0x98]
push ebx
call fcn.0041f6e0
add esp, 4
test eax, eax
je 0x42575a
mov eax, 5
mov ecx, esi
call fcn.00425640
pop edi
pop esi
pop ebp
mov eax, 0x2a
pop ebx
add esp, 0x84
ret
add eax, 0xfffffffe
push eax
mov eax, dword [esi + 0x15c]
add eax, 2
push eax
push esi
call fcn.00424420
add esp, 0xc
test eax, eax
je case.0x42578c.4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret
push str.Internal_error:_Unexpected_packet
push 0x54c2b4
push ebp
call fcn.00410090
add esp, 0xc
jmp case.0x42578c.4
Function at 0x425c60
Capabilities:
Send data
Send data on socket

Disassembly:
push ecx
mov edx, dword [edi + 0x420]
mov al, byte [esp + 8]
push esi
mov esi, dword [edi]
push 0
push 3
lea ecx, [esp + 0xc]
push ecx
push edx
mov byte [esp + 0x14], 0xff
mov byte [esp + 0x15], al
mov byte [esp + 0x16], bl
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x425ca4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push esi
call fcn.00410090
add esp, 0xc
mov esi, dword [esp + 0xc]
mov ecx, dword [edi]
push str.SENT
mov eax, ebx
call fcn.00425b60
add esp, 4
pop esi
pop ecx
ret
Function at 0x426480
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x904
push ebx
push ebp
push esi
push edi
push 0x7f
lea eax, [esp + 0x99]
push 0
push eax
mov byte [esp + 0xa0], 0
call fcn.005071f0
push 0x7f
lea ecx, [esp + 0x25]
push 0
push ecx
mov byte [esp + 0x2c], 0
call fcn.005071f0
mov ebx, dword [esp + 0x930]
mov ebp, dword [ebx]
mov edi, dword [ebp + 0x140]
mov edx, dword [edi + 0x1eb4]
sub edx, dword [edi + 0x1eb0]
lea eax, [edi + 0x1cb0]
add edx, 2
push edx
push 0x3c
mov esi, ebp
mov dword [esp + 0x30], ebp
call fcn.00425eb0
mov eax, dword [edi + 0x1eb0]
movzx ecx, byte [eax]
inc eax
add esp, 0x20
mov dword [edi + 0x1eb0], eax
cmp ecx, 0x18
je 0x426658
cmp ecx, 0x23
je 0x426635
cmp ecx, 0x27
jne 0x4266ea
push 0
push ecx
push 0xfa
push 0xff
push str._c_c_c_c
lea eax, [esp + 0x128]
push 0x800
push eax
call fcn.004199c0
mov esi, dword [edi + 0x1cac]
add esp, 0x1c
mov ebp, 4
test esi, esi
je 0x4265c9
lea esp, [esp]
mov ebx, dword [esi]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x426557
sub eax, edx
lea edi, [eax + ebp + 1]
cmp edi, 0x7fa
jae 0x4265bb
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x98]
push edx
push str._127_____127s
push ebx
call fcn.00502a02
add esp, 0x10
test eax, eax
je 0x4265bb
lea eax, [esp + 0x14]
push eax
push 1
lea ecx, [esp + 0x9c]
push ecx
push 0
mov edx, 0x800
push str._c_s_c_s
sub edx, ebp
push edx
lea eax, [esp + ebp + 0x12c]
push eax
call fcn.004199c0
add esp, 0x1c
mov ebp, edi
mov esi, dword [esi + 4]
test esi, esi
jne 0x426550
mov ebx, dword [esp + 0x918]
push 0xf0
push 0xff
mov ecx, 0x800
push str._c_c
sub ecx, ebp
push ecx
lea edx, [esp + ebp + 0x124]
push edx
call fcn.004199c0
mov ecx, dword [ebx + 0x420]
add esp, 0x14
push 0
add ebp, 2
push ebp
lea eax, [esp + 0x11c]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x426628
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, dword [esp + 0x10]
push eax
push str.Sending_data_failed___d_
push edx
call fcn.00410090
add esp, 0xc
mov esi, dword [esp + 0x10]
add ebp, 0xfffffffe
push ebp
jmp 0x4266d9
lea ecx, [edi + 0x1c28]
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x426640
push 0xf0
push 0xff
push ecx
push 0
push 0x23
jmp 0x426679
lea ecx, [edi + 0x1c08]
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x426663
push 0xf0
push 0xff
push ecx
push 0
push 0x18
push 0xfa
push 0xff
sub eax, esi
push str._c_c_c_c_s_c_c
lea edi, [eax + 6]
lea eax, [esp + 0x134]
push 0x800
push eax
call fcn.004199c0
mov edx, dword [ebx + 0x420]
add esp, 0x28
push 0
push edi
lea ecx, [esp + 0x11c]
push ecx
push edx
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x4266d3
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push ebp
call fcn.00410090
add esp, 0xc
add edi, 0xfffffffe
mov esi, ebp
push edi
push 0x3e
lea eax, [esp + 0x11e]
call fcn.00425eb0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x904
ret
Function at 0x426970
Capabilities:
Send data
Send data on socket

Disassembly:
push ecx
cmp dword [esp + 0xc], 0x1f
mov eax, dword [esp + 8]
mov eax, dword [eax]
push ebp
mov ebp, dword [eax + 0x140]
mov dword [esp + 4], eax
jne 0x426ac7
push ebx
push esi
push edi
lea ebx, [ebp + 0x1cb0]
lea edi, [ebp + 0x1eb0]
mov dword [edi], ebx
cmp ebx, edi
jae 0x4269a7
mov byte [ebx], 0xff
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x4269b2
mov byte [eax], 0xfa
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x4269bd
mov byte [eax], 0x1f
inc dword [edi]
movzx ecx, word [ebp + 0x1ca8]
mov esi, dword [sym.imp.WS2_32.dll_htons]
push ecx
call esi
movzx edx, ax
movzx eax, word [ebp + 0x1caa]
push eax
mov dword [esp + 0x20], edx
call esi
movzx ecx, ax
mov eax, dword [edi]
cmp eax, edi
jae 0x4269ef
mov dl, byte [esp + 0x1c]
mov byte [eax], dl
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x4269fd
mov dl, byte [esp + 0x1d]
mov byte [eax], dl
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x426a07
mov byte [eax], cl
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x426a11
mov byte [eax], ch
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x426a1c
mov byte [eax], 0xff
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x426a27
mov byte [eax], 0xf0
inc dword [edi]
mov eax, dword [edi]
mov esi, dword [esp + 0x10]
mov dword [ebp + 0x1eb4], eax
sub eax, ebx
sub eax, 2
push eax
lea eax, [ebp + 0x1cb2]
push 0x3e
mov dword [edi], ebx
call fcn.00425eb0
mov edi, dword [esp + 0x20]
mov edx, dword [edi + 0x420]
add esp, 8
push 0
push 3
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_send]
push edx
call ebx
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
jns 0x426a82
call esi
push eax
mov eax, dword [esp + 0x14]
push str.Sending_data_failed___d_
push eax
call fcn.00410090
add esp, 0xc
lea ecx, [ebp + 0x1cb3]
push ecx
push edi
mov eax, 4
call fcn.00426700
mov edx, dword [edi + 0x420]
add esp, 8
push 0
push 2
add ebp, 0x1cb7
push ebp
push edx
call ebx
test eax, eax
jns 0x426ac4
call esi
push eax
mov eax, dword [esp + 0x14]
push str.Sending_data_failed___d_
push eax
call fcn.00410090
add esp, 0xc
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret
Function at 0x42c1b0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x84
push ebx
push ebp
push esi
push edi
mov esi, eax
mov ebp, dword [esi + 0x424]
mov edi, dword [esi]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
push ebp
or ebx, 0xffffffff
mov dword [esp + 0x1c], 0x80
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x42c1ff
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
push ebp
mov dword [esp + 0x1c], 0x80
call dword [sym.imp.WS2_32.dll_accept]
mov ebx, eax
push ebp
push esi
call fcn.00417270
add esp, 8
cmp ebx, 0xffffffff
jne 0x42c22c
push str.Error_accept__ing_server_connect
push edi
call fcn.00410090
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 0x1e
pop ebx
add esp, 0x84
ret
push str.Connection_accepted_from_server_n
push edi
call fcn.0040ffc0
push 1
push ebx
mov dword [esi + 0x574], 0
mov dword [esi + 0x424], ebx
call fcn.0043c5b0
add esp, 0x10
mov dword [esi + 0x5c0], 1
cmp dword [edi + 0x628], 0
je 0x42c2a5
push 1
push edi
call fcn.0040dc60
mov ecx, dword [edi + 0x62c]
mov edx, dword [edi + 0x628]
push 1
push ebx
push ecx
call edx
push 0
push edi
mov ebx, eax
call fcn.0040dc60
add esp, 0x1c
test ebx, ebx
je 0x42c2a5
call fcn.0042c110
pop edi
pop esi
pop ebp
mov eax, 0x2a
pop ebx
add esp, 0x84
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x84
ret
Function at 0x42fd50
Capabilities:
Check http status code

Disassembly:
push ebx
mov ebx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
push ebp
mov ebp, dword [esp + 0xc]
mov eax, edx
shr eax, 0x1f
push esi
add eax, edx
xor esi, esi
push edi
mov edi, dword [ebx]
cmp eax, 2
je 0x42fd8a
push str.Couldnt_set_desired_mode
push edi
call fcn.00410090
add esp, 8
pop edi
lea eax, [esi + 0x11]
pop esi
pop ebp
pop ebx
ret
cmp ecx, 0xc8
je 0x42fda1
push ecx
push str.Got_a__03d_response_code_instead_of_the_assumed_200_n
push edi
call fcn.0040ffc0
add esp, 0xc
cmp ebp, 0x13
jne 0x42fdb6
push ebx
call fcn.0042fcd0
add esp, 4
pop edi
mov esi, eax
pop esi
pop ebp
pop ebx
ret
cmp ebp, 0x14
jne 0x42fdc7
call fcn.0042cde0
pop edi
mov esi, eax
pop esi
pop ebp
pop ebx
ret
cmp ebp, 0x15
jne 0x42fde0
push 0xd
push 1
push ebx
call fcn.0042ef80
add esp, 0xc
pop edi
mov esi, eax
pop esi
pop ebp
pop ebx
ret
cmp ebp, 0x16
jne 0x42fdf4
push 0xe
push 1
push ebx
call fcn.0042ef80
add esp, 0xc
mov esi, eax
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret
Function at 0x437450
Capabilities:
Get socket status

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x18]
xor eax, eax
cmp ebx, eax
je 0x437462
cmp dword [ebx], eax
jne 0x437491
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
je 0x43746e
cmp dword [ecx], eax
jne 0x437495
mov edx, dword [esp + 0x20]
cmp edx, eax
je 0x43747a
cmp dword [edx], eax
jne 0x437499
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push ecx
push edx
call fcn.00437400
add esp, 8
pop ebx
add esp, 0xc
ret
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
push esi
lea esi, [esp + 0xc]
mov dword [esp + 8], esi
mov esi, dword [esp + 0x2c]
push edi
mov edi, dword [esp + 0x2c]
cmp esi, eax
jg 0x4374c5
jl 0x4374b5
cmp edi, eax
jae 0x4374bb
mov dword [esp + 0xc], eax
jmp 0x437537
cmp esi, eax
jl 0x43752f
jg 0x4374c5
cmp edi, eax
jbe 0x43752f
push ebp
push eax
push 0x3e8
push esi
push edi
call fcn.0050b3b0
push 0
push 0x3e8
push edx
push eax
mov ebp, eax
mov ebx, edx
call fcn.0050aee0
push 0
sub edi, eax
push 0x3e8
sbb esi, edx
push esi
push edi
call fcn.0050aee0
mov dword [esp + 0x18], edx
test ebx, ebx
jl 0x437516
jg 0x437509
cmp ebp, 0x7fffffff
jbe 0x437516
mov ebp, SysReAllocString
mov dword [esp + 0x18], 0
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], eax
xor eax, eax
pop ebp
jmp 0x437537
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
cmp edx, eax
je 0x43753f
cmp dword [edx], eax
jne 0x437541
xor edx, edx
cmp ecx, eax
je 0x437549
cmp dword [ecx], eax
jne 0x43754b
xor ecx, ecx
cmp ebx, eax
je 0x437555
cmp dword [ebx], eax
je 0x437555
mov eax, ebx
mov esi, dword [esp + 0xc]
push esi
push edx
push ecx
push eax
mov eax, dword [esp + 0x2c]
inc eax
push eax
call dword [sym.imp.WS2_32.dll_select]
pop edi
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x442d50
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using des via winapi
Encrypt or decrypt via wincrypt

Disassembly:
sub esp, 0x20
push ebp
mov ebp, dword [esp + 0x28]
push 0xf0000040
push 1
push 0
push 0
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x442dee
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
push esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
lea esi, [esp + 0x20]
mov word [esp + 0x14], 0x208
mov dword [esp + 0x18], 0x6601
mov dword [esp + 0x1c], 8
call fcn.00442cc0
mov ecx, esi
push 8
push ecx
call fcn.00449ac0
mov ecx, dword [esp + 0x10]
add esp, 8
lea edx, [esp + 0x10]
push edx
push 0
push 0
push 0x14
lea eax, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
pop esi
test eax, eax
jne 0x442df5
mov edx, dword [esp + 4]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
pop ebp
add esp, 0x20
ret
mov eax, dword [ebp]
mov edx, dword [esp + 8]
push edx
mov dword [edi], eax
mov ecx, dword [ebp + 4]
lea eax, [esp + 0xc]
push eax
push edi
push 0
push 0
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x20]
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov eax, dword [esp + 4]
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, 1
pop ebp
add esp, 0x20
ret

Function at 0x444470
Capabilities:
Get hostname

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push esi
mov byte [esi], 0
call dword [sym.imp.WS2_32.dll_gethostname]
mov byte [esi + edi - 1], 0
test eax, eax
jne 0x4444a2
push 0x2e
push esi
call fcn.00502aa0
add esp, 8
test eax, eax
je 0x4444a0
mov byte [eax], 0
xor eax, eax
pop edi
pop esi
ret
Function at 0x449b10
Capabilities:
Hash data using md4
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
sub esp, 0xc
push 0xf0000040
push 1
push 0
push 0
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x449b56
mov edx, dword [esp + 4]
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0x8002
push edx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
mov eax, dword [esp + 0x18]
push esi
push eax
call fcn.004131d0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
add esp, 4
push 0
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov ecx, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push 0
lea eax, [esp + 8]
push eax
push 0
push 2
push ecx
mov dword [esp + 0x18], 0
call esi
cmp dword [esp + 4], 0x10
jne 0x449bb3
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
push 0
lea edx, [esp + 8]
push edx
push eax
push 2
push ecx
call esi
mov eax, dword [esp + 0xc]
pop esi
test eax, eax
je 0x449bc3
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [esp + 4]
test eax, eax
je 0x449bd4
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
add esp, 0xc
ret
Function at 0x44b160
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
lea eax, [ecx + eax*2 + 0xc]
push edi
push eax
call dword [0x58e0bc]
mov edi, eax
add esp, 4
test edi, edi
jne 0x44b185
pop edi
pop esi
pop ecx
ret
lea eax, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], eax
mov edx, dword [esi + 0xc]
push ebx
add edx, eax
push ebp
mov ebp, dword [esp + 0x20]
mov dword [edi + 8], edx
cmp ebp, dword [esi + 0x10]
jbe 0x44b1cc
push eax
mov eax, dword [esi]
call eax
mov ecx, dword [esp + 0x20]
mov edx, dword [edi + 4]
mov eax, dword [esi + 4]
push ebp
push ecx
push edx
call eax
mov ebx, dword [edi + 8]
mov ecx, dword [edi + 4]
add ebx, dword [esi + 0xc]
mov edx, dword [esi + 8]
push ecx
push ebx
call edx
mov ebp, dword [esi + 0x14]
add esp, 0x18
jmp 0x44b1d0
mov ebx, dword [esp + 0x1c]
mov eax, dword [edi + 4]
mov ecx, dword [esi]
push eax
call ecx
mov edx, dword [edi + 8]
mov eax, dword [esi]
push edx
call eax
add esp, 8
mov dword [esp + 0x10], 0
test ebp, ebp
je 0x44b22c
mov dword [esp + 0x10], ebp
mov cl, byte [ebx]
xor cl, 0x36
mov byte [esp + 0x18], cl
mov eax, dword [edi + 4]
mov ecx, dword [esi + 4]
push 1
lea edx, [esp + 0x1c]
push edx
push eax
call ecx
mov dl, byte [ebx]
xor dl, 0x5c
mov byte [esp + 0x24], dl
mov ecx, dword [edi + 8]
mov edx, dword [esi + 4]
push 1
lea eax, [esp + 0x28]
push eax
push ecx
inc ebx
call edx
add esp, 0x18
dec ebp
jne 0x44b1f3
mov eax, dword [esp + 0x10]
pop ebp
pop ebx
cmp eax, dword [esi + 0x10]
jae 0x44b268
mov ecx, dword [edi + 4]
mov edx, dword [esi + 4]
push 1
push 0x552e62
push ecx
call edx
mov eax, dword [edi + 8]
mov ecx, dword [esi + 4]
push 1
push 0x552e63
push eax
call ecx
mov eax, dword [esp + 0x20]
inc eax
add esp, 0x18
mov dword [esp + 8], eax
cmp eax, dword [esi + 0x10]
jb 0x44b237
mov eax, edi
pop edi
pop esi
pop ecx
ret

Function at 0x44b400
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
sub esp, 0xc
push 0xf0000040
push 0x18
push 0
push 0
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x44b436
mov edx, dword [esp + 4]
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0x800c
push edx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
mov eax, dword [esp + 0x18]
push esi
push eax
call fcn.004131d0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
add esp, 4
push 0
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov ecx, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push 0
lea eax, [esp + 8]
push eax
push 0
push 2
push ecx
mov dword [esp + 0x18], 0
call esi
cmp dword [esp + 4], 0x20
jne 0x44b493
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
push 0
lea edx, [esp + 8]
push edx
push eax
push 2
push ecx
call esi
mov eax, dword [esp + 0xc]
pop esi
test eax, eax
je 0x44b4a3
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [esp + 4]
test eax, eax
je 0x44b4b4
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
add esp, 0xc
ret
Function at 0x45079f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4507f6
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4507e7
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [esp + 0x10]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x4507e3
cmp esi, ecx
jae 0x4507e7
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec edx
jne 0x4507d3
cmp esi, ecx
jb 0x4507eb
xor eax, eax
jmp 0x4507f5
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x45651e
Capabilities:
Encode data using base64

Disassembly:
push 0xffffffffffffffff
push 0x52d6dd
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x58e700]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x2c], ebp
xor ebx, ebx
mov dword [esp + 0x28], ebx
cmp dword [edx + 0x14], 0x10
jb 0x45655f
mov eax, dword [edx]
mov dword [esp + 0x20], eax
jmp 0x456565
mov eax, edx
mov dword [esp + 0x20], edx
mov ecx, dword [edx + 0x10]
mov dword [ebp + 0x14], 0xf
mov dword [ebp + 0x10], ebx
mov byte [ebp], bl
mov dword [esp + 0x38], ebx
mov edi, ebx
mov dword [esp + 0x28], 1
test ecx, ecx
je 0x4566ce
push 3
pop esi
jmp 0x456594
mov ecx, dword [esp + 0x24]
mov al, byte [eax]
dec ecx
mov byte [esp + edi + 0x18], al
inc edi
mov eax, dword [esp + 0x20]
mov dl, byte [esp + 0x19]
inc eax
mov dword [esp + 0x24], ecx
mov ch, byte [esp + 0x1a]
mov cl, byte [esp + 0x18]
mov dword [esp + 0x20], eax
mov byte [esp + 0x17], ch
mov byte [esp + 0x15], dl
mov byte [esp + 0x16], cl
cmp edi, esi
jne 0x45662a
mov al, cl
mov edi, ebx
shr al, 2
and cl, 3
mov byte [esp + 0x1c], al
mov al, dl
shl cl, 4
shr al, 4
add cl, al
mov al, ch
mov byte [esp + 0x1d], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ch
and al, 0x3f
mov byte [esp + 0x1e], cl
mov byte [esp + 0x1f], al
movzx eax, byte [esp + edi + 0x1c]
mov ecx, ebp
movzx eax, byte [eax + 0x563f30]
push eax
push 1
call fcn.0045994a
inc edi
cmp edi, 4
jl 0x4565fc
mov dl, byte [esp + 0x15]
mov edi, ebx
mov cl, byte [esp + 0x16]
mov eax, dword [esp + 0x20]
mov ch, byte [esp + 0x17]
cmp dword [esp + 0x24], 0
ja 0x456590
test edi, edi
je 0x4566ce
mov eax, edi
cmp edi, esi
jge 0x456660
cmp eax, esi
jae 0x4566e4
mov byte [esp + eax + 0x18], bl
inc eax
cmp eax, esi
jl 0x456645
mov ch, byte [esp + 0x1a]
mov dl, byte [esp + 0x19]
mov cl, byte [esp + 0x18]
mov al, cl
and cl, 3
shr al, 2
mov byte [esp + 0x1c], al
mov al, dl
shr al, 4
and dl, 0xf
shl cl, 4
add cl, al
shl dl, 2
mov al, ch
mov byte [esp + 0x1d], cl
shr al, 6
and ch, 0x3f
add dl, al
mov byte [esp + 0x1f], ch
lea eax, [edi + 1]
mov byte [esp + 0x1e], dl
test eax, eax
jle 0x4566ba
lea esi, [edi + 1]
movzx eax, byte [esp + ebx + 0x1c]
mov ecx, ebp
movzx eax, byte [eax + 0x563f30]
push eax
push 1
call fcn.0045994a
inc ebx
cmp ebx, esi
jl 0x45669c
push 3
pop esi
cmp edi, esi
jge 0x4566ce
sub esi, edi
push 0x3d
push 1
mov ecx, ebp
call fcn.0045994a
dec esi
jne 0x4566c0
mov eax, ebp
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
call fcn.00504933
int3