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

Disassembly:
push 0xffffffffffffffff
push 0x4e000e
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x53132c]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53132c]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov eax, dword [esp + 0x80]
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], eax
mov dword [esi], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
mov dword [esi + 4], ebx
mov edi, 1
push edi
mov dword [esp + 0x7c], ebx
call fcn.00479b90
mov ecx, dword [esi]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 8]
add esp, 4
cmp eax, ebx
je 0x4c7e70
lea edx, [eax*4]
push edx
push ebx
push ecx
call fcn.00458cc0
add esp, 0xc
mov dword [esi + 4], ebx
mov dword [esi + 0x10], edi
lea ebp, [esi + 0x14]
mov dword [esp + 0x78], edi
mov edi, ebp
mov dword [esp + 0x14], edi
mov dword [edi], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 8], ebx
mov dword [edi + 4], ebx
push 1
mov byte [esp + 0x7c], 2
call fcn.00479b90
mov ecx, dword [edi]
mov dword [edi + 0xc], eax
mov eax, dword [edi + 8]
add esp, 4
cmp eax, ebx
je 0x4c7eb8
add eax, eax
add eax, eax
push eax
push ebx
push ecx
call fcn.00458cc0
add esp, 0xc
mov dword [edi + 4], ebx
mov dword [edi + 0x10], 1
lea edi, [esi + 0x28]
mov dword [esp + 0x14], edi
mov dword [edi], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 8], ebx
mov dword [edi + 4], ebx
push 1
mov byte [esp + 0x7c], 4
call fcn.00479b90
mov ecx, dword [edi]
mov dword [edi + 0xc], eax
mov eax, dword [edi + 8]
add esp, 4
cmp eax, ebx
je 0x4c7f01
lea edx, [eax*4]
push edx
push ebx
push ecx
call fcn.00458cc0
add esp, 0xc
mov dword [edi + 4], ebx
mov dword [edi + 0x10], 1
push ebx
push ebx
lea ecx, [esp + 0x30]
mov byte [esp + 0x80], 5
call fcn.004bcbd0
mov ecx, dword [esp + 0x20]
push 1
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x80], 6
call fcn.004bc710
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
test eax, eax
mov eax, dword [esp + 0x30]
setle byte [esp + 0x1b]
add eax, eax
add eax, eax
push eax
mov eax, dword [esp + 0x2c]
push eax
mov byte [esp + 0x80], 5
call edx
cmp byte [esp + 0x1b], bl
je 0x4c7fae
push 0x29
push str.Modular_Reducer:_modulus_must_be_positive
lea ecx, [esp + 0x58]
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
call fcn.00404270
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x7c], 7
call fcn.00473ba0
push 0x5213bc
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x30], vtable.Botan::Invalid_Argument.0
call fcn.0045869c
mov eax, dword [esp + 0x20]
cmp esi, eax
je 0x4c7ff1
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [esp + 0x1c], ecx
push ecx
mov ecx, esi
mov dword [esp + 0x18], edx
call fcn.0047f640
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
ja 0x4c7fd8
mov eax, ecx
mov edx, dword [esp + 0x14]
mov ecx, dword [esi]
add eax, eax
add eax, eax
push eax
push edx
push ecx
call fcn.00459280
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov eax, dword [eax + 0x10]
mov ecx, dword [esi]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x4c8010
lea ecx, [ecx + eax*4 - 4]
cmp dword [ecx], ebx
jne 0x4c8010
dec eax
sub ecx, 4
cmp eax, ebx
jne 0x4c8004
lea ecx, [esp + 0x28]
push esi
push ecx
mov dword [esi + 0x3c], eax
call fcn.004cb360
add esp, 8
mov dword [esp + 0x20], eax
mov byte [esp + 0x78], 8
cmp ebp, eax
je 0x4c806a
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [esp + 0x14], ecx
push ecx
mov ecx, ebp
mov dword [esp + 0x20], edx
call fcn.0047f640
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x14]
cmp ecx, eax
ja 0x4c8050
mov eax, ecx
mov edx, dword [esp + 0x1c]
mov ecx, dword [ebp]
add eax, eax
add eax, eax
push eax
push edx
push ecx
call fcn.00459280
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x34]
mov dword [ebp + 0x10], eax
mov eax, dword [esp + 0x30]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
add eax, eax
add eax, eax
push eax
mov eax, dword [esp + 0x2c]
push eax
mov byte [esp + 0x80], 5
call edx
mov eax, dword [ebp + 4]
mov ecx, dword [ebp]
cmp eax, ebx
je 0x4c80ac
lea ecx, [ecx + eax*4 - 4]
nop
cmp dword [ecx], ebx
jne 0x4c80ac
dec eax
sub ecx, 4
cmp eax, ebx
jne 0x4c80a0
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0x3c]
shl eax, 6
push eax
push ebx
lea ecx, [esp + 0x58]
call fcn.004c7440
push esi
push eax
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0x84], 9
call fcn.004ca610
add esp, 0xc
mov ebp, eax
mov byte [esp + 0x78], 0xa
cmp edi, ebp
je 0x4c811a
mov eax, dword [ebp + 4]
mov edx, dword [ebp]
push eax
mov ecx, edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], edx
call fcn.0047f640
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x14]
cmp ecx, eax
ja 0x4c8105
mov eax, ecx
mov edx, dword [esp + 0x1c]
mov ecx, dword [edi]
add eax, eax
add eax, eax
push eax
push edx
push ecx
call fcn.00459280
add esp, 0xc
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x34]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x30]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
add eax, eax
add eax, eax
push eax
mov eax, dword [esp + 0x2c]
push eax
mov byte [esp + 0x80], 9
call edx
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
add edx, edx
add edx, edx
push edx
mov edx, dword [esp + 0x54]
push edx
mov byte [esp + 0x80], 5
call eax
mov eax, dword [edi + 4]
mov ecx, dword [edi]
cmp eax, ebx
je 0x4c817c
lea ecx, [ecx + eax*4 - 4]
nop
cmp dword [ecx], ebx
jne 0x4c817c
dec eax
sub ecx, 4
cmp eax, ebx
jne 0x4c8170
mov dword [esi + 0x44], eax
mov eax, esi
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.004587b6
add esp, 0x68
ret 4