Function at 0x4c3e90
Capabilities:
Encode data using xor
Load assembly via iassembly
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x148
mov eax, dword [0x592830]
xor eax, esp
mov dword [esp + 0x144], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x24]
push edi
mov edi, dword [ebp + 8]
shr edi, 3
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x88], 0
mov dword [esp + 0x28], 0
mov dword [ebp + 8], edi
mov dword [esp + 0x90], 2
cmp edi, 0x14
je 0x4c3f0a
cmp edi, 0x1c
je 0x4c3f0a
cmp edi, 0x20
je 0x4c3f0a
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.004ebb9e
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x4c3f33
cmp edi, 0x14
jne 0x4c3f1d
mov dword [esp + 0x1c], 0x547470
jmp 0x4c3f39
mov eax, 0x5474d8
mov ecx, 0x547308
cmp edi, 0x1c
cmovne eax, ecx
mov dword [esp + 0x1c], eax
jmp 0x4c3f39
mov edi, dword [eax + 8]
mov dword [ebp + 8], edi
mov eax, 0x200
cmp edx, eax
cmovb edx, eax
lea eax, [edx + 0x3f]
and eax, 0xffffffc0
mov dword [esp + 0x84], eax
call fcn.0048e740
mov dword [esp + 0x34], eax
test eax, eax
je 0x4c4c25
call fcn.00456160
mov dword [esp + 0x10], eax
test eax, eax
je 0x4c4bd5
mov ecx, eax
call fcn.004562c0
mov ecx, dword [esp + 0x10]
call fcn.00456350
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], eax
call fcn.00456350
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x38], eax
call fcn.00456350
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x30], eax
call fcn.00456350
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x24], eax
call fcn.00456350
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x80], eax
call fcn.00456350
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x9c], eax
call fcn.00456350
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], eax
call fcn.00456350
mov dword [esp + 0x18], eax
test eax, eax
je 0x4c4b0c
mov ecx, dword [esp + 0x84]
dec ecx
push ecx
mov edx, 0x545c84
mov ecx, eax
call fcn.00486520
add esp, 4
test eax, eax
je 0x4c4b0c
nop
test esi, esi
je 0x4c4046
mov eax, dword [esi]
dec eax
je 0x4c4031
dec eax
je 0x4c4020
xor eax, eax
jmp 0x4c404b
mov eax, dword [esi + 8]
push esi
push dword [esp + 0x2c]
push 0
call eax
add esp, 0xc
jmp 0x4c404b
mov eax, dword [esi + 8]
test eax, eax
je 0x4c4046
push dword [esi + 4]
push dword [esp + 0x2c]
push 0
call eax
add esp, 0xc
mov eax, 1
inc dword [esp + 0x28]
test eax, eax
je 0x4c4b0c
mov eax, dword [0x59faa8]
test eax, eax
jne 0x4c4092
lea edx, [eax + 1]
mov ecx, 0x59fbd8
call fcn.0048b190
mov ecx, eax
test ecx, ecx
je 0x4c4088
mov eax, dword [ecx + 0x1c]
mov dword [0x59faa8], eax
test eax, eax
jne 0x4c41b2
call fcn.0042c830
mov eax, 0x5943dc
mov dword [0x59faa8], eax
mov eax, dword [eax + 4]
test eax, eax
je 0x4c4b0c
lea ecx, [esp + 0x10c]
push edi
push ecx
call eax
add esp, 8
test eax, eax
jle 0x4c4b0c
push edi
lea eax, [esp + 0x110]
push eax
lea eax, [esp + 0xf4]
push eax
call fcn.004f0080
add esp, 0xc
lea eax, [esp + 0x10c]
push edi
push eax
lea eax, [esp + 0x134]
push eax
call fcn.004f0080
lea eax, [edi - 1]
add esp, 0xc
test eax, eax
js 0x4c40fc
lea esp, [esp]
inc byte [esp + eax + 0xec]
jne 0x4c40fc
dec eax
jns 0x4c40f0
mov edx, dword [esp + 0x1c]
xorps xmm0, xmm0
movdqa xmmword [esp + 0x60], xmm0
movq qword [esp + 0x70], xmm0
psrldq xmm0, 8
push 0
movd eax, xmm0
or eax, 1
lea ecx, [esp + 0x64]
mov dword [esp + 0x6c], eax
call fcn.00424050
add esp, 4
test eax, eax
je 0x4c41bd
push edi
lea eax, [esp + 0x110]
push eax
lea eax, [esp + 0x68]
push eax
call dword [esp + 0x80]
add esp, 0xc
test eax, eax
je 0x4c41bd
mov eax, dword [esp + 0x60]
cmp dword [eax + 8], 0x40
jg 0x4c4c40
mov eax, dword [eax + 0x18]
lea ecx, [esp + 0xcc]
push ecx
lea ecx, [esp + 0x64]
push ecx
call eax
mov esi, eax
mov eax, dword [esp + 0x68]
add esp, 8
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x4c4194
lea eax, [esp + 0x60]
push eax
call ecx
mov eax, dword [esp + 0x64]
add esp, 4
or dword [esp + 0x68], 2
push dword [eax + 0x44]
mov eax, dword [fcn.004f2670]
push 0
push dword [esp + 0x74]
call eax
add esp, 0xc
test esi, esi
je 0x4c41bd
mov edi, 1
jmp 0x4c41bf
mov dword [0x59faa4], ecx
jmp 0x4c4092
xor edi, edi
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4c423c
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x4c41e3
test byte [esp + 0x68], 2
jne 0x4c41e3
lea eax, [esp + 0x60]
push eax
call ecx
mov eax, dword [esp + 0x64]
add esp, 4
test eax, eax
je 0x4c423c
mov ecx, dword [eax + 0x44]
test ecx, ecx
je 0x4c423c
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x4c423c
test byte [esp + 0x68], 4
jne 0x4c423c
push ecx
push 0
push eax
mov eax, dword [fcn.004f2670]
call eax
mov eax, dword [0x59fb4c]
mov esi, dword [esp + 0x78]
add esp, 0xc
test eax, eax
je 0x4c4220
push 0
push esi
call eax
add esp, 8
push esi
call dword [0x594128]
mov eax, dword [0x59fb4c]
add esp, 4
test eax, eax
je 0x4c423c
push 1
push 0
call eax
add esp, 8
mov esi, dword [esp + 0x70]
test esi, esi
je 0x4c42a8
mov eax, dword [esi]
test eax, eax
je 0x4c4257
mov eax, dword [eax + 0x10]
test eax, eax
je 0x4c4257
push esi
call eax
add esp, 4
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4c4263
call fcn.004209e0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x4c426f
call fcn.004209e0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4c427b
call fcn.0042c830
mov eax, dword [0x59fb4c]
test eax, eax
je 0x4c428c
push 0
push esi
call eax
add esp, 8
push esi
call dword [0x594128]
mov eax, dword [0x59fb4c]
add esp, 4
test eax, eax
je 0x4c42a8
push 1
push 0
call eax
add esp, 8
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x4c42b5
call fcn.0042c830
xorps xmm0, xmm0
movdqa xmmword [esp + 0x60], xmm0
movq qword [esp + 0x70], xmm0
test edi, edi
je 0x4c4b0c
mov edx, dword [esp + 0x1c]
movdqa xmmword [esp + 0xa0], xmm0
movq qword [esp + 0xb0], xmm0
psrldq xmm0, 8
push 0
movd eax, xmm0
or eax, 1
lea ecx, [esp + 0xa4]
mov dword [esp + 0xac], eax
call fcn.00424050
mov edi, dword [ebp + 8]
add esp, 4
test eax, eax
je 0x4c43a6
push edi
lea eax, [esp + 0xf0]
push eax
lea eax, [esp + 0xa8]
push eax
call dword [esp + 0xc0]
add esp, 0xc
test eax, eax
je 0x4c43a6
mov eax, dword [esp + 0xa0]
cmp dword [eax + 8], 0x40
jg 0x4c4c40
mov eax, dword [eax + 0x18]
lea ecx, [esp + 0x12c]
push ecx
lea ecx, [esp + 0xa4]
push ecx
call eax
mov esi, eax
mov eax, dword [esp + 0xa8]
add esp, 8
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x4c4385
lea eax, [esp + 0xa0]
push eax
call ecx
mov eax, dword [esp + 0xa4]
add esp, 4
or dword [esp + 0xa8], 2
push dword [eax + 0x44]
mov eax, dword [fcn.004f2670]
push 0
push dword [esp + 0xb4]
call eax
add esp, 0xc
test esi, esi
je 0x4c43a6
mov esi, 1
jmp 0x4c43a8
xor esi, esi
lea ecx, [esp + 0xa0]
call fcn.00424520
test esi, esi
je 0x4c4b0c
xor ecx, ecx
test edi, edi
jle 0x4c43e3
jmp 0x4c43d0
mov al, byte [esp + ecx + 0x12c]
xor byte [esp + ecx + 0xcc], al
inc ecx
cmp ecx, edi
jl 0x4c43d0
or byte [esp + 0xcc], 0x80
push dword [esp + 0x24]
or byte [esp + edi + 0xcf], 1
mov edx, edi
lea ecx, [esp + 0xd0]
call fcn.0041dfe0
add esp, 4
test eax, eax
je 0x4c4b0c
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x24]
push esi
push 1
push dword [esp + 0x18]
mov edx, 0x40
call fcn.004c1e20
add esp, 0xc
test eax, eax
jg 0x4c443b
je 0x4c4010
jmp 0x4c4b0c
test esi, esi
je 0x4c44a9
mov eax, dword [esi]
dec eax
je 0x4c4461
dec eax
jne 0x4c4b0c
push esi
push eax
mov eax, dword [esi + 8]
push 2
call eax
add esp, 0xc
test eax, eax
je 0x4c4b0c
jmp 0x4c4474
mov eax, dword [esi + 8]
test eax, eax
je 0x4c4474
push dword [esi + 4]
push 0
push 2
call eax
add esp, 0xc
mov eax, dword [esi]
dec eax
je 0x4c4496
dec eax
jne 0x4c4b0c
push esi
push eax
mov eax, dword [esi + 8]
push 3
call eax
add esp, 0xc
test eax, eax
je 0x4c4b0c
jmp 0x4c44a9
mov eax, dword [esi + 8]
test eax, eax
je 0x4c44a9
push dword [esi + 4]
push 0
push 3
call eax
add esp, 0xc
mov ecx, dword [esp + 0x84]
mov eax, 0xcccccccd
lea ecx, [ecx - 1]
mul ecx
xor esi, esi
mov eax, edx
shr eax, 7
mov dword [esp + 0x98], esi
mov dword [esp + 0x8c], eax
nop
test esi, esi
je 0x4c450f
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x4c450f
mov eax, dword [ecx]
dec eax
je 0x4c44fd
dec eax
jne 0x4c4b0c
push ecx
push esi
push eax
mov eax, dword [ecx + 8]
call eax
add esp, 0xc
test eax, eax
je 0x4c4b0c
jmp 0x4c450f
mov eax, dword [ecx + 8]
test eax, eax
je 0x4c450f
push dword [ecx + 4]
push esi
push 0
call eax
add esp, 0xc
mov esi, dword [esp + 0x30]
cmp dword [esi + 8], 1
jge 0x4c456b
mov edx, 1
mov ecx, esi
call fcn.0041dd00
mov edi, eax
test edi, edi
je 0x4c4581
mov esi, dword [esi]
test esi, esi
je 0x4c455e
mov eax, dword [0x59fb4c]
test eax, eax
je 0x4c4542
push 0
push esi
call eax
add esp, 8
push esi
call dword [0x594128]
mov eax, dword [0x59fb4c]
add esp, 4
test eax, eax
je 0x4c455e
push 1
push 0
call eax
add esp, 8
mov esi, dword [esp + 0x30]
mov dword [esi], edi
mov dword [esi + 8], 1
mov eax, dword [esi]
mov dword [esi + 0xc], 0
mov dword [eax], 0
mov dword [esi + 4], 0
cmp dword [esp + 0x8c], 0
mov edi, dword [ebp + 8]
mov dword [esp + 0x94], 0
jl 0x4c47ec
lea ecx, [ecx]
lea eax, [edi - 1]
test eax, eax
js 0x4c45b3
inc byte [esp + eax + 0xec]
jne 0x4c45b3
dec eax
jns 0x4c45a7
mov edx, dword [esp + 0x1c]
xorps xmm0, xmm0
movdqa xmmword [esp + 0x40], xmm0
movq qword [esp + 0x50], xmm0
psrldq xmm0, 8
push 0
movd eax, xmm0
or eax, 1
lea ecx, [esp + 0x44]
mov dword [esp + 0x4c], eax
call fcn.00424050
add esp, 4
test eax, eax
je 0x4c4662
push edi
lea eax, [esp + 0xf0]
push eax
lea eax, [esp + 0x48]
push eax
call dword [esp + 0x60]
add esp, 0xc
test eax, eax
je 0x4c4662
mov eax, dword [esp + 0x40]
cmp dword [eax + 8], 0x40
jg 0x4c4c40
mov eax, dword [eax + 0x18]
lea ecx, [esp + 0xcc]
push ecx
lea ecx, [esp + 0x44]
push ecx
call eax
mov esi, eax
mov eax, dword [esp + 0x48]
add esp, 8
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x4c4644
lea eax, [esp + 0x40]
push eax
call ecx
mov eax, dword [esp + 0x44]
add esp, 4
or dword [esp + 0x48], 2
push dword [eax + 0x44]
mov eax, dword [fcn.004f2670]
push 0
push dword [esp + 0x54]
call eax
add esp, 0xc
test esi, esi
je 0x4c4662
mov edi, 1
jmp 0x4c4664
xor edi, edi
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4c46e1
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x4c4688
test byte [esp + 0x48], 2
jne 0x4c4688
lea eax, [esp + 0x40]
push eax
call ecx
mov eax, dword [esp + 0x44]
add esp, 4
test eax, eax
je 0x4c46e1
mov ecx, dword [eax + 0x44]
test ecx, ecx
je 0x4c46e1
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4c46e1
test byte [esp + 0x48], 4
jne 0x4c46e1
push ecx
push 0
push eax
mov eax, dword [fcn.004f2670]
call eax
mov eax, dword [0x59fb4c]
mov esi, dword [esp + 0x58]
add esp, 0xc
test eax, eax
je 0x4c46c5
push 0
push esi
call eax
add esp, 8
push esi
call dword [0x594128]
mov eax, dword [0x59fb4c]
add esp, 4
test eax, eax
je 0x4c46e1
push 1
push 0
call eax
add esp, 8
mov esi, dword [esp + 0x50]
test esi, esi
je 0x4c474d
mov eax, dword [esi]
test eax, eax
je 0x4c46fc
mov eax, dword [eax + 0x10]
test eax, eax
je 0x4c46fc
push esi
call eax
add esp, 4
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4c4708
call fcn.004209e0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x4c4714
call fcn.004209e0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4c4720
call fcn.0042c830
mov eax, dword [0x59fb4c]
test eax, eax
je 0x4c4731
push 0
push esi
call eax
add esp, 8
push esi
call dword [0x594128]
mov eax, dword [0x59fb4c]
add esp, 4
test eax, eax
je 0x4c474d
push 1
push 0
call eax
add esp, 8
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x4c475a
call fcn.0042c830
xorps xmm0, xmm0
movdqa xmmword [esp + 0x40], xmm0
movq qword [esp + 0x50], xmm0
test edi, edi
je 0x4c4b0c
mov edi, dword [ebp + 8]
push dword [esp + 0x20]
mov edx, edi
lea ecx, [esp + 0xd0]
call fcn.0041dfe0
add esp, 4
test eax, eax
je 0x4c4b0c
mov esi, dword [esp + 0x94]
mov edx, dword [esp + 0x20]
lea eax, [edi*8]
imul eax, esi
push eax
mov ecx, edx
call fcn.00486520
add esp, 4
test eax, eax
je 0x4c4b0c
push dword [esp + 0x20]
mov eax, dword [esp + 0x34]
push eax
push eax
call fcn.00463a70
add esp, 0xc
test eax, eax
je 0x4c4b0c
inc esi
mov dword [esp + 0x94], esi
cmp esi, dword [esp + 0x8c]
jle 0x4c45a0
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x84]
mov ecx, esi
lea edx, [edx - 1]
call fcn.0041e450
test eax, eax
je 0x4c4b0c
mov edx, esi
mov esi, dword [esp + 0x80]
mov ecx, esi
call fcn.0041ded0
test eax, eax
je 0x4c4b0c
push dword [esp + 0x18]
push esi
push esi
call fcn.00463a70
add esp, 0xc
test eax, eax
je 0x4c4b0c
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ecx, esi
call fcn.00486380
test eax, eax
je 0x4c4b0c
push dword [esp + 0x10]
mov edx, dword [esp + 0xa0]
push esi
push dword [esp + 0x88]
xor ecx, ecx
call fcn.0049d2d0
add esp, 0xc
test eax, eax
je 0x4c4b0c
push 0x545c84
push dword [esp + 0xa0]
push esi
call fcn.00463d50
add esp, 0xc
test eax, eax
je 0x4c4b0c
push esi
push dword [esp + 0x84]
mov esi, dword [esp + 0x1c]
push esi
call fcn.00463d50
add esp, 0xc
test eax, eax
je 0x4c4b0c
mov edx, dword [esp + 0x18]
mov ecx, esi
call fcn.0041e2e0
test eax, eax
js 0x4c48de
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
push esi
push 1
push dword [esp + 0x18]
mov edx, 0x40
call fcn.004c1e20
add esp, 0xc
test eax, eax
jg 0x4c4902
jne 0x4c4b0c
mov esi, dword [esp + 0x98]
inc esi
mov dword [esp + 0x98], esi
cmp esi, 0x1000
jl 0x4c44d0
mov esi, dword [esp + 0x3c]
jmp 0x4c4010
push 1
mov edx, 2
mov ecx, esi
call fcn.004c1b40
add esp, 4
test eax, eax
je 0x4c4b0c
mov edi, dword [esp + 0x18]
push 0x545c84
push dword [esp + 0x18]
push edi
call fcn.00463d50
add esp, 0xc
test eax, eax
je 0x4c4b0c
push dword [esp + 0x10]
xor edx, edx
push dword [esp + 0x28]
push edi
mov edi, dword [esp + 0x2c]
mov ecx, edi
call fcn.0049d2d0
add esp, 0xc
test eax, eax
je 0x4c4b0c
mov ecx, dword [esp + 0x18]
mov edx, 2
call fcn.0041df90
test eax, eax
je 0x4c4b0c
push dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
call fcn.0048e870
add esp, 4
test eax, eax
je 0x4c4b0c
push dword [esp + 0x34]
push dword [esp + 0x14]
push dword [esp + 0x1c]
push edi
push dword [esp + 0x28]
push dword [esp + 0x4c]
call fcn.0048ce80
add esp, 0x18
test eax, eax
je 0x4c4b0c
mov ecx, dword [esp + 0x38]
cmp dword [ecx + 4], 1
jne 0x4c4a10
mov eax, dword [ecx]
cmp dword [eax], 1
jne 0x4c4a10
cmp dword [ecx + 0xc], 0
jne 0x4c4a10
mov eax, dword [esp + 0x18]
push 0x545c84
push eax
push eax
call fcn.00463a70
add esp, 0xc
test eax, eax
je 0x4c4b0c
push dword [esp + 0x34]
inc dword [esp + 0x94]
push dword [esp + 0x14]
push dword [esp + 0x1c]
push edi
push dword [esp + 0x28]
push dword [esp + 0x4c]
call fcn.0048ce80
add esp, 0x18
test eax, eax
jne 0x4c49b1
jmp 0x4c4b0c
push 1
mov edx, 3
mov ecx, esi
call fcn.004c1b40
add esp, 4
test eax, eax
je 0x4c4b0c
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x88], 1
mov ecx, dword [esi + 0xc]
jmp 0x4c4a40
test ecx, ecx
je 0x4c4a49
call fcn.0041dbc0
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x4c4a55
call fcn.0041dbc0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x4c4a61
call fcn.0041dbc0
mov edi, dword [esp + 0x14]
test edi, edi
je 0x4c4a88
call fcn.0041dc50
mov esi, eax
test esi, esi
je 0x4c4a88
mov edx, edi
mov ecx, esi
call fcn.0041ded0
test eax, eax
jne 0x4c4a8a
mov ecx, esi
call fcn.0041dbc0
xor esi, esi
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
mov dword [eax + 0xc], esi
test edi, edi
je 0x4c4ab8
call fcn.0041dc50
mov esi, eax
test esi, esi
je 0x4c4ab8
mov edx, edi
mov ecx, esi
call fcn.0041ded0
test eax, eax
jne 0x4c4aba
mov ecx, esi
call fcn.0041dbc0
xor esi, esi
mov edi, dword [esp + 0x2c]
mov dword [edi + 0x10], esi
mov edi, dword [esp + 0x38]
test edi, edi
je 0x4c4ae8
call fcn.0041dc50
mov esi, eax
test esi, esi
je 0x4c4ae8
mov edx, edi
mov ecx, esi
call fcn.0041ded0
test eax, eax
jne 0x4c4aea
mov ecx, esi
call fcn.0041dbc0
xor esi, esi
mov edi, dword [esp + 0x2c]
cmp dword [edi + 0xc], 0
mov dword [edi + 0x14], esi
je 0x4c4b01
cmp dword [edi + 0x10], 0
je 0x4c4b01
test esi, esi
jne 0x4c4b0c
mov dword [esp + 0x88], 0
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 0x24]
test eax, eax
je 0x4c4b1d
dec eax
mov dword [edi + 0x24], eax
jmp 0x4c4b6b
dec dword [edi + 0x18]
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 0x14]
mov edx, dword [edi + 0x20]
mov esi, dword [eax + ecx*4]
cmp esi, edx
jae 0x4c4b61
mov eax, dword [edi + 0xc]
sub edx, esi
lea ecx, [eax - 1]
sub eax, edx
and ecx, 0xf
mov dword [edi + 0xc], eax
test edx, edx
je 0x4c4b61
dec edx
test ecx, ecx
jne 0x4c4b5c
mov eax, dword [edi + 4]
mov ecx, 0xf
mov eax, dword [eax + 0x140]
mov dword [edi + 4], eax
jmp 0x4c4b5d
dec ecx
test edx, edx
jne 0x4c4b44
mov dword [edi + 0x20], esi
mov dword [edi + 0x28], 0
cmp dword [edi + 0x1c], 0
je 0x4c4ba1
mov eax, dword [0x59fb4c]
mov esi, dword [edi + 0x14]
test eax, eax
je 0x4c4b85
push 0
push esi
call eax
add esp, 8
push esi
call dword [0x594128]
mov eax, dword [0x59fb4c]
add esp, 4
test eax, eax
je 0x4c4ba1
push 1
push 0
call eax
add esp, 8
mov ecx, edi
call fcn.004564a0
mov eax, dword [0x59fb4c]
test eax, eax
je 0x4c4bb9
push 0
push edi
call eax
add esp, 8
push edi
call dword [0x594128]
mov eax, dword [0x59fb4c]
add esp, 4
test eax, eax
je 0x4c4bd5
push 1
push 0
call eax
add esp, 8
mov esi, dword [esp + 0x34]
lea ecx, [esi + 4]
call fcn.0041db10
lea ecx, [esi + 0x18]
call fcn.0041db10
lea ecx, [esi + 0x2c]
call fcn.0041db10
test byte [esi + 0x48], 1
je 0x4c4c25
mov eax, dword [0x59fb4c]
test eax, eax
je 0x4c4c08
push 0
push esi
call eax
add esp, 8
push esi
call dword [0x594128]
mov ecx, dword [0x59fb4c]
add esp, 4
test ecx, ecx
je 0x4c4c25
push 1
push 0
call ecx
add esp, 8
mov ecx, dword [esp + 0x14c]
mov eax, dword [esp + 0x88]
pop edi
pop esi
xor ecx, esp
call fcn.004ebb9e
mov esp, ebp
pop ebp
ret
push str.ctx__digest__md_size___EVP_MAX_MD_SIZE
mov edx, 0x118
mov ecx, str.cryptoevpdigest.c
call fcn.0043c3c0
int3