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

Disassembly:
push 0xffffffffffffffff
push 0x5c0537
mov eax, dword fs:[0]
push eax
sub esp, 0x110
push ebx
push esi
mov eax, dword [0x6385e0]
xor eax, esp
push eax
lea eax, [esp + 0x11c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x134]
mov dword [esp + 0x20], 0
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
test eax, eax
je 0x56ffc4
lea ecx, [edx + eax*4 - 4]
cmp dword [ecx], 0
jne 0x56ffc4
dec eax
sub ecx, 4
test eax, eax
jne 0x56ffb7
xor ecx, ecx
test eax, eax
je 0x56ffdb
lea ebx, [ebx]
cmp dword [edx + ecx*4], 0
jne 0x56fff9
inc ecx
cmp ecx, eax
jne 0x56ffd0
lea ecx, [esp + 0xf4]
call fcn.0056fee0
push 0x62006c
lea eax, [esp + 0xf8]
push eax
call fcn.00553e2b
cmp dword [ebx + 0x10], 0
je 0x5705e1
mov esi, dword [esp + 0x130]
cmp dword [esi + 0x10], 0
je 0x5705e1
mov ecx, esi
call fcn.0056b180
test al, al
jne 0x5705ca
push 0
mov ecx, esi
call fcn.0056ca20
test al, al
jne 0x57003f
mov ecx, ebx
call fcn.0056f450
test al, al
jne 0x5705ca
push ebx
lea ecx, [esp + 0x8c]
call fcn.0056ce00
push esi
lea ecx, [esp + 0xa0]
mov dword [esp + 0x128], 2
call fcn.0056ce00
push ebx
lea ecx, [esp + 0x28]
mov byte [esp + 0x128], 3
call fcn.0056ce00
push esi
lea ecx, [esp + 0x3c]
mov byte [esp + 0x128], 4
call fcn.0056ce00
push 0
push 1
lea ecx, [esp + 0x7c]
mov byte [esp + 0x12c], 5
call fcn.0056cd00
push 0
push 0
lea ecx, [esp + 0x54]
mov byte [esp + 0x12c], 6
call fcn.0056cd00
push 0
push 0
lea ecx, [esp + 0x68]
mov byte [esp + 0x12c], 7
call fcn.0056cd00
push 0
push 1
lea ecx, [esp + 0x14]
mov byte [esp + 0x12c], 8
call fcn.0056cd00
mov byte [esp + 0x124], 9
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
test eax, eax
je 0x570101
lea ecx, [edx + eax*4 - 4]
cmp dword [ecx], 0
jne 0x570101
dec eax
sub ecx, 4
test eax, eax
jne 0x5700f4
xor ecx, ecx
test eax, eax
je 0x57011f
jmp 0x570110
cmp dword [edx + ecx*4], 0
jne 0x5702d2
inc ecx
cmp ecx, eax
jne 0x570110
push 0
push 1
lea ecx, [esp + 0xb8]
call fcn.0056cd00
push 1
lea edx, [esp + 0xb4]
push edx
lea ecx, [esp + 0x40]
mov byte [esp + 0x12c], 0xa
call fcn.0056c8b0
mov edx, dword [esp + 0xb8]
mov ecx, dword [esp + 0xbc]
test eax, eax
mov eax, dword [ecx]
mov eax, dword [eax + 4]
setne bl
add edx, edx
add edx, edx
push edx
mov edx, dword [esp + 0xb4]
push edx
mov byte [esp + 0x12c], 9
call eax
test bl, bl
je 0x57043d
mov esi, dword [esp + 0x12c]
push 0
push 0
mov ecx, esi
call fcn.0056cd00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
add eax, eax
add eax, eax
push eax
mov eax, dword [esp + 0x10]
push eax
mov dword [esp + 0x28], 1
mov byte [esp + 0x12c], 8
call edx
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
add edx, edx
add edx, edx
push edx
mov edx, dword [esp + 0x64]
push edx
mov byte [esp + 0x12c], 7
call eax
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
add eax, eax
add eax, eax
push eax
mov eax, dword [esp + 0x50]
push eax
mov byte [esp + 0x12c], 6
call edx
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x80]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
add edx, edx
add edx, edx
push edx
mov edx, dword [esp + 0x78]
push edx
mov byte [esp + 0x12c], 5
call eax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
add eax, eax
add eax, eax
push eax
mov eax, dword [esp + 0x3c]
push eax
mov byte [esp + 0x12c], 4
call edx
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
add edx, edx
add edx, edx
push edx
mov edx, dword [esp + 0x28]
push edx
mov byte [esp + 0x12c], 3
call eax
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa8]
mov edx, dword [ecx]
add eax, eax
add eax, eax
push eax
mov eax, dword [esp + 0xa0]
mov byte [esp + 0x128], 2
push eax
mov edx, dword [edx + 4]
call edx
mov edx, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
add edx, edx
add edx, edx
push edx
mov edx, dword [esp + 0x8c]
push edx
mov byte [esp + 0x12c], 0
call eax
mov eax, esi
mov ecx, dword [esp + 0x11c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x11c
ret
lea ecx, [esp + 0x24]
push ecx
call fcn.0056f570
add esp, 4
mov esi, eax
push esi
lea ecx, [esp + 0x28]
call fcn.0058a7b0
test esi, esi
je 0x57034b
nop
push 0
lea ecx, [esp + 0x78]
call fcn.0056ca20
cmp al, 1
je 0x57030e
push 0
lea ecx, [esp + 0x50]
call fcn.0056ca20
cmp al, 1
jne 0x570330
lea edx, [esp + 0x9c]
push edx
lea ecx, [esp + 0x78]
call fcn.0058a830
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x50]
call fcn.0058a9b0
push 1
lea ecx, [esp + 0x78]
call fcn.0058a7b0
push 1
lea ecx, [esp + 0x50]
call fcn.0058a7b0
sub esi, 1
jne 0x5702f0
lea ecx, [esp + 0x38]
push ecx
call fcn.0056f570
add esp, 4
mov esi, eax
push esi
lea ecx, [esp + 0x3c]
call fcn.0058a7b0
test esi, esi
je 0x5703cb
jmp 0x570370
push 0
lea ecx, [esp + 0x64]
call fcn.0056ca20
cmp al, 1
je 0x57038e
push 0
lea ecx, [esp + 0x10]
call fcn.0056ca20
cmp al, 1
jne 0x5703b0
lea edx, [esp + 0x9c]
push edx
lea ecx, [esp + 0x64]
call fcn.0058a830
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x10]
call fcn.0058a9b0
push 1
lea ecx, [esp + 0x64]
call fcn.0058a7b0
push 1
lea ecx, [esp + 0x10]
call fcn.0058a7b0
sub esi, 1
jne 0x570370
push 1
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x2c]
call fcn.0056c8b0
test eax, eax
jl 0x57040e
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x28]
call fcn.0058a9b0
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x78]
call fcn.0058a9b0
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x50]
call fcn.0058a9b0
jmp 0x5700e4
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x3c]
call fcn.0058a9b0
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x64]
call fcn.0058a9b0
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x10]
call fcn.0058a9b0
jmp 0x5700e4
cmp dword [esp + 0x1c], 0
jne 0x57045c
mov ecx, dword [esp + 0x134]
push ecx
lea ecx, [esp + 0x10]
call fcn.0058a830
cmp dword [esp + 0x1c], 0
je 0x570444
mov esi, dword [esp + 0x134]
push 1
push esi
lea ecx, [esp + 0x14]
call fcn.0056c8b0
test eax, eax
jl 0x57048d
push esi
lea ecx, [esp + 0x10]
call fcn.0058a9b0
push 1
push esi
lea ecx, [esp + 0x14]
call fcn.0056c8b0
test eax, eax
jge 0x570473
mov esi, dword [esp + 0x12c]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.0056ce00
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
add edx, edx
add edx, edx
push edx
mov edx, dword [esp + 0x10]
push edx
mov dword [esp + 0x28], 1
mov byte [esp + 0x12c], 8
call eax
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
add eax, eax
add eax, eax
push eax
mov eax, dword [esp + 0x64]
push eax
mov byte [esp + 0x12c], 7
call edx
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
add edx, edx
add edx, edx
push edx
mov edx, dword [esp + 0x50]
push edx
mov byte [esp + 0x12c], 6
call eax
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
add eax, eax
add eax, eax
push eax
mov eax, dword [esp + 0x78]
push eax
mov byte [esp + 0x12c], 5
call edx
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
add edx, edx
add edx, edx
push edx
mov edx, dword [esp + 0x3c]
push edx
mov byte [esp + 0x12c], 4
call eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
add eax, eax
add eax, eax
push eax
mov eax, dword [esp + 0x28]
push eax
mov byte [esp + 0x12c], 3
call edx
mov edx, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa8]
mov eax, dword [ecx]
add edx, edx
add edx, edx
push edx
mov edx, dword [esp + 0xa0]
mov byte [esp + 0x128], 2
push edx
mov eax, dword [eax + 4]
call eax
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
add eax, eax
add eax, eax
push eax
mov eax, dword [esp + 0x8c]
push eax
mov byte [esp + 0x12c], 0
call edx
jmp 0x5702b8
mov esi, dword [esp + 0x12c]
push 0
push 0
mov ecx, esi
call fcn.0056cd00
jmp 0x5702b8
push 0x2b
push str.inverse_mod:_arguments_must_be_non_negative
lea ecx, [esp + 0xb8]
mov dword [esp + 0xd0], 0xf
mov dword [esp + 0xcc], 0
mov byte [esp + 0xbc], 0
call fcn.00406920
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0xd0]
mov dword [esp + 0x128], 1
call fcn.00565b20
push 0x61e764
lea ecx, [esp + 0xd0]
push ecx
mov dword [esp + 0xd4], vtable.Botan::Invalid_Argument.0
call fcn.00553e2b
int3