Function at 0x4c41c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x7c
call fcn.00525ec0
mov eax, dword [0x5af1b4]
xor eax, esp
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x18]
mov dword [esp + 0x24], eax
push edi
mov eax, 0x40000000
mov edi, edx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], 0
cmp dword [ebp + 0x14], eax
ja 0x4c4458
cmp dword [ebp + 0xc], eax
ja 0x4c4458
cmp dword [ebp + 0x10], eax
ja 0x4c4458
push esi
call fcn.004791d0
add esp, 4
mov dword [esp + 0x2c], eax
xor eax, eax
lea edx, [esp + 0x10]
push esi
push edx
xor ecx, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea ebx, [eax + 1]
call fcn.00473e30
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push edi
push ecx
mov byte [esp + 0x23], bl
mov byte [esp + 0x22], 0
mov byte [esp + 0x21], 0
mov byte [esp + 0x20], 0
call dword [esp + 0x38]
add esp, 0x14
test eax, eax
je 0x4c4439
push 4
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
call dword [esp + 0x30]
add esp, 0xc
test eax, eax
je 0x4c4439
mov ecx, dword [ebp + 0x14]
mov edx, dword [esp + 0x34]
push ecx
push edx
lea eax, [esp + 0x18]
push eax
call dword [esp + 0x30]
add esp, 0xc
test eax, eax
je 0x4c4439
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
cmp dword [ebp + 0xc], ecx
jb 0x4c43b1
cmp dword [eax + 8], 0x40
jg 0x4c439d
mov edx, dword [esp + 0x28]
push edx
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x14]
push ecx
call edx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x20]
add esp, 8
test eax, eax
je 0x4c4300
lea ecx, [esp + 0x10]
push ecx
call eax
add esp, 4
or dword [esp + 0x18], 2
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x44]
mov ecx, dword [esp + 0x1c]
push eax
push 0
push ecx
call fcn.00516180
add esp, 0xc
lea edi, [esp + 0x10]
call fcn.00474260
cmp dword [esp + 0x38], 0
je 0x4c4439
mov eax, dword [esp + 0x2c]
sub dword [ebp + 0xc], eax
je 0x4c4431
add dword [esp + 0x28], eax
mov edx, edi
push esi
push edx
xor ecx, ecx
inc ebx
call fcn.00473e30
mov eax, ebx
shr eax, 8
mov ecx, ebx
shr ecx, 0x10
mov byte [esp + 0x16], al
mov eax, dword [ebp + 0x10]
mov edx, ebx
shr edx, 0x18
mov byte [esp + 0x15], cl
mov ecx, dword [esp + 0x44]
push eax
mov byte [esp + 0x18], dl
push ecx
mov edx, edi
push edx
mov byte [esp + 0x23], bl
call dword [esp + 0x38]
add esp, 0x14
test eax, eax
jne 0x4c427d
call fcn.00474260
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00511c1b
mov esp, ebp
pop ebp
ret
push str.ctx__digest__md_size___EVP_MAX_MD_SIZE
mov ecx, 0x115
mov edx, str..cryptoevpdigest.c
call fcn.00461970
cmp dword [eax + 8], 0x40
jg 0x4c439d
mov eax, dword [eax + 0x18]
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x14]
push edx
call eax
mov ecx, dword [esp + 0x18]
mov esi, eax
mov eax, dword [ecx + 0x20]
add esp, 8
test eax, eax
je 0x4c43e5
lea edx, [esp + 0x10]
push edx
call eax
add esp, 4
or dword [esp + 0x18], 2
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x44]
mov edx, dword [esp + 0x1c]
push ecx
push 0
push edx
call fcn.00516180
add esp, 0xc
lea edi, [esp + 0x10]
call fcn.00474260
test esi, esi
je 0x4c4439
mov eax, dword [ebp + 0xc]
mov edx, dword [esp + 0x28]
push eax
lea ecx, [esp + 0x44]
push ecx
push edx
call fcn.005165f0
mov eax, dword [esp + 0x38]
add esp, 0xc
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.004daa60
add esp, 8
mov dword [esp + 0x30], 1
lea edi, [esp + 0x10]
call fcn.00474260
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00511c1b
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00511c1b
mov esp, ebp
pop ebp
ret